Roblox Forum banner

Discussions Showcase Albums Media Media Comments Tags Marketplace

1-16 of 16 Results
  1. 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 =...
  2. 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...
  3. 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...
  4. 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"], --...
  5. 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
  6. 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?
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. Scripting
    How do i make a plane script? Or a vehicle in general?
  12. 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
  13. 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...
  14. 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
  15. 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...
  16. 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-16 of 16 Results
Top