Advertisement
CodingSquid

Magnet Simulator GUI (Update 7) (Auto Updates)

Jan 15th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. -- Credits --
  2.  
  3. print("Credits to ZFrogger for AUTO REBIRTH SCRIPT! <3 YOU")
  4.  
  5. -- GUI - -
  6.  
  7. local MagnetSim = Instance.new("ScreenGui")
  8. local openbutton = Instance.new("Frame")
  9. local open = Instance.new("TextButton")
  10. local gui = Instance.new("Frame")
  11. local exit = Instance.new("TextButton")
  12. local title = Instance.new("TextLabel")
  13. local petamount = Instance.new("TextBox")
  14. local givepet = Instance.new("TextButton")
  15. local disablenotify = Instance.new("TextButton")
  16. local autoget = Instance.new("TextButton")
  17. local autorebirth = Instance.new("TextButton")
  18. local autoshiny = Instance.new("TextButton")
  19. --Properties:
  20. MagnetSim.Name = "MagnetSim"
  21. MagnetSim.Parent = game.CoreGui
  22.  
  23. openbutton.Name = "openbutton"
  24. openbutton.Parent = MagnetSim
  25. openbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  26. openbutton.BorderSizePixel = 0
  27. openbutton.Position = UDim2.new(0.467928499, 0, 0.0136285936, 0)
  28. openbutton.Size = UDim2.new(0, 122, 0, 32)
  29.  
  30. open.Name = "open"
  31. open.Parent = openbutton
  32. open.BackgroundColor3 = Color3.new(0, 0, 0)
  33. open.BorderColor3 = Color3.new(0, 1, 0)
  34. open.Size = UDim2.new(0, 122, 0, 32)
  35. open.Font = Enum.Font.SciFi
  36. open.Text = "OPEN"
  37. open.TextColor3 = Color3.new(0, 1, 0)
  38. open.TextSize = 16
  39. open.TextWrapped = true
  40.  
  41. gui.Name = "gui"
  42. gui.Parent = MagnetSim
  43. gui.BackgroundColor3 = Color3.new(0, 0, 0)
  44. gui.BorderColor3 = Color3.new(0, 1, 0)
  45. gui.Position = UDim2.new(0.0841219798, 0, 0.325383306, 0)
  46. gui.Size = UDim2.new(0, 408, 0, 451)
  47. gui.Visible = false
  48.  
  49. exit.Name = "exit"
  50. exit.Parent = gui
  51. exit.BackgroundColor3 = Color3.new(0, 0, 0)
  52. exit.BackgroundTransparency = 1
  53. exit.BorderColor3 = Color3.new(0, 1, 0)
  54. exit.BorderSizePixel = 0
  55. exit.Position = UDim2.new(0.855392158, 0, -0.0155210644, 0)
  56. exit.Size = UDim2.new(0, 74, 0, 49)
  57. exit.Font = Enum.Font.SourceSans
  58. exit.Text = "X"
  59. exit.TextColor3 = Color3.new(0, 1, 0)
  60. exit.TextSize = 30
  61.  
  62. title.Name = "title"
  63. title.Parent = gui
  64. title.BackgroundColor3 = Color3.new(1, 1, 1)
  65. title.BackgroundTransparency = 1
  66. title.Position = UDim2.new(0.154411763, 0, 0.00886917952, 0)
  67. title.Size = UDim2.new(0, 282, 0, 27)
  68. title.Font = Enum.Font.Highway
  69. title.Text = "Magnet Simulator GUI (Prestige Auto Update)"
  70. title.TextColor3 = Color3.new(1, 1, 1)
  71. title.TextSize = 14
  72.  
  73. petamount.Name = "petamount"
  74. petamount.Parent = gui
  75. petamount.BackgroundColor3 = Color3.new(0, 0, 0)
  76. petamount.BorderColor3 = Color3.new(0, 1, 0)
  77. petamount.Position = UDim2.new(0.0637254938, 0, 0.161862522, 0)
  78. petamount.Size = UDim2.new(0, 220, 0, 50)
  79. petamount.Font = Enum.Font.SourceSans
  80. petamount.PlaceholderColor3 = Color3.new(1, 1, 1)
  81. petamount.PlaceholderText = "Amount of Pets (Inf etc)"
  82. petamount.Text = ""
  83. petamount.TextColor3 = Color3.new(1, 1, 1)
  84. petamount.TextSize = 14
  85. petamount.TextWrapped = true
  86.  
  87. givepet.Name = "givepet"
  88. givepet.Parent = gui
  89. givepet.BackgroundColor3 = Color3.new(0, 0, 0)
  90. givepet.BorderColor3 = Color3.new(0, 1, 0)
  91. givepet.Position = UDim2.new(0.654411793, 0, 0.161862522, 0)
  92. givepet.Size = UDim2.new(0, 124, 0, 50)
  93. givepet.Font = Enum.Font.SourceSans
  94. givepet.Text = "GAIN"
  95. givepet.TextColor3 = Color3.new(0, 1, 0)
  96. givepet.TextSize = 14
  97.  
  98. disablenotify.Name = "disablenotify"
  99. disablenotify.Parent = gui
  100. disablenotify.BackgroundColor3 = Color3.new(0, 0, 0)
  101. disablenotify.BorderColor3 = Color3.new(0, 1, 0)
  102. disablenotify.Position = UDim2.new(0.0637255311, 0, 0.301552117, 0)
  103. disablenotify.Size = UDim2.new(0, 173, 0, 50)
  104. disablenotify.Font = Enum.Font.SourceSans
  105. disablenotify.Text = "Disable Notifications"
  106. disablenotify.TextColor3 = Color3.new(0, 1, 0)
  107. disablenotify.TextSize = 14
  108.  
  109. autoget.Name = "autoget"
  110. autoget.Parent = gui
  111. autoget.BackgroundColor3 = Color3.new(0, 0, 0)
  112. autoget.BorderColor3 = Color3.new(0, 1, 0)
  113. autoget.Position = UDim2.new(0.534313798, 0, 0.301552117, 0)
  114. autoget.Size = UDim2.new(0, 173, 0, 50)
  115. autoget.Font = Enum.Font.SourceSans
  116. autoget.Text = "Auto Collect Coins"
  117. autoget.TextColor3 = Color3.new(0, 1, 0)
  118. autoget.TextSize = 14
  119.  
  120. autorebirth.Name = "autorebirth"
  121. autorebirth.Parent = gui
  122. autorebirth.BackgroundColor3 = Color3.new(0, 0, 0)
  123. autorebirth.BorderColor3 = Color3.new(0, 1, 0)
  124. autorebirth.Position = UDim2.new(0.0612745881, 0, 0.443458974, 0)
  125. autorebirth.Size = UDim2.new(0, 173, 0, 50)
  126. autorebirth.Font = Enum.Font.SourceSans
  127. autorebirth.Text = "Auto Rebirth"
  128. autorebirth.TextColor3 = Color3.new(0, 1, 0)
  129. autorebirth.TextSize = 14
  130.  
  131. autoshiny.Name = "autoshiny"
  132. autoshiny.Parent = gui
  133. autoshiny.BackgroundColor3 = Color3.new(0, 0, 0)
  134. autoshiny.BorderColor3 = Color3.new(0, 1, 0)
  135. autoshiny.Position = UDim2.new(0.534313798, 0, 0.443458974, 0)
  136. autoshiny.Size = UDim2.new(0, 173, 0, 50)
  137. autoshiny.Font = Enum.Font.SourceSans
  138. autoshiny.Text = "Auto Make Shiny"
  139. autoshiny.TextColor3 = Color3.new(0, 1, 0)
  140. autoshiny.TextSize = 14
  141. -- Scripts:
  142.  
  143. -- Check Version --
  144.  
  145. local version = 1.0
  146. if version == 1.0 then
  147. openbutton.Visible = true
  148. if version == 1.1 then
  149. game.CoreGui.MagnetSim:Remove()
  150. end
  151. end
  152.  
  153. -- buttons --
  154.  
  155. givepet.MouseButton1Down:connect(function()
  156. if petamount.Text == "" then
  157. for i,v in pairs(game.Players.LocalPlayer.PetInfo.Inventory:GetChildren()) do
  158. game.ReplicatedStorage.PetEvents.requestDelete:FireServer(v.Name, -petamount.Text)
  159. end
  160. if petamount.Text == "Inf" then
  161. for i,v in pairs(game.Players.LocalPlayer.PetInfo.Inventory:GetChildren()) do
  162. game.ReplicatedStorage.PetEvents.requestDelete:FireServer(v.Name, -2000000000000000000)
  163. end
  164. end
  165. end
  166. end)
  167.  
  168. autoshiny.MouseButton1Down:connect(function()
  169. for i = 1,100 do
  170. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Super Bear")
  171. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Bat Bear")
  172. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Flashy Bear")
  173. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Storm Bear")
  174. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Captain Bear")
  175. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Angel Wolf")
  176. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Sanic")
  177. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Cursed Wolf")
  178. game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer("Rich Bear")
  179. end
  180. end)
  181.  
  182. autoget.MouseButton1Down:connect(function()
  183. local bestmagnet = game.ReplicatedStorage.Tools:GetChildren()
  184. local bestcoin = game.ReplicatedStorage.Coins:GetChildren()
  185. BestCoin = "0"
  186. for i, v in ipairs(bestmagnet) do
  187. if i == #bestmagnet then
  188. BestMagnet = v
  189. end
  190. end
  191. for i, v in ipairs(bestcoin) do
  192. if tonumber(v.Name) > tonumber(BestCoin) then
  193. BestCoin = v.Name
  194. end
  195. end
  196. local Remote = game.ReplicatedStorage.Events.MagnetEvents['requestGrab']
  197. local Arguments = {
  198. [1] = "72000",
  199. [2] = game.ReplicatedStorage.Tools["Galaxy Rebirth Magnet"]
  200. }
  201. while wait() do
  202. Remote:FireServer(unpack(Arguments))
  203. end
  204. end)
  205.  
  206. disablenotify.MouseButton1Down:connect(function()
  207. local plr = game:GetService("Players").LocalPlayer
  208. local screengui = plr.PlayerGui.GameHUD
  209. screengui.EggHandler.Disabled = true
  210. screengui.Notifications.Handler.Disabled = true
  211. screengui.FullBackpack.Handler.Disabled = true
  212. end)
  213.  
  214. autorebirth.MouseButton1Down:connect(function()
  215. _G.farm = true
  216. _G.rebirth = true
  217. while _G.farm do
  218. wait()
  219. local plr = game.Players.LocalPlayer
  220. local char = plr.Character.HumanoidRootPart
  221. if BestMagnet ~= nil and BestCoin ~= nil then
  222. game.ReplicatedStorage.Events.MagnetEvents.requestGrab:FireServer(BestCoin,BestMagnet)
  223. else
  224. local bestmagnet = game.ReplicatedStorage.Tools:GetChildren()
  225. local bestcoin = game.ReplicatedStorage.Coins:GetChildren()
  226. BestCoin = "0"
  227. for i, v in ipairs(bestmagnet) do
  228. if i == #bestmagnet then
  229. BestMagnet = v
  230. end
  231. end
  232. for i, v in ipairs(bestcoin) do
  233. if tonumber(v.Name) > tonumber(BestCoin) then
  234. BestCoin = v.Name
  235. end
  236. end
  237. end
  238. game.Workspace.Rings.SellDouble.CanCollide = false
  239. game.Workspace.Rings.SellDouble.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  240. if _G.rebirth then
  241. game.ReplicatedStorage.RebirthEvents.requestRebirthBoard:FireServer("5_100Rebirths")
  242. end
  243. end
  244. end)
  245. --=
  246.  
  247. ---
  248.  
  249. exit.MouseButton1Down:connect(function()
  250. gui.Visible = false
  251. open.Visible = true
  252. end)
  253.  
  254. open.MouseButton1Down:connect(function()
  255. gui.Visible = true
  256. open.Visible = false
  257. end)
  258.  
  259. gui.Active = true
  260. gui.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement