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 » Scripters
Home Search
 

Re: Day and night cycle help

Previous Thread :: Next Thread 
KingTapGod is not online. KingTapGod
Joined: 24 Apr 2015
Total Posts: 2
16 Jul 2017 05:40 PM
I used:
minutesAfterMidnight = 0
while true do
minutesAfterMidnight = minutesAfterMidnight + 1
game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
wait(1)
end
when I run the script(on studio theirs a run button), it goes the speed that i want,but when i run the game(on studio run button with the little roblox character) the cycle goes slow. How do i fix this?
Report Abuse
6l8 is not online. 6l8
Joined: 17 Jun 2014
Total Posts: 4055
16 Jul 2017 05:41 PM
Make sure you clicked on the game window otherwise it's your computer.


Report Abuse
KingTapGod is not online. KingTapGod
Joined: 24 Apr 2015
Total Posts: 2
16 Jul 2017 05:41 PM
b1
Report Abuse
TheArturZh is not online. TheArturZh
Joined: 01 Feb 2014
Total Posts: 34
16 Jul 2017 05:43 PM
Try using GetService() method. Also don't forget that you can use GUI and pcall() fuction to make it return an error.
Report Abuse
6l8 is not online. 6l8
Joined: 17 Jun 2014
Total Posts: 4055
16 Jul 2017 05:44 PM
^Em there's something called an output in case you didn't know.


Report Abuse
TheArturZh is not online. TheArturZh
Joined: 01 Feb 2014
Total Posts: 34
16 Jul 2017 05:47 PM
I read it wrong. I was thinking that he was getting this error while using Roblox Player instead of Studio.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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