Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not require("filesystem").exists("/lib/tps.lua") then
- os.execute("wget https://pastebin.com/raw/62ivXgMb /lib/tps.lua")
- end
- local tps = require("tps")
- print("current: ".. tps.cur(0.1))
- for i = 1, 9 do
- tps.avg(0.1, 10)
- end
- print("median: ".. tps.median(0.1, 10))
Add Comment
Please, Sign In to add comment