Advertisement
YT_PatricioTGN

Magnet

Apr 4th, 2021
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. local LocalPlayer = game:GetService("Players").LocalPlayer
  2. local library = loadstring(game:HttpGet("https://pastebin.com/raw/JsdM2jiP",true))()
  3. library.options.underlinecolor = "rainbow"
  4. local FH = library:CreateWindow('Cheats')
  5. FH:Section('--= Auto-Farms =--')
  6. FH:Toggle("Auto-Farm", {flag = "AF"})
  7. FH:Section('--= Auto-Buy =--')
  8. FH:Toggle("Auto-Backpack", {flag = "ABB"})
  9. FH:Toggle("Auto-Magnet", {flag = "ABN"})
  10. FH:Toggle("Auto-Rebirth", {flag = "ABR"})
  11. FH:Section('--= Cheats =--')
  12. FH:Button("Claim Cubes", function()
  13. for i,v in pairs(game:GetService("Workspace").Cubes:GetChildren()) do
  14. if not v:IsA("Model") then
  15. LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  16. end
  17. wait(.1)
  18. end
  19. end)
  20. local Pets = library:CreateWindow("Pet Stuff")
  21. Pets:Section("--= Chests =--")
  22. Pets:Dropdown("Eggs", {location = _G, flag = "Egg1", list = {
  23. "Wooden Chest",
  24. "Sparkle Chest",
  25. "Fortunate Chest",
  26. "Valkyrie Chest",
  27. "Rich Chest",
  28. "Pumpkin Chest",
  29. "Domino Chest",
  30. "Chrono Chest",
  31. "Antler Chest",
  32. "Viridian Chest",
  33. "Headphone Chest",
  34. "Bighead Chest",
  35. "Spooky Chest",
  36. "Creepy Chest",
  37. "Scary Chest",
  38. "Haunted Chest",
  39. "Fire Chest"
  40. }
  41. }, function(new) print("Selected Chest:", new) end)
  42. Pets:Toggle("Open Chests", {flag = "Egg1"})
  43. Pets:Section("--= Eggs =--")
  44. Pets:Dropdown("Eggs", {location = _G, flag = "Egg2", list = {
  45. "Common Egg",
  46. "Uncommon Egg",
  47. "Rare Egg",
  48. "Epic Egg",
  49. "Legendary Egg",
  50. "Mythical Egg",
  51. "Meme Egg",
  52. "Psychadelic Rebirth Egg",
  53. "Rebirth Egg 2",
  54. "Super Egg",
  55. "Dominus Egg",
  56. "Demonic Egg",
  57. "Overseer Egg",
  58. "Magma Egg",
  59. "Korblox Egg",
  60. "Ninja Egg",
  61. "Aquatic Egg",
  62. "Dragon Egg",
  63. "Robot Egg",
  64. "Tycoonist Egg",
  65. "Ghost Egg",
  66. "Skeleton Egg",
  67. "Mystical Egg",
  68. "Knight Egg",
  69. "Eye Egg",
  70. "Sinister Egg",
  71. "Infernal Egg",
  72. "Snowman Egg",
  73. "Santa's Workshop Egg"
  74. }
  75. }, function(new)
  76. print("Selected Chest:", new)
  77. end)
  78. Pets:Toggle("Open Chests", {flag = "Egg2"})
  79.  
  80. local Misc = library:CreateWindow("Misc")
  81. Misc:Button("Destroy GUI", function()
  82. game.CoreGui.ScreenGui:Destroy()
  83. end)
  84. Misc:Button("Rejoin", function()
  85. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  86. end)
  87. Misc:Bind("Hide Gui", {
  88. flag = "killbind";
  89. kbonly = true;
  90. default = Enum.KeyCode.RightAlt;
  91. }, function()
  92. if game.CoreGui.ScreenGui.Enabled == false then
  93. game.CoreGui.ScreenGui.Enabled = true
  94. else
  95. game.CoreGui.ScreenGui.Enabled = false
  96. end
  97. end)
  98. local Credits = library:CreateWindow('Credits')
  99. Credits:Section('therealDEXLTH - Scripting')
  100. Credits:Section('Wally - UI Library')
  101.  
  102. spawn(function() -- Auto-farm
  103. while wait() do
  104. if FH.flags.AF == true then
  105. for i,v in pairs(LocalPlayer.Backpack:GetChildren()) do
  106. for u,z in pairs(game:GetService("ReplicatedStorage").Coins:GetChildren()) do
  107. local Root = LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  108. game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab:FireServer(z.Name, v)
  109. Root.CFrame = game:GetService("Workspace").Rings.Sellx2.CFrame + Vector3.new(0,2.9,0)
  110. end
  111. end
  112. end
  113. end
  114. end)
  115. spawn(function() -- Open Chests
  116. while wait() do
  117. if Pets.flags.Egg1 then
  118. game:GetService("ReplicatedStorage").hatEvents.openChest:FireServer(_G.Egg1)
  119. end
  120. end
  121. end)
  122. spawn(function() -- Open Eggs
  123. while wait() do
  124. if Pets.flags.Egg2 then
  125. game:GetService("ReplicatedStorage").PetEvents.requesthatch:FireServer(_G.Egg2)
  126. end
  127. end
  128. end)
  129. spawn(function() -- Auto-Buy Backpacks
  130. while wait() do
  131. if FH.flags.ABB == true then
  132. for i,v in pairs(game:GetService("Players").LocalPlayer.BackpackInventory:GetChildren()) do
  133. if v.Value == false then
  134. game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy:FireServer(v.Name, "Backpack")
  135. end
  136. end
  137. end
  138. end
  139. end)
  140. spawn(function() -- Auto-Buy Magnets
  141. while wait() do
  142. if FH.flags.ABN == true then
  143. for i,v in pairs(LocalPlayer.Inventory:GetChildren()) do
  144. if v.Value == false then
  145. game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy:FireServer(v.Name, "Magnet")
  146. end
  147. end
  148. end
  149. end
  150. end)
  151. spawn(function() -- Auto-Buy Magnets
  152. while wait() do
  153. if FH.flags.ABR == true then
  154. game:GetService("ReplicatedStorage").Events.StatEvents.statRequest:InvokeServer("Money")
  155. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(500)
  156. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(100)
  157. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(50)
  158. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(25)
  159. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(5)
  160. game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(1)
  161. end
  162. end
  163. end)
  164.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement