I am super confused. What is wrong with this? The timer is showing negatives, but different times in the negatives for different people.
local tst: NumberValue = plrs.LocalPlayer:WaitForChild("TowerStartTime")
local function formatCompletionTime(secondsFloat)
local totalSeconds = math.floor(secondsFloat)
local minutes = math.floor(totalSeconds / 60)
local seconds = totalSeconds % 60
local ms = math.floor((secondsFloat - totalSeconds) * 1000)
return string.format("%02d:%02d.%03d", minutes, seconds, ms)
end
Timer.Text = formatCompletionTime((DateTime.now().UnixTimestampMillis - tst.Value) / 1000)