Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Saber GUI Loading...")
  2. local library = loadstring(game:HttpGet("https://pastebin.com/raw/7Z6TzFnv", true))()
  3. local afkGui = library:CreateWindow({
  4.   text = "AutoFarm"
  5. })
  6. local localplayer = library:CreateWindow({
  7.     text = "LocalPlayer"
  8. })
  9. local teleport = library:CreateWindow({
  10.     text = "Teleports"
  11. })
  12. local credits = library:CreateWindow({
  13.     text = "Credits"
  14. })
  15. afkGui:AddToggle("AutoFarm Candy", function(state)
  16.     if state then
  17.         waitValue5 = .1
  18.         while wait() do
  19.             wait(waitValue5)
  20.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CandyHolder.Candy.CFrame
  21.         end
  22.     else
  23.         waitValue5 = 100000000000000000000000
  24.     end
  25. end)
  26.  
  27. afkGui:AddToggle("AutoFarm Coins", function(state)
  28.     if state then
  29.         waitValue4 = .1
  30.         while wait(waitValue4) do
  31.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CoinsHolder.Coin.CFrame
  32.         end
  33.     else
  34.         waitValue4 = 100000000000000000000000
  35.     end
  36. end)
  37.  
  38. localplayer:AddToggle("High Jump", function(state)
  39.   game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = (state and 100 or 50)
  40. end)
  41.  
  42. afkGui:AddToggle("AutoFarm Strength", function(state)
  43.     if state then
  44.         waitValue = .2
  45.         while wait(waitValue) do
  46.                 game.ReplicatedStorage.Events.Clicked:FireServer()
  47.         end
  48.     else
  49.         waitValue = 100000000000000000000
  50.     end
  51. end)
  52. afkGui:AddToggle("Auto Sell when Full", function(state)
  53.     if state then
  54.         waitValue2 = .1
  55.         while wait(waitValue2) do
  56.             if game.Players.LocalPlayer.PlayerGui.Gui.Submenus.BackpackFull.Visible == true then
  57.                 lastCF = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  58.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.Sell.CFrame
  59.                 wait(.7)
  60.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lastCF
  61.             end
  62.         end
  63.     else
  64.         waitValue2 = 10000000000000000000
  65.     end
  66. end)
  67. afkGui:AddLabel("Click screen when bag full")
  68.  
  69. afkGui:AddToggle("AutoHatch(Pumpkin)", function(state)
  70.     if state then
  71.         waitValue3 = .1
  72.         while wait(waitValue3) do
  73.             game.ReplicatedStorage.Events.HatchEggs:InvokeServer(game.ReplicatedStorage.Eggs.Pumpkin, 1)
  74.         end
  75.     else
  76.         waitValue3 = 100000000000000
  77.     end
  78. end)
  79. afkGui:AddToggle("AutoHatch(BasicEgg)", function(state)
  80.     if state then
  81.         waitValue8 = .1
  82.         while wait(waitValue8) do
  83.             game.ReplicatedStorage.Events.HatchEggs:InvokeServer(game.ReplicatedStorage.Eggs["Basic Egg"], 1)
  84.         end
  85.     else
  86.         waitValue8 = 100000000000000
  87.     end
  88. end)
  89. afkGui:AddToggle("AutoHatch(WoodenEgg)", function(state)
  90.     if state then
  91.         waitValue7 = .1
  92.         while wait(waitValue7) do
  93.             game.ReplicatedStorage.Events.HatchEggs:InvokeServer(game.ReplicatedStorage.Eggs["Wooden Egg"], 1)
  94.         end
  95.     else
  96.         waitValue7 = 100000000000000
  97.     end
  98.  
  99. end)           
  100. afkGui:AddToggle("AutoBuy Swords", function(state)
  101.  
  102.     if state then
  103.         waitValue7 = .1
  104.         while wait(waitValue7) do
  105.             game.ReplicatedStorage.Events.BuyAll:FireServer("Swords")
  106.         end
  107.     else
  108.         waitValue7 = 100000000000000
  109.     end
  110.  
  111. end)
  112. afkGui:AddToggle("AutoBuy DNA", function(state)
  113.  
  114.     if state then
  115.         waitValue7 = .1
  116.         while wait(waitValue7) do
  117.             game.ReplicatedStorage.Events.BuyAll:FireServer("Backpacks")
  118.         end
  119.     else
  120.         waitValue7 = 100000000000000
  121.     end
  122.  
  123.  
  124. end)
  125. teleport:AddButton("Teleport To All Players", function()
  126.     local players = game.Players:GetChildren()
  127.     for i, player in ipairs(players) do
  128.         wait(.5)
  129.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[player.Name].Character.HumanoidRootPart.CFrame
  130.     end
  131. end)
  132. teleport:AddButton("Sell", function()
  133.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.Sell.CFrame
  134. end)
  135. teleport:AddButton("Shop", function()
  136.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.Shop.CFrame
  137. end)
  138. teleport:AddButton("Spawn", function()
  139.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.FirstSpawns.FirstSpawn.CFrame
  140. end)
  141. teleport:AddButton("Crown Shop", function()
  142.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.CrownShop.CFrame
  143. end)
  144. teleport:AddButton("King of The Hill", function()
  145.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.KingArea.CFrame
  146. end)
  147. teleport:AddButton("Arena", function()
  148.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.ArenaBase.CFrame
  149. end)
  150. teleport:AddBox("Goto Player:", function(object, focus)
  151.     if focus then
  152.         game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[object.Text].Character.HumanoidRootPart.CFrame
  153.     end
  154. end)
  155. credits:AddLabel("GUI made by wally")
  156. credits:AddLabel("Script made by DeanGo31")
  157. print("Saber GUI loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement