Advertisement
Emptiness_ok

Untitled

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