Its inside the "part" brick located in workspace
local function Ghostify (part)
part.transparency = 0
wait (0.5)
part.transparency = 0.1
wait (0.5)
part.transparency = 0.2
wait (0.5)
part.transparency = 0.3
wait (0.5)
part.transparency = 0.4
wait (0.5)
part.transparency = 0.5
wait (0.5)
part.transparency = 0.6
wait (0.5)
part.transparency = 0.7
wait (0.5)
part.transparency = 0.8
wait (0.5)
part.transparency = 0.9
wait (0.5)
part.transparency = 1
wait (0.5)
for i = 1, 5 do parent:ghostify() end

2 comments
Do you want yhe brick to turn invisible when touched or something?
No, when the game is run... (I'm beginner scripter so I am testing what I have learnt in a 24 minute period..)