Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TheStreets = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Heading = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local LOOP = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- TheStreets.Name = "The Streets"
- TheStreets.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- TheStreets.ResetOnSpawn = false
- Main.Name = "Main"
- Main.Parent = TheStreets
- Main.BackgroundColor3 = Color3.new(0, 0, 0)
- Main.Position = UDim2.new(0,-600,0,266)
- Main.Size = UDim2.new(0, 450, 0, 250)
- Main.Visible = false
- Main.Active = true
- Main.Visible = true
- Main.Draggable = true
- Heading.Name = "Heading"
- Heading.Parent = Main
- Heading.BackgroundColor3 = Color3.new(0, 0, 0)
- Heading.Size = UDim2.new(0, 400, 0, 50)
- Heading.Font = Enum.Font.ArialBold
- Heading.Text = "The Streets"
- Heading.TextColor3 = Color3.new(1, 1, 1)
- Heading.TextScaled = true
- Heading.TextSize = 14
- Heading.TextWrapped = true
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.Position = UDim2.new(0.888888896, 0, 0, 0)
- Close.Size = UDim2.new(0, 50, 0, 49)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 14
- Close.MouseButton1Down:connect(function()
- Frame.Visible = true
- Main:TweenPosition(UDim2.new(0,-600,0,266), "Out", "Quad", 1)
- end)
- local loop = false
- LOOP.Name = "LOOP"
- LOOP.Parent = Main
- LOOP.BackgroundColor3 = Color3.new(0, 0, 0)
- LOOP.Position = UDim2.new(0, 0, 0.197999999, 0)
- LOOP.Size = UDim2.new(0, 150, 0, 50)
- LOOP.Font = Enum.Font.SourceSans
- LOOP.Text = "LOOP : OFF"
- LOOP.TextColor3 = Color3.new(1, 1, 1)
- LOOP.TextSize = 14
- LOOP.MouseButton1Down:connect(function()
- if not loop then
- LOOP.Text = 'LOOP : ON'
- loop = true
- repeat
- local char = game.Players.LocalPlayer.Character;
- local descendants = char:GetDescendants()
- for index, descendant in pairs(descendants) do
- char:GetDescendants();
- if descendant:IsA("Tool") then
- descendant:Remove()
- end
- end
- wait()
- until loop == false
- else
- LOOP.Text = 'LOOP : OFF'
- loop = false
- end
- end)
- Frame.Parent = TheStreets
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0.926620662, 0, 0.47410357, 0)
- Frame.Size = UDim2.new(0, 100, 0, 25)
- Open.Name = "Open"
- Open.Parent = Frame
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.Size = UDim2.new(0, 100, 0, 25)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(1, 1, 1)
- Open.TextSize = 14
- Open.MouseButton1Down:connect(function()
- Main:TweenPosition(UDim2.new(0.336689293, 0, 0.300390422, 0), "In", "Quad", 1)
- Frame.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement