Here is my current code
function onTouched(h) local h = h.Parent:FindFirstChild("Humanoid") if h ~= nil then h.Health = 0 end end
i would like it to just damage the player not fully kill them please help me.