Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My bounce pad works in roblox studio but not in game? how can I fix this?

Asked by 4 years ago

So I made this bounce pad in my game and when I tested it in studio it worked perfectly. But when I played the game the bounce pad didn't work. Any ideas on how to fix this?

The script i'm using:

script.Parent.Touched:Connect(function(Hit)
 if Hit.Parent:FindFirstChild("Humanoid") then

  local H = Hit.Parent.Humanoid

  H.JumpPower = 150

  H.Jump = true

  wait(1)

  H.JumpPower = 50

  H.Jump = false

 end

end)
0
Localscript or serverscript? itchymoonfire 179 — 4y
0
serverscript Shaletsgo 8 — 4y

Answer this question