YANIS_EXPLOITS

Magnet Simulator GUI

Aug 9th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 KB | None | 0 0
  1. if game.CoreGui:FindFirstChild('MagnetDestroyer') then
  2. game.CoreGui:FindFirstChild('MagnetDestroyer'):Destroy()
  3. local a = Instance.new("Hint",game:GetService('CoreGui'))
  4. a.Text = "Destroying The Other Gui"
  5. wait(2)
  6. a:Destroy()
  7. end
  8.  
  9. local open = 1
  10. -- Instances:
  11. local MagnetDestroyer = Instance.new("ScreenGui")
  12. local Holder = Instance.new("ImageLabel")
  13. local Title = Instance.new("TextLabel")
  14. local Buttons = Instance.new("Frame")
  15. local GetAllMagnets = Instance.new("TextButton")
  16. local AutoSell = Instance.new("TextButton")
  17. local Status = Instance.new("TextLabel")
  18. local AutoFarm = Instance.new("TextButton")
  19. local Status_2 = Instance.new("TextLabel")
  20. local Rebirth = Instance.new("TextButton")
  21. local SpaceMagnet = Instance.new("TextButton")
  22. local DestroyGui = Instance.new("TextButton")
  23. local Info = Instance.new("TextLabel")
  24.  
  25. local Mouse = game.Players.LocalPlayer:GetMouse()
  26. --Properties:
  27. MagnetDestroyer.Name = "MagnetDestroyer"
  28. MagnetDestroyer.Parent = game.CoreGui
  29.  
  30. Holder.Name = "Holder"
  31. Holder.Parent = MagnetDestroyer
  32. Holder.BackgroundColor3 = Color3.new(0, 0.235294, 1)
  33. Holder.BackgroundTransparency = 1
  34. Holder.Position = UDim2.new(1, -180, 0.5, -185)
  35. Holder.Size = UDim2.new(0, 175, 0, 370)
  36. Holder.Image = "rbxassetid://2260429633"
  37. Holder.ImageColor3 = Color3.new(0, 0.235294, 1)
  38. Holder.ScaleType = Enum.ScaleType.Slice
  39. Holder.SliceCenter = Rect.new(12, 12, 13, 13)
  40. Holder.Active = true
  41. Holder.Draggable = true
  42.  
  43. Title.Name = "Title"
  44. Title.Parent = Holder
  45. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  46. Title.BackgroundTransparency = 1
  47. Title.Size = UDim2.new(1, 0, 0, 35)
  48. Title.Font = Enum.Font.Cartoon
  49. Title.Text = "Magnet Destroyer"
  50. Title.TextColor3 = Color3.new(1, 0, 1)
  51. Title.TextScaled = true
  52. Title.TextSize = 14
  53. Title.TextStrokeTransparency = 0
  54. Title.TextWrapped = true
  55.  
  56. Buttons.Name = "Buttons"
  57. Buttons.Parent = Holder
  58. Buttons.BackgroundColor3 = Color3.new(1, 1, 1)
  59. Buttons.BackgroundTransparency = 1
  60. Buttons.Size = UDim2.new(1, 0, 1, 0)
  61.  
  62. GetAllMagnets.Name = "Get All Magnets"
  63. GetAllMagnets.Parent = Buttons
  64. GetAllMagnets.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  65. GetAllMagnets.BorderSizePixel = 0
  66. GetAllMagnets.Position = UDim2.new(0, 0, 0, 35)
  67. GetAllMagnets.Size = UDim2.new(1, 0, 0, 50)
  68. GetAllMagnets.Font = Enum.Font.Cartoon
  69. GetAllMagnets.Text = "Get All Magnets"
  70. GetAllMagnets.TextColor3 = Color3.new(1, 1, 0)
  71. GetAllMagnets.TextScaled = true
  72. GetAllMagnets.TextSize = 14
  73. GetAllMagnets.TextStrokeTransparency = 0
  74. GetAllMagnets.TextWrapped = true
  75.  
  76. AutoSell.Name = "Auto Sell"
  77. AutoSell.Parent = Buttons
  78. AutoSell.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  79. AutoSell.BorderSizePixel = 0
  80. AutoSell.Position = UDim2.new(0, 0, 0, 90)
  81. AutoSell.Size = UDim2.new(0.708571434, 0, 0, 50)
  82. AutoSell.Font = Enum.Font.Cartoon
  83. AutoSell.Text = "Auto Sell"
  84. AutoSell.TextColor3 = Color3.new(1, 1, 0)
  85. AutoSell.TextScaled = true
  86. AutoSell.TextSize = 14
  87. AutoSell.TextStrokeTransparency = 0
  88. AutoSell.TextWrapped = true
  89.  
  90. Status.Name = "Status"
  91. Status.Parent = AutoSell
  92. Status.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  93. Status.BorderSizePixel = 0
  94. Status.Position = UDim2.new(1, 5, 0, 0)
  95. Status.Size = UDim2.new(0, 40, 0, 50)
  96. Status.Font = Enum.Font.Cartoon
  97. Status.Text = "OFF"
  98. Status.TextColor3 = Color3.new(1, 0, 0)
  99. Status.TextScaled = true
  100. Status.TextSize = 14
  101. Status.TextStrokeTransparency = 0
  102. Status.TextWrapped = true
  103.  
  104. AutoFarm.Name = "Auto Farm"
  105. AutoFarm.Parent = Buttons
  106. AutoFarm.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  107. AutoFarm.BorderSizePixel = 0
  108. AutoFarm.Position = UDim2.new(0, 0, 0, 145)
  109. AutoFarm.Size = UDim2.new(0.708999991, 0, 0, 50)
  110. AutoFarm.Font = Enum.Font.Cartoon
  111. AutoFarm.Text = "Auto Farm"
  112. AutoFarm.TextColor3 = Color3.new(1, 1, 0)
  113. AutoFarm.TextScaled = true
  114. AutoFarm.TextSize = 14
  115. AutoFarm.TextStrokeTransparency = 0
  116. AutoFarm.TextWrapped = true
  117.  
  118. Status_2.Name = "Status"
  119. Status_2.Parent = AutoFarm
  120. Status_2.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  121. Status_2.BorderSizePixel = 0
  122. Status_2.Position = UDim2.new(1, 5, 0, 0)
  123. Status_2.Size = UDim2.new(0, 40, 0, 50)
  124. Status_2.Font = Enum.Font.Cartoon
  125. Status_2.Text = "OFF"
  126. Status_2.TextColor3 = Color3.new(1, 0, 0)
  127. Status_2.TextScaled = true
  128. Status_2.TextSize = 14
  129. Status_2.TextStrokeTransparency = 0
  130. Status_2.TextWrapped = true
  131.  
  132. Rebirth.Name = "Rebirth"
  133. Rebirth.Parent = Buttons
  134. Rebirth.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  135. Rebirth.BorderSizePixel = 0
  136. Rebirth.Position = UDim2.new(0, 0, 0, 200)
  137. Rebirth.Size = UDim2.new(1, 0, 0, 50)
  138. Rebirth.Font = Enum.Font.Cartoon
  139. Rebirth.Text = "Rebirth"
  140. Rebirth.TextColor3 = Color3.new(1, 1, 0)
  141. Rebirth.TextScaled = true
  142. Rebirth.TextSize = 14
  143. Rebirth.TextStrokeTransparency = 0
  144. Rebirth.TextWrapped = true
  145.  
  146. SpaceMagnet.Name = "Space Magnet"
  147. SpaceMagnet.Parent = Buttons
  148. SpaceMagnet.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  149. SpaceMagnet.BorderSizePixel = 0
  150. SpaceMagnet.Position = UDim2.new(0, 0, 0, 255)
  151. SpaceMagnet.Size = UDim2.new(1, 0, 0, 50)
  152. SpaceMagnet.Font = Enum.Font.Cartoon
  153. SpaceMagnet.Text = "Magnet Island"
  154. SpaceMagnet.TextColor3 = Color3.new(1, 1, 0)
  155. SpaceMagnet.TextScaled = true
  156. SpaceMagnet.TextSize = 14
  157. SpaceMagnet.TextStrokeTransparency = 0
  158. SpaceMagnet.TextWrapped = true
  159.  
  160. DestroyGui.Name = "Destroy Gui"
  161. DestroyGui.Parent = Buttons
  162. DestroyGui.BackgroundColor3 = Color3.new(0, 0.607843, 1)
  163. DestroyGui.BorderSizePixel = 0
  164. DestroyGui.Position = UDim2.new(0, 0, 0, 310)
  165. DestroyGui.Size = UDim2.new(1, 0, 0, 50)
  166. DestroyGui.Font = Enum.Font.Cartoon
  167. DestroyGui.Text = "Destroy Gui"
  168. DestroyGui.TextColor3 = Color3.new(1, 1, 0)
  169. DestroyGui.TextScaled = true
  170. DestroyGui.TextSize = 14
  171. DestroyGui.TextStrokeTransparency = 0
  172. DestroyGui.TextWrapped = true
  173.  
  174. Info.Name = "Info"
  175. Info.Parent = MagnetDestroyer
  176. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  177. Info.BackgroundTransparency = 1
  178. Info.Size = UDim2.new(1, 0, 0, 35)
  179. Info.Font = Enum.Font.Cartoon
  180. Info.Text = "Press 'Q' To Open Or Close Gui"
  181. Info.TextColor3 = Color3.new(1, 0, 1)
  182. Info.TextScaled = true
  183. Info.TextSize = 14
  184. Info.TextStrokeTransparency = 0
  185. Info.TextWrapped = true
  186. -- Scripts:
  187. Mouse.KeyDown:Connect(function(key)
  188. if key == "q" then
  189. if open == 1 then
  190. open = 0
  191. Holder.Visible = false
  192. else
  193. open = 1
  194. Holder.Visible = true
  195. end
  196. end
  197. end)
  198.  
  199. GetAllMagnets.MouseButton1Click:Connect(function()
  200. for i,v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  201. v.Parent = game.Players.LocalPlayer.Backpack
  202. end
  203. end)
  204.  
  205. AutoSell.MouseButton1Click:Connect(function()
  206. if Status.Text == "OFF" then
  207. Status.Text = "ON"
  208. Status.TextColor3 = Color3.fromRGB(0,255,0)
  209. else
  210. Status.Text = "OFF"
  211. Status.TextColor3 = Color3.fromRGB(255,0,0)
  212. end
  213.  
  214. repeat
  215. wait()
  216. local sell = game.Workspace.Rings.SellDouble
  217. local plr = game.Players.LocalPlayer.Character.HumanoidRootPart
  218. sell.CanCollide = false
  219. sell.CFrame = plr.CFrame
  220. until Status.Text == "OFF"
  221. end)
  222.  
  223. AutoFarm.MouseButton1Click:Connect(function()
  224. if Status_2.Text == "OFF" then
  225. Status_2.Text = "ON"
  226. Status_2.TextColor3 = Color3.fromRGB(0,255,0)
  227. for _,v in pairs(game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  228. if v:IsA("Tool") then
  229. v.Parent = game.Players.LocalPlayer.Backpack
  230. end
  231. end
  232. else
  233. Status_2.Text = "OFF"
  234. Status_2.TextColor3 = Color3.fromRGB(255,0,0)
  235. end
  236.  
  237. repeat
  238. wait()
  239. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  240. local A_1 = "72000"
  241.  
  242. local A_2 = game.Players.LocalPlayer.Backpack[v.Name]
  243.  
  244. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  245. Event:FireServer(A_1, A_2)
  246. end
  247. until Status_2.Text == "OFF"
  248. end)
  249.  
  250. Rebirth.MouseButton1Click:Connect(function()
  251. game.ReplicatedStorage.RebirthEvents.requestRebirth:FireServer(1)
  252. end)
  253.  
  254. SpaceMagnet.MouseButton1Click:Connect(function()
  255. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.IslandInfo.islandtp.CFrame
  256. end)
  257.  
  258. DestroyGui.MouseButton1Click:Connect(function()
  259. MagnetDestroyer:Destroy()
  260. end)
Add Comment
Please, Sign In to add comment