Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local VacuumIt = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Start = Instance.new("TextButton")
- local Stop = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- VacuumIt.Name = "VacuumIt"
- VacuumIt.Parent = game.CoreGui
- VacuumIt.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = VacuumIt
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainFrame.BackgroundTransparency = 0.40000000596046
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.386745095, 0, 1.242838994, 0)
- MainFrame.Size = UDim2.new(0, 434, 0, 611)
- Start.Name = "Start"
- Start.Parent = MainFrame
- Start.BackgroundColor3 = Color3.new(1, 1, 1)
- Start.BackgroundTransparency = 0.69999998807907
- Start.BorderSizePixel = 0
- Start.Position = UDim2.new(0.107196011, 0, 0.191832572, 0)
- Start.Size = UDim2.new(0, 339, 0, 100)
- Start.Font = Enum.Font.GothamBold
- Start.Text = "Start Farming"
- Start.TextColor3 = Color3.new(0, 0, 0)
- Start.TextScaled = true
- Start.TextSize = 14
- Start.TextWrapped = true
- Stop.Name = "Stop"
- Stop.Parent = MainFrame
- Stop.BackgroundColor3 = Color3.new(1, 1, 1)
- Stop.BackgroundTransparency = 0.69999998807907
- Stop.BorderSizePixel = 0
- Stop.Position = UDim2.new(0.109500155, 0, 0.61081785, 0)
- Stop.Size = UDim2.new(0, 339, 0, 100)
- Stop.Font = Enum.Font.GothamBold
- Stop.Text = "Stop Farming"
- Stop.TextColor3 = Color3.new(0, 0, 0)
- Stop.TextScaled = true
- Stop.TextSize = 14
- Stop.TextWrapped = true
- Title.Name = "Title"
- Title.Parent = MainFrame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(0, 434, 0, 82)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "VacuumIt"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Close.Name = "Close"
- Close.Parent = MainFrame
- Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- Close.BackgroundTransparency = 0.69999998807907
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0, 0, 0.903495014, 0)
- Close.Size = UDim2.new(0, 434, 0, 58)
- Close.Font = Enum.Font.GothamBold
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextWrapped = true
- Open.Name = "Open"
- Open.Parent = VacuumIt
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BackgroundTransparency = 1
- Open.Position = UDim2.new(0.908514977, 0, 0.952718437, 0)
- Open.Size = UDim2.new(0, 174, 0, 50)
- Open.Font = Enum.Font.GothamSemibold
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 1, 0.164706)
- Open.TextScaled = true
- Open.TextSize = 14
- Open.TextWrapped = true
- Open.MouseButton1Click:Connect(function()
- Open:TweenPosition(UDim2.new(0.909, 0,1.953, 0), "Out", "Quad", 0.5)
- MainFrame:TweenPosition(UDim2.new(0.387, 0,0.243, 0), "Out", "Back", 1)
- end)
- Close.MouseButton1Click:Connect(function()
- MainFrame:TweenPosition(UDim2.new(0.387, 0,1.243, 0), "Out", "Quad", 1)
- Open:TweenPosition(UDim2.new(0.909, 0,0.953, 0), "Out", "Quad", 0.5)
- end)
- Start.MouseButton1Click:Connect(function()
- while true do
- wait(0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = game.Workspace.GameComponents.SellStuff.Part.Position
- local Remote = game.ReplicatedStorage.Events['VacuumObject']
- local Arguments = {
- [1] = Vector3.new(-1942.8064,-147.84935,-852.701904)
- }
- Remote:FireServer(unpack(Arguments))
- end
- end)
- Stop.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement