SHARE
TWEET

Magnet simulator farm

a guest Jan 18th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Desc:
  3. This was a pretty easy game to hack, not much else to say lol
  4. ------
  5. Game:
  6. https://www.roblox.com/games/2696605724/
  7. ]]
  8.  
  9.  
  10. -----
  11. _G.Magnet = "Heavenly Rebirth Magnet" -- type the name of the magnet you want to autoequip or autobuy
  12. _G.Backpack = "" -- type the name of the backpack you want to autoequip or autobuy
  13. _G.Pet = "" -- type the name of the pet you want to autoequip
  14.  
  15. --[[ Examples:
  16. Pets ~ "Bear" "Panda" "Koala" "Spirit Bear"
  17. Magnets ~ "Silver Magnet" "Majestic Magnet" "Adurite Magnet"
  18. Backpacks ~ "Diamond Magnet Pack" "Advanced Backpack" "Adurite Backpack"
  19. --]]
  20.  
  21. BuyBackpack = true --set this true if you want to buy the magnet
  22. BuyMagnet = false --set this to true if you want to buy the magnet
  23.  
  24. -----
  25.  
  26.  
  27.  
  28.  
  29.  
  30. print('loading')
  31. plr = game:GetService('Players').LocalPlayer
  32. Root = plr.Character.HumanoidRootPart
  33. local ScreenGui = Instance.new("ScreenGui")
  34. local MainFrame = Instance.new("Frame")
  35. local TopFrame = Instance.new("Frame")
  36. local Close = Instance.new("TextButton")
  37. local Minimize = Instance.new("TextButton")
  38. local Game = Instance.new("TextLabel")
  39. local B1 = Instance.new("TextButton")
  40. local L1 = Instance.new("TextLabel")
  41. local B5 = Instance.new("TextButton")
  42. local L5 = Instance.new("TextLabel")
  43. local B3 = Instance.new("TextButton")
  44. local L3 = Instance.new("TextLabel")
  45. local B6 = Instance.new("TextButton")
  46. local L6 = Instance.new("TextLabel")
  47. local B2 = Instance.new("TextButton")
  48. local L2 = Instance.new("TextLabel")
  49. local B4 = Instance.new("TextButton")
  50. local L4 = Instance.new("TextLabel")
  51. local GuiCred = Instance.new("TextLabel")
  52. local ScriptCred = Instance.new("TextLabel")
  53. ScreenGui.Parent = game.CoreGui
  54. B1.TextWrapped = true
  55. B2.TextWrapped = true
  56. B3.TextWrapped = true
  57. B4.TextWrapped = true
  58. B5.TextWrapped = true
  59. B6.TextWrapped = true
  60. ScriptCred.TextWrapped = true
  61. GuiCred.TextWrapped = true
  62. Game.TextWrapped = true
  63. _G.on1 = 0
  64. _G.on2 = 0
  65. _G.on3 = 0
  66. _G.on4 = 0
  67. _G.on5 = 0
  68. _G.on6 = 0
  69. MainFrame.Name = "MainFrame"
  70. MainFrame.Parent = ScreenGui
  71. MainFrame.BackgroundColor3 = Color3.new(255, 0, 2555)
  72. MainFrame.BackgroundTransparency = 0.40000000596046
  73. MainFrame.BorderColor3 = Color3.new(0.501961, 0.533333, 0.529412)
  74. MainFrame.Position = UDim2.new(0.229385316, 0, 0.28605482, 0)
  75. MainFrame.Size = UDim2.new(0, 360, 0, 239)
  76. MainFrame.Draggable = true
  77. MainFrame.Active = true
  78. MainFrame.Selectable = true
  79. TopFrame.Name = "TopFrame"
  80. TopFrame.Parent = MainFrame
  81. TopFrame.BackgroundColor3 = Color3.new(0.364706, 0.360784, 0.380392)
  82. TopFrame.BackgroundTransparency = 0.89999997615814
  83. TopFrame.BorderSizePixel = 0
  84. TopFrame.Size = UDim2.new(0, 360, 0, 24)
  85. Close.Name = "Close"
  86. Close.Parent = TopFrame
  87. Close.BackgroundColor3 = Color3.new(0.364706, 0.360784, 0.380392)
  88. Close.BackgroundTransparency = 0.80000001192093
  89. Close.BorderSizePixel = 0
  90. Close.Position = UDim2.new(0.916666627, 0, 0, 0)
  91. Close.Size = UDim2.new(0, 24, 0, 24)
  92. Close.Font = Enum.Font.SourceSans
  93. Close.Text = "x"
  94. Close.TextColor3 = Color3.new(0, 0, 0)
  95. Close.TextSize = 16
  96. Minimize.Name = "Minimize"
  97. Minimize.Parent = TopFrame
  98. Minimize.BackgroundColor3 = Color3.new(0.364706, 0.360784, 0.380392)
  99. Minimize.BackgroundTransparency = 0.80000001192093
  100. Minimize.BorderSizePixel = 0
  101. Minimize.Position = UDim2.new(0.827777803, 0, 0, 0)
  102. Minimize.Size = UDim2.new(0, 24, 0, 24)
  103. Minimize.Font = Enum.Font.SourceSans
  104. Minimize.Text = "^"
  105. Minimize.TextColor3 = Color3.new(0, 0, 0)
  106. Minimize.TextSize = 18
  107. Game.Name = "Game"
  108. Game.Parent = TopFrame
  109. Game.BackgroundColor3 = Color3.new(0.364706, 0.360784, 0.380392)
  110. Game.BackgroundTransparency = 0.80000001192093
  111. Game.BorderSizePixel = 0
  112. Game.Position = UDim2.new(0.0222222228, 0, 0, 0)
  113. Game.Size = UDim2.new(0, 281, 0, 24)
  114. Game.Font = Enum.Font.SourceSans
  115. Game.Text = "[Game name here]"
  116. Game.TextColor3 = Color3.new(0, 0, 0)
  117. Game.TextSize = 14
  118. B1.Name = "B1"
  119. B1.Parent = MainFrame
  120. B1.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  121. B1.BackgroundTransparency = 0.20000000298023
  122. B1.Position = UDim2.new(0.0583333373, 0, 0.146443501, 0)
  123. B1.Size = UDim2.new(0, 132, 0, 44)
  124. B1.Font = Enum.Font.SourceSans
  125. B1.Text = "B1 N/A"
  126. B1.TextColor3 = Color3.new(0, 0, 0)
  127. B1.TextSize = 14
  128. L1.Name = "L1"
  129. L1.Parent = B1
  130. L1.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  131. L1.Position = UDim2.new(0.871212125, 0, 0, 0)
  132. L1.Size = UDim2.new(0, 17, 0, 17)
  133. L1.Font = Enum.Font.SourceSans
  134. L1.Text = ""
  135. L1.TextColor3 = Color3.new(0, 0, 0)
  136. L1.TextSize = 14
  137. B2.Name = "B2"
  138. B2.Parent = MainFrame
  139. B2.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  140. B2.BackgroundTransparency = 0.20000000298023
  141. B2.Position = UDim2.new(0.0583333373, 0, 0.405857742, 0)
  142. B2.Size = UDim2.new(0, 132, 0, 44)
  143. B2.Font = Enum.Font.SourceSans
  144. B2.Text = "B2 N/A"
  145. B2.TextColor3 = Color3.new(0, 0, 0)
  146. B2.TextSize = 14
  147. L2.Name = "L2"
  148. L2.Parent = B2
  149. L2.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  150. L2.Position = UDim2.new(0.871212125, 0, 0, 0)
  151. L2.Size = UDim2.new(0, 17, 0, 17)
  152. L2.Font = Enum.Font.SourceSans
  153. L2.Text = ""
  154. L2.TextColor3 = Color3.new(0, 0, 0)
  155. L2.TextSize = 14
  156. B3.Name = "B3"
  157. B3.Parent = MainFrame
  158. B3.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  159. B3.BackgroundTransparency = 0.20000000298023
  160. B3.Position = UDim2.new(0.0583333373, 0, 0.656903744, 0)
  161. B3.Size = UDim2.new(0, 132, 0, 44)
  162. B3.Font = Enum.Font.SourceSans
  163. B3.Text = "B3 N/A"
  164. B3.TextColor3 = Color3.new(0, 0, 0)
  165. B3.TextSize = 14
  166. L3.Name = "L3"
  167. L3.Parent = B3
  168. L3.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  169. L3.Position = UDim2.new(0.871212125, 0, 0, 0)
  170. L3.Size = UDim2.new(0, 17, 0, 17)
  171. L3.Font = Enum.Font.SourceSans
  172. L3.Text = ""
  173. L3.TextColor3 = Color3.new(0, 0, 0)
  174. L3.TextSize = 14
  175. B4.Name = "B4"
  176. B4.Parent = MainFrame
  177. B4.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  178. B4.BackgroundTransparency = 0.20000000298023
  179. B4.Position = UDim2.new(0.577777743, 0, 0.146443516, 0)
  180. B4.Size = UDim2.new(0, 132, 0, 44)
  181. B4.Font = Enum.Font.SourceSans
  182. B4.Text = "B4 N/A"
  183. B4.TextColor3 = Color3.new(0, 0, 0)
  184. B4.TextSize = 14
  185. L4.Name = "L4"
  186. L4.Parent = B4
  187. L4.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  188. L4.Position = UDim2.new(0.871212125, 0, 0, 0)
  189. L4.Size = UDim2.new(0, 17, 0, 17)
  190. L4.Font = Enum.Font.SourceSans
  191. L4.Text = ""
  192. L4.TextColor3 = Color3.new(0, 0, 0)
  193. L4.TextSize = 14
  194. B5.Name = "B5"
  195. B5.Parent = MainFrame
  196. B5.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  197. B5.BackgroundTransparency = 0.20000000298023
  198. B5.Position = UDim2.new(0.577777743, 0, 0.405857742, 0)
  199. B5.Size = UDim2.new(0, 132, 0, 44)
  200. B5.Font = Enum.Font.SourceSans
  201. B5.Text = "B5 N/A"
  202. B5.TextColor3 = Color3.new(0, 0, 0)
  203. B5.TextSize = 14
  204. L5.Name = "L5"
  205. L5.Parent = B5
  206. L5.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  207. L5.Position = UDim2.new(0.871212125, 0, 0, 0)
  208. L5.Size = UDim2.new(0, 17, 0, 17)
  209. L5.Font = Enum.Font.SourceSans
  210. L5.Text = ""
  211. L5.TextColor3 = Color3.new(0, 0, 0)
  212. L5.TextSize = 14
  213. B6.Name = "B6"
  214. B6.Parent = MainFrame
  215. B6.BackgroundColor3 = Color3.new(0.333333, 0.478431, 0.584314)
  216. B6.BackgroundTransparency = 0.20000000298023
  217. B6.Position = UDim2.new(0.577777743, 0, 0.656903803, 0)
  218. B6.Size = UDim2.new(0, 132, 0, 44)
  219. B6.Font = Enum.Font.SourceSans
  220. B6.Text = "B6 N/A"
  221. B6.TextColor3 = Color3.new(0, 0, 0)
  222. B6.TextSize = 14
  223. L6.Name = "L6"
  224. L6.Parent = B6
  225. L6.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  226. L6.Position = UDim2.new(0.871212125, 0, 0, 0)
  227. L6.Size = UDim2.new(0, 17, 0, 17)
  228. L6.Font = Enum.Font.SourceSans
  229. L6.Text = ""
  230. L6.TextColor3 = Color3.new(0, 0, 0)
  231. L6.TextSize = 14
  232. GuiCred.Name = "GuiCred"
  233. GuiCred.Parent = MainFrame
  234. GuiCred.BackgroundColor3 = Color3.new(0.45098, 0.584314, 0.682353)
  235. GuiCred.BackgroundTransparency = 0.60000002384186
  236. GuiCred.BorderSizePixel = 0
  237. GuiCred.Position = UDim2.new(0, 0, 0.88702929, 0)
  238. GuiCred.Size = UDim2.new(0, 174, 0, 27)
  239. GuiCred.Font = Enum.Font.SourceSans
  240. GuiCred.Text = "Luck_Extreme"
  241. GuiCred.TextColor3 = Color3.new(0, 0, 0)
  242. GuiCred.TextSize = 14
  243. ScriptCred.Name = "ScriptCred"
  244. ScriptCred.Parent = MainFrame
  245. ScriptCred.BackgroundColor3 = Color3.new(0.45098, 0.584314, 0.682353)
  246. ScriptCred.BackgroundTransparency = 0.60000002384186
  247. ScriptCred.BorderSizePixel = 0
  248. ScriptCred.Position = UDim2.new(0.522222221, 0, 0.887000024, 0)
  249. ScriptCred.Size = UDim2.new(0, 172, 0, 27)
  250. ScriptCred.Font = Enum.Font.SourceSans
  251. ScriptCred.Text = ""
  252. ScriptCred.TextColor3 = Color3.new(0, 0, 0)
  253. ScriptCred.TextSize = 14
  254. function onL(Light)
  255. Light.BackgroundColor3 = Color3.new(0.364706, 0.694118, 1)
  256. end
  257. function offL(Light)
  258. Light.BackgroundColor3 = Color3.new(0.313726, 0.360784, 0.403922)
  259. end
  260. ------------------------------------------------------
  261.  
  262. Game.Text = "Magnet Simulator" -- Game name here
  263. ScriptCred.Text = ScriptCred.Text .. "https://discord.gg/M66wRNb" -- put the script creators name here
  264.  
  265. --Enter the script name corresponding to the button below
  266. B1.Text = "Farm lvl pc lixo"
  267. B2.Text = "AutoVender"
  268. B3.Text = "n funfa"
  269. B4.Text = "n funfa"
  270. B5.Text = "n funfa"
  271. B6.Text = "Farm lvl pc da nasa"
  272.  
  273. B1.MouseButton1Click:connect(function()
  274. if _G.on1 == 1 then
  275. _G.on1 = 0
  276. offL(L1)
  277. else
  278. _G.on1 = 1
  279. onL(L1)
  280. while _G.on1 == 1 do
  281. game:GetService('RunService').Stepped:wait()
  282. for i = 1,10 do
  283. local tool = game.Workspace[plr.Name]:FindFirstChildOfClass("Tool")
  284. if tool then
  285. local A_1 = "1250"
  286. local A_2 = tool
  287. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  288. Event:FireServer(A_1, A_2)
  289. else
  290. local tool = plr.Backpack:FindFirstChildOfClass("Tool")
  291. if tool then
  292. local A_1 = "1250"
  293. local A_2 = tool
  294. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  295. Event:FireServer(A_1, A_2)
  296. end
  297. end
  298. end
  299. end
  300. end
  301. end)
  302. B2.MouseButton1Click:connect(function()
  303. if _G.on2 == 1 then
  304. _G.on2 = 0
  305. offL(L2)
  306. else
  307. _G.on2 = 1
  308. onL(L2)
  309. plr = game:GetService('Players').LocalPlayer
  310. Root = plr.Character.HumanoidRootPart
  311. orgin = Root.CFrame
  312. while _G.on2 == 1 do
  313. game:GetService('RunService').Stepped:wait()
  314. Root.CFrame = CFrame.new(136.73712158203, 13.362461090088, -52.908908843994)
  315. wait()
  316. Root.CFrame = CFrame.new(136.83712158203, 13.362461090088, -52.908908843994)
  317. wait()
  318. end
  319. Root.CFrame = orgin
  320. end
  321. end)
  322. B3.MouseButton1Click:connect(function()
  323. if _G.on3 == 1 then
  324. _G.on3 = 0
  325. offL(L3)
  326. else
  327. _G.on3 = 1
  328. onL(L3)
  329. while _G.on3 == 1 do
  330. wait()
  331. local Event = game:GetService("ReplicatedStorage").RebirthEvents.requestRebirthBoard:FireServer("5_100Rebirths")
  332. end
  333. end
  334. end)
  335. B4.MouseButton1Click:connect(function()
  336. if _G.on4 == 1 then
  337. _G.on4 = 0
  338. offL(L4)
  339. else
  340. _G.on4 = 1
  341. onL(L4)
  342. while _G.on4 == 1 do
  343. wait()
  344. for a = 1,5 do
  345. local A_1 = _G.Pet
  346. local A_2 = "equip"
  347. local Event = game:GetService("ReplicatedStorage").PetEvents.request
  348. Event:FireServer(A_1, A_2)
  349. end
  350. wait(1)
  351. local A_1 = _G.Backpack
  352. local A_2 = "Equip"
  353. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  354. Event:FireServer(A_1, A_2)
  355. local A_1 = _G.Magnet
  356. local A_2 = "Equip"
  357. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  358. Event:FireServer(A_1, A_2)
  359. end
  360. end
  361. end)
  362. B5.MouseButton1Click:connect(function()
  363. if _G.on5 == 1 then
  364. _G.on5 = 0
  365. offL(L5)
  366. else
  367. _G.on5 = 1
  368. onL(L5)
  369. if _G.on5 == 1 then
  370. wait()
  371. if BuyBackpack == true then
  372. local A_1 = _G.Backpack
  373. local A_2 = "Backpack"
  374. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy
  375. Event:FireServer(A_1, A_2)
  376. end
  377. if BuyMagnet == true then
  378. local A_1 = _G.Magnet
  379. local A_2 = "Magnet"
  380. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy
  381. Event:FireServer(A_1, A_2)
  382. end
  383. _G.on5 = 0
  384. offL(L5)
  385. end
  386. end
  387. end)
  388. B6.MouseButton1Click:connect(function()
  389. if _G.on6 == 1 then
  390. _G.on6 = 0
  391. offL(L6)
  392. else
  393. _G.on6 = 1
  394. onL(L6)
  395. while _G.on6 == 1 do
  396. game:GetService('RunService').Stepped:wait()
  397. for i = 1,25 do
  398. local tool = game.Workspace[plr.Name]:FindFirstChildOfClass("Tool")
  399. if tool then
  400. local A_1 = "1250"
  401. local A_2 = tool
  402. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  403. Event:FireServer(A_1, A_2)
  404. else
  405. local tool = plr.Backpack:FindFirstChildOfClass("Tool")
  406. if tool then
  407. local A_1 = "1250"
  408. local A_2 = tool
  409. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  410. Event:FireServer(A_1, A_2)
  411. end
  412. end
  413. end
  414. end
  415. end
  416. end)
  417.  
  418. ------------------------------------------------------
  419.  
  420. m = 0
  421. Close.MouseButton1Click:connect(function()
  422. _G.on1 = 0
  423. _G.on2 = 0
  424. _G.on3 = 0
  425. _G.on4 = 0
  426. _G.on5 = 0
  427. _G.on6 = 0
  428. MainFrame:Destroy()
  429. ScreenGui:Destroy()
  430. end)
  431. Minimize.MouseButton1Click:connect(function()
  432. if m == 0 then
  433. m = 1
  434. B1.Visible = false
  435. B2.Visible = false
  436. B3.Visible = false
  437. B4.Visible = false
  438. B5.Visible = false
  439. B6.Visible = false
  440. GuiCred.Visible = false
  441. ScriptCred.Visible = false
  442. MainFrame.Size = TopFrame.Size
  443. Minimize.TextSize = 18
  444. Minimize.Text = "v"
  445. else
  446. m = 0
  447. MainFrame.Size = UDim2.new(0, 360, 0, 239)
  448. B1.Visible = true
  449. B2.Visible = true
  450. B3.Visible = true
  451. B4.Visible = true
  452. B5.Visible = true
  453. B6.Visible = true
  454. GuiCred.Visible = true
  455. ScriptCred.Visible = true
  456. Minimize.TextSize = 20
  457. Minimize.Text = "^"
  458. end
  459. end)
  460. print('loaded')
  461.  
  462. wait(0)
  463. game.StarterGui:SetCore("SendNotification", {
  464. Title = "Canal Do Yotube";
  465. Text = "Luck_Extreme";
  466. Duration = 25;
  467. })
  468.  
  469. wait(3.5)
  470. game.StarterGui:SetCore("SendNotification", {
  471. Title = "Roblox";
  472. Text = "GDAMIGO23";
  473. Duration = 2.5;
  474. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top