minecrafter206

Lifting Titans

May 17th, 2021 (edited)
996
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local autobuyw = false
  3. local autobuydna = false
  4. local autosell = false
  5. local autolift = false
  6. local autoopen1 = false
  7. local autoopen3 = false
  8. local autotp = false
  9.  
  10. local egg = "Farm Egg"
  11.  
  12.  
  13. function valid(data, array)
  14.     local valid = {}
  15.     for i = 1, #array do
  16.      valid[array[i]] = true
  17.     end
  18.     if valid[data] then
  19.      return true
  20.     else
  21.      return false
  22.     end
  23. end
  24.  
  25. local eggs = {}
  26. for h,j in pairs(game:GetService("Workspace").EggFolder:GetChildren()) do
  27.     if tostring(j) ~= "Dominus Egg" then
  28.         table.insert( eggs, tostring(j))
  29.     end
  30. end
  31.  
  32.  
  33.  
  34. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/forumsLib/main/source.lua"))()
  35. local Forums = Library.new("Lifting Titans")
  36.  
  37. local Main = Forums:NewSection("Main")
  38. local gamepass = Forums:NewSection("Gamepass")
  39.  
  40.  
  41. gamepass:NewButton("Give Gamepass DNA", function()
  42.     game:GetService("ReplicatedStorage").Remotes.Buy:FireServer("DNA", "King")
  43. end)
  44.  
  45. gamepass:NewButton("Give Gamepass Weight", function()
  46.     game:GetService("ReplicatedStorage").Remotes.Buy:FireServer("Weights", "Golden Dumbbell")
  47. end)
  48.  
  49. Main:NewToggle("Auto Lift", function(state)
  50.     autolift = state
  51. end)
  52.  
  53. Main:NewToggle("Auto Sell", function(state)
  54.     autosell = state
  55. end)
  56.  
  57.  
  58. Main:NewDropdown("Eggs", eggs, function(item)
  59.     egg = item
  60. end)
  61.  
  62. Main:NewToggle("Auto Hatch Egg", function(state)
  63.     autoopen1 = state
  64. end)
  65.  
  66. Main:NewToggle("Auto Triple Hatch Egg", function(state)
  67.     autoopen3 = state
  68. end)
  69.  
  70. Main:NewToggle("Auto Tp to Best Gym", function(state)
  71.     autotp = state
  72. end)
  73.  
  74.  
  75. while wait() do
  76.     if autolift == true then
  77.         game:GetService("ReplicatedStorage").Remotes.OnLift:FireServer()
  78.         wait()
  79.     end
  80.     if autosell == true then
  81.         game:GetService("ReplicatedStorage").Remotes.Sell:FireServer("Sell")
  82.         wait()
  83.     end
  84.     if autoopen1 == true then
  85.             game:GetService("ReplicatedStorage").Remotes.HatchEgg:InvokeServer(egg, 1)
  86.     end
  87.     if autoopen3 == true then
  88.         game:GetService("ReplicatedStorage").Remotes.HatchEgg:InvokeServer(egg, 3)
  89.     end
  90.     if autotp == true then
  91.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Zones["Throne Room"].CFrame
  92.     end
  93. end
RAW Paste Data