FurkingBoi

Magnet Simulator Auto Farm GUI

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