Im trying to make the part vanish and have NoCollide and then reappear with CanCollide
function bananaz ()
h = 0
repeat
game.workspace.part.transparency = (h) + 0.2
wait (1)
until game.workspace.part.transparency == 1
repeat
game.workspace.part.transparency = (h) - 0.2
wait (1)
until game.workspace.part.transparency == 0
game.workspace.part.cancollide = false
game.Workspace.Part.Touched:connect(bananaz)
Any help?

5 comments
Does this work for anchored bricks?
Also just a normal script or a LocalScript?
Works for anchored bricks and you should use this with a normal script
I just don't get it... when i touch the brick with the script in it, nothing happens it doesn't fade and it doesn't go NoCollide it just stays CanCollide :C
Updated answer.