I’ve been using the same script for kill bricks for a while now, but I’ve noticed that my kill bricks don’t kill the player right away and sometimes if the player jumps on the kill brick it doesn’t detect them touching it. How can I fix this?
local part = script.Parent
part.Touched:Connect(function(touch)
local hum = touch.Parent:FindFirstChildWhichIsA("Humanoid")
if hum and hum.Health > 0 then
touch.Parent:BreakJoints()
end
end)