|
| 29 Sep 2013 05:16 PM |
Ok so I know this probably exists but I can't find it in free models and I always mess up scripting it myself.
I have 8 gates:
GEA, GEB GWA, GWB GSA, GSB GNA, GNB
They stand for "Gate East A", "Gate West B", etc. There are 2 gates for every direction.
Anyway can someone create a script where at 9:00:00 the gates all open (Non CanCollide and Invisible) and a hint pops up saying "The gates have opened! It is day!" and at 19:00:00 the gates all close (CanCollide and Visible) and a hint pops up saying "The gates have shut, you are either safe or going to die".
I already have a time script too. Anyway I figured the best way to do this would be to have one of the gates (for example GEA) have the script in it, so the hint box isnt spammed with 8 scripts.
it would have stuff like
script.Parent.CanCollide = true script.Parent.Transparency = 1 game.Workspace.GEB.CanCollide = true game.Workspace.GEB.Transparency = 1
etc.
I know the scripting like that but not how to set up the whole function thing. Can someone create the rest of this please
Also bonus try to guess what book these gates are for |
|
|
| Report Abuse |
|
3rdblox
|
  |
| Joined: 09 Dec 2012 |
| Total Posts: 4741 |
|
|
| 29 Sep 2013 05:19 PM |
| Do you mean in real time, or in game time? |
|
|
| Report Abuse |
|
|
| 29 Sep 2013 05:26 PM |
| oh yea game time. I think with my script it takes 10-20 minutes for a full cycle. |
|
|
| Report Abuse |
|