Advertisement
BINO2002

Untitled

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