Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.32 KB | None | 0 0
  1. print ('loading')
  2. plr = game: GetService ('Players'). LocalPlayer
  3. Raiz = plr.Character.HumanoidRootPart
  4. local ScreenGui = Instance.new ("ScreenGui")
  5. local MainFrame = Instance.new ("Frame")
  6. topFrame local = Instance.new ("Frame")
  7. local Close = Instance.new ("TextButton")
  8. local Minimize = Instance.new ("TextButton")
  9. jogo local = 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. B6 local = 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 = "Fechar"
  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 = "Minimizar"
  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 = "[nome do jogo aqui]"
  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.Parente = 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. Tamanho B2 = 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.Parente = 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.Parente = 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.Parente = 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.Parente = 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,665903803, 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.Parente = 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 = "youtube.com/evanplayer"
  212. GuiCred.TextColor3 = Color3.new (0, 0, 0)
  213. GuiCred.TextSize = 18
  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. função onL (Light)
  226. Light.BackgroundColor3 = Color3.new (0,364706, 0,694118, 1)
  227. fim
  228. função offL (Light)
  229. Light.BackgroundColor3 = Color3.new (0,313726, 0,360784, 0,403922)
  230. fim
  231. -------------------------------------------------- ----
  232.  
  233. Game.Text = "Magnet Simulator" - nome do jogo aqui
  234. ScriptCred.Text = ScriptCred.Text .. "discord.gg/jHbfjRm" - coloque aqui o nome dos criadores do script
  235.  
  236. - Digite o nome do script correspondente ao botão abaixo
  237. B1.Text = "Farm"
  238. B2.Text = "AutoVender"
  239. B3.Text = "AutoRebirth"
  240. B4.Text = "AutoEquipar (Melhor Do Codigo)"
  241. B5.Text = "AutoComprar (Melhor Do Codigo)"
  242. B6.Text = "Farm +"
  243.  
  244. B1.MouseButton1Click: connect (function ()
  245. se _G.on1 == 1 então
  246. _G.on1 = 0
  247. offL (L1)
  248. outro
  249. _G.on1 = 1
  250. onL (L1)
  251. enquanto _G.on1 == 1 do
  252. game: GetService ('RunService'). Pisado: wait ()
  253. para i = 1,10 do
  254. ferramenta local = game.Workspace [plr.Name]: FindFirstChildOfClass ("Tool")
  255. se a ferramenta então
  256. local A_1 = "1250"
  257. local A_2 = ferramenta
  258. Evento local = jogo: GetService ("ReplicatedStorage"). Events.MagnetEvents.requestGrab
  259. Evento: FireServer (A_1, A_2)
  260. outro
  261. ferramenta local = plr.Backpack: FindFirstChildOfClass ("Tool")
  262. se a ferramenta então
  263. local A_1 = "1250"
  264. local A_2 = ferramenta
  265. Evento local = jogo: GetService ("ReplicatedStorage"). Events.MagnetEvents.requestGrab
  266. Evento: FireServer (A_1, A_2)
  267. fim
  268. fim
  269. fim
  270. fim
  271. fim
  272. fim)
  273. B2.MouseButton1Click: connect (function ()
  274. se _G.on2 == 1 então
  275. _G.on2 = 0
  276. offL (L2)
  277. outro
  278. _G.on2 = 1
  279. onL (L2)
  280. plr = game: GetService ('Players'). LocalPlayer
  281. Raiz = plr.Character.HumanoidRootPart
  282. orgin = Root.CFrame
  283. enquanto _G.on2 == 1 faz
  284. game: GetService ('RunService'). Pisado: wait ()
  285. Root.CFrame = CFrame.new (136.73712158203, 13.362461090088, -52.908908843994)
  286. esperar()
  287. Root.CFrame = CFrame.new (136.83712158203, 13.362461090088, -52.908908843994)
  288. esperar()
  289. fim
  290. Root.CFrame = orgin
  291. fim
  292. fim)
  293. B3.MouseButton1Click: connect (function ()
  294. se _G.on3 == 1 então
  295. _G.on3 = 0
  296. offL (L3)
  297. outro
  298. _G.on3 = 1
  299. onL (L3)
  300. enquanto _G.on3 == 1 faz
  301. esperar()
  302. Evento local = jogo: GetService ("ReplicatedStorage"). RebirthEvents.requestRebirth
  303. Evento: FireServer ()
  304. fim
  305. fim
  306. fim)
  307. B4.MouseButton1Click: connect (function ()
  308. se _G.on4 == 1 então
  309. _G.on4 = 0
  310. offL (L4)
  311. outro
  312. _G.on4 = 1
  313. onL (L4)
  314. enquanto _G.on4 == 1 faz
  315. esperar()
  316. para a = 1,5 do
  317. local A_1 = _G.Pet
  318. local A_2 = "equipar"
  319. Evento local = jogo: GetService ("ReplicatedStorage"). PetEvents.request
  320. Evento: FireServer (A_1, A_2)
  321. fim
  322. espera (1)
  323. local A_1 = _G.Backpack
  324. local A_2 = "Equipar"
  325. Evento local = jogo: GetService ("ReplicatedStorage"). Events.ShopEvents.requestEquip
  326. Evento: FireServer (A_1, A_2)
  327. local A_1 = _G.Magnet
  328. local A_2 = "Equipar"
  329. Evento local = jogo: GetService ("ReplicatedStorage"). Events.ShopEvents.requestEquip
  330. Evento: FireServer (A_1, A_2)
  331. fim
  332. fim
  333. fim)
  334. B5.MouseButton1Click: connect (function ()
  335. se _G.on5 == 1 então
  336. _G.on5 = 0
  337. offL (L5)
  338. outro
  339. _G.on5 = 1
  340. onL (L5)
  341. se _G.on5 == 1 então
  342. esperar()
  343. se BuyBackpack == true, então
  344. local A_1 = _G.Backpack
  345. local A_2 = "Mochila"
  346. Evento local = jogo: GetService ("ReplicatedStorage"). Events.ShopEvents.requestComprar
  347. Evento: FireServer (A_1, A_2)
  348. fim
  349. se BuyMagnet == true, então
  350. local A_1 = _G.Magnet
  351. A_2 local = "Íman"
  352. Evento local = jogo: GetService ("ReplicatedStorage"). Events.ShopEvents.requestComprar
  353. Evento: FireServer (A_1, A_2)
  354. fim
  355. _G.on5 = 0
  356. offL (L5)
  357. fim
  358. fim
  359. fim)
  360. B6.MouseButton1Click: connect (function ()
  361. se _G.on6 == 1 então
  362. _G.on6 = 0
  363. offL (L6)
  364. outro
  365. _G.on6 = 1
  366. onL (L6)
  367. enquanto _G.on6 == 1 do
  368. game: GetService ('RunService'). Pisado: wait ()
  369. para i = 1,25 do
  370. ferramenta local = game.Workspace [plr.Name]: FindFirstChildOfClass ("Tool")
  371. se a ferramenta então
  372. local A_1 = "1250"
  373. local A_2 = ferramenta
  374. Evento local = jogo: GetService ("ReplicatedStorage"). Events.MagnetEvents.requestGrab
  375. Evento: FireServer (A_1, A_2)
  376. outro
  377. ferramenta local = plr.Backpack: FindFirstChildOfClass ("Tool")
  378. se a ferramenta então
  379. local A_1 = "1250"
  380. local A_2 = ferramenta
  381. Evento local = jogo: GetService ("ReplicatedStorage"). Events.MagnetEvents.requestGrab
  382. Evento: FireServer (A_1, A_2)
  383. fim
  384. fim
  385. fim
  386. fim
  387. fim
  388. fim)
  389.  
  390. -------------------------------------------------- ----
  391.  
  392. m = 0
  393. Close.MouseButton1Click: connect (function ()
  394. _G.on1 = 0
  395. _G.on2 = 0
  396. _G.on3 = 0
  397. _G.on4 = 0
  398. _G.on5 = 0
  399. _G.on6 = 0
  400. MainFrame: Destroy ()
  401. ScreenGui: Destrua ()
  402. fim)
  403. Minimize.MouseButton1Click: connect (function ()
  404. se m == 0 então
  405. m = 1
  406. B1.Visível = falso
  407. B2.Visible = false
  408. B3.Visível = falso
  409. B4.Visível = falso
  410. B5.Visível = falso
  411. B6.Visível = falso
  412. GuiCred.Visible = false
  413. ScriptCred.Visible = false
  414. MainFrame.Size = TopFrame.Size
  415. Minimize.TextSize = 18
  416. Minimize.Text = "v"
  417. outro
  418. m = 0
  419. MainFrame.Size = UDim2.new (0, 360, 0, 239)
  420. B1.Visible = true
  421. B2.Visible = true
  422. B3.Visible = true
  423. B4.Visible = true
  424. B5.Visible = true
  425. B6.Visible = true
  426. GuiCred.Visible = true
  427. ScriptCred.Visible = true
  428. Minimize.TextSize = 20
  429. Minimize.Text = "^"
  430. fim
  431. fim)
  432. print ('carregado')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement