Advertisement
Guest User

Epic

a guest
May 23rd, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. local VacuumIt = Instance.new("ScreenGui")
  2. local MainFrame = Instance.new("Frame")
  3. local Start = Instance.new("TextButton")
  4. local Stop = Instance.new("TextButton")
  5. local Title = Instance.new("TextLabel")
  6. local Close = Instance.new("TextButton")
  7. local Open = Instance.new("TextButton")
  8.  
  9. VacuumIt.Name = "VacuumIt"
  10. VacuumIt.Parent = game.CoreGui
  11. VacuumIt.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. MainFrame.Name = "MainFrame"
  14. MainFrame.Parent = VacuumIt
  15. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  16. MainFrame.BackgroundTransparency = 0.40000000596046
  17. MainFrame.BorderSizePixel = 0
  18. MainFrame.Position = UDim2.new(0.386745095, 0, 1.242838994, 0)
  19. MainFrame.Size = UDim2.new(0, 434, 0, 611)
  20.  
  21. Start.Name = "Start"
  22. Start.Parent = MainFrame
  23. Start.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Start.BackgroundTransparency = 0.69999998807907
  25. Start.BorderSizePixel = 0
  26. Start.Position = UDim2.new(0.107196011, 0, 0.191832572, 0)
  27. Start.Size = UDim2.new(0, 339, 0, 100)
  28. Start.Font = Enum.Font.GothamBold
  29. Start.Text = "Start Farming"
  30. Start.TextColor3 = Color3.new(0, 0, 0)
  31. Start.TextScaled = true
  32. Start.TextSize = 14
  33. Start.TextWrapped = true
  34.  
  35. Stop.Name = "Stop"
  36. Stop.Parent = MainFrame
  37. Stop.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Stop.BackgroundTransparency = 0.69999998807907
  39. Stop.BorderSizePixel = 0
  40. Stop.Position = UDim2.new(0.109500155, 0, 0.61081785, 0)
  41. Stop.Size = UDim2.new(0, 339, 0, 100)
  42. Stop.Font = Enum.Font.GothamBold
  43. Stop.Text = "Stop Farming"
  44. Stop.TextColor3 = Color3.new(0, 0, 0)
  45. Stop.TextScaled = true
  46. Stop.TextSize = 14
  47. Stop.TextWrapped = true
  48.  
  49. Title.Name = "Title"
  50. Title.Parent = MainFrame
  51. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Title.BackgroundTransparency = 1
  53. Title.Size = UDim2.new(0, 434, 0, 82)
  54. Title.Font = Enum.Font.SourceSans
  55. Title.Text = "VacuumIt"
  56. Title.TextColor3 = Color3.new(1, 1, 1)
  57. Title.TextScaled = true
  58. Title.TextSize = 14
  59. Title.TextWrapped = true
  60.  
  61. Close.Name = "Close"
  62. Close.Parent = MainFrame
  63. Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  64. Close.BackgroundTransparency = 0.69999998807907
  65. Close.BorderSizePixel = 0
  66. Close.Position = UDim2.new(0, 0, 0.903495014, 0)
  67. Close.Size = UDim2.new(0, 434, 0, 58)
  68. Close.Font = Enum.Font.GothamBold
  69. Close.Text = "Close"
  70. Close.TextColor3 = Color3.new(0, 0, 0)
  71. Close.TextScaled = true
  72. Close.TextSize = 14
  73. Close.TextWrapped = true
  74.  
  75. Open.Name = "Open"
  76. Open.Parent = VacuumIt
  77. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Open.BackgroundTransparency = 1
  79. Open.Position = UDim2.new(0.908514977, 0, 0.952718437, 0)
  80. Open.Size = UDim2.new(0, 174, 0, 50)
  81. Open.Font = Enum.Font.GothamSemibold
  82. Open.Text = "Open"
  83. Open.TextColor3 = Color3.new(0, 1, 0.164706)
  84. Open.TextScaled = true
  85. Open.TextSize = 14
  86. Open.TextWrapped = true
  87.  
  88. Open.MouseButton1Click:Connect(function()
  89. Open:TweenPosition(UDim2.new(0.909, 0,1.953, 0), "Out", "Quad", 0.5)
  90. MainFrame:TweenPosition(UDim2.new(0.387, 0,0.243, 0), "Out", "Back", 1)
  91. end)
  92.  
  93. Close.MouseButton1Click:Connect(function()
  94. MainFrame:TweenPosition(UDim2.new(0.387, 0,1.243, 0), "Out", "Quad", 1)
  95. Open:TweenPosition(UDim2.new(0.909, 0,0.953, 0), "Out", "Quad", 0.5)
  96. end)
  97.  
  98. Start.MouseButton1Click:Connect(function()
  99. while true do
  100. wait(0)
  101. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = game.Workspace.GameComponents.SellStuff.Part.Position
  102. local Remote = game.ReplicatedStorage.Events['VacuumObject']
  103.  
  104. local Arguments = {
  105. [1] = Vector3.new(-1942.8064,-147.84935,-852.701904)
  106. }
  107.  
  108. Remote:FireServer(unpack(Arguments))
  109. end
  110. end)
  111.  
  112. Stop.MouseButton1Click:Connect(function()
  113. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement