local Brick = script.Parent while Brick.Velocity.Magnitude < 0.1 do wait() end Brick.transparency = 1 Brick.cancollide = false
Lua is case sensitive I have fixed every case where you have used it incorrectly:
see lines 7 and 8.
local Brick = script.Parent while Brick.Velocity.Magnitude < 0.1 do wait() end Brick.Transparency = 1 --capital t. Brick.CanCollide = false --capital c's.
This might help you in the near future.