Can someone fix this for me?
FallingBrick = script.Parent
function onTouched(hit)
wait(0.2)
FallingBrick.Anchored = false
FallingBrick.Material = Foil
wait(4)
FallingBrick.Anchored = true
FallingBrick.Material = Slate
end
connection = LandMine.Touched:connect(onTouched)
I'm not sure what happened at all. O.o
Maybe the onTouched(hit) thing I could've gotten wrong. Message me if you fix it please, and thank you if you do. |