@@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
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 :)
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! 🎉
@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.
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
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?
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!
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
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
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!
IT WORKS, THIS ONCE ACTUALLY WORKS! THANK YOU SOOOOOO MUCH!!!!
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.
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?
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.
"New Tutorials Everyweekk!"
cries ...
:(
Thank you so much for this! It was really helpful, I searched everywhere for this and got this on my recommended page. New subscriber!
how tf you arent recognized this helped a lot in the process of a game that I'm making you're getting a sub
holy this helped me for my new game pilot simulator I will link it when it is done its private
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
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
Ohmygosh
It works!
Thank you so much, you've saved me lol
Thank you so much for this! Helped my game a lot!
Thank you so much! It worked! And you put my fav song lol 😂
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
THANK YOU THIS HELPED! +1 sub
thanks, this works even in goodblox studio (early/mid 2010 client modified to look like early 2009)
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?
This actually worked! Thank you so much for making this Video
Hello. Why time is going very fast? Or i need to change something in scripts?
it works without the plugin! thanks!
this is great when I saw this vid I thought it was gonna be like the toh timer but no tysm!!!
sorry to say this but i made a diffrent way to make my own timer and this helps so thanks for you
This is EPIC :)
nice nice!
This is so helpful thank you :D
It works, it's just that my sun glitches so it goes from 10:00 PM. to 6:00 AM.
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 :)
Thanks for showing this tutorial i really needed it
YOU SAVED ME THANK YOU!!!!
its working i will suscribe ;)
This helped a lot, I’m subbing
this is so helpful thank you
tysm this worked!
12AM
1AM
2AM
3AM
4AM
5AM
6AM
Perfect
This Video! Helped Me Out For My Games.Thanks For Helping Me Our :D
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?
New sub
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 :)
Everytime I join my ACTUAL game that isnt testing, it doesn't work its like paused at a certain time.
Thank you so much!
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?
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
Nice
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
It worked
😀
Its worked for 2020!
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?
Wow this rlly helped tysm! 😃😃😃😃😃😃😃😃😃
thanks it worked
but how to make a time counted properly because it counted too fast as stopwatch
Thank you! It works but it is a bit fast for me. But it's fine! Thank you very much!
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
but how to make it so that time decreases on the contrary?
THX WORKED oopsie caps
ty
IT WORKED
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!
Hii it don’t work for me it just stays on 14:00 pls somebody help
OMFG TYMS
I already got the time cycle before i watched this XD
mine works in studio but doesnt work in game
it says 4:22 and just stays
nice
Danke Schon)
Hi! My time gui show military time which i dont want it to. is there any way to fix this?
I have a question, why does it have like a negative stuff (ex. -8:3) and the time decreasing instead of increasing..
exuse me, but does it work with any day and night plugin?
Ur edir program?
omg thx you i need for my game thx you
please respond ( i tried this and it only worked in roblox studio and not in game when you publish it.
Thanks!
Tysm!
Thanks so much!!!!!!!!!
its been 3 years..
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
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
Love the video! But for some reason,I cant change the font,size and make the textlabel background transparent..
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
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
I want to change the time was it in the video??
can u do the timer start from 0 second
What if I want to add AM and PM behind the time? How im going to do?
Thank you!The script worked perfectly!
It works which makes me happy but it says military time for some reason XD. Anyone know how to fix that?
can you write the script in the desc because i dont bother writing the script on my own
The Script:
while true do
script.Parent.Text = string.sub(game.Lighting.TimeOfDay,1,5)
wait()
end
Enjoy!
Thanks
Can you make a tutorial so same thing with the time but it will loop 12:00am to 6:00am it will just loop
How do you change the time, mine says 00:00
cool but how do you make the timer start from 0?
i have a suggestion: REMOVE THE ANNOYING UNKNOWN MUSIC IN ALL OF YOUR VIDEOS
i am not sure how to make the little box to type time
Where do u find that
I have a question idk how to script pls help with that pls put in in descp
usefull
How do 1 make more the one server