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: Need Day/Night cycle script

Previous Thread :: Next Thread 
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:02 AM

game.Lighting.FogStart = 10
game.Lighting.FogEnd = 120
game.Lighting.FogColor = Color3.new(0,0,0)
game.Lighting.TimeOfDay = "00:00"


This is the night time cycle i like it, if you could make it abit darker it would be good.

Now i need a cycle with 5 minutes of day light and 5 minutes of night time(That script above)

Anyone can make?

Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 09:03 AM
Glas to see you're back. Guys don't help him he's posted this quite a few times.
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 09:04 AM
Glad*
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:05 AM
I'm gonna get the script either way soooo you can try and troll more
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 09:08 AM
Im only trying to help you. It's not hard. Here's some hints:
Use a while loop
Use the wait function for 60 * 5 seconds
Set the TimeOfDay property to the time of your choice
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:10 AM
now how does that merge with this script
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 09:11 AM
That's what the wiki is for, my good friend...
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:11 AM
wiki doesn't have a clear explanation.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
29 Jun 2015 09:13 AM
You might as well go to free models if you don't want to learn scripting, or aren't very good yet.
Type in
"Realistic day and night cycle"
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
29 Jun 2015 09:14 AM
Also don't post 999 threads instead, do your own research and try to fix it yourself if nobody is helping you.
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:14 AM
I did
None of them have a good night cycle

only a day cycle


it just the sky changing dark and light

this script makes everything dark
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
29 Jun 2015 09:17 AM
You want to check if the time is day or night, then if it is, do what you want with the lighting.
You can check the wiki where the if statements are, and I'm sure you already have a free model day and night cycle you can use to change the time itself.
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:22 AM
I don't want to change the night time, i want the night time to be game.Lighting.FogStart = 10
game.Lighting.FogEnd = 120
game.Lighting.FogColor = Color3.new(0,0,0)
game.Lighting.TimeOfDay = "00:00"
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
29 Jun 2015 09:24 AM
If you want to change the lighting to what you want, use if statements. Check for example if the time of day is greater than 14, you can check the wiki on how to use if statements
http://wiki.roblox.com/index.php?title=If_statement
Report Abuse
FOXmcloud021 is not online. FOXmcloud021
Joined: 14 Apr 2012
Total Posts: 3512
29 Jun 2015 09:44 AM
OP could stop being a butthurt and look up Lighting on the wiki himself


Logic is best
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 09:47 AM
none of that tells me how to put this into night/day

game.Lighting.FogStart = 10
game.Lighting.FogEnd = 120
game.Lighting.FogColor = Color3.new(0,0,0)
game.Lighting.TimeOfDay = "00:00"
Report Abuse
FOXmcloud021 is not online. FOXmcloud021
Joined: 14 Apr 2012
Total Posts: 3512
29 Jun 2015 09:48 AM
Stop


Logic is best
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 10:21 AM
Of course it's not going to tell u directly, nothing in scripting is rlly a direct answer
Report Abuse
Wreckerbuster67 is not online. Wreckerbuster67
Joined: 29 Jul 2012
Total Posts: 1144
29 Jun 2015 10:35 AM
OP is a guy who doesn't bother to learn, just demanding something which match his needs 100%. In his other thread, there was like 20 scripts already, all of which worked fine.
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
29 Jun 2015 10:48 AM
"06-28-2015 09:10 PM
I need a quick script i'll learn how to script sooner or later "
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 10:54 AM
wrecker

NONE of them work.
Report Abuse
Wreckerbuster67 is not online. Wreckerbuster67
Joined: 29 Jul 2012
Total Posts: 1144
29 Jun 2015 11:28 AM
Most, if not all of them, worked. All you had to do was modify them to your needs.
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
29 Jun 2015 11:51 AM
I did and non of them worked to my needs

The day/night cycle worked

by the night wasnt like i want it to be

like this

game.Lighting.FogStart = 10
game.Lighting.FogEnd = 120
game.Lighting.FogColor = Color3.new(0,0,0)
game.Lighting.TimeOfDay = "00:00"
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
01 Jul 2015 09:26 AM
Stop. Just learn scripting
It's not that hard.
I explained how you do it.
Report Abuse
HighSparrows is not online. HighSparrows
Joined: 11 Jun 2015
Total Posts: 13289
01 Jul 2015 10:18 AM
Stroudie did it for me.

It was also like 2 pages long

so yeah
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