- Make sure the new breakpoint window is CLOSED.
- Put this on a
LocalScript
:
local Count = 0
local Avg = 0
local TickOld = tick()
repeat
local Tick1 = tick()
task.wait()
local Tick2 = 1/(tick()-Tick1)
Count += 1
Avg += Tick2
if Tick1 - TickOld >= 1 then
TickOld = Tick1
print('avg:',math.round(Avg/Count))
end
until false
-
Run. You will have something like 60 → 65
task.wait()
per second:
-
Enable the breakpoints window and run. You will have something like 30 → 45
task.wait()
per second: