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
Okay, I'm young and not the best scripter so sorry if I'm wrong.
"if brick then" I think you have to literally say something about the brick like
if brick.BrickColor = "Bright red" then (code) end
Also, local move = brick.Position + 1
I think you have to do local move = brick.Position.Y +1 Y could be Y, Z, or X depending on which direction your saying it would move in.