Here is the script I made: It works once, but when I touch the part again, it doesn't work?
Any help?
Brick=script.Parent
Brick.Touched:connect(function(part)
if part.Parent.Humanoid then
if part.Parent.Humanoid.Health > 0 then
Brick.Transparency=.4
wait(2)
Brick.Transparency=1
end
end
end)

1 comment
Worked! Thank you!