nguyenminhnghia

magnetsim_hack

Jan 14th, 2019
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.51 KB | None | 0 0
  1. local h = Instance.new("Hint",workspace)
  2. h.Text = "Loading Gui"
  3. plr = game:GetService('Players').LocalPlayer
  4. Root = plr.Character.HumanoidRootPart
  5. local MagnetSim = Instance.new("ScreenGui")
  6. local MainMagnetSim = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local AutoSell = Instance.new("TextButton")
  9. local AutoRebirth = Instance.new("TextButton")
  10. local AutoEquip = Instance.new("TextButton")
  11. local AutoSelloff = Instance.new("TextButton")
  12. local AutoRebirthoff = Instance.new("TextButton")
  13. local AutoEquipoff = Instance.new("TextButton")
  14. local Magnet = Instance.new("TextBox")
  15. local Pet = Instance.new("TextBox")
  16. local Backpack = Instance.new("TextBox")
  17. local AutoCollect = Instance.new("TextButton")
  18. local AutoCollectoff = Instance.new("TextButton")
  19. local Close = Instance.new("TextButton")
  20. local green = Color3.new(0,255,0)
  21. local red = Color3.new(255,0,0)
  22.  
  23. MagnetSim.Name = "MagnetSim"
  24. MagnetSim.Parent = game.CoreGui
  25.  
  26. MainMagnetSim.Name = "MainMagnetSim"
  27. MainMagnetSim.Parent = MagnetSim
  28. MainMagnetSim.BackgroundColor3 = Color3.new(0, 0, 0)
  29. MainMagnetSim.BackgroundTransparency = 0.5
  30. MainMagnetSim.Position = UDim2.new(0.173966691, 0, 0.275184304, 0)
  31. MainMagnetSim.Size = UDim2.new(0, 450, 0, 249)
  32. MainMagnetSim.Selectable = true
  33. MainMagnetSim.Draggable = true
  34. MainMagnetSim.Active = true
  35. MainMagnetSim.Visible = false
  36.  
  37. TextLabel.Parent = MainMagnetSim
  38. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  39. TextLabel.BackgroundTransparency = 1
  40. TextLabel.Size = UDim2.new(0, 450, 0, 20)
  41. TextLabel.Font = Enum.Font.SourceSans
  42. TextLabel.Text = "Magnet Simulator "
  43. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  44. TextLabel.TextScaled = true
  45. TextLabel.TextSize = 14
  46. TextLabel.TextWrapped = true
  47.  
  48. AutoSell.Name = "AutoSell"
  49. AutoSell.Parent = MainMagnetSim
  50. AutoSell.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  51. AutoSell.Position = UDim2.new(0.0644444451, 0, 0.47389555, 0)
  52. AutoSell.Size = UDim2.new(0, 115, 0, 41)
  53. AutoSell.Font = Enum.Font.SourceSans
  54. AutoSell.Text = "Auto Sell"
  55. AutoSell.TextColor3 = Color3.new(0, 0, 0)
  56. AutoSell.TextSize = 14
  57.  
  58. AutoRebirth.Name = "Auto Rebirth"
  59. AutoRebirth.Parent = MainMagnetSim
  60. AutoRebirth.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  61. AutoRebirth.Position = UDim2.new(0.0644444451, 0, 0.751003981, 0)
  62. AutoRebirth.Size = UDim2.new(0, 115, 0, 41)
  63. AutoRebirth.Font = Enum.Font.SourceSans
  64. AutoRebirth.Text = "Auto Rebirth"
  65. AutoRebirth.TextColor3 = Color3.new(0, 0, 0)
  66. AutoRebirth.TextSize = 14
  67.  
  68. AutoEquip.Name = "AutoEquip"
  69. AutoEquip.Parent = MainMagnetSim
  70. AutoEquip.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  71. AutoEquip.Position = UDim2.new(0.460000008, 0, 0.184738949, 0)
  72. AutoEquip.Size = UDim2.new(0, 215, 0, 41)
  73. AutoEquip.Font = Enum.Font.SourceSans
  74. AutoEquip.Text = "Auto Equip Pet, Magnet, Backpack"
  75. AutoEquip.TextColor3 = Color3.new(0, 0, 0)
  76. AutoEquip.TextSize = 14
  77.  
  78. AutoSelloff.Name = "AutoSell"
  79. AutoSelloff.Parent = MainMagnetSim
  80. AutoSelloff.BackgroundColor3 = green
  81. AutoSelloff.Position = UDim2.new(0.0644444451, 0, 0.47389555, 0)
  82. AutoSelloff.Size = UDim2.new(0, 115, 0, 41)
  83. AutoSelloff.Font = Enum.Font.SourceSans
  84. AutoSelloff.Text = "Auto Sell"
  85. AutoSelloff.TextColor3 = Color3.new(0, 0, 0)
  86. AutoSelloff.TextSize = 14
  87. AutoSelloff.Visible = false
  88.  
  89. AutoRebirthoff.Name = "Auto Rebirth"
  90. AutoRebirthoff.Parent = MainMagnetSim
  91. AutoRebirthoff.BackgroundColor3 = green
  92. AutoRebirthoff.Position = UDim2.new(0.0644444451, 0, 0.751003981, 0)
  93. AutoRebirthoff.Size = UDim2.new(0, 115, 0, 41)
  94. AutoRebirthoff.Font = Enum.Font.SourceSans
  95. AutoRebirthoff.Text = "Auto Rebirth"
  96. AutoRebirthoff.TextColor3 = Color3.new(0, 0, 0)
  97. AutoRebirthoff.TextSize = 14
  98. AutoRebirthoff.Visible = false
  99.  
  100. AutoEquipoff.Name = "AutoEquip"
  101. AutoEquipoff.Parent = MainMagnetSim
  102. AutoEquipoff.BackgroundColor3 = green
  103. AutoEquipoff.Position = UDim2.new(0.460000008, 0, 0.184738949, 0)
  104. AutoEquipoff.Size = UDim2.new(0, 215, 0, 41)
  105. AutoEquipoff.Font = Enum.Font.SourceSans
  106. AutoEquipoff.Text = "Auto Equip Pet, Magnet, Backpack"
  107. AutoEquipoff.TextColor3 = Color3.new(0, 0, 0)
  108. AutoEquipoff.TextSize = 14
  109. AutoEquipoff.Visible = false
  110.  
  111. Magnet.Name = "Magnet"
  112. Magnet.Parent = MainMagnetSim
  113. Magnet.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  114. Magnet.Position = UDim2.new(0.431111097, 0, 0.47389558, 0)
  115. Magnet.Size = UDim2.new(0, 111, 0, 41)
  116. Magnet.Font = Enum.Font.SourceSans
  117. Magnet.Text = "Name Magnet Here"
  118. Magnet.TextColor3 = Color3.new(0, 0, 0)
  119. Magnet.TextSize = 14
  120. Magnet.TextScaled = true
  121.  
  122. Pet.Name = "Pet"
  123. Pet.Parent = MainMagnetSim
  124. Pet.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  125. Pet.Position = UDim2.new(0.724444449, 0, 0.47389558, 0)
  126. Pet.Size = UDim2.new(0, 106, 0, 41)
  127. Pet.Font = Enum.Font.SourceSans
  128. Pet.Text = "Name Pet Here"
  129. Pet.TextColor3 = Color3.new(0, 0, 0)
  130. Pet.TextSize = 14
  131. Pet.TextScaled = true
  132.  
  133. Backpack.Name = "Backpack"
  134. Backpack.Parent = MainMagnetSim
  135. Backpack.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  136. Backpack.Position = UDim2.new(0.537777781, 0, 0.710843384, 0)
  137. Backpack.Size = UDim2.new(0, 136, 0, 41)
  138. Backpack.Font = Enum.Font.SourceSans
  139. Backpack.Text = "Name Backpack Here"
  140. Backpack.TextColor3 = Color3.new(0, 0, 0)
  141. Backpack.TextSize = 14
  142. Backpack.TextScaled = true
  143.  
  144. AutoCollect.Name = "AutoCollect"
  145. AutoCollect.Parent = MainMagnetSim
  146. AutoCollect.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  147. AutoCollect.Position = UDim2.new(0.0644444451, 0, 0.184738949, 0)
  148. AutoCollect.Size = UDim2.new(0, 115, 0, 41)
  149. AutoCollect.Font = Enum.Font.SourceSans
  150. AutoCollect.Text = "Auto Collect Coin"
  151. AutoCollect.TextColor3 = Color3.new(0, 0, 0)
  152. AutoCollect.TextSize = 14
  153.  
  154. AutoCollectoff.Name = "AutoCollect"
  155. AutoCollectoff.Parent = MainMagnetSim
  156. AutoCollectoff.BackgroundColor3 = green
  157. AutoCollectoff.Position = UDim2.new(0.0644444451, 0, 0.184738949, 0)
  158. AutoCollectoff.Size = UDim2.new(0, 115, 0, 41)
  159. AutoCollectoff.Font = Enum.Font.SourceSans
  160. AutoCollectoff.Text = "Auto Collect Coin"
  161. AutoCollectoff.TextColor3 = Color3.new(0, 0, 0)
  162. AutoCollectoff.TextSize = 14
  163. AutoCollectoff.Visible =false
  164.  
  165. Close.Name = "Close"
  166. Close.Parent = MainMagnetSim
  167. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  168. Close.BackgroundTransparency = 1
  169. Close.Position = UDim2.new(0.955555499, 0, 0, 0)
  170. Close.Size = UDim2.new(0, 20, 0, 20)
  171. Close.Font = Enum.Font.SourceSans
  172. Close.Text = "X"
  173. Close.TextColor3 = Color3.new(1, 0, 0)
  174. Close.TextScaled = true
  175. Close.TextSize = 14
  176. Close.TextWrapped = true
  177.  
  178. AutoEquip.MouseButton1Down:connect(function()
  179. AutoEquipoff.Visible =true
  180. AutoEquip.Visible = false
  181. _G.Equip = true
  182. while _G.Equip do
  183. for a = 1,5 do
  184. local A_1 = Pet.Text
  185. local A_2 = "equip"
  186. local Event = game:GetService("ReplicatedStorage").PetEvents.request
  187. Event:FireServer(A_1, A_2)
  188. end
  189. wait(1)
  190. local A_1 = Backpack.Text
  191. local A_2 = "Equip"
  192. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  193. Event:FireServer(A_1, A_2)
  194. local A_1 = Magnet.Text
  195. local A_2 = "Equip"
  196. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  197. Event:FireServer(A_1, A_2)
  198. end
  199. end)
  200.  
  201. AutoSell.MouseButton1Down:connect(function()
  202. AutoSell.Visible = false
  203. AutoSelloff.Visible = true
  204. _G.Sell = true
  205. while _G.Sell do
  206. wait()
  207. local plr = game.Players.LocalPlayer
  208. local char = plr.Character.HumanoidRootPart
  209. game.Workspace.Rings.Sell.CanCollide = false
  210. game.Workspace.Rings.Sell.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  211. end
  212. end)
  213.  
  214. AutoCollect.MouseButton1Down:connect(function()
  215. AutoCollectoff.Visible = true
  216. AutoCollect.Visible = false
  217. _G.Collect = true
  218. local plr = game.Players.LocalPlayer
  219. for _,v in pairs(plr.Purchases:GetChildren()) do
  220. if v.Name == "InfiniteBackpack" then
  221. v.Value = false
  222. else
  223. v.Value = true
  224. end
  225. end
  226. if plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack") then
  227. plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack"):Destroy()
  228. end
  229. while _G.Collect do
  230. wait()
  231. local plr = game.Players.LocalPlayer
  232. local char = plr.Character.HumanoidRootPart
  233. if BestMagnet ~= nil and BestCoin ~= nil then
  234. game.ReplicatedStorage.Events.MagnetEvents.requestGrab:FireServer(BestCoin,BestMagnet)
  235. else
  236. local bestmagnet = game.ReplicatedStorage.Tools:GetChildren()
  237. local bestcoin = game.ReplicatedStorage.Coins:GetChildren()
  238. BestCoin = "0"
  239. for i, v in ipairs(bestmagnet) do
  240. if i == #bestmagnet then
  241. BestMagnet = v
  242. end
  243. end
  244. for i, v in ipairs(bestcoin) do
  245. if tonumber(v.Name) > tonumber(BestCoin) then
  246. BestCoin = v.Name
  247. end
  248. end
  249. end
  250. end
  251. end)
  252.  
  253. AutoRebirth.MouseButton1Down:connect(function()
  254. AutoRebirth.Visible =false
  255. AutoRebirthoff.Visible = true
  256. _G.Rebrith = true
  257. while _G.Rebrith do
  258. wait()
  259. local Event = game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth
  260. Event:FireServer()
  261. end
  262. end)
  263.  
  264. AutoEquipoff.MouseButton1Down:connect(function()
  265. _G.Equipt = false
  266. AutoEquip.Visible = true
  267. AutoEquipoff.Visible = false
  268. end)
  269.  
  270. AutoCollectoff.MouseButton1Down:connect(function()
  271. _G.Collect = false
  272. AutoCollect.Visible = true
  273. AutoCollectoff.Visible = false
  274. end)
  275.  
  276. AutoSelloff.MouseButton1Down:connect(function()
  277. _G.Sell = false
  278. AutoSell.Visible = true
  279. AutoSelloff.Visible = false
  280. end)
  281.  
  282. AutoRebirthoff.MouseButton1Down:connect(function()
  283. _G.Rebrith = false
  284. AutoRebirth.Visible = true
  285. AutoRebirthoff.Visible = false
  286. end)
  287.  
  288. Close.MouseButton1Down:connect(function()
  289. MainMagnetSim.Visible = false
  290. end)
  291.  
  292. wait(5)
  293. MainMagnetSim.Visible = true
  294. h.Text = "Loaded, Thanks For Using My Gui"
  295. wait(5)
  296. h.Text = "Gui Version 1.0.1: Update Coin Collect, Collect Coin Very Fash"
  297. wait(5)
  298. h.Text = "Gui Version 1.0.2: Fixed Lag Auto Collect"
  299. wait(5)
  300. h.Text = "Gui Version 1.0.3: Fixed Auto Collect"
  301. h:Destroy()
Add Comment
Please, Sign In to add comment