Hi! I hope you have a nice day. I have a problem with the Touched Event where when the player touches the jump pad, it sometimes won't activate immediately. Also when I press the Space bar, it doesn't boost the jump (the Jump Power is supposed to be 183). The Part is CanCollide off because it works better than when it is on.
Code:
script.Parent.Touched:Connect(function(hit) local h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then wait() h.JumpPower = 184
wait(0.5)
h.JumpPower = 93
end end)
What I've tried:
Using various methods of the same code but in different layout Watching Youtube tutorials Reduce graphics quality so lag is reduced
Thanks

2 comments
to use hit, you need to turn on cancollide, I sugges you turn that on in the script, also what does h refer to if i get that info i can prob answer
also if you have diff scripts in the trampoline can you please share them