@@2MeKids You're too lazy to script 4 lines that aren't even that long compared to me and my friend having to work together to do a 2000 Paragraph script for a train. Ok. Nice energy vibes.
If you don't want the Day/night plugin, then insert this script in workspace : local minutesaftermidnight = 0 while true do game.Lighting.Setminutesaftermidnight(minutesaftermidnight) minutesaftermidnight = minutesaftermidnight + 60 wait (1) end
If it doesn't work for you guys, you also gotta remember that the roblox scripting language changes over the years, and this video is 3 YEARS OLD, so it is more then likely outdated
If the video isn’t working for you, a few things you could try are: • restarting Roblox Studio • using a Script instead of a LocalScript • checking the Wifi Hope this helps! Thanks for the support! Happy New Years! 🎉
For the game I made all it says is "Time" it dosen't change I'm not sure what happened is it that I have a ton of things in my game or did I do something wrong?
Thank you so much, I hope my game gets at least 50 visits a week. Please carry on posting tutorials on things that the average person would need making a game. I wish you luck on RUclips :)
What if i want something like an event fires at say, 3:00 and then theres text on the screen saying something like "i should go to sleep" how would you do that?
I know you commented 7 months ago, but you should be able to click on "Lighting" in the workspace, scroll down to the "Data" section in Properties, and change "TimeOfDay" to the time you want (e.g, 12:00:00 for midday). Hope this helps!
@Dreadmania It would be awesome to have you be a programmer for my game but I feel like people who do that should be payed. I bet you're awesome at it though.
@Dreadmania Aw, that's nice to hear! Well if you want, I have a really small game and want to change/add some small things. If you want you can maybe help? Only if you really want to though.
I actually have a working time script that changes the time every sec. Here it is(dont click the link): lightning = game.Lighting while true do lightning:SetMinutesAfterMidnight(lightning:GetMinutesAfterMidnight() + 1) wait(1) end
Instead of using the night and day download use this script: local minutesaftermidnight = 0 while true do game.Lighting.Setminutesaftermidnight(minutesaftermidnight) minutesaftermidnight = minutesaftermidnight + 60 wait (1) end and then the script inside the gui: while true do script.Parent.Time = string.sub(game.Lighting.TimeOfDay,1,5) wait() end
Thanks guys for the support! Any ideas for more tutorials in the future?
Material footsteps? Or a rainbow GUI?
An enemy npc
How do I make more servers on my roblox games?
can you make it the same but remove the Time text?
Do a remake of this one because im pretty sure it doesnt work anymore
thanks for the shout out ;)
while true do
script.Parent.Text = string.sub(game.Lighting.TimeOfDay,1,5)
wait()
end
Thx
Thank you
Not that helpful since it super short but thank you i still used it xD
OMG TYSM I AM TOO LASY TO SCRIPT!!!!!!!
@@2MeKids You're too lazy to script 4 lines that aren't even that long compared to me and my friend having to work together to do a 2000 Paragraph script for a train. Ok. Nice energy vibes.
If you don't want the Day/night plugin, then insert this script in workspace :
local minutesaftermidnight = 0
while true do
game.Lighting.Setminutesaftermidnight(minutesaftermidnight)
minutesaftermidnight = minutesaftermidnight + 60
wait (1)
end
It didn't work?
@@dolliotic the actual script is:
while true do
game.Lighting.TimeOfDay = 16:00:00
Good job, This is your first one?! I’ve seen no RUclipsr do a good first tutorial like you!
Hello. Why time is going very fast? Or i need to change something in scripts?
If it doesn't work for you guys, you also gotta remember that the roblox scripting language changes over the years, and this video is 3 YEARS OLD, so it is more then likely outdated
If the video isn’t working for you, a few things you could try are:
• restarting Roblox Studio
• using a Script instead of a LocalScript
• checking the Wifi
Hope this helps! Thanks for the support! Happy New Years! 🎉
Good video :)
hey time no runinng
the time works in studio but not in roblox game
while true do
script.Parent.text = string.sub(game.lighting.TimeOfDay,1,5)
wait()
end
it did not work?
For the game I made all it says is "Time" it dosen't change I'm not sure what happened is it that I have a ton of things in my game or did I do something wrong?
if u guys need the script I got ya
Script:
while true do
script.Parent.Text = string.sub(game.Lighting.TimeOfDay, 1,5)
wait()
end
Do u know how to slow the time?
Thank you so much, I hope my game gets at least 50 visits a week. Please carry on posting tutorials on things that the average person would need making a game. I wish you luck on RUclips :)
UUUU what game are you making?
I'm not a famous dev or anything but I got about 1k a day for my game. I'm pretty proud of that.
HELP!! My label is working fine in roblox studio test mode but when i try it on roblox the time is staying the same and not changing PLEASE HELP!!
Oh try this! web.roblox.com/library/878767254/Day-And-Night-WORKING?ViewInBrowser=true&CreatorId=122610456&SearchId=3F59CF43-7064-48DA-A980-B3BB2F558CED&Category=Model&Position=1&SearchKeyword=&CreatorType=User&SortType=Relevance
Everytime I join my ACTUAL game that isnt testing, it doesn't work its like paused at a certain time.
"New Tutorials Everyweekk!"
cries ...
:(
What if i want something like
an event fires at say, 3:00 and then theres text on the screen saying something like
"i should go to sleep"
how would you do that?
is there a way to make the time work but the day/night cycle stay night because im making a horror game?
Just change the sky and sun textures
how tf you arent recognized this helped a lot in the process of a game that I'm making you're getting a sub
I tried to remove it but now its just nightime.Please help me cause i cut all of the scripts and stuff.
I know you commented 7 months ago, but you should be able to click on "Lighting" in the workspace, scroll down to the "Data" section in Properties, and change "TimeOfDay" to the time you want (e.g, 12:00:00 for midday). Hope this helps!
Thank you so much for this! It was really helpful, I searched everywhere for this and got this on my recommended page. New subscriber!
IT WORKS, THIS ONCE ACTUALLY WORKS! THANK YOU SOOOOOO MUCH!!!!
but how to make it so that time decreases on the contrary?
mine works in studio but doesnt work in game
it says 4:22 and just stays
Hii it don’t work for me it just stays on 14:00 pls somebody help
Hi! My time gui show military time which i dont want it to. is there any way to fix this?
thanks it worked
but how to make a time counted properly because it counted too fast as stopwatch
holy this helped me for my new game pilot simulator I will link it when it is done its private
I have a question, why does it have like a negative stuff (ex. -8:3) and the time decreasing instead of increasing..
thank you, when I first time tryed it didnt work, I thought its scam, then I just restarted roblox studio and it worked XD
DavidA it snot a scam , a scam is taking you stuff and not giving you it..
Same
iifrxshpie ewwww snot yuck yuck yuck P.S. don’t bully
please respond ( i tried this and it only worked in roblox studio and not in game when you publish it.
Thank you so much for this! Helped my game a lot!
while true do
script.Parent.Text = string.sub(game.Lighting.TimeOfDay,1,5)
wait()
end
Your welcome :)
what if i just want the time to go forward and not the day
while true do
script.Parent.Text = string.sub
wait()
i think?
AAAA TYSMM IVE BEEN TRYING FOR DAYS AND I FOUND A SCRIPT THAT FINALLY WORKS
why it can be work i try but not work try give me a script plz
can u do the timer start from 0 second
THANK YOU THIS HELPED! +1 sub
What if I want to add AM and PM behind the time? How im going to do?
I want to change the time was it in the video??
can you write the script in the desc because i dont bother writing the script on my own
This actually worked! Thank you so much for making this Video
You actually helped me learn script with ONE script. I know how to script my full games. Thank you so much! It was my dream becoming a programmer.
@Dreadmania Do you grt payed? ;W;
@Dreadmania It would be awesome to have you be a programmer for my game but I feel like people who do that should be payed.
I bet you're awesome at it though.
@Dreadmania Aw, that's nice to hear! Well if you want, I have a really small game and want to change/add some small things. If you want you can maybe help? Only if you really want to though.
@Dreadmania Well, I would like to have a little thing on the leader board that gives you a point every 5 to 10 minutes. Can you do that?
@Dreadmania Nice! I don't know much about scripting and Roblix studio in general but I have to go sleep now.
Ohmygosh
It works!
Thank you so much, you've saved me lol
i am not sure how to make the little box to type time
Thank you so much but how did you find that plugin I can’t find it by who is it from ?
the plugin is in the description-
Bloxomatic k thx
@@puppycooluseplayz4373 np
exuse me, but does it work with any day and night plugin?
This is so helpful thank you :D
How do you change the time, mine says 00:00
nice nice!
This helped a lot, I’m subbing
Thank you so much! It worked! And you put my fav song lol 😂
Ur edir program?
its working i will suscribe ;)
how to script to show AM when its morning then PM
This is EPIC :)
Love the video! But for some reason,I cant change the font,size and make the textlabel background transparent..
YOU SAVED ME THANK YOU!!!!
it works without the plugin! thanks!
this is so helpful thank you
good video I don't know how your not gaining subscribers.so, thank you I'm not good at making games yet so his helped me.
I'm glad I was able to help you :)
tysm this worked!
Can you make a tutorial so same thing with the time but it will loop 12:00am to 6:00am it will just loop
thanks, this works even in goodblox studio (early/mid 2010 client modified to look like early 2009)
How do 1 make more the one server
cool but how do you make the timer start from 0?
this is great when I saw this vid I thought it was gonna be like the toh timer but no tysm!!!
12AM
1AM
2AM
3AM
4AM
5AM
6AM
Perfect
Thanks for showing this tutorial i really needed it
It works, it's just that my sun glitches so it goes from 10:00 PM. to 6:00 AM.
I have a question idk how to script pls help with that pls put in in descp
How do I make a countdown?
Thank you so much!
OH COME ON I CANT SEE NOTHING AFTER MENU >:(
sorry to say this but i made a diffrent way to make my own timer and this helps so thanks for you
hello Roblox tutorial channel how can i change it to a 12 hours clock
Where do u find that
It works which makes me happy but it says military time for some reason XD. Anyone know how to fix that?
Can anyone give me the Link of Day And Night in the video
I actually have a working time script that changes the time every sec. Here it is(dont click the link):
lightning = game.Lighting
while true do
lightning:SetMinutesAfterMidnight(lightning:GetMinutesAfterMidnight() + 1)
wait(1)
end
Mine says 14:00 is that ok?
how do i have any plugins
Nice
New sub
i have a suggestion: REMOVE THE ANNOYING UNKNOWN MUSIC IN ALL OF YOUR VIDEOS
This Video! Helped Me Out For My Games.Thanks For Helping Me Our :D
How can i create a simulator?
it didnt work for me . is this out of date?
its been 3 years..
Instead of using the night and day download use this script:
local minutesaftermidnight = 0
while true do
game.Lighting.Setminutesaftermidnight(minutesaftermidnight)
minutesaftermidnight = minutesaftermidnight + 60
wait (1)
end
and then the script inside the gui:
while true do
script.Parent.Time = string.sub(game.Lighting.TimeOfDay,1,5)
wait()
end
How do you set a permanent time?
THX WORKED oopsie caps
Why my time its not running?
Bruh i did all steps but then still says time help me
The Script:
while true do
script.Parent.Text = string.sub(game.Lighting.TimeOfDay,1,5)
wait()
end
Enjoy!
Its worked for 2020!
Not what I was looking for, but good tutorial!
Thank you! That was much easier for me. It was alittle fast though but it worked nicely thank you
Glad you liked it! If you have any questions, don't be afraid to ask :)
Got to ToolBox, find Plugins!
THANK YOU
i cant find the plugin
Something about that avatar its just so cute XD (well that its a noob and the face mostly...)
I always thought that about the noobs XD
If anyone wants to just copy and paste it, here it is.
while true do
script.Parent.Text = string.sub(game.Lighting.TimeofDay, 1, 5
wait()
end
Thank you! It works but it is a bit fast for me. But it's fine! Thank you very much!
It worked
😀