Making a Brick Disappear and Reappear in ROBLOX

TIME : 2016-01-07
Making a Brick Disappear and Reappear in ROBLOX

Drop this Script into a part named Brick in Workspace and it will fade out on touch, then return a second later:

brick = game.Workspace.Brick

function onTouch(part)
brick.Transparency = 1
wait(1)
brick.Transparency = 0
end

brick.Touched:connect(onTouch)

The wait(1) is the delay before it reappears — adjust that number to change how long the brick stays invisible.