Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make a time gui that is also a 12 hour loop?

Asked by
s_iara 94
4 years ago
Edited 4 years ago

ive already made a post on this, but it didnt answer my question..

i already have a script that is day and night loop i think that it would have something to do with:

TextLabel.Text = Lighting.TimeOfDay

but, i just dont understand how to make the 12 hour loop if you dont know what that is, ill show an example:

if the time were 14:02 the 12 hour loop would change it to 2:02

any help is appriciated

1
Show some attempt first. You know that you have to make it from 24 hour to 12 hour. You'd also need just the first 2 numbers, so you may need string.sub(). Give it a shot Shawnyg 4330 — 4y

Answer this question