Hello,

I have a timer that has a millisecond display on it. My milliseconds however take more than 1 second to make a second. I am not sure why, if anyone could assist me that would be greatly appreciated.


local milli = 00

while true do
local passed = wait() 
milli = milli + math.ceil(passed) 
end

5 comments

0

Note, the text label is being set, I am unsure what my math is doing that is making it delayed.

0

the numbers wait() returns are very inconsistent it (for me) ranges from 0.1 to 0.03

0

you should use tick() for a millisecond timer

0

For passed()?

0

With tick() i instantly get the time limit I want, which is really abd.