I want a brick to kill on touch, but also when killed to add fire to the player. Can anyone help me? This does not work.
script.Parent.Touched:connect(function(part)
Instance.new("Fire")
local h = part.Parent:FindFirstChild('Humanoid')
if h then
h.Health = 0
end
end)

3 comments
How would I do that? I tried h:BreakJoints(), didn't work.
Never mind I did h.Parent:BreakJoints(), it worked.
Wouldn't TakeDamage(int) be better?