Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. Magnet Simulator GUI
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local Farm = Instance.new("TextButton")
  5. local title = Instance.new("TextLabel")
  6. local autosell = Instance.new("TextButton")
  7. local Credits = Instance.new("TextButton")
  8. local close = Instance.new("TextButton")
  9. local Frame_2 = Instance.new("Frame")
  10. local titlecred = Instance.new("TextLabel")
  11. local close_2 = Instance.new("TextButton")
  12. local TextBox = Instance.new("TextBox")
  13. --Properties:
  14. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  19. Frame.BorderSizePixel = 0
  20. Frame.Position = UDim2.new(0.212732926, 0, 0.41292876, 0)
  21. Frame.Size = UDim2.new(0, 281, 0, 195)
  22. Frame.Active = true
  23. Frame.Draggable = true
  24.  
  25. Farm.Name = "Farm"
  26. Farm.Parent = Frame
  27. Farm.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  28. Farm.BorderSizePixel = 0
  29. Farm.Position = UDim2.new(0.142348751, 0, 0.358974367, 0)
  30. Farm.Size = UDim2.new(0, 100, 0, 75)
  31. Farm.Font = Enum.Font.SciFi
  32. Farm.Text = "ENABLE FARM"
  33. Farm.TextColor3 = Color3.new(0.309804, 0.568627, 0.188235)
  34. Farm.TextSize = 31
  35. Farm.TextWrapped = true
  36. Farm.MouseButton1Down:connect(function()
  37. local r = game:GetService('ReplicatedStorage').Events.MagnetEvents['requestGrab']
  38. local rs = game:GetService('RunService').RenderStepped
  39.  
  40. tool = "Evil Power Magnet"
  41. while rs:wait() do
  42. for i = 1,10 do
  43. r:FireServer("1100000", game.ReplicatedStorage.Tools[tool])
  44. end
  45. end
  46.  
  47. end)
  48.  
  49. title.Name = "title"
  50. title.Parent = Frame
  51. title.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  52. title.BorderSizePixel = 0
  53. title.Size = UDim2.new(0, 250, 0, 34)
  54. title.Font = Enum.Font.SourceSans
  55. title.Text = "Magnet simulator AUTO FARM"
  56. title.TextColor3 = Color3.new(0.309804, 0.568627, 0.188235)
  57. title.TextScaled = true
  58. title.TextSize = 14
  59. title.TextWrapped = true
  60.  
  61. autosell.Name = "autosell"
  62. autosell.Parent = Frame
  63. autosell.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  64. autosell.BorderSizePixel = 0
  65. autosell.Position = UDim2.new(0.498220623, 0, 0.358974367, 0)
  66. autosell.Size = UDim2.new(0, 100, 0, 75)
  67. autosell.Font = Enum.Font.SciFi
  68. autosell.Text = "ENABLE AUTO-SELL"
  69. autosell.TextColor3 = Color3.new(0.309804, 0.568627, 0.188235)
  70. autosell.TextSize = 22
  71. autosell.TextWrapped = true
  72. autosell.MouseButton1Down:connect(function()
  73. _G.on = true
  74. local plr = game.Players.LocalPlayer
  75. local char = plr.Character.HumanoidRootPart
  76.  
  77. while _G.on do
  78. game.Workspace.Rings.Sellx2.CanCollide = false
  79. game.Workspace.Rings.Sellx2.Transparency = 1
  80. game.Workspace.Rings.Sellx2.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  81. wait(0.1)
  82. end
  83. end)
  84.  
  85. Credits.Name = "Credits"
  86. Credits.Parent = Frame
  87. Credits.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  88. Credits.BorderSizePixel = 0
  89. Credits.Position = UDim2.new(0, 0, 0.846153855, 0)
  90. Credits.Size = UDim2.new(0, 65, 0, 30)
  91. Credits.Font = Enum.Font.SourceSans
  92. Credits.Text = "Credits"
  93. Credits.TextColor3 = Color3.new(0, 0, 0)
  94. Credits.TextScaled = true
  95. Credits.TextSize = 14
  96. Credits.TextWrapped = true
  97. Credits.MouseButton1Down:connect(function()
  98. Frame_2.Visible = true
  99. end)
  100.  
  101. close.Name = "close"
  102. close.Parent = Frame
  103. close.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  104. close.BorderSizePixel = 0
  105. close.Position = UDim2.new(0.88967973, 0, 0, 0)
  106. close.Size = UDim2.new(0, 31, 0, 34)
  107. close.Font = Enum.Font.SourceSans
  108. close.Text = "X"
  109. close.TextColor3 = Color3.new(1, 1, 1)
  110. close.TextScaled = true
  111. close.TextSize = 14
  112. close.TextWrapped = true
  113. close.MouseButton1Down:connect(function()
  114. Frame.Visible = false
  115. end)
  116.  
  117. Frame_2.Parent = ScreenGui
  118. Frame_2.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  119. Frame_2.Position = UDim2.new(0.212732926, 0, 0.0910290256, 0)
  120. Frame_2.Size = UDim2.new(0, 281, 0, 175)
  121. Frame_2.Visible = false
  122.  
  123. titlecred.Name = "titlecred"
  124. titlecred.Parent = Frame_2
  125. titlecred.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  126. titlecred.BorderSizePixel = 0
  127. titlecred.Size = UDim2.new(0, 256, 0, 34)
  128. titlecred.Font = Enum.Font.SourceSans
  129. titlecred.Text = "Magnet simulator AUTO FARM"
  130. titlecred.TextColor3 = Color3.new(0.309804, 0.568627, 0.188235)
  131. titlecred.TextScaled = true
  132. titlecred.TextSize = 14
  133. titlecred.TextWrapped = true
  134.  
  135. close_2.Name = "close"
  136. close_2.Parent = Frame_2
  137. close_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  138. close_2.BorderSizePixel = 0
  139. close_2.Position = UDim2.new(0.88967973, 0, 0, 0)
  140. close_2.Size = UDim2.new(0, 31, 0, 34)
  141. close_2.Font = Enum.Font.SourceSans
  142. close_2.Text = "X"
  143. close_2.TextColor3 = Color3.new(1, 1, 1)
  144. close_2.TextScaled = true
  145. close_2.TextSize = 14
  146. close_2.TextWrapped = true
  147. close_2.MouseButton1Down:connect(function()
  148. Frame_2.Visible = false
  149. end)
  150.  
  151. TextBox.Parent = Frame_2
  152. TextBox.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  153. TextBox.Position = UDim2.new(0, 0, 0.194285721, 0)
  154. TextBox.Size = UDim2.new(0, 281, 0, 141)
  155. TextBox.Font = Enum.Font.SourceSans
  156. TextBox.Text = "Dorik1 on v3rm for making GUI. iTzSadButNotRad on v3rm for scripts."
  157. TextBox.TextColor3 = Color3.new(1, 1, 1)
  158. TextBox.TextScaled = true
  159. TextBox.TextSize = 14
  160. TextBox.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement