Advertisement
KINGOFCOOL

Untitled

Jan 24th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local brick = Workspace.Brick -- Store a reference to the brick.
  2.  
  3. function onTouch(part) -- The function that runs when the part is touched.
  4. brick.Transparency = 1
  5. wait(1)
  6. brick.Transparency = 0
  7. end
  8.  
  9. brick.Touched:connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement