SuperSuny
|
  |
| Joined: 01 Apr 2011 |
| Total Posts: 5101 |
|
| |
|
SuperSuny
|
  |
| Joined: 01 Apr 2011 |
| Total Posts: 5101 |
|
| |
|
|
| 07 Apr 2012 08:21 AM |
brick = Workspace.Brick
function onTouch(part) if part.Parent:FindFirstChild("Humanoid") then -- Checking if Human brick.Transparency = 1 -- Makes it invisible brick.CanCollide = false -- Makes you able to walk through it wait(2) -- Waits for you to walk through it brick.Transparency = 0 -- Makes it Visible brick.CanCollide = true -- Makes you unable to walk through it end -- Ends the "humanoid" check end -- Ends the function
brick.touched:connect (onTouch)
|
|
|
| Report Abuse |
|
|
SuperSuny
|
  |
| Joined: 01 Apr 2011 |
| Total Posts: 5101 |
|
| |
|