|
| 18 Jul 2017 07:07 PM |
I made a local script for a game I'm making where if you reach a certain amount of coins, you'll get an aura and change forms basically It works in studio, but when I play it on the actual site, it doesn't work. It's a local script and I put it in starterplayerscripts, I honestly don't know why it's not working |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 07:09 PM |
It might help to add a debug of some sort and post the script
I'm not sure I can help you but someone else definitely can |
|
|
| Report Abuse |
|
|
| |
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:25 PM |
| post script, post any errors in studio output or client log in game (which can be accessed by pressing ## (or ######## ###### become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:26 PM |
| alt plus ## or just ## "We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:26 PM |
| ## = ####### ###### become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:26 PM |
| ## ################### filter "We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 08:46 PM |
enabled = true hi = script.Parent.Parent supersaniked = false function stealrings() while true do if script.Parent.Parent.leaderstats.Rings.Value == 0 then return else wait(1) script.Parent.Parent.leaderstats.Rings.Value = script.Parent.Parent.leaderstats.Rings.Value - 1 end end end while true do wait() if script.Parent.Parent.leaderstats.Rings.Value >= 50 and enabled == true and supersaniked == false then enabled = false supersaniked = true local rat = game.ServerStorage.supersaniks:clone() hi.Character.Pants:remove() hi.Character.Shirt:remove() rat.Parent = hi.Character hi.Character.HumanoidRootPart.Trail:remove() hi.Character.Head.BrickColor = BrickColor.new('New Yeller') local trail = game.ServerStorage.supersaniktrail:clone() if hi.Character:FindFirstChild("UpperTorso") then trail.Attachment0 = hi.Character.Head.FaceFrontAttachment trail.Attachment1 = hi.Character.Torso.RootRigAttachment else trail.Attachment0 = hi.Character.Head.FaceFrontAttachment trail.Attachment1 = hi.Character.Torso.WaistBackAttachment end trail.Parent = hi.Character.HumanoidRootPart e = game.ServerStorage.Aura:clone() e.Parent = script.Parent.Parent.Character.Torso local e = game.ServerStorage.Fly:clone() e.Parent = script.Parent.Parent.Backpack stealrings() elseif script.Parent.Parent.leaderstats.Rings.Value == 0 and supersaniked == true then script.Parent.Parent.Character.Torso.Aura:remove() script.Parent.Parent.Backpack.Fly:remove() hi.Character.supersaniks:remove() hi.Character.HumanoidRootPart.supersaniktrail:remove() local trail = game.ServerStorage.Trail:clone() if hi.Character:FindFirstChild("UpperTorso") then trail.Attachment0 = hi.Character.Head.FaceFrontAttachment trail.Attachment1 = hi.Character.Torso.RootRigAttachment else trail.Attachment0 = hi.Character.Head.FaceFrontAttachment trail.Attachment1 = hi.Character.Torso.WaistBackAttachment end trail.Parent = hi.Character.HumanoidRootPart local shirt = game.ServerStorage.Shirt:clone() local pants = game.ServerStorage.Pants:clone() shirt.Parent = hi.Character pants.Parent = hi.Character hi.Character.Head.BrickColor = BrickColor.new('Really blue') local fly1 = hi.Character.Torso:FindFirstChild('BodyGyro') local fly2 = hi.Character.Torso:FindFirstChild('BodyVelocity') local fly3 = hi.Character.Torso:FindFirstChild('BodyPosition') if fly1~=nil then fly1:remove() fly2:remove() fly3:remove() end supersaniked = false enabled = true end end
not getting any errors, it just wont run on actual roblox |
|
|
| Report Abuse |
|
|