Roblox Forum banner

Discussions Showcase Albums Media Media Comments Tags Marketplace

1-19 of 19 Results
  1. Scripting
    As the title says, I've been having trouble figuring out how to change the properties of a part inside a table. Im using a module script to create a dictionary, because I'll add a lot more to it in the future. Here are my two scripts: --Script local PieceKey = require(script.PieceKey) local...
  2. Scripting
    Hi, I'm making an Easter-themed game and in the game there's the possibility to have pets. I added the feature of selling pets as well (which doesn't give you money for now). But when you click on the button to sell the pets, sometimes it sells multiple pets, regardless of their name. I would...
  3. Help
    I have a proximity prompt part with a proximityprompt that has a script inside. I need to edit a folder within workspace that has a value named "BlueOre" (Its a ore mining game but you mine with your hands :p) The script needs to edit the int value and show up on a screengui. I've set the code...
  4. Scripting
    I am trying to delete a tool when it is activated but it keeps deleting the character model instead, can someone help me please? --Inside Tool-- local event = game.ReplicatedStorage.HieEatEvent local player = game.Players.LocalPlayer local character = player.Character local tool =...
  5. Scripting
    I had a problem, I almost know the scripts, but I don't know how to make a camera shake script for all players local Players = game.Players:GetPlayers() local Shake = true local StarterGui = game:GetService("StarterGui") while Shake do for i, player in ipairs(Players) do local...
  6. Scripting
    hi, im trying to appear UI when i touch a brick/part, im trying (Probably the code that would be most obvious to a Lua beginner) This code: local part = script.Parent local Frame = game.StarterGui.ScreenGui.PlayAgain local function appearUI() Frame.Visible = true end...
  7. Scripting
    So I am making a Murder Mystery game and I am making an inventory system. However, I keep getting this error when I load the data. This is the code if v:IsA("Tool") then playerData["Inventory"][v.Name] = { ["Owned"] = data["Inventory"][v.Name]["Owned"], --...
  8. Scripting
    im trying to make a minigame and im trying to use a teleporter to go to another map and it wont work because apparently its not in the workspace it just disappears whenever i test the game but when im not testing its in the workspace
  9. Scripting
    im trying to script an action that will make your character die and morph when for example tagged or getting in contact with a specific object for too long but i have no idea how to make that work can anyone help me?
  10. Help
    ok, so i need to script in order for the game i'm making to actually function and be a fun game, but there's no good tutorials online, there's nothing in the toolbox. and it is just so god-damn repetitive to the point i just completely give up. any ideas on how i could find it less boring or...
  11. Help
    I'm trying to add a KO/WO leaderboard to my Capture the Flag game, but it's being overwritten by the existing game manager scripts. The leaderboard script: print("LinkedLeaderboard script version 5.00 loaded") stands = {} CTF_mode = true function onHumanoidDied(humanoid, player) local...
  12. Scripting
    Hello! For the past few days, I have been remaking Slender: The Eight Pages in Roblox. I have this script that is (supposed to) detect when an IntValue reaches the number 8. Every time you collect a note, the value goes up by one. that's not what I'm having problems with- it's this mess.. while...
  13. Scripting
    Hello. I was trying to test some code but when I tried to do this, it didn't work. game.ServerScriptService.Script: local scriptt = game.ServerStorage.Script:Clone() local partt = Instance.new("Part") partt.Position = Vector3.new(0, 50, 0) partt.Parent = game.Workspace scriptt.Parent = partt...
  14. Scripting
    How do i make a plane script? Or a vehicle in general?
  15. Adopt Me
    I want to make a game with a buy egg system, a ride and fly and transform into pet gamepass (optional), its rarity, animations, make rainbow, and tasks for the pet. I will be adding more each time i want more things
  16. Scripting
    Hi, I need help with this code that I learnt from this video: The code I'm doing is only murderer and survivors (Chaser and Runner) and theirs 2 cards that shows you if your the murder or survivor, but it shows up with both 2 cards. Here's the code: local players = game.Players --the players...
  17. Scripting
    i am making a game like splatoon, i am trying to make a gun and a squid system The gun kills and paints has an animation The squid system makes you turn into a squid and you can swim inside the paint and climb walls
  18. Scripting
    So I made these scripts which are supposed to make the truck move, and stop when it reaches the station. The truck just isn't moving. How can I fix this? SCRIPTS local Drivingval = script.Driving local Station = game.Workspace:FindFirstChild("Truck Station") while Drivingval == true do...
  19. Scripting
    Currently I'm making animations for a game, and have a standard animation playing for a Shop NPC using this: local animation = script:WaitForChild('Animation') local humanoid = script.Parent:WaitForChild('Humanoid') local playing = humanoid:LoadAnimation(animation) playing:play() My problem is...
1-19 of 19 Results
Top