Run it
Copy the script and paste it into your executor.
Players = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
RunService = :()
UserInputService = :()
MAIN_COLOR = .(, , )
SECONDARY_COLOR = .(, , )
ACCENT_COLOR = .(, , )
TEXT_COLOR = .(, , )
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
Frame = .()
Frame.Size = .(, , , )
Frame.Position = .(, -, , )
Frame.AnchorPoint = .(, )
Frame.BackgroundColor3 = MAIN_COLOR
Frame.BorderSizePixel =
Frame.ClipsDescendants =
Frame.Parent = ScreenGui
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = Frame
UIStroke = .()
UIStroke.Color = .(, , )
UIStroke.Thickness =
UIStroke.Parent = Frame
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = SECONDARY_COLOR
TitleBar.BorderSizePixel =
TitleBar.Parent = Frame
UICorner2 = .()
UICorner2.CornerRadius = .(, )
UICorner2.Parent = TitleBar
Title = .()
Title.Text =
Title.Size = .(, -, , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.TextColor3 = TEXT_COLOR
Title.Font = .Font.GothamBold
Title.TextXAlignment = .TextXAlignment.Left
Title.Parent = TitleBar
CloseButton = .()
CloseButton.Text =
CloseButton.Size = .(, , , )
CloseButton.Position = .(, -, , )
CloseButton.BackgroundColor3 = SECONDARY_COLOR
CloseButton.TextColor3 = TEXT_COLOR
CloseButton.Font = .Font.GothamBold
CloseButton.Parent = TitleBar
dragging
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
Frame.Position =
.(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
TitleBar.InputBegan:(
(input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = Frame.Position
input.Changed:(
()
input.UserInputState == .UserInputState.End
dragging =
)
)
TitleBar.InputChanged:(
(input)
input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
UserInputService.InputChanged:(
(input)
input == dragInput dragging
(input)
)
SearchBox = .()
SearchBox.PlaceholderText =
SearchBox.Size = .(, , , )
SearchBox.Position = .(, , , )
SearchBox.BackgroundColor3 = SECONDARY_COLOR
SearchBox.TextColor3 = TEXT_COLOR
SearchBox.ClearTextOnFocus =
SearchBox.Font = .Font.Gotham
SearchBox.TextSize =
SearchBox.Parent = Frame
SearchBoxCorner = .()
SearchBoxCorner.CornerRadius = .(, )
SearchBoxCorner.Parent = SearchBox
SuggestionsFrame = .()
SuggestionsFrame.Size = .(, , , )
SuggestionsFrame.Position = .(, , , )
SuggestionsFrame.BackgroundColor3 = SECONDARY_COLOR
SuggestionsFrame.Visible =
SuggestionsFrame.AutomaticCanvasSize = .AutomaticSize.Y
SuggestionsFrame.ScrollBarThickness =
SuggestionsFrame.ScrollBarImageColor3 = ACCENT_COLOR
SuggestionsFrame.Parent = Frame
SuggestionsCorner = .()
SuggestionsCorner.CornerRadius = .(, )
SuggestionsCorner.Parent = SuggestionsFrame
UIListLayout = .()
UIListLayout.Padding = .(, )
UIListLayout.Parent = SuggestionsFrame
ToggleButton = .()
ToggleButton.Text =
ToggleButton.Size = .(, , , )
ToggleButton.Position = .(, , , )
ToggleButton.BackgroundColor3 = ACCENT_COLOR
ToggleButton.TextColor3 = TEXT_COLOR
ToggleButton.Font = .Font.GothamBold
ToggleButton.TextSize =
ToggleButton.Parent = Frame
ToggleButtonCorner = .()
ToggleButtonCorner.CornerRadius = .(, )
ToggleButtonCorner.Parent = ToggleButton
ESP = {
Enabled = ,
Players = {},
Boxes = {},
HealthBars = {},
Names = {},
Tracers =
}
ESP:(player)
self.Players[player]
character = player.Character
character
player.CharacterAdded:()
character = player.Character
humanoid = character:()
box = .()
box.Name =
box.Adornee = character
box.AlwaysOnTop =
box.ZIndex =
box.Size = character:() *
box.Transparency =
box.Color3 = player.TeamColor.Color
box.Parent = character
healthBar = .()
healthBar.Name =
healthBar.Adornee = character
healthBar.AlwaysOnTop =
healthBar.Size = .(, , , )
healthBar.StudsOffset = .(, character:().Y / + , )
healthBar.Parent = character
barFrame = .()
barFrame.BackgroundColor3 = .(, , )
barFrame.BorderSizePixel =
barFrame.BorderColor3 = .(, , )
barFrame.Size = .(, , , )
barFrame.Parent = healthBar
healthFill = .()
healthFill.BackgroundColor3 = .(, , )
healthFill.BorderSizePixel =
healthFill.Size = .(humanoid.Health / humanoid.MaxHealth, , , )
healthFill.Parent = barFrame
nameLabel = .()
nameLabel.Name =
nameLabel.Adornee = character
nameLabel.AlwaysOnTop =
nameLabel.Size = .(, , , )
nameLabel.StudsOffset = .(, character:().Y / + , )
nameLabel.Parent = character
nameText = .()
nameText.BackgroundTransparency =
nameText.Text = player.Name
nameText.TextColor3 = player.TeamColor.Color
nameText.TextStrokeTransparency =
nameText.TextSize =
nameText.Font = .Font.GothamBold
nameText.Size = .(, , , )
nameText.Parent = nameLabel
self.Players[player] =
self.Boxes[player] = box
self.HealthBars[player] = {
gui = healthBar,
fill = healthFill,
humanoid = humanoid
}
self.Names[player] = nameLabel
humanoid.HealthChanged:(
()
humanoid.Health <=
healthFill.Size = .(, , , )
healthFill.Size = .(humanoid.Health / humanoid.MaxHealth, , , )
healthFill.BackgroundColor3 =
.( - (humanoid.Health / humanoid.MaxHealth), humanoid.Health / humanoid.MaxHealth, )
)
character.AncestryChanged:(
(_, parent)
parent
self:(player)
)
player.CharacterAdded:(
(newChar)
self:(player)
()
self:(player)
)
ESP:(player)
self.Boxes[player]
self.Boxes[player]:()
self.Boxes[player] =
self.HealthBars[player]
self.HealthBars[player].gui:()
self.HealthBars[player] =
self.Names[player]
self.Names[player]:()
self.Names[player] =
self.Players[player] =
ESP:(player, state)
state
self:(player)
self:(player)
selectedPlayer =
(searchText)
SuggestionsFrame:()
searchText ==
SuggestionsFrame.Visible =
foundAny =
_, player (Players:())
player ~= LocalPlayer .(.(player.Name), .(searchText))
suggestionButton = .()
suggestionButton.Text = player.Name
suggestionButton.Size = .(, -, , )
suggestionButton.Position = .(, , , )
suggestionButton.BackgroundColor3 = MAIN_COLOR
suggestionButton.TextColor3 = TEXT_COLOR
suggestionButton.Font = .Font.Gotham
suggestionButton.TextSize =
suggestionButton.AutoButtonColor =
suggestionButton.Parent = SuggestionsFrame
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = suggestionButton
suggestionButton.MouseEnter:(
()
suggestionButton.BackgroundColor3 = SECONDARY_COLOR
)
suggestionButton.MouseLeave:(
()
suggestionButton.BackgroundColor3 = MAIN_COLOR
)
suggestionButton.MouseButton1Click:(
()
SearchBox.Text = player.Name
selectedPlayer = player
SuggestionsFrame.Visible =
)
foundAny =
SuggestionsFrame.Visible = foundAny
SearchBox:():(
()
(SearchBox.Text)
)
SearchBox.Focused:(
()
(SearchBox.Text)
)
SearchBox.FocusLost:(
()
()
SuggestionsFrame.Visible =
)
ToggleButton.MouseButton1Click:(
()
selectedPlayer
ESP:(selectedPlayer, ESP.Players[selectedPlayer])
ToggleButton.BackgroundColor3 = ESP.Players[selectedPlayer] .(, , ) ACCENT_COLOR
ToggleButton.Text = ESP.Players[selectedPlayer]
)
CloseButton.MouseButton1Click:(
()
ScreenGui:()
)
Players.PlayerRemoving:(
(player)
ESP:(player)
selectedPlayer == player
selectedPlayer =
SearchBox.Text =
ToggleButton.BackgroundColor3 = ACCENT_COLOR
ToggleButton.Text =
)
_, player (Players:())
player ~= LocalPlayer
player.CharacterAdded:(
(character)
selectedPlayer == player ESP.Players[player]
ESP:(player)
)
Players.PlayerAdded:(
(player)
player.CharacterAdded:(
(character)
selectedPlayer == player ESP.Players[player]
ESP:(player)
)
)Just an ESP gui