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

How would i make a real time day counter? [closed]

Asked by
JMC0077 -4
3 years ago

for example, every 24 hours it would count up 1 on a surface GUI

Closed as Not Constructive by DinozCreates, shadowstorm440, Cynical_Innovation, and imKirda

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
sayer80 457 Moderation Voter
3 years ago

You can use os.date("!*t", os.time()) to get information about the current time in UTC. See the os.date section here for more info: https://developer.roblox.com/articles/Lua-Libraries/os

0
I have little script knowledge and i do not know how i would implement that JMC0077 -4 — 3y
0
so go on a site like developer.roblox.com where it tells you everything speedyfox66 237 — 3y
0
i still dont know what to do JMC0077 -4 — 3y
0
try to read through everything sayer80 457 — 3y
0
I've linked a developer.roblox.com link in my answer sayer80 457 — 3y
Ad