Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. local TheStreets = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Heading = Instance.new("TextLabel")
  4. local Close = Instance.new("TextButton")
  5. local LOOP = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local Open = Instance.new("TextButton")
  8.  
  9. TheStreets.Name = "The Streets"
  10. TheStreets.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  11. TheStreets.ResetOnSpawn = false
  12.  
  13. Main.Name = "Main"
  14. Main.Parent = TheStreets
  15. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  16. Main.Position = UDim2.new(0,-600,0,266)
  17. Main.Size = UDim2.new(0, 450, 0, 250)
  18. Main.Visible = false
  19. Main.Active = true
  20. Main.Visible = true
  21. Main.Draggable = true
  22.  
  23. Heading.Name = "Heading"
  24. Heading.Parent = Main
  25. Heading.BackgroundColor3 = Color3.new(0, 0, 0)
  26. Heading.Size = UDim2.new(0, 400, 0, 50)
  27. Heading.Font = Enum.Font.ArialBold
  28. Heading.Text = "The Streets"
  29. Heading.TextColor3 = Color3.new(1, 1, 1)
  30. Heading.TextScaled = true
  31. Heading.TextSize = 14
  32. Heading.TextWrapped = true
  33.  
  34. Close.Name = "Close"
  35. Close.Parent = Main
  36. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  37. Close.Position = UDim2.new(0.888888896, 0, 0, 0)
  38. Close.Size = UDim2.new(0, 50, 0, 49)
  39. Close.Font = Enum.Font.SourceSans
  40. Close.Text = "X"
  41. Close.TextColor3 = Color3.new(1, 1, 1)
  42. Close.TextSize = 14
  43. Close.MouseButton1Down:connect(function()
  44. Frame.Visible = true
  45. Main:TweenPosition(UDim2.new(0,-600,0,266), "Out", "Quad", 1)
  46. end)
  47.  
  48. local loop = false
  49.  
  50. LOOP.Name = "LOOP"
  51. LOOP.Parent = Main
  52. LOOP.BackgroundColor3 = Color3.new(0, 0, 0)
  53. LOOP.Position = UDim2.new(0, 0, 0.197999999, 0)
  54. LOOP.Size = UDim2.new(0, 150, 0, 50)
  55. LOOP.Font = Enum.Font.SourceSans
  56. LOOP.Text = "LOOP : OFF"
  57. LOOP.TextColor3 = Color3.new(1, 1, 1)
  58. LOOP.TextSize = 14
  59. LOOP.MouseButton1Down:connect(function()
  60. if not loop then
  61. LOOP.Text = 'LOOP : ON'
  62. loop = true
  63. repeat
  64. local char = game.Players.LocalPlayer.Character;
  65. local descendants = char:GetDescendants()
  66.  
  67. for index, descendant in pairs(descendants) do
  68. char:GetDescendants();
  69. if descendant:IsA("Tool") then
  70. descendant:Remove()
  71. end
  72. end
  73. wait()
  74. until loop == false
  75. else
  76. LOOP.Text = 'LOOP : OFF'
  77. loop = false
  78. end
  79. end)
  80.  
  81. Frame.Parent = TheStreets
  82. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  83. Frame.Position = UDim2.new(0.926620662, 0, 0.47410357, 0)
  84. Frame.Size = UDim2.new(0, 100, 0, 25)
  85.  
  86. Open.Name = "Open"
  87. Open.Parent = Frame
  88. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  89. Open.Size = UDim2.new(0, 100, 0, 25)
  90. Open.Font = Enum.Font.SourceSans
  91. Open.Text = "Open"
  92. Open.TextColor3 = Color3.new(1, 1, 1)
  93. Open.TextSize = 14
  94. Open.MouseButton1Down:connect(function()
  95. Main:TweenPosition(UDim2.new(0.336689293, 0, 0.300390422, 0), "In", "Quad", 1)
  96. Frame.Visible = false
  97. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement