Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.TableThing = {}
- _G.stop = false
- while not _G.stop do
- local startval = string.gsub(game.Players.LocalPlayer.PlayerGui.Main.Right[_G.Tracking].Amount.Text, ",", "")
- if _G.rconsole then
- rconsoleprint('@@LIGHT_MAGENTA@@')
- rconsoleprint("Starting with: " .. startval .. "\n")
- else
- print("Starting with: " .. startval)
- end
- wait(60)
- local endval = string.gsub(game.Players.LocalPlayer.PlayerGui.Main.Right[_G.Tracking].Amount.Text, ",", "")
- local diffy = tonumber(endval) - tonumber(startval)
- if _G.rconsole then
- rconsoleprint('@@LIGHT_CYAN@@')
- rconsoleprint("Ended with: " .. endval .. " || Gained: " .. diffy .. " in 60 seconds \n")
- else
- print("Ended with: " .. endval .. " || Gained: " .. diffy .. " in 60 seconds")
- end
- table.insert(_G.TableThing, diffy)
- local b = 0
- for i,v in pairs(_G.TableThing) do
- b = b + v
- end
- if _G.rconsole then
- rconsoleprint('@@GREEN@@')
- rconsoleprint("Total: " .. b .. " in " .. #_G.TableThing .. " mins || average per min:" .. b/#_G.TableThing .. "\n \n")
- else
- warn("Total: " .. b .. " in " .. #_G.TableThing .. " mins || average per min:" .. b/#_G.TableThing)
- end
- end
Add Comment
Please, Sign In to add comment