If your time starts at a random time of the day, For example 14:30, You are able to adjust this by going to: Explorer - Lighting - Then scroll down to the properties of the Lighting - Adjust the "ClockTime" This will determine what time it will be when someone loads into the game. When someone first joins it will be at that set time. So for example if you wanted your game to start at 6am, you'd set the "ClockTime" to 6.
This works! Very good. Although, it does start at a random time. and when i check the lighting property, all i see is atmosphere, bloom, depth of field, and sunrays. i dont see a "clocktime". Has it moved or am i not looking well? Plus, is there a way to script that when it reaches a certain time, a certain place will play music?
@@Jing.TheKing If you press the lighting in the explorer and then open up the properties and scroll down until you see the Data tab and look for the TimeOfDay.
This was really helpful, I am making a horror game so when the the clock gets to 12:00am I need to put in a scream or alarm for when the entity wakes up. Also how can you make it so at 12:00am it moves slower until 7:30am.
thank you so much! How can i get the timer to stay consistent between maps, though? For example, if its 12:00 and a character walks to a spot that teleports them into a different spot in the game, would the timer be able to keep track that it should still be 12:00? Would that be possible?
Very good video but if you explain what the code does and show how to change it to AM and PM instead of Military Time if would be way way better. Thanks!
Script (First): local Time = 0.1 local TimeChange = 0.001 -- Change this to your own custom time while wait(Time) do game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChange end Local Script (Second): while true do script.Parent.Text = string.sub (game.Lighting.TimeOfDay,1,5) wait() end
Instead of using the line "game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChange", you can simply change it to "game.Lighting.ClockTime += TimeChange." This works with any property, and can also be changed to "-=" to decrease.
Hey bro, thank you for everything! But there is a personal problem for me. The timer is working but it shows me the seconds. I only want to hours + minutes. How do I fix that?
the time is going fast. when i try to change it to a lower number its still fast, and when i try an even lower number its still fast. how can you make the time go slow? for example 2.5 seconds for every minute in-game
If your time starts at a random time of the day, For example 14:30, You are able to adjust this by going to: Explorer - Lighting - Then scroll down to the properties of the Lighting - Adjust the "ClockTime" This will determine what time it will be when someone loads into the game. When someone first joins it will be at that set time. So for example if you wanted your game to start at 6am, you'd set the "ClockTime" to 6.
This works! Very good. Although, it does start at a random time. and when i check the lighting property, all i see is atmosphere, bloom, depth of field, and sunrays. i dont see a "clocktime". Has it moved or am i not looking well?
Plus, is there a way to script that when it reaches a certain time, a certain place will play music?
@@Jing.TheKing If you press the lighting in the explorer and then open up the properties and scroll down until you see the Data tab and look for the TimeOfDay.
@@ItsDeli. OH alr it works. Thx !
@@Jing.TheKing Happy to help! :D
Hello, how do I change the time that arrives at night?
Dude, I used this guy once and now I've been using him for everything else roblox studio related. He makes everything make so much more sense!!
bro, thank you so much! i didn't know how to create from 00:00:00 to 00:00 timer, and you helped me! thanks!!!
Making the speed on the 1st script 0.0006 makes it 1 hour equals 1 minute. IRL
THANK YOU
@bebekpecidkeep adding 0’s until you find it, and add a 6 after the 0’s. Let me know when you find out!
@@FLTGTum how do I make a day “48” minutes! What number do I make it?
Thank you my good sir
@@sonicgalaxy5 i think it would be 0.0012
Dude you are a professional IT WORKS Thank you
best studio tutorial i ever seen for sure
Tysm! What other tutorials would you like to see?
@@Itz_FloppyFish fake content
Is there any way to make it a 12 hour clock instead of 24 so that instead of 13:00, it resets to 1:00?
please I really need it
hi welcome back. idk
🙏 This tutorial was helpful. I’ve added a clock into my new driving game
Thanks this helps alot Love the videos keep of the good work
You're a life saver
perfect! very simple! now i wanna make a car vroom vroom game
Wow sounds cool, what other tutorials would you like to see?
@@Itz_FloppyFish How to make a gui in roblox studios?? I think u have tho, i'm not sure
It helped a lot new subscriber!
this is very helpful im making a roblox myth and this helps alot ty
No Problem!
This was really helpful, I am making a horror game so when the the clock gets to 12:00am I need to put in a scream or alarm for when the entity wakes up. Also how can you make it so at 12:00am it moves slower until 7:30am.
Overall, good video. My only nit-pick is that you could have explained what each line of code does. Thanks for the script though! :)
Thanks for the tips! My more recent videos I sometimes go over what the script does, Usually in my longer videos.
how to change the time ? it is showing military time and I dont have military time
Is there any way to make it a 12 hour clock instead of 24 so that instead of 13:00, it resets to 1:00?
@NotYourRuler14 are you ok in the head, like wdym true its just a man trying to ask a question
@@DrStupid1991 dawg what he do
@@DrStupid1991bro what 💀 tf?
@@CheesyHandss I am a moron with adhd lmao, sorry
How would i change the time from 00:00 to 00:00:00?
Yooo bro this help me alot!
thank you so much! How can i get the timer to stay consistent between maps, though? For example, if its 12:00 and a character walks to a spot that teleports them into a different spot in the game, would the timer be able to keep track that it should still be 12:00? Would that be possible?
Bro thx for the tut it was very useful
No problem
Uhhhh.... Mine says -06:1 and stuff like that, how do I make it say like 12:30?
bro how are we supposed to learn when you just have us copy paste
Very good video but if you explain what the code does and show how to change it to AM and PM instead of Military Time if would be way way better. Thanks!
Thank you so much ❤ but in script make: local timechange = 0.1
this is awesome. I'm working on my rp game and it's useful!1
Glad I could help!
Hi, just wondering how long id have to slow it down to make it a real life 24 hours
how to make a gui appear at a certain time? (for example) when the time hits 10:00 a gui appears then disappears at 11:00. i need help super bad
tysm
Script (First):
local Time = 0.1
local TimeChange = 0.001 -- Change this to your own custom time
while wait(Time) do
game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChange
end
Local Script (Second):
while true do
script.Parent.Text = string.sub (game.Lighting.TimeOfDay,1,5)
wait()
end
How would you go about implementing a day/week day into this script? As in have it so it says Monday, Tuesday, Wednesday etc.
Do you know how to make the thing display am or pm?
Thanks
Hiya! Quick question. If my clock isn't moving what did I do wrong?
uhhh so my clock it says like 14:07 for example i dont use that kind of clock my clock only goes up to 12..do u know how to make it that' way?
I joined ur discord but it doesnt let me ticket??
and when i clicked play again the clock did not work it just said label..
@@vortex32_25 wow such a flex 💀
@@lol_sxmstar its not a flex, its called having common sense dumbass
thank you bro
Thank you it work in 2023
Instead of using the line "game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChange", you can simply change it to "game.Lighting.ClockTime += TimeChange." This works with any property, and can also be changed to "-=" to decrease.
Hi I don’t think you are answering comments anymore, but it still only says label for me..
Same
Hey bro, thank you for everything!
But there is a personal problem for me.
The timer is working but it shows me the seconds. I only want to hours + minutes. How do I fix that?
Is there a way for you to be able to choose time in game
How does nothing work for me in Roblox studio😢
i Have One Question How to Add Like PM and AM?
Then put it😅
can you do one that just says TImeAM
how we can change time manually while playing the game by clicking button
Thanks
MAKE A DAY COUNTER!!!
Hello, how do I change the time that arrives at night?
How do you change the format from 00:00:00 to 00:00 ? 😭
its not working for me
because a few thing under highlighted when I did everything the same
How do you change it to 12 Hour Time?
local Time = 0.01
local TimeChanged = 0.01
while wait(Time)do
game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChanged
end
script for day and night cycle
(NOT 100% WORKING)
Is this script client? cause i'm making a game where it revolves around clocktime
nvm
How do you do the AM PM thing?
how do i change it so one roblox hour on the clock will be 3 actual minutes instead of just 1
Hi i try all the script is working but the clock is to fast how to change the time slower sorry bad english
how to change sky box?
why my text label won't show a time?
How do you make the clock real-time?
Set The Time In The First Script To 0.00195 To Make 1 Min = 1 Sec
its going faster than i want but when i make it slower it still stays the same
the time is going fast. when i try to change it to a lower number its still fast, and when i try an even lower number its still fast. how can you make the time go slow? for example 2.5 seconds for every minute in-game
Well, If it is using wait(number) then thats why. The lower the number the faster the change.
Question, how do you hide the white boz?
Go on text label then properties and then scroll down to background transparency (or it might be at the top) and set it to 1. Hope it helps.
the time wont adjust for mine it, and the seconds are minutes
It works but the time starts at 14:00 instead of 12:00 pls help
it's in the pinned comment
How do i copy the script
i want seconds to the gui
😎
I tried it didn’t work
up*
hi
I did everything what u said and is not working 😕
I mean the time clock doent work
Hi, Sorry about this. Please contact us on discord and we can help you out!
@@Itz_FloppyFish is alr i just Let the first script with the Sun and thats it 👍
Nvm. I put the wrong script is working now😅@@Itz_FloppyFish
you broke my game
Mine is frozen
Same
İt didn't worked i kicked
it didnt work?
Hey, Sorry! Send me a message on discord and I can help you out!
how do i join
Dude This DOESNT WORK!
I did not work fake
Uhhh it did work with me
Fake
Bro is lying
I would lie in a tutorial? I dont think so
@@Itz_FloppyFishyes you lie
cringe
apricate the comment lol
nerd
how is it cringe this guy is helping us with this