Im trying to make it to where if a brick doesn't move then it turns invisible but if it does it isn't invisible
Can you help???
local brick = script.Parent
if brick then
local move = brick.Position + 1
if not move then
brick.Transparency = 1
else
brick.Transparency =0
end
end

2 comments
Woops, if brick.BrickColor = "Bright red" then (code) end should have two equals sign like if brick.BrickColor == "Bright red" then (code) end
No see the brick is in a local "local brick= script.Parent" meaning the brick stands for script.Parent and if it is script.Parent then there would be a code.