when player submitted it’s will showing time that player did it
example like this :
https://gyazo.com/8624ae71033627d684728118b1a55389
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
print(totaltime)
Use DateTime.now(), not tick().
-- Start time
local startTime = DateTime.now().UnixTimestampMillis
-- End time
local endTime = DateTime.now().UnixTimestampMillis
-- Time it took
local timeItTook = endTime - startTime