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: Day and Night Script?

Previous Thread :: Next Thread 
MasterPilot10 is not online. MasterPilot10
Joined: 27 Jun 2009
Total Posts: 329
12 Sep 2010 09:48 PM
How do I make a Day and Night script? Like it appears at day, the sun slowly moves and slowly changes to night and back to day?

Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
12 Sep 2010 09:49 PM
Free models. They have plenty.
Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
12 Sep 2010 09:55 PM
I thought that it DID becom night very slowly.

You can speed it up...Look to your right in Properties under lighting. Adjust those numbers to what-ever u want, when-ever u want.

--Brian
Report Abuse
robotic321 is not online. robotic321
Joined: 21 Mar 2008
Total Posts: 1193
12 Sep 2010 09:58 PM
Since this script is very easy try this :

while true do
game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight() + 5)
wait(1)
end

I will make a quick script thats less than 7 lines and if its simple. but next time, dont request.
Report Abuse
Blaboblox is not online. Blaboblox
Joined: 12 Sep 2008
Total Posts: 8945
12 Sep 2010 10:08 PM
while true do
wait(.1)
for i = 0, 24, .01 do
game.Lighting.TimeOfDay = i
wait(.1)
end
end
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