Advertisement
Honansik

Square Incremental Script: Auto Collect, Auto Upgrade, Auto Rebirth & More

Sep 7th, 2023
1,215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.24 KB | None | 0 0
  1. getgenv().AutoUpgrade = true -- turn off if issues
  2.  
  3. -- tiny little anticheat bypass tomato.txt and auto collect squares
  4. getgenv()["tomato.txt_anticheatbypassandmore"] = function()
  5.     local function RemoveAntiCheat(Character)
  6.         local AnticheatProtectScript = Character:WaitForChild("Anti", 5)
  7.         if not AnticheatProtectScript then
  8.             return
  9.         end
  10.         local AnticheatScript = Character:WaitForChild("JyAntiCheat.lua")
  11.         AnticheatProtectScript.Disabled = true
  12.         AnticheatScript.Disabled = true
  13.         AnticheatProtectScript:Destroy()
  14.         AnticheatScript:Destroy()
  15.     end
  16.     local LocalPlayer = game:GetService("Players").LocalPlayer
  17.     RemoveAntiCheat(LocalPlayer.Character)
  18.     LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(-100, 0, 0)
  19.     local playercube = workspace.PlayerCube:WaitForChild(LocalPlayer.Name)
  20.     while task.wait() do
  21.         for i, Area in pairs(workspace.Areas:GetChildren()) do
  22.             playercube.CFrame = Area.CFrame
  23.         end
  24.     end
  25. end
  26. task.spawn(getgenv()["tomato.txt_anticheatbypassandmore"])
  27.  
  28. if not getgenv().AutoUpgrade then error("Auto Upgrade off thats why this error has appeared its Okay tho :)") end
  29.  
  30. -- semi smart auto upgrade 55% efficency
  31. local RemoteEvents = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents")
  32. local BuyMax = RemoteEvents:WaitForChild("BuyMax")
  33. local BuyOne = RemoteEvents:WaitForChild("BuyOne")
  34. local PrestigeReset = RemoteEvents:WaitForChild("PrestigeReset")
  35. local RubyReset = RemoteEvents:WaitForChild("RubyReset")
  36. local LightResetCheck = RemoteEvents:WaitForChild("LightResetCheck")
  37.  
  38.  
  39. while task.wait(0.1 - 0.015) do
  40.     -- Square and Golden Square upgrades
  41.     local SU_GSU = {"SU1B", "SU2B", "SU3B", "GSU1B", "GSU2B"}
  42.     for i,v in pairs(SU_GSU) do
  43.         BuyMax:FireServer(v)
  44.         task.wait()
  45.         PrestigeReset:FireServer()
  46.         task.wait()
  47.     end
  48.  
  49.     -- Prestige Upgrades
  50.     local PU = {"PU1B", "PU2B"}
  51.     for i,v in pairs(PU) do
  52.         BuyMax:FireServer(v)
  53.         task.wait()
  54.         RubyReset:FireServer()
  55.         task.wait()
  56.     end
  57.  
  58.     --Third Prestige Upgrade IE uses diffrent remote
  59.     BuyOne:FireServer("PU3B")
  60.     task.wait()
  61.     RubyReset:FireServer()
  62.     task.wait()
  63.     -- Ruby Upgrades
  64.     local RU = {"RU1B", "RU2B", "RU3B"}
  65.     for i,v in pairs(RU) do
  66.         BuyMax:FireServer(v)
  67.         task.wait()
  68.         LightResetCheck:FireServer()
  69.         task.wait()
  70.     end
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement