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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
JoeBobNX is not online. JoeBobNX
Joined: 20 Nov 2010
Total Posts: 10834
16 Mar 2012 12:50 PM
[ Content Deleted ]
Report Abuse
JoeBobNX is not online. JoeBobNX
Joined: 20 Nov 2010
Total Posts: 10834
16 Mar 2012 12:57 PM
[ Content Deleted ]
Report Abuse
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
16 Mar 2012 01:35 PM
This isn't supposed to have quotations, it should look like this

game.Lighting.TimeOfDay = '12:00:00'

not
game.Lighting.TimeOfDay = "12:00:00"
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
16 Mar 2012 01:36 PM
[ Content Deleted ]
Report Abuse
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
16 Mar 2012 01:41 PM
@Woof, Hmm.

That's strange, because when I made my script and used quotations, it had an error. Eh.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
16 Mar 2012 01:59 PM
http://wiki.roblox.com/index.php/GetMinutesAfterMidnight_(Method)
http://wiki.roblox.com/index.php/SetMinutesAfterMidnight_(Method)
Report Abuse
JoeBobNX is not online. JoeBobNX
Joined: 20 Nov 2010
Total Posts: 10834
16 Mar 2012 03:10 PM
[ Content Deleted ]
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
16 Mar 2012 03:34 PM
They do automatically.
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
16 Mar 2012 04:12 PM
@SDuke524 They don't. I already did a script like this.

i did something like this to calculate it :

morningProgress = time/twelveHours
eveningProgress = 2 - time/twelveHours

where time is :

time = (lighting:GetMinutesAfterMidnight() + 0.29) % twentyFourHours
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
16 Mar 2012 04:13 PM
It will give you a number between 1 and 0 that you can use to change your properties
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