Advertisement
Trey4321

Strong Simulator X

Jul 2nd, 2022 (edited)
1,413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.92 KB | None | 0 0
  1. -- Documentation --
  2. -- Library:CreateTab(name)
  3. -- Tab:CreateButton(text, callback)
  4. -- Tab:CreateToggle(text, callback)
  5. -- Tab:CreateSlider(text, minVal, maxVal, presetVal, preciseVal (0 or 1), callback)
  6. -- Tab:CreateDropdown(text, options({}), defaultOption, callback)
  7. -- Tab:CreateColorPicker(text, defaultColor, callback)
  8. -- Tab:CreateKeybind(text, Enum.KeyCode.Key, false?, true?, callback)
  9.  
  10. -- Basic Vars --
  11. local plrs = game:GetService("Players")
  12. local plr = plrs.LocalPlayer
  13.  
  14. local InfJump = false
  15. local AntiAfk = false
  16.  
  17. -- Cheat Vars --
  18. local Rebirth = game:GetService("ReplicatedStorage").Common._packages._Index["sleitnick_knit@1.4.7"].knit.Services.DataService.RF.Rebirth
  19.  
  20. local AutoFarm = false
  21. local AutoRebirth = false
  22.  
  23. -- Basic UI Stuff --
  24. local Library = loadstring(game:HttpGet("https://pastebin.com/raw/3gQQtaKX"))()
  25.  
  26. -- Create Tabs --
  27. local PlayerTab = Library:CreateTab("Player")
  28. local CheatsTab = Library:CreateTab("Cheats")
  29.  
  30. -- Create Sections --
  31. local CharacterSection = PlayerTab:CreateSection("Character")
  32. local MiscSection = PlayerTab:CreateSection("Misc")
  33.  
  34. local CheatsAutoFarmSection = CheatsTab:CreateSection("Auto-Farm")
  35.  
  36. -- Player Tab --
  37. CharacterSection:CreateSlider("WalkSpeed", 16, 100, plr.Character.Humanoid.WalkSpeed, 1, function(Val)
  38.     plr.Character.Humanoid.WalkSpeed = Val
  39. end)
  40. CharacterSection:CreateSlider("JumpPower", 50, 500, plr.Character.Humanoid.JumpPower, 1, function(Val)
  41.     plr.Character.Humanoid.JumpPower = Val
  42. end)
  43. CharacterSection:CreateSlider("HipHeight", 1, 16, plr.Character.Humanoid.HipHeight, 1, function(Val)
  44.     plr.Character.Humanoid.HipHeight = Val
  45. end)
  46.  
  47. MiscSection:CreateToggle("Inf Jump", function(Val)
  48.     InfJump = Val
  49. end)
  50. MiscSection:CreateToggle("Anti-Afk", function(Val)
  51.     AntiAfk = Val
  52. end)
  53.  
  54. -- Cheats Tab --
  55. CheatsAutoFarmSection:CreateToggle("Auto-Farm", function(Val)
  56.     AutoFarm = Val
  57. end)
  58. CheatsAutoFarmSection:CreateToggle("Auto-Rebirth", function(Val)
  59.     AutoRebirth = Val
  60. end)
  61.  
  62. -- Auto-Farm --
  63. function GetRebirths()
  64.     local Rebirths = 0
  65.     for _,stat in pairs(plr.leaderstats:GetChildren()) do
  66.         if string.split(stat.Name, " ")[2] == "Rebirth" then
  67.             Rebirths = stat.Value
  68.         end
  69.     end
  70.     return Rebirths
  71. end
  72. function BestArea()
  73.     local Rebirths = tonumber(GetRebirths())
  74.     local hum = plr.Character.HumanoidRootPart
  75.     if Rebirths >= 100000 then hum.CFrame = game.Workspace["1M+ Rebirth"]
  76.     elseif Rebirths >= 1000 then hum.CFrame = game.Workspace.Map.Volcano.Safe.Shield.CFrame
  77.     elseif Rebirths >= 100 then hum.CFrame = game.Workspace.Map.Snow.Safe.Shield.CFrame
  78.     elseif Rebirths >= 10 then hum.CFrame = game.Workspace.Map.Forest.Safe.Shield.CFrame
  79.     elseif Rebirths >= 0 then hum.CFrame = game.Workspace.Map.Spawn.Safe.Shield.CFrame end
  80. end
  81. function Click()
  82.     game:GetService("VirtualUser"):ClickButton1(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  83. end
  84.  
  85. coroutine.wrap(function()
  86.     while wait() do
  87.         if AutoRebirth then
  88.             Rebirth:InvokeServer()
  89.         end
  90.         if AutoFarm then
  91.             BestArea()
  92.             Click()
  93.         end
  94.     end
  95. end)()
  96.  
  97. -- Anti-Afk and Inf Jump --
  98. coroutine.resume(coroutine.create(function()
  99.     while wait() do
  100.         if InfJump then
  101.             plr:GetMouse().KeyDown:Connect(function()
  102.                 if k:byte() == 32 then -- 32 = space
  103.                     local h = plr.Character.Humanoid
  104.                     h:ChangeState("Jumping")
  105.                     wait(.1)
  106.                     h:ChangeState("Seated")
  107.                 end
  108.             end)
  109.         end
  110.         if AntiAfk then
  111.             local vu = game:GetService("VirtualUser")
  112.             plr.Idled:Connect(function()
  113.                 vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
  114.                 wait(1)
  115.                 vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
  116.             end)
  117.         end
  118.     end
  119. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement