HOW TO MAKE A WORKING IN-GAME CLOCK IN ROBLOX STUDIO | Roblox Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 136

  • @Itz_FloppyFish
    @Itz_FloppyFish  Год назад +11

    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.

    • @Jing.TheKing
      @Jing.TheKing Год назад +1

      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?

    • @ItsDeli.
      @ItsDeli. Год назад +2

      @@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.

    • @Jing.TheKing
      @Jing.TheKing Год назад

      @@ItsDeli. OH alr it works. Thx !

    • @ItsDeli.
      @ItsDeli. Год назад +1

      @@Jing.TheKing Happy to help! :D

    • @bernardogame_gamer_verde
      @bernardogame_gamer_verde Год назад

      Hello, how do I change the time that arrives at night?

  • @NitroGamer_Roblox
    @NitroGamer_Roblox 6 месяцев назад +3

    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!!

  • @GreatRamilYT
    @GreatRamilYT 2 года назад +2

    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!!!

  • @oscarmarvi
    @oscarmarvi Год назад +26

    Making the speed on the 1st script 0.0006 makes it 1 hour equals 1 minute. IRL

    • @STG_KellanF
      @STG_KellanF Год назад +3

      THANK YOU

    • @FLTGT
      @FLTGT 9 месяцев назад +2

      @bebekpecidkeep adding 0’s until you find it, and add a 6 after the 0’s. Let me know when you find out!

    • @sonicgalaxy5
      @sonicgalaxy5 8 месяцев назад +2

      @@FLTGTum how do I make a day “48” minutes! What number do I make it?

    • @mindfeast.
      @mindfeast. 7 месяцев назад +1

      Thank you my good sir

    • @jeanpg900
      @jeanpg900 5 месяцев назад +1

      @@sonicgalaxy5 i think it would be 0.0012

  • @IVANVR12
    @IVANVR12 9 месяцев назад +1

    Dude you are a professional IT WORKS Thank you

  • @Cyaonima
    @Cyaonima 2 года назад +2

    best studio tutorial i ever seen for sure

    • @Itz_FloppyFish
      @Itz_FloppyFish  2 года назад

      Tysm! What other tutorials would you like to see?

    • @Lightworldlife
      @Lightworldlife 5 месяцев назад

      @@Itz_FloppyFish fake content

  • @thereal_afk
    @thereal_afk Год назад +11

    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

    • @Infection81
      @Infection81 10 месяцев назад +1

      hi welcome back. idk

  • @AidanP0316
    @AidanP0316 5 месяцев назад +1

    🙏 This tutorial was helpful. I’ve added a clock into my new driving game

  • @Scootersquadngaming
    @Scootersquadngaming Год назад +1

    Thanks this helps alot Love the videos keep of the good work

  • @somebody-that-exists323
    @somebody-that-exists323 Год назад +2

    You're a life saver

  • @Weirdun
    @Weirdun 2 года назад +2

    perfect! very simple! now i wanna make a car vroom vroom game

    • @Itz_FloppyFish
      @Itz_FloppyFish  2 года назад

      Wow sounds cool, what other tutorials would you like to see?

    • @Weirdun
      @Weirdun 2 года назад

      @@Itz_FloppyFish How to make a gui in roblox studios?? I think u have tho, i'm not sure

  • @Luciotitooficial
    @Luciotitooficial Год назад +1

    It helped a lot new subscriber!

  • @NotVaultt
    @NotVaultt 2 года назад +1

    this is very helpful im making a roblox myth and this helps alot ty

  • @Petrastate
    @Petrastate 10 месяцев назад +1

    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.

  • @SunSokrr
    @SunSokrr Год назад +4

    Overall, good video. My only nit-pick is that you could have explained what each line of code does. Thanks for the script though! :)

    • @Itz_FloppyFish
      @Itz_FloppyFish  Год назад +2

      Thanks for the tips! My more recent videos I sometimes go over what the script does, Usually in my longer videos.

  • @cherriepicker2484
    @cherriepicker2484 Год назад +5

    how to change the time ? it is showing military time and I dont have military time

  • @nightare_edits
    @nightare_edits Год назад +6

    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?

    • @DrStupid1991
      @DrStupid1991 Год назад

      @NotYourRuler14 are you ok in the head, like wdym true its just a man trying to ask a question

    • @chrissomeone-f3f
      @chrissomeone-f3f Год назад +5

      @@DrStupid1991 dawg what he do

    • @CheesyHandss
      @CheesyHandss Год назад +2

      @@DrStupid1991bro what 💀 tf?

    • @DrStupid1991
      @DrStupid1991 Год назад

      @@CheesyHandss I am a moron with adhd lmao, sorry

  • @DrStupid1991
    @DrStupid1991 Год назад +2

    How would i change the time from 00:00 to 00:00:00?

  • @TwizersYT
    @TwizersYT 11 месяцев назад

    Yooo bro this help me alot!

  • @moonaramam1132
    @moonaramam1132 Год назад

    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?

  • @hugobrolin341
    @hugobrolin341 Год назад

    Bro thx for the tut it was very useful

  • @aint_gavin
    @aint_gavin Год назад +1

    Uhhhh.... Mine says -06:1 and stuff like that, how do I make it say like 12:30?

  • @DefinitelyNotYT
    @DefinitelyNotYT 9 месяцев назад +1

    bro how are we supposed to learn when you just have us copy paste

  • @amethystix_
    @amethystix_ Месяц назад

    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!

  • @Ahmed111-tb1tv
    @Ahmed111-tb1tv 3 месяца назад

    Thank you so much ❤ but in script make: local timechange = 0.1

  • @offical1roberto491
    @offical1roberto491 2 года назад +2

    this is awesome. I'm working on my rp game and it's useful!1

  • @olekolek2855
    @olekolek2855 18 дней назад

    Hi, just wondering how long id have to slow it down to make it a real life 24 hours

  • @aaron_roblox6171
    @aaron_roblox6171 6 месяцев назад

    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

  • @nerdygoalkeeper
    @nerdygoalkeeper Год назад +1

    tysm

  • @BloxBoy_Rbx
    @BloxBoy_Rbx Год назад +1

    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

  • @bella3_4
    @bella3_4 10 месяцев назад

    How would you go about implementing a day/week day into this script? As in have it so it says Monday, Tuesday, Wednesday etc.

  • @GLITCHFUSE
    @GLITCHFUSE Год назад

    Do you know how to make the thing display am or pm?

  • @konsuyy
    @konsuyy Год назад

    Thanks

  • @MinichuStudios_Official
    @MinichuStudios_Official 9 месяцев назад

    Hiya! Quick question. If my clock isn't moving what did I do wrong?

  • @lol_sxmstar
    @lol_sxmstar 2 года назад +1

    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?

    • @lol_sxmstar
      @lol_sxmstar 2 года назад

      I joined ur discord but it doesnt let me ticket??

    • @lol_sxmstar
      @lol_sxmstar 2 года назад

      and when i clicked play again the clock did not work it just said label..

    • @lol_sxmstar
      @lol_sxmstar Год назад

      @@vortex32_25 wow such a flex 💀

    • @vortex32_25
      @vortex32_25 Год назад

      @@lol_sxmstar its not a flex, its called having common sense dumbass

  • @mariaberlado
    @mariaberlado 5 месяцев назад

    thank you bro

  • @BloxBoy_Rbx
    @BloxBoy_Rbx Год назад

    Thank you it work in 2023

  • @bluizpro
    @bluizpro 7 месяцев назад

    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.

  • @Pollylollylol
    @Pollylollylol 5 месяцев назад +1

    Hi I don’t think you are answering comments anymore, but it still only says label for me..

  • @nextstopmusicYT
    @nextstopmusicYT 9 месяцев назад

    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?

  • @allisonvivian2143
    @allisonvivian2143 8 месяцев назад

    Is there a way for you to be able to choose time in game

  • @BaconplaysTV
    @BaconplaysTV 9 месяцев назад +1

    How does nothing work for me in Roblox studio😢

  • @Retiny
    @Retiny Год назад +1

    i Have One Question How to Add Like PM and AM?

  • @KittyGamerFunOFFICAL
    @KittyGamerFunOFFICAL 11 месяцев назад

    can you do one that just says TImeAM

  • @therdrt5
    @therdrt5 8 месяцев назад

    how we can change time manually while playing the game by clicking button

  • @MindsOfMany
    @MindsOfMany Год назад

    Thanks
    MAKE A DAY COUNTER!!!

  • @bernardogame_gamer_verde
    @bernardogame_gamer_verde Год назад

    Hello, how do I change the time that arrives at night?

  • @mightycrew2538
    @mightycrew2538 Год назад

    How do you change the format from 00:00:00 to 00:00 ? 😭

  • @Noahisback1426
    @Noahisback1426 4 месяца назад

    its not working for me
    because a few thing under highlighted when I did everything the same

  • @wolfzarrowalarms
    @wolfzarrowalarms 5 месяцев назад

    How do you change it to 12 Hour Time?

  • @wodanoi_arbuz
    @wodanoi_arbuz Год назад

    local Time = 0.01
    local TimeChanged = 0.01

    while wait(Time)do
    game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChanged
    end

    • @wodanoi_arbuz
      @wodanoi_arbuz Год назад

      script for day and night cycle
      (NOT 100% WORKING)

  • @Mx.Rae-ev8kx
    @Mx.Rae-ev8kx 7 месяцев назад

    Is this script client? cause i'm making a game where it revolves around clocktime

  • @lilynjoki
    @lilynjoki 5 месяцев назад +1

    nvm

  • @rajeshram2805
    @rajeshram2805 Год назад

    How do you do the AM PM thing?

  • @conoroshea3813
    @conoroshea3813 Год назад

    how do i change it so one roblox hour on the clock will be 3 actual minutes instead of just 1

  • @graysterboys4322
    @graysterboys4322 Год назад

    Hi i try all the script is working but the clock is to fast how to change the time slower sorry bad english

  • @niconicotin504
    @niconicotin504 6 месяцев назад

    how to change sky box?

  • @shell-baller
    @shell-baller 9 месяцев назад

    why my text label won't show a time?

  • @BrrayBray
    @BrrayBray 10 месяцев назад

    How do you make the clock real-time?

  • @Locky6277
    @Locky6277 11 месяцев назад

    Set The Time In The First Script To 0.00195 To Make 1 Min = 1 Sec

  • @king_derpiy5618
    @king_derpiy5618 Год назад

    its going faster than i want but when i make it slower it still stays the same

  • @kalinageorgieska
    @kalinageorgieska Год назад

    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

    • @goldenplague
      @goldenplague Год назад

      Well, If it is using wait(number) then thats why. The lower the number the faster the change.

  • @seriesofaqrobloxoffcial
    @seriesofaqrobloxoffcial Год назад

    Question, how do you hide the white boz?

    • @TomatoLegend900
      @TomatoLegend900 Год назад

      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.

  • @yodatoad5917
    @yodatoad5917 Год назад

    the time wont adjust for mine it, and the seconds are minutes

  • @LCW748
    @LCW748 6 месяцев назад

    It works but the time starts at 14:00 instead of 12:00 pls help

    • @JeLeff.
      @JeLeff. 6 месяцев назад

      it's in the pinned comment

  • @Markanthony59vlog_200
    @Markanthony59vlog_200 9 месяцев назад

    How do i copy the script

  • @uioooooqqqqq
    @uioooooqqqqq 2 года назад

    i want seconds to the gui

  • @RUITheGoat
    @RUITheGoat 2 года назад +1

    😎

  • @D-Makes
    @D-Makes 2 месяца назад

    I tried it didn’t work

  • @Scootersquadngaming
    @Scootersquadngaming Год назад

    up*

  • @DACOONOUT
    @DACOONOUT Год назад

    hi

  • @Sticker_Guy
    @Sticker_Guy 11 месяцев назад

    I did everything what u said and is not working 😕

    • @Sticker_Guy
      @Sticker_Guy 11 месяцев назад

      I mean the time clock doent work

    • @Itz_FloppyFish
      @Itz_FloppyFish  11 месяцев назад

      Hi, Sorry about this. Please contact us on discord and we can help you out!

    • @Sticker_Guy
      @Sticker_Guy 11 месяцев назад

      @@Itz_FloppyFish is alr i just Let the first script with the Sun and thats it 👍

    • @Sticker_Guy
      @Sticker_Guy 11 месяцев назад

      Nvm. I put the wrong script is working now😅​@@Itz_FloppyFish

  • @timmaguire6394
    @timmaguire6394 11 месяцев назад

    you broke my game

  • @slvmp1751
    @slvmp1751 Год назад

    Mine is frozen

  • @Arkfan346
    @Arkfan346 10 месяцев назад

    İt didn't worked i kicked

  • @alexamaximus69402
    @alexamaximus69402 Год назад

    it didnt work?

  • @rumunov
    @rumunov 3 месяца назад

    Dude This DOESNT WORK!

  • @Lightworldlife
    @Lightworldlife 6 месяцев назад

    I did not work fake

    • @YamanFayez
      @YamanFayez 5 месяцев назад

      Uhhh it did work with me

  • @Lightworldlife
    @Lightworldlife 6 месяцев назад

    Fake

  • @IM_IDK_IDC
    @IM_IDK_IDC 10 месяцев назад

    Bro is lying

    • @Itz_FloppyFish
      @Itz_FloppyFish  10 месяцев назад

      I would lie in a tutorial? I dont think so

    • @Lightworldlife
      @Lightworldlife 6 месяцев назад

      @@Itz_FloppyFishyes you lie

  • @xorious7
    @xorious7 2 года назад

    cringe

    • @Itz_FloppyFish
      @Itz_FloppyFish  2 года назад +2

      apricate the comment lol

    • @Hydr4z_
      @Hydr4z_ 2 года назад +2

      nerd

    • @Vantronet1
      @Vantronet1 Год назад +2

      how is it cringe this guy is helping us with this