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 » Building Helpers
Home Search
 

How do u male your game have night and day

Previous Thread :: Next Thread 
HyperD2 is not online. HyperD2
Joined: 03 Apr 2013
Total Posts: 198
12 Aug 2013 09:06 AM
I need help on that
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
12 Aug 2013 10:05 AM
You can find many day/night scripts in freemodels.

Put a script into workspace. Open studio, open your game in studio. Now go to Insert/basicobjects/script. Put a script in workspace and copy/paste the code into the script.


local lighting = game:GetService('Lighting')
local m = 6 * 60
while true do
local timeWaited = wait(0.25)
m = m + timeWaited / 0.25
lighting:SetMinutesAfterMidnight(m)
end
Report Abuse
HyperD2 is not online. HyperD2
Joined: 03 Apr 2013
Total Posts: 198
12 Aug 2013 10:23 AM
Thanks I am slightly confused though
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
12 Aug 2013 02:09 PM
What about? Using studio or inserting the script?
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
12 Aug 2013 02:33 PM
I just realized that the title has the word male in it XD
Report Abuse
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
12 Aug 2013 04:50 PM
This seems easier...

while true do
game.Lighting:setMinutesAfterMidnight(game.Lighting:getMinutesAfterMidnight()+0.12)
wait(0.025)

end
Report Abuse
danielle is not online. danielle
Joined: 23 Oct 2006
Total Posts: 821
12 Aug 2013 06:04 PM
If you want to make this easier for you, go to this link, select take one. It is a day to night script I have been using. Just add it to your game and you should be good to go!(:

Day To Night Script: http://www.roblox.com/Day-Night-Script-item?id=124156051

Enjoy!

-Danielle.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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