I am trying to get it so that when the Player steps on the brick, it turns a different set of bricks invisible (transparency = 1)
here is the script
function onTouched() wait(0.5) script.Parent.Transparency = 0 end script.Parent.Parent.Parent.Touched:connect(onTouched)
thanks
It's because you are setting it to 0 in line 3, if you want it to be invisible then set transparency to 1.
Try This One.
local Part = Game.Workspace.Part function onTouch(Part) Part.Transparency = 1 wait(1) Part.Transparency = 0 end Part.Touched:connect(onTouch)