|
| 05 Jun 2012 11:21 PM |
I want this script to repeat itself none stop but I don't know how, if someone could tell me how that would be great!
game.Workspace.ZombieDoor.CanCollide = true game.Workspace.ZombieDoor.Transparency = 0 wait(120) game.Workspace.ZombieDoor.CanCollide = false game.Workspace.ZombieDoor.Transparency = 0.5 wait(60) game.Workspace.ZombieDoor.CanCollide = true game.Workspace.ZombieDoor.Transparency = 0
And the ZombieDoor is the Door :P |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 05 Jun 2012 11:22 PM |
while true do game.Workspace.ZombieDoor.CanCollide = true game.Workspace.ZombieDoor.Transparency = 0 wait(120) game.Workspace.ZombieDoor.CanCollide = false game.Workspace.ZombieDoor.Transparency = 0.5 wait(60) game.Workspace.ZombieDoor.CanCollide = true game.Workspace.ZombieDoor.Transparency = 0 wait(1) end
|
|
|
| Report Abuse |
|
|
|
| 05 Jun 2012 11:23 PM |
| Oh so I just put while true do and at the end, end? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 05 Jun 2012 11:27 PM |
| Yep. Also, remember that you at least need a wait() in a while loop or it will crash. |
|
|
| Report Abuse |
|
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 05 Jun 2012 11:28 PM |
| If you have a while loop, make the script have a wait. But you're fine because you put 2 or three waits in the loop. |
|
|
| Report Abuse |
|
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
| |
|
| |
|