function while wait( 60 )do
script.Parent.Parent.TargetBrick.Anchored= false
end
The error is in "while"
function while wait( 60 )do
script.Parent.Parent.TargetBrick.Anchored= false
end
The error is in "while"
A couple of things are wrong with this: 1: you do not need the function 2: it would be CanCollide = false not Anchored = false
while wait( 60 )do
script.Parent.Parent.TargetBrick.CanCollide= false
end
Just a question, why do you want this to loop without making the brick re-collidable?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I made another script that regenerates this script after 120 seconds. thank you!