|
| 28 Jun 2017 06:07 PM |
My first problem, this works in Roblox Studio perfectly but in Online play, it works incorrectly.
This is an on touch script for a 1-Up box. When I touch the 1-up box, an image in a gui moves -30 units to the left.
In studio the on touch part of the script works perfectly. But online, the on touch part of the script works multiple times at once, breaking the gui.
function Touch(Item) if Item.Parent:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(Item.Parent) then local PlayerGui = game.Players:GetPlayerFromCharacter(Item.Parent):WaitForChild("PlayerGui") local g = PlayerGui.ScreenGui1.SonicLife.OnesPlace:WaitForChild("ImageLabel") wait(0.3) g.Position = g.Position - UDim2.new(0,30,0,0) end end script.Parent.Touched:connect(Touch) |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2017 06:08 PM |
| Also how can I make the jumped event of a humanoid longer? |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2017 06:12 PM |
| This isn't where you ask for help |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2017 06:20 PM |
This is the scripters forum....
Also where do I get help then?
Most likely... no one is going to answer me... |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2017 06:28 PM |
This *is* the scripters forum where people get *help* with their scripts.
But right now I need help and I'm not getting it for some reason... |
|
|
| Report Abuse |
|
|