I have a little bar in my frame, and every .025 seconds, I expand it by 1% of the screen's width. I do this 40 times, so it should take 40 seconds. Here's the code:
local start = tick() for i = 1, 40 do if hasReleased then break end gui.Frame.Bar.Size = UDim2.new(gui.Frame.Bar.Size.X.Scale + 0.01, 0, 0.1, 0) gui.Frame.Bar.Transparency = 0 wait(.025) print(tick() - start) end
But each time it prints, instead of increasing by .025, it seems to wait around .03 seconds:
In case it matters, my Roblox Studio default wait() time is 0.010000000000000000208
aka 0.01