Run it
Copy the script and paste it into your executor.
Players = :()
LocalPlayer = Players.LocalPlayer
RunService = :()
CoreGui = :()
selectedPlayer =
speed =
clappingSound = .()
clappingSound.SoundId =
clappingSound.Looped =
moving =
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = CoreGui
MainFrame = .()
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Draggable =
MainFrame.Active =
MainFrame.Parent = ScreenGui
Title = .()
Title.Size = .(, , , )
Title.Text =
Title.TextColor3 = .(, , )
Title.BackgroundColor3 = .(, , )
Title.Parent = MainFrame
WarningLabel = .()
WarningLabel.Size = .(, , , )
WarningLabel.Position = .(, , , )
WarningLabel.Text =
WarningLabel.TextColor3 = .(, , )
WarningLabel.BackgroundColor3 = .(, , )
WarningLabel.Parent = MainFrame
PlayerSelector = .()
PlayerSelector.Size = .(, , , )
PlayerSelector.Position = .(, , , )
PlayerSelector.PlaceholderText =
PlayerSelector.TextColor3 = .(, , )
PlayerSelector.BackgroundColor3 = .(, , )
PlayerSelector.ClearTextOnFocus =
PlayerSelector.Parent = MainFrame
PlayerInfo = .()
PlayerInfo.Size = .(, , , )
PlayerInfo.Position = .(, , , )
PlayerInfo.Text =
PlayerInfo.TextColor3 = .(, , )
PlayerInfo.BackgroundColor3 = .(, , )
PlayerInfo.Parent = MainFrame
SpeedLabel = .()
SpeedLabel.Size = .(, , , )
SpeedLabel.Position = .(, , , )
SpeedLabel.Text = .. speed
SpeedLabel.TextColor3 = .(, , )
SpeedLabel.BackgroundColor3 = .(, , )
SpeedLabel.Parent = MainFrame
StartButton = .()
StartButton.Size = .(, , , )
StartButton.Position = .(, , , )
StartButton.Text =
StartButton.TextColor3 = .(, , )
StartButton.BackgroundColor3 = .(, , )
StartButton.Parent = MainFrame
StopButton = .()
StopButton.Size = .(, , , )
StopButton.Position = .(, , , )
StopButton.Text =
StopButton.TextColor3 = .(, , )
StopButton.BackgroundColor3 = .(, , )
StopButton.Parent = MainFrame
MinimizeButton = .()
MinimizeButton.Size = .(, , , )
MinimizeButton.Position = .(, -, , )
MinimizeButton.Text =
MinimizeButton.TextColor3 = .(, , )
MinimizeButton.BackgroundColor3 = .(, , )
MinimizeButton.Parent = MainFrame
()
selectedPlayer
character = LocalPlayer.Character
character
distance =
minDistance =
forward =
moving
selectedPlayer selectedPlayer.Character character
targetPosition
forward
targetPosition = selectedPlayer.Character.HumanoidRootPart.Position - selectedPlayer.Character.HumanoidRootPart.CFrame.LookVector * distance
targetPosition = selectedPlayer.Character.HumanoidRootPart.Position - selectedPlayer.Character.HumanoidRootPart.CFrame.LookVector * minDistance
direction = (targetPosition - character.HumanoidRootPart.Position).unit
smoothPosition = character.HumanoidRootPart.Position + direction * (speed / )
character:(.(smoothPosition))
character.HumanoidRootPart.CFrame = .(smoothPosition, selectedPlayer.Character.HumanoidRootPart.Position)
(character.HumanoidRootPart.Position - targetPosition).Magnitude <
forward = forward
RunService.Heartbeat:()
()
clappingSound.Parent
clappingSound.Parent = LocalPlayer.Character:()
clappingSound:()
minimized =
MinimizeButton.MouseButton1Click:(()
minimized = minimized
_, child (MainFrame:())
child:() child:()
child.Visible = minimized
)
StartButton.MouseButton1Click:(()
selectedPlayer
moving =
()
()
()
)
StopButton.MouseButton1Click:(()
moving =
clappingSound:()
)
PlayerSelector.FocusLost:(()
playerName = PlayerSelector.Text:()
_, player (Players:())
player.Name:():(, #playerName) == playerName player.DisplayName:():(, #playerName) == playerName
selectedPlayer = player
PlayerInfo.Text = .. player.DisplayName .. .. player.Name ..
PlayerInfo.Text =
)This allows you to bang/clap players