Hydasi

Ahmed's Stroller GUI

Jul 27th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.39 KB | None | 0 0
  1. local strollername = "Stroller"
  2.  
  3.  
  4.  
  5. -----------------------------------------------------
  6. -----------------------------------------------------
  7. -----------------------------------------------------
  8.  
  9. local plrs = game:GetService("Players")
  10. local lp = plrs.LocalPlayer
  11.  
  12.  
  13. function GetPlayer(String)
  14. local Found = {}
  15. local strl = String:lower()
  16. if strl == "all" then
  17. for i,v in pairs(game.Players:GetPlayers()) do
  18. table.insert(Found,v.Name)
  19. end
  20. elseif strl == "others" then
  21. for i,v in pairs(game.Players:GetPlayers()) do
  22. if v.Name ~= game.Players.LocalPlayer.Name then
  23. table.insert(Found,v.Name)
  24. end
  25. end
  26. elseif strl == "me" then
  27. for i,v in pairs(game.Players:GetPlayers()) do
  28. if v.Name == game.Players.LocalPlayer.Name then
  29. table.insert(Found,v.Name)
  30. end
  31. end
  32. else
  33. for i,v in pairs(game.Players:GetPlayers()) do
  34. if v.Name:lower():sub(1, #String) == String:lower() then
  35. table.insert(Found,v.Name)
  36. end
  37. end
  38. end
  39. return Found
  40. end
  41.  
  42. local ScreenGui = Instance.new("ScreenGui")
  43. local Frame = Instance.new("Frame")
  44. local TextBox = Instance.new("TextBox")
  45. local TextButton = Instance.new("TextButton")
  46. local TextLabel = Instance.new("TextLabel")
  47. local TextLabel_2 = Instance.new("TextLabel")
  48. local TextLabel_3 = Instance.new("TextLabel")
  49. local TextButton_2 = Instance.new("TextButton")
  50. --Properties:
  51. ScreenGui.Parent = game.CoreGui
  52. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  53.  
  54. Frame.Parent = ScreenGui
  55. Frame.Active = true
  56. Frame.Draggable = true
  57. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  58. Frame.BackgroundTransparency = 0.3
  59. Frame.BorderSizePixel = 2
  60. Frame.Position = UDim2.new(0.668441474, 0, 0.470663309, 0)
  61. Frame.Size = UDim2.new(0, 214, 0, 179)
  62.  
  63. TextBox.Parent = Frame
  64. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  65. TextBox.BackgroundTransparency = 0.60000002384186
  66. TextBox.Position = UDim2.new(0.121255755, 0, 0.20518297, 0)
  67. TextBox.Size = UDim2.new(0, 162, 0, 33)
  68. TextBox.Font = Enum.Font.Code
  69. TextBox.Text = ""
  70. TextBox.TextColor3 = Color3.new(0, 0, 0)
  71. TextBox.TextSize = 14
  72.  
  73. TextButton.Parent = Frame
  74. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  75. TextButton.BackgroundTransparency = 0.60000002384186
  76. TextButton.Position = UDim2.new(0.121256039, 0, 0.45394522, 0)
  77. TextButton.Size = UDim2.new(0, 162, 0, 30)
  78. TextButton.Font = Enum.Font.Code
  79. TextButton.Text = "Kill"
  80. TextButton.TextColor3 = Color3.new(0, 0, 0)
  81. TextButton.TextSize = 20
  82. TextButton.MouseButton1Click:connect(function()
  83. local target = GetPlayer(TextBox.Text)
  84. local savepos = lp.Character.HumanoidRootPart.CFrame
  85.  
  86. for i,v in pairs(target) do
  87.  
  88. lp.Character.Humanoid:UnequipTools()
  89. lp.Character.Humanoid:EquipTool(lp.Backpack[strollername])
  90.  
  91. pod = 1.86
  92. while pod < 2 do
  93. plrs[v].Character.HumanoidRootPart.CFrame = lp.Character.HumanoidRootPart.CFrame + lp.Character.HumanoidRootPart.CFrame.lookVector * 4
  94. wait()
  95. pod = pod + 0.02
  96. end
  97.  
  98. lp.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999, -350, 99999))
  99. wait(0.3)
  100. lp.Character.Humanoid:UnequipTools()
  101. wait(0.3)
  102.  
  103. lp.Character.HumanoidRootPart.CFrame = savepos
  104.  
  105. end
  106.  
  107. end)
  108.  
  109. TextLabel.Parent = Frame
  110. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  111. TextLabel.BackgroundTransparency = 0.60000002384186
  112. TextLabel.BorderSizePixel = 0
  113. TextLabel.Position = UDim2.new(0, 0, 0.899441183, 0)
  114. TextLabel.Size = UDim2.new(0, 214, 0, 18)
  115. TextLabel.Font = Enum.Font.SourceSans
  116. TextLabel.Text = "ScriptX#1566"
  117. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  118. TextLabel.TextSize = 14
  119.  
  120. TextLabel_2.Parent = Frame
  121. TextLabel_2.BackgroundColor3 = Color3.new(0.74902, 0.572549, 0.745098)
  122. TextLabel_2.BackgroundTransparency = 1
  123. TextLabel_2.BorderSizePixel = 0
  124. TextLabel_2.Position = UDim2.new(0, 0, -1.70489258e-07, 0)
  125. TextLabel_2.Size = UDim2.new(0, 214, 0, 24)
  126. TextLabel_2.Font = Enum.Font.SourceSans
  127. TextLabel_2.Text = "Ahmed's Stroller GUI"
  128. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  129. TextLabel_2.TextSize = 14
  130.  
  131. TextLabel_3.Parent = Frame
  132. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  133. TextLabel_3.BorderSizePixel = 0
  134. TextLabel_3.Position = UDim2.new(0.112327501, 0, 0.129720688, 0)
  135. TextLabel_3.Size = UDim2.new(0, 162, 0, 1)
  136. TextLabel_3.Font = Enum.Font.SourceSans
  137. TextLabel_3.Text = ""
  138. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  139. TextLabel_3.TextSize = 14
  140.  
  141. TextButton_2.Parent = Frame
  142. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  143. TextButton_2.BackgroundTransparency = 0.60000002384186
  144. TextButton_2.Position = UDim2.new(0.116583139, 0, 0.682995498, 0)
  145. TextButton_2.Size = UDim2.new(0, 162, 0, 30)
  146. TextButton_2.Font = Enum.Font.Code
  147. TextButton_2.Text = "Bring"
  148. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  149. TextButton_2.TextSize = 20
  150. TextButton_2.MouseButton1Click:connect(function()
  151. local target = GetPlayer(TextBox.Text)
  152. local savepos = lp.Character.HumanoidRootPart.CFrame
  153.  
  154. for i,v in pairs(target) do
  155.  
  156. lp.Character.Humanoid:UnequipTools()
  157. lp.Character.Humanoid:EquipTool(lp.Backpack[strollername])
  158.  
  159. pod = 1.86
  160. while pod < 2 do
  161. plrs[v].Character.HumanoidRootPart.CFrame = lp.Character.HumanoidRootPart.CFrame + lp.Character.HumanoidRootPart.CFrame.lookVector * 4
  162. wait(0.01)
  163. pod = pod + 0.02
  164. end
  165.  
  166. wait(0.3)
  167. lp.Character.HumanoidRootPart.CFrame = savepos
  168. wait(0.3)
  169. lp.Character.Humanoid:UnequipTools()
  170.  
  171. end
  172.  
  173. end)
Add Comment
Please, Sign In to add comment