SHARE
TWEET

LOLOLOLOL SUB TO SIR MEMEHEHEHE

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