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
 

TimeOfDay+fog

Previous Thread :: Next Thread 
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
16 Oct 2012 04:39 PM
@koen

while wait(1) do
if game.Lighting.TimeOfDay = "18:00:00" then
game.Lighitng.FogEnd = "300"

elseif game.Lighting.TimeOfDay = "4:00:00" then
game.Lighitng.FogEnd = "600"

end
end

Time on ROBLOX doesn't use miliseconds or anything smaller, it uses seconds, so you need only check once a second.
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
16 Oct 2012 04:40 PM
I prefer what he says.
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
16 Oct 2012 04:40 PM
NOT THE SECOND ONE HE SAYS


.Changed is BEAST
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
16 Oct 2012 04:42 PM
They will have the same effect.
You could actually make it fairly easy and even do

while wait(3600) do
--Blah
end

As you are checking every hour.
Report Abuse
GUESTHAXX is not online. GUESTHAXX
Joined: 16 Apr 2012
Total Posts: 3370
16 Oct 2012 04:48 PM
ah I see... I'll do that. Thanks guys.

Oh my I just realized.. FogEnd doesn't change..
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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