My killbrick kills players, but currently, they can cheese my obby by holding jump. How can I fix this? My script currently:

function you(h) local hum = h.parent:FindFirstChild("Humanoid") if hum ~= nil then hum.Health = 0 end end

script.Parent.Touched:Connect(you)

3 comments

0

Sorry I meant that they can just hold jump on the killbrick and not die. Sorry for confusion!

0

are you using a custom character? I used the same script as you and holding jump doesn't cheese the jump whatsoever

0

Oh wait I just realized that it was roblox's error on reaction time. So if i have a lot of lag, it might not work.