Belzebub

/bin/tps.lua

Dec 7th, 2021 (edited)
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. if not require("filesystem").exists("/lib/tps.lua") then
  2.     os.execute("wget https://pastebin.com/raw/62ivXgMb /lib/tps.lua")
  3. end
  4.  
  5. local tps = require("tps")
  6.  
  7. print("current: ".. tps.cur(0.1))
  8.  
  9. for i = 1, 9 do
  10.     tps.avg(0.1, 10)
  11. end
  12.  
  13. print("median: ".. tps.median(0.1, 10))
Add Comment
Please, Sign In to add comment