Hello Scripters, I am working on an Obby right now and noticed there is a delay on the death block. Is there any way to stop it?
Script
function onTouch(part)
local humanoid = part.Parent:FindFirstChild(“Humanoid”)
if (humanoid ~= nil) then – if a humanoid exists, then
humanoid.Health = 0 – damage the humanoid
end
end
Your script is fine. Is that it or is there anything else to it? If you have this script copy + pasted into multiple kill blocks, that might have an impact on your server.
I’m pretty sure he doesn’t want to add a delay, but remove the current delay which I’m not sure why or how it’s there. There’s no wait(), meaning there should be no delay.