chevron_leftchevron_leftchevron_left
    of     2   

Locard
#182977184Thursday, February 04, 2016 6:28 AM GMT

The main issue is that you're trying to fix a simple problem by adding more functions when you could easily fix it with less code...
CWRA0444
#182977305Thursday, February 04, 2016 6:33 AM GMT

Okay here's one that works. t = 24 h = Instance.new("Hint") h.Parent = workspace for i = 1, 240 do wait() if t > 9.999 then h.Text = string.sub(t, 1, 4) else h.Text = string.sub(t, 1, 3) end t = t - 0.1 end just a siggy in its natural habitat
chimmihc
#182977341Thursday, February 04, 2016 6:35 AM GMT

function Counter(distance,lower,func) local floor,tick,wait = math.floor,tick,wait --distance = distance + 1 -- un comment the last line to make it start at the beginning of the number local start = tick() while true do local time = tick() local current = distance - (time - start) if current <= 0 then break elseif current < lower then func(floor(current/0.1)*0.1) else func(floor(current)) end wait() end end Counter(60,24,function(time) print(time) end)
Auxetic
#183000040Thursday, February 04, 2016 9:35 PM GMT

Thank you so much guys for the help.

chevron_leftchevron_leftchevron_left
    of     2