TalkToMe

MAGNET SIMULATOR GUI 2019

Oct 9th, 2019
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.91 KB | None | 0 0
  1. local MS = Instance.new("ScreenGui")
  2. local MainFrame = Instance.new("Frame")
  3. local Title = Instance.new("TextLabel")
  4. local Close = Instance.new("TextButton")
  5. local Frame = Instance.new("Frame")
  6. local Display = Instance.new("TextButton")
  7. local Eggs = Instance.new("TextButton")
  8. local Farm = Instance.new("TextButton")
  9. local Sell = Instance.new("TextButton")
  10. local Shiny = Instance.new("TextButton")
  11. local EggName = Instance.new("TextBox")
  12. local Rebirth = Instance.new("TextButton")
  13. local Mini = Instance.new("TextButton")
  14.  
  15. --Properties:
  16.  
  17. MS.Name = "MS"
  18. MS.Parent = game.CoreGui
  19.  
  20. MainFrame.Name = "MainFrame"
  21. MainFrame.Parent = MS
  22. MainFrame.Active = true
  23. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  24. MainFrame.BackgroundTransparency = 0.5
  25. MainFrame.BorderColor3 = Color3.new(1, 1, 1)
  26. MainFrame.Position = UDim2.new(0, 325, 0, 125)
  27. MainFrame.Selectable = true
  28. MainFrame.Draggable = true
  29. MainFrame.Size = UDim2.new(0, 175, 0, 25)
  30.  
  31. Title.Name = "Title"
  32. Title.Parent = MainFrame
  33. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  34. Title.BackgroundTransparency = 1
  35. Title.Position = UDim2.new(0, 15, 0, 0)
  36. Title.Size = UDim2.new(0, 145, 0, 25)
  37. Title.Font = Enum.Font.SourceSans
  38. Title.Text = "Magnet Simulator"
  39. Title.TextColor3 = Color3.new(1, 1, 1)
  40. Title.TextSize = 14
  41.  
  42. Close.Name = "Close"
  43. Close.Parent = MainFrame
  44. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  45. Close.BackgroundTransparency = 1
  46. Close.BorderSizePixel = 0
  47. Close.Position = UDim2.new(0, 155, 0, 0)
  48. Close.Size = UDim2.new(0, 20, 0, 20)
  49. Close.Font = Enum.Font.SourceSans
  50. Close.Text = "X"
  51. Close.TextColor3 = Color3.new(1, 0, 0)
  52. Close.TextSize = 14
  53.  
  54. Frame.Parent = MainFrame
  55. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  56. Frame.BackgroundTransparency = 0.5
  57. Frame.BorderColor3 = Color3.new(1, 1, 1)
  58. Frame.Position = UDim2.new(0, 0, 0, 25)
  59. Frame.Size = UDim2.new(0, 175, 0, 150)
  60.  
  61. Display.Name = "Display"
  62. Display.Parent = Frame
  63. Display.BackgroundColor3 = Color3.new(0, 0, 0)
  64. Display.BackgroundTransparency = 0.5
  65. Display.BorderColor3 = Color3.new(1, 1, 1)
  66. Display.Position = UDim2.new(0, 10, 0, 120)
  67. Display.Size = UDim2.new(0, 155, 0, 20)
  68. Display.Font = Enum.Font.SourceSans
  69. Display.Text = "Notifications ON"
  70. Display.TextColor3 = Color3.new(1, 0, 0)
  71. Display.TextSize = 14
  72.  
  73. Eggs.Name = "Eggs"
  74. Eggs.Parent = Frame
  75. Eggs.BackgroundColor3 = Color3.new(0, 0, 0)
  76. Eggs.BackgroundTransparency = 0.5
  77. Eggs.BorderColor3 = Color3.new(1, 1, 1)
  78. Eggs.Position = UDim2.new(0, 10, 0, 70)
  79. Eggs.Size = UDim2.new(0, 155, 0, 20)
  80. Eggs.Font = Enum.Font.SourceSans
  81. Eggs.Text = "Open Eggs OFF"
  82. Eggs.TextColor3 = Color3.new(1, 0, 0)
  83. Eggs.TextSize = 14
  84.  
  85. Farm.Name = "Farm"
  86. Farm.Parent = Frame
  87. Farm.BackgroundColor3 = Color3.new(0, 0, 0)
  88. Farm.BackgroundTransparency = 0.5
  89. Farm.BorderColor3 = Color3.new(1, 1, 1)
  90. Farm.Position = UDim2.new(0, 10, 0, 10)
  91. Farm.Size = UDim2.new(0, 75, 0, 20)
  92. Farm.Font = Enum.Font.SourceSans
  93. Farm.Text = "Coin OFF"
  94. Farm.TextColor3 = Color3.new(1, 0, 0)
  95. Farm.TextSize = 14
  96.  
  97. Sell.Name = "Sell"
  98. Sell.Parent = Frame
  99. Sell.BackgroundColor3 = Color3.new(0, 0, 0)
  100. Sell.BackgroundTransparency = 0.5
  101. Sell.BorderColor3 = Color3.new(1, 1, 1)
  102. Sell.Position = UDim2.new(0, 90, 0, 10)
  103. Sell.Size = UDim2.new(0, 75, 0, 20)
  104. Sell.Font = Enum.Font.SourceSans
  105. Sell.Text = "Sell OFF"
  106. Sell.TextColor3 = Color3.new(1, 0, 0)
  107. Sell.TextSize = 14
  108.  
  109. Shiny.Name = "Shiny"
  110. Shiny.Parent = Frame
  111. Shiny.BackgroundColor3 = Color3.new(0, 0, 0)
  112. Shiny.BackgroundTransparency = 0.5
  113. Shiny.BorderColor3 = Color3.new(1, 1, 1)
  114. Shiny.Position = UDim2.new(0, 10, 0, 40)
  115. Shiny.Size = UDim2.new(0, 75, 0, 20)
  116. Shiny.Font = Enum.Font.SourceSans
  117. Shiny.Text = "Shiny Pet OFF"
  118. Shiny.TextColor3 = Color3.new(1, 0, 0)
  119. Shiny.TextSize = 14
  120.  
  121. EggName.Name = "EggName"
  122. EggName.Parent = Frame
  123. EggName.BackgroundColor3 = Color3.new(0, 0, 0)
  124. EggName.BackgroundTransparency = 0.69999998807907
  125. EggName.BorderColor3 = Color3.new(1, 1, 1)
  126. EggName.Position = UDim2.new(0, 10, 0, 90)
  127. EggName.Size = UDim2.new(0, 155, 0, 20)
  128. EggName.Font = Enum.Font.SourceSans
  129. EggName.Text = "Magma Egg"
  130. EggName.TextColor3 = Color3.new(1, 1, 1)
  131. EggName.TextSize = 14
  132.  
  133. Rebirth.Name = "Rebirth"
  134. Rebirth.Parent = Frame
  135. Rebirth.BackgroundColor3 = Color3.new(0, 0, 0)
  136. Rebirth.BackgroundTransparency = 0.5
  137. Rebirth.BorderColor3 = Color3.new(1, 1, 1)
  138. Rebirth.Position = UDim2.new(0, 90, 0, 40)
  139. Rebirth.Size = UDim2.new(0, 75, 0, 20)
  140. Rebirth.Font = Enum.Font.SourceSans
  141. Rebirth.Text = "Rebirth OFF"
  142. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  143. Rebirth.TextSize = 14
  144.  
  145. Mini.Name = "Mini"
  146. Mini.Parent = MainFrame
  147. Mini.BackgroundColor3 = Color3.new(1, 1, 1)
  148. Mini.BackgroundTransparency = 1
  149. Mini.BorderSizePixel = 0
  150. Mini.Size = UDim2.new(0, 20, 0, 20)
  151. Mini.Font = Enum.Font.SourceSans
  152. Mini.Text = "_"
  153. Mini.TextColor3 = Color3.new(1, 0, 0)
  154. Mini.TextSize = 14
  155.  
  156. -- Scripts:
  157.  
  158. local r = game:GetService('ReplicatedStorage').Events.MagnetEvents['requestGrab']
  159. local rs = game:GetService('RunService').RenderStepped
  160. local tool = "Black Lightning Dual Magnet"
  161. local Shinys = {"Three-Headed Demon","Mad Demon","Fallen Bird","Demonic Bird","Cat Demon","Golden Dominus","Space Dominus","Flame Dominus","Frost Dominus","Spirit Dominus","Super Bear","Bat Bear","Flashy Bear","Storm Bear","Captain Bear","Cursed Wolf","Angel Wolf","Sanic","Ogre","Nyan Cat","Doge","MLG Bear","Rich Bear","Noob","Fancy Bear","Ice Wolf","Ghost Wolf","Galaxy Wolf","Galaxy Bear","Spirit Bear","Moon Bear","Crystal Fox","Magnetite Wolf","Winged Overseer","Overseer Wolf","Wizard Overseer","Three-Headed Overseer","Overseer Overlord","Praefectus Overseer", "Lava Wolf", "Magma Gentleman", "Three-Headed Magma Wolf", "Hooded Fire Lord", "Lord of the Magma"}
  162. local plr = game.Players.LocalPlayer
  163. local char = plr.Character.HumanoidRootPart
  164. local screengui = plr.PlayerGui.GameHUD
  165. local mini = true
  166.  
  167. _G.sell = false
  168. _G.egg = false
  169. _G.shiny = false
  170. _G.farm = false
  171. _G.display = false
  172. _G.rebirth = false
  173.  
  174. Close.MouseButton1Down:connect(function()
  175.     MS:Destroy()
  176. end)
  177.  
  178. Mini.MouseButton1Down:connect(function()
  179.     if mini == true then
  180.         mini = false
  181.         Frame.Visible = false
  182.         Mini.TextColor3 = Color3.new(0, 0.666667, 0)
  183.     else
  184.         mini = true
  185.         Frame.Visible = true
  186.         Mini.TextColor3 = Color3.new(1, 0, 0)
  187.         end
  188. end)
  189.  
  190. Display.MouseButton1Down:connect(function()
  191.     if _G.display == true then
  192.         _G.display = false
  193.     Display.TextColor3 = Color3.new(1, 0, 0)
  194.     Display.Text = "Notifications ON"
  195.     screengui.EggHandler.Disabled = false
  196.     screengui.Notifications.Handler.Disabled = false
  197.     screengui.FullBackpack.Handler.Disabled = false
  198.     else
  199.         _G.display = true
  200.     Display.TextColor3 = Color3.new(0, 0.666667, 0)
  201.     Display.Text = "Notifications OFF"
  202.     screengui.EggHandler.Disabled = true
  203.     screengui.Notifications.Handler.Disabled = true
  204.     screengui.FullBackpack.Handler.Disabled = true
  205.     end
  206. end)
  207.  
  208. Shiny.MouseButton1Down:connect(function()
  209.     if _G.shiny == true then
  210.         _G.shiny = false
  211.         Shiny.TextColor3 = Color3.new(1, 0, 0)
  212.         Shiny.Text = "Shiny Pet OFF"
  213.     else
  214.         _G.shiny = true
  215.         Shiny.TextColor3 = Color3.new(0, 0.666667, 0)
  216.         Shiny.Text = "Shiny Pet ON"
  217.     while _G.shiny == true do
  218.         wait(0.1)
  219.     for i = 1,#Shinys do
  220.         wait()
  221.     game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer(Shinys[i])
  222.             end
  223.         end
  224.     end
  225. end)
  226.  
  227. Farm.MouseButton1Down:connect(function()
  228.     if _G.farm == true then
  229.         _G.farm = false
  230.         Farm.TextColor3 = Color3.new(1, 0, 0)
  231.         Farm.Text = "Coin OFF"
  232.     else
  233.         _G.farm = true
  234.         Farm.TextColor3 = Color3.new(0, 0.666667, 0)
  235.         Farm.Text = "Coin ON"
  236.     while rs:wait() and _G.farm == true do
  237.         for i = 1,10 do
  238.     r:FireServer("1100000", game.ReplicatedStorage.Tools[tool])
  239.             end
  240.         end
  241.     end
  242. end)
  243.  
  244. Sell.MouseButton1Down:connect(function()
  245.     if _G.sell == true then
  246.         _G.sell = false
  247.         Sell.TextColor3 = Color3.new(1, 0, 0)
  248.         Sell.Text = "Sell OFF"
  249.     else
  250.         _G.sell = true
  251.         Sell.TextColor3 = Color3.new(0, 0.666667, 0)
  252.         Sell.Text = "Sell ON"
  253.         while _G.sell == true do
  254.     game.Workspace.Rings.Sellx2.CanCollide = false
  255.     game.Workspace.Rings.Sellx2.Transparency = 1
  256.     game.Workspace.Rings.Sellx2.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  257.         wait(0.1)
  258.         end
  259.     end
  260. end)
  261.  
  262. Eggs.MouseButton1Down:connect(function()
  263.     if _G.egg == true then
  264.         _G.egg = false
  265.         Eggs.TextColor3 = Color3.new(1, 0, 0)
  266.         Eggs.Text = "Open Eggs OFF"
  267.     else
  268.         _G.egg = true
  269.         Eggs.TextColor3 = Color3.new(0, 0.666667, 0)
  270.         Eggs.Text = "Open Eggs ON"
  271.     while _G.egg == true do
  272.         wait()
  273.     local egg = EggName.Text
  274.     game:GetService("ReplicatedStorage").PetEvents.requesthatch:FireServer(egg)
  275.         end
  276.     end
  277. end)
  278.  
  279. Rebirth.MouseButton1Down:connect(function()
  280.     if _G.rebirth == true then
  281.         _G.rebirth = false
  282.         Rebirth.TextColor3 = Color3.new(1, 0, 0)
  283.         Rebirth.Text = "Rebirth OFF"
  284.     else
  285.         _G.rebirth = true
  286.         Rebirth.TextColor3 = Color3.new(0, 0.666667, 0)
  287.         Rebirth.Text = "Rebirth ON"
  288.     while _G.rebirth == true do
  289.         wait(0.1)
  290.     local rebirths = 1000 --1000,500,250,100,50,25,5,1
  291.         game.ReplicatedStorage.RebirthEvents.requestRebirth:FireServer(rebirths)
  292.         end
  293.     end
  294. end)
Add Comment
Please, Sign In to add comment