generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: doors that shut at specific times

Previous Thread :: Next Thread 
HosheaMoshea is not online. HosheaMoshea
Joined: 19 Oct 2010
Total Posts: 435
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 is not online. 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
HosheaMoshea is not online. HosheaMoshea
Joined: 19 Oct 2010
Total Posts: 435
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image