how exactly would you make this lava script set bricks on fire and burn them once they are touched?
s = script.Parent
function onTouched(hit)
h = hit --What hit the brick
p = hit.Parent
if (p.Humanoid == nil)
elseif (p.Humanoid ~= nil) then
p:breakjoints()
p.Health = 0
end
end
script.Parent.Touched:connect(onTouched |