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?