Advertisement
yWolf_BR

MagSim Script EXP

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