Advertisement
thidepzai

Untitled

Jan 16th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.34 KB | None | 0 0
  1. userlink = "https://pastebin.com/raw/yWMeqeP4" -- Link hệ thống có tên mới được chấp nhận
  2. usernames = game:HttpGet(userlink, true)
  3. current = game.Players.LocalPlayer.Name
  4.  
  5. if string.find(usernames,current) then
  6. game:GetService("StarterGui"):SetCore("SendNotification", {
  7. Title = "Xác nhận thành công";
  8. Text = "Hail Cerberus";
  9. })
  10. plr = game:GetService('Players').LocalPlayer
  11. Bocah = game.Players.LocalPlayer.Character.HumanoidRootPart
  12. local Magnet = Instance.new("ScreenGui")
  13. local Frame = Instance.new("Frame")
  14. local TFrame = Instance.new("Frame")
  15. local Title = Instance.new("TextLabel")
  16. local Page2 = Instance.new("TextButton")
  17. local Tutup = Instance.new("TextButton")
  18. local Tunda = Instance.new("TextButton")
  19. local Duit = Instance.new("TextButton")
  20. local Jual = Instance.new("TextButton")
  21. local Rebirth = Instance.new("TextButton")
  22. local Credits = Instance.new("TextLabel")
  23. local Auto = Instance.new("Frame")
  24. local Tittle2 = Instance.new("TextLabel")
  25. local Page1 = Instance.new("TextButton")
  26. local NamaT = Instance.new("TextBox")
  27. local BuyT = Instance.new("TextButton")
  28. local EquipT = Instance.new("TextButton")
  29. local NamaM = Instance.new("TextBox")
  30. local BuyM = Instance.new("TextButton")
  31. local EquipM = Instance.new("TextButton")
  32. local Rebirth_2 = Instance.new("TextButton")
  33. local NamaE = Instance.new("TextBox")
  34.  
  35. Ke2 = 0
  36. Ke1 = 0
  37. BuyEgg = 0
  38. Farm = 0
  39. Sell = 0
  40. ReBith = 0
  41. TundaF = 0
  42. BuyTas = 0
  43. BuyMagnet = 0
  44. PakeTas = 0
  45. PakeMagnet = 0
  46.  
  47. -- Properties
  48.  
  49. Magnet.Name = "Magnet"
  50. Magnet.Parent = game.CoreGui
  51.  
  52. Frame.Parent = Magnet
  53. Frame.Active = true
  54. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  55. Frame.BorderColor3 = Color3.new(0.333333, 1, 0)
  56. Frame.BorderSizePixel = 4
  57. Frame.Position = UDim2.new(0.34290272, 0, 0.196039602, 0)
  58. Frame.Size = UDim2.new(0, 365, 0, 206)
  59. Frame.Draggable = true
  60.  
  61. TFrame.Name = "TFrame"
  62. TFrame.Parent = Frame
  63. TFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  64. TFrame.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
  65. TFrame.BorderSizePixel = 4
  66. TFrame.Size = UDim2.new(0, 365, 0, 24)
  67.  
  68. Title.Name = "Title"
  69. Title.Parent = TFrame
  70. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  71. Title.BorderSizePixel = 0
  72. Title.Size = UDim2.new(0, 365, 0, 24)
  73. Title.Font = Enum.Font.Garamond
  74. Title.Text = "Magnet Simulator Gui"
  75. Title.TextColor3 = Color3.new(0.333333, 1, 0)
  76. Title.TextSize = 25
  77.  
  78. Page2.Name = "Page2"
  79. Page2.Parent = TFrame
  80. Page2.BackgroundColor3 = Color3.new(1, 0, 0)
  81. Page2.BorderSizePixel = 0
  82. Page2.Size = UDim2.new(0, 33, 0, 24)
  83. Page2.Font = Enum.Font.GothamBlack
  84. Page2.Text = "<"
  85. Page2.TextColor3 = Color3.new(1, 1, 1)
  86. Page2.TextSize = 18
  87.  
  88. Tutup.Name = "Tutup"
  89. Tutup.Parent = TFrame
  90. Tutup.BackgroundColor3 = Color3.new(1, 0, 0)
  91. Tutup.BorderSizePixel = 0
  92. Tutup.Position = UDim2.new(0.909589052, 0, 0, 0)
  93. Tutup.Size = UDim2.new(0, 33, 0, 24)
  94. Tutup.Font = Enum.Font.GothamBlack
  95. Tutup.Text = "X"
  96. Tutup.TextColor3 = Color3.new(1, 1, 1)
  97. Tutup.TextSize = 18
  98.  
  99. Tunda.Name = "Tunda"
  100. Tunda.Parent = TFrame
  101. Tunda.BackgroundColor3 = Color3.new(0, 0, 0)
  102. Tunda.BorderSizePixel = 0
  103. Tunda.Position = UDim2.new(0.819178104, 0, 0, 0)
  104. Tunda.Size = UDim2.new(0, 33, 0, 24)
  105. Tunda.Font = Enum.Font.GothamBlack
  106. Tunda.Text = "-"
  107. Tunda.TextColor3 = Color3.new(1, 1, 1)
  108. Tunda.TextSize = 18
  109.  
  110. Duit.Name = "Duit"
  111. Duit.Parent = Frame
  112. Duit.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  113. Duit.BorderSizePixel = 0
  114. Duit.Position = UDim2.new(0.0410958901, 0, 0.424435794, 0)
  115. Duit.Size = UDim2.new(0, 155, 0, 31)
  116. Duit.Font = Enum.Font.GothamBlack
  117. Duit.Text = "Auto Farm OFF"
  118. Duit.TextColor3 = Color3.new(1, 1, 1)
  119. Duit.TextSize = 18
  120.  
  121. Jual.Name = "Jual"
  122. Jual.Parent = Frame
  123. Jual.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  124. Jual.BorderSizePixel = 0
  125. Jual.Position = UDim2.new(0.534246564, 0, 0.424435794, 0)
  126. Jual.Size = UDim2.new(0, 155, 0, 31)
  127. Jual.Font = Enum.Font.GothamBlack
  128. Jual.Text = "Auto Sell OFF"
  129. Jual.TextColor3 = Color3.new(1, 1, 1)
  130. Jual.TextSize = 18
  131.  
  132. Rebirth.Name = "Rebirth"
  133. Rebirth.Parent = Frame
  134. Rebirth.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  135. Rebirth.BorderSizePixel = 0
  136. Rebirth.Position = UDim2.new(0.0410958901, 0, 0.610804915, 0)
  137. Rebirth.Size = UDim2.new(0, 155, 0, 31)
  138. Rebirth.Font = Enum.Font.GothamBlack
  139. Rebirth.Text = "Auto Rebith OFF"
  140. Rebirth.TextColor3 = Color3.new(1, 1, 1)
  141. Rebirth.TextSize = 18
  142.  
  143. Credits.Name = "Credits"
  144. Credits.Parent = Frame
  145. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  146. Credits.BorderColor3 = Color3.new(0.333333, 1, 0)
  147. Credits.BorderSizePixel = 4
  148. Credits.Position = UDim2.new(0, 0, 0.857151687, 0)
  149. Credits.Size = UDim2.new(0, 365, 0, 29)
  150. Credits.Font = Enum.Font.Garamond
  151. Credits.Text = "Credits : brianops1, Anwarun"
  152. Credits.TextColor3 = Color3.new(0, 0, 0)
  153. Credits.TextSize = 25
  154.  
  155. Auto.Name = "Auto"
  156. Auto.Parent = Frame
  157. Auto.BackgroundColor3 = Color3.new(1, 1, 1)
  158. Auto.BorderColor3 = Color3.new(0.333333, 1, 0)
  159. Auto.BorderSizePixel = 4
  160. Auto.Position = UDim2.new(-0.520547926, 0, 0, 0)
  161. Auto.Size = UDim2.new(0, 176, 0, 267)
  162. Auto.Visible = false
  163.  
  164. Tittle2.Name = "Tittle2"
  165. Tittle2.Parent = Auto
  166. Tittle2.BackgroundColor3 = Color3.new(1, 1, 1)
  167. Tittle2.BorderColor3 = Color3.new(0.333333, 1, 0)
  168. Tittle2.BorderSizePixel = 4
  169. Tittle2.Size = UDim2.new(0, 176, 0, 31)
  170. Tittle2.Font = Enum.Font.Garamond
  171. Tittle2.Text = "Auto Equip / Buy"
  172. Tittle2.TextColor3 = Color3.new(0.333333, 1, 0)
  173. Tittle2.TextSize = 23
  174.  
  175. Page1.Name = "Page1"
  176. Page1.Parent = Auto
  177. Page1.BackgroundColor3 = Color3.new(1, 0, 0)
  178. Page1.BorderSizePixel = 0
  179. Page1.Position = UDim2.new(0.886363626, 0, 0, 0)
  180. Page1.Size = UDim2.new(0, 20, 0, 31)
  181. Page1.Font = Enum.Font.GothamBlack
  182. Page1.Text = ">"
  183. Page1.TextColor3 = Color3.new(1, 1, 1)
  184. Page1.TextSize = 18
  185.  
  186. NamaT.Name = "NamaT"
  187. NamaT.Parent = Auto
  188. NamaT.BackgroundColor3 = Color3.new(1, 1, 1)
  189. NamaT.BorderColor3 = Color3.new(0.333333, 1, 0)
  190. NamaT.BorderSizePixel = 3
  191. NamaT.Position = UDim2.new(0.0795454532, 0, 0.161048695, 0)
  192. NamaT.Size = UDim2.new(0, 147, 0, 25)
  193. NamaT.Font = Enum.Font.GothamBold
  194. NamaT.Text = "Backpack Name"
  195. NamaT.TextColor3 = Color3.new(0.333333, 1, 0)
  196. NamaT.TextSize = 14
  197.  
  198. BuyT.Name = "BuyT"
  199. BuyT.Parent = Auto
  200. BuyT.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  201. BuyT.BorderSizePixel = 0
  202. BuyT.Position = UDim2.new(0.0795454532, 0, 0.292134821, 0)
  203. BuyT.Size = UDim2.new(0, 147, 0, 23)
  204. BuyT.Font = Enum.Font.GothamBlack
  205. BuyT.Text = "Buy BackPack"
  206. BuyT.TextColor3 = Color3.new(1, 1, 1)
  207. BuyT.TextSize = 18
  208.  
  209. EquipT.Name = "EquipT"
  210. EquipT.Parent = Auto
  211. EquipT.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  212. EquipT.BorderSizePixel = 0
  213. EquipT.Position = UDim2.new(0.0795454532, 0, 0.400749058, 0)
  214. EquipT.Size = UDim2.new(0, 147, 0, 23)
  215. EquipT.Font = Enum.Font.GothamBlack
  216. EquipT.Text = "Equip BackPack"
  217. EquipT.TextColor3 = Color3.new(1, 1, 1)
  218. EquipT.TextSize = 18
  219.  
  220. NamaM.Name = "NamaM"
  221. NamaM.Parent = Auto
  222. NamaM.BackgroundColor3 = Color3.new(1, 1, 1)
  223. NamaM.BorderColor3 = Color3.new(0.333333, 1, 0)
  224. NamaM.BorderSizePixel = 3
  225. NamaM.Position = UDim2.new(0.0795454532, 0, 0.595505595, 0)
  226. NamaM.Size = UDim2.new(0, 147, 0, 25)
  227. NamaM.Font = Enum.Font.GothamBold
  228. NamaM.Text = "Magnet Name"
  229. NamaM.TextColor3 = Color3.new(0.333333, 1, 0)
  230. NamaM.TextSize = 14
  231.  
  232. BuyM.Name = "BuyM"
  233. BuyM.Parent = Auto
  234. BuyM.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  235. BuyM.BorderSizePixel = 0
  236. BuyM.Position = UDim2.new(0.0795454532, 0, 0.749063611, 0)
  237. BuyM.Size = UDim2.new(0, 147, 0, 23)
  238. BuyM.Font = Enum.Font.GothamBlack
  239. BuyM.Text = "Buy Magnet"
  240. BuyM.TextColor3 = Color3.new(1, 1, 1)
  241. BuyM.TextSize = 18
  242.  
  243. EquipM.Name = "EquipM"
  244. EquipM.Parent = Auto
  245. EquipM.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  246. EquipM.BorderSizePixel = 0
  247. EquipM.Position = UDim2.new(0.0795454532, 0, 0.868913829, 0)
  248. EquipM.Size = UDim2.new(0, 147, 0, 23)
  249. EquipM.Font = Enum.Font.GothamBlack
  250. EquipM.Text = "Equip Magnet"
  251. EquipM.TextColor3 = Color3.new(1, 1, 1)
  252. EquipM.TextSize = 18
  253.  
  254. Rebirth_2.Name = "Rebirth"
  255. Rebirth_2.Parent = Frame
  256. Rebirth_2.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  257. Rebirth_2.BorderSizePixel = 0
  258. Rebirth_2.Position = UDim2.new(0.534246564, 0, 0.610804915, 0)
  259. Rebirth_2.Size = UDim2.new(0, 155, 0, 31)
  260. Rebirth_2.Font = Enum.Font.GothamBlack
  261. Rebirth_2.Text = "Buy Egg OFF"
  262. Rebirth_2.TextColor3 = Color3.new(1, 1, 1)
  263. Rebirth_2.TextSize = 18
  264.  
  265. NamaE.Name = "NamaE"
  266. NamaE.Parent = Frame
  267. NamaE.BackgroundColor3 = Color3.new(1, 1, 1)
  268. NamaE.BorderColor3 = Color3.new(0.333333, 1, 0)
  269. NamaE.BorderSizePixel = 4
  270. NamaE.Position = UDim2.new(0.120547943, 0, 0.18974793, 0)
  271. NamaE.Size = UDim2.new(0, 276, 0, 29)
  272. NamaE.Font = Enum.Font.GothamBold
  273. NamaE.Text = "Egg Name"
  274. NamaE.TextColor3 = Color3.new(0.333333, 1, 0)
  275. NamaE.TextSize = 20
  276.  
  277. -- Script
  278.  
  279. Tutup.MouseButton1Click:connect(function()
  280. Magnet:Destroy()
  281. end)
  282.  
  283. Tunda.MouseButton1Click:connect(function()
  284. if TundaF == 1 then
  285. TundaF = 0
  286. Frame.Size = UDim2.new(0, 365, 0, 206)
  287. Duit.Visible = true
  288. Jual.Visible = true
  289. Rebirth.Visible = true
  290. Rebirth_2.Visible = true
  291. NamaE.Visible = true
  292. Credits.Visible = true
  293. else
  294. TundaF = 1
  295. Frame.Size = UDim2.new(0, 365, 0, 24)
  296. Duit.Visible = false
  297. Jual.Visible = false
  298. Rebirth.Visible = false
  299. Rebirth_2.Visible = false
  300. NamaE.Visible = false
  301. Credits.Visible = false
  302. end
  303. end)
  304.  
  305. Page2.MouseButton1Click:connect(function()
  306. if Ke2 == 1 then
  307. Ke2 = 0
  308. else
  309. Ke2 = 1
  310. Auto.Visible = true
  311. end
  312. end)
  313.  
  314. Page1.MouseButton1Click:connect(function()
  315. if Ke1 == 1 then
  316. Ke1 = 0
  317. else
  318. Ke1 = 1
  319. Auto.Visible = false
  320. end
  321. end)
  322.  
  323. Duit.MouseButton1Click:connect(function()
  324. if Farm == 1 then
  325. Farm = 0
  326. Duit.Text = "Auto Farm OFF"
  327. Active = false
  328. else
  329. Farm = 1
  330. Active = true
  331. Duit.Text = "Auto Farm ON"
  332. AutoDuit()
  333. end
  334. end)
  335.  
  336. Awal = Bocah.CFrame
  337. Jual.MouseButton1Click:connect(function()
  338. if Sell == 1 then
  339. Sell = 0
  340. Active2 = false
  341. Jual.Text = "Auto Sell OFF"
  342. else
  343. Sell = 1
  344. Active2 = true
  345. Jual.Text = "Auto Sell ON"
  346. if Active2 == true then
  347. while Active2 do
  348. game:GetService('RunService').Stepped:wait()
  349. Bocah.CFrame = CFrame.new(136.73712158203, 13.362461090088, -52.908908843994)
  350. wait()
  351. Bocah.CFrame = CFrame.new(136.83712158203, 13.362461090088, -52.908908843994)
  352. wait()
  353. end
  354. Bocah.CFrame = Awal
  355. end
  356. end
  357.  
  358. end)
  359.  
  360. Rebirth.MouseButton1Click:connect(function()
  361. if ReBith == 1 then
  362. ReBith = 0
  363. Active3 = false
  364. Rebirth.Text = "Auto Rebith OFF"
  365. else
  366. ReBith = 1
  367. Active3 = true
  368. Rebirth.Text = "Auto REbith ON"
  369. if Active3 == true then
  370. while Active3 do
  371. wait()
  372. local Rebit = game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth
  373. Rebit:FireServer()
  374. end
  375. end
  376. end
  377. end)
  378.  
  379. BuyT.MouseButton1Click:connect(function()
  380. if BuyTas == 1 then
  381. BuyTas = 0
  382. Active4 = false
  383. BuyT.Text = "Buy BackPack OFF"
  384. BuyT.TextSize = 15
  385. else
  386. BuyTas = 1
  387. Active4 = true
  388. BuyT.Text = "Equip BackPack ON"
  389. BuyT.TextSize = 15
  390. if Active4 == true then
  391. local A_1 = NamaT.Text
  392. local A_2 = "Backpack"
  393. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy
  394. Event:FireServer(A_1, A_2)
  395. end
  396. end
  397. end)
  398.  
  399. BuyM.MouseButton1Click:connect(function()
  400. if BuyMagnet == 1 then
  401. BuyMagnet = 0
  402. Active5 = false
  403. BuyM.Text = "Buy Magnet OFF"
  404. BuyM.TextSize = 15
  405. else
  406. BuyMagnet = 1
  407. Active5 = true
  408. BuyM.Text = "Equip Magnet ON"
  409. BuyM.TextSize = 15
  410. if Active5 == true then
  411. local A_1 = NamaM.Text
  412. local A_2 = "Backpack"
  413. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy
  414. Event:FireServer(A_1, A_2)
  415. end
  416. end
  417. end)
  418.  
  419. EquipT.MouseButton1Click:connect(function()
  420. if PakeTas == 1 then
  421. PakeTas = 0
  422. Active6 = false
  423. EquipT.Text = "Equip BackPack OFF"
  424. EquipT.TextSize = 15
  425. else
  426. PakeTas = 1
  427. Active6 = true
  428. EquipT.Text = "Equip BackPack ON"
  429. EquipT.TextSize = 15
  430. if Active6 == true then
  431. local A_1 = NamaT.Text
  432. local A_2 = "Equip"
  433. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  434. Event:FireServer(A_1, A_2)
  435. end
  436. end
  437. end)
  438.  
  439. EquipM.MouseButton1Click:connect(function()
  440. if PakeMagnet == 1 then
  441. PakeMagnet = 0
  442. Active7 = false
  443. EquipM.Text = "Equip Magnet OFF"
  444. EquipM.TextSize = 15
  445. else
  446. PakeMagnet = 1
  447. Active7 = true
  448. EquipM.Text = "Equip Magnet ON"
  449. EquipM.TextSize = 15
  450. if Active7 == true then
  451. local A_1 = NamaM.Text
  452. local A_2 = "Equip"
  453. local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
  454. Event:FireServer(A_1, A_2)
  455. end
  456. end
  457. end)
  458.  
  459. Rebirth_2.MouseButton1Click:connect(function()
  460. if BuyEgg == 1 then
  461. BuyEgg = 0
  462. Active8 = false
  463. Rebirth_2.Text = "Buy Egg OFF"
  464. else
  465. BuyEgg = 1
  466. Active8 = true
  467. Rebirth_2.Text = "Buy Egg ON"
  468. if Active8 == true then
  469. while Active8 do
  470. wait()
  471. game.ReplicatedStorage.PetEvents.requesthatch:FireServer(NamaE.Text)
  472. end
  473. end
  474. end
  475. end)
  476.  
  477. -- Function
  478. Active = false
  479. Active2 = false
  480. Active3 = false
  481. Active4 = false
  482. Active5 = false
  483. Active6 = false
  484. Active7 = false
  485. Active8 = false
  486.  
  487. function AutoDuit()
  488. if Active == true then
  489. while Active do
  490. game:GetService('RunService').Stepped:wait()
  491. for i = 1,25 do
  492. local tool = game.ReplicatedStorage.Tools["Galaxy Rebirth Magnet"]
  493. if tool then
  494. local A_1 = "72000"
  495. local A_2 = tool
  496. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  497. Event:FireServer(A_1, A_2)
  498. else
  499. local tool = game.ReplicatedStorage.Tools["Galaxy Rebirth Magnet"]
  500. if tool then
  501. local A_1 = "72000"
  502. local A_2 = tool
  503. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  504. Event:FireServer(A_1, A_2)
  505. end
  506. end
  507. end
  508. end
  509. end
  510. end
  511.  
  512. else
  513. game:GetService("StarterGui"):SetCore("SendNotification", {
  514. Title = "Xác nhận fail";
  515. Text = "Cút";
  516. })
  517. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement