Kill brick is doing something weird

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)

This is an engine bug. The only thing that you could really do is make the brick non-cancollidable.(there are other methods, but for the touched event this will work)

1 Like

if your’re using R15, then hit ditection is normally bugged. The things you could try is switch to R6 or use magnitude instead