How to make time counter?

when player submitted it’s will showing time that player did it
example like this :

1 Like

you can use tick(), which gets the time in seconds from 1970 to now.

this should count the time:

-- when you start the timer
local timenow = tick()

-- when you end the timer
local totaltime = tick() - timenow

Use, not tick().

-- Start time
local startTime =

-- End time
local endTime =

-- Time it took
local timeItTook = endTime - startTime