04-19-2011, 10:40 AM
Like this:
lava = script.Parent
function Kill(hit)
if hit.Name == "Body" then
hit.Parent.Health = -20
end
end
link(lava.Collided, Kill
will it damage a humanoid by 20 when touched, or do I need to change it some more?
lava = script.Parent
function Kill(hit)
if hit.Name == "Body" then
hit.Parent.Health = -20
end
end
link(lava.Collided, Kill
will it damage a humanoid by 20 when touched, or do I need to change it some more?
Shiggity Shiggity Shwa