Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
TweenService = :()
LOCAL_PLAYER = Players.LocalPlayer
MONSTER_FOLDER = :()
DEBOUNCE_TIME =
COLORS = {
DEFAULT = .(, , ),
HIGHLIGHTED = .(, , ),
MONSTER = .(, , ),
NEUTRAL = .(, , )
}
State = {
isESPEnabled = ,
lastActivationTime = ,
highlightedPlayer = ,
monsterPlayer = ,
connections = {}
}
(func)
(...)
now = ()
now - State.lastActivationTime < DEBOUNCE_TIME
State.lastActivationTime = now
(...)
(player, color)
highlight = .()
highlight.FillColor = color
highlight.FillTransparency =
highlight.OutlineColor = color
highlight.OutlineTransparency =
highlight.Adornee = player.Character
highlight.Parent = player.Character
highlight
(player)
player == LOCAL_PLAYER
highlight = player.Character:()
highlight
highlight = (player, COLORS.DEFAULT)
color = COLORS.DEFAULT
player == State.highlightedPlayer
color = COLORS.HIGHLIGHTED
player == State.monsterPlayer
color = COLORS.MONSTER
player.Backpack
player.Backpack:()
State.highlightedPlayer = player
color = COLORS.HIGHLIGHTED
player.Backpack:()
State.monsterPlayer = player
color = COLORS.MONSTER
color = COLORS.NEUTRAL
highlight.FillColor = color
highlight.OutlineColor = color
()
_, monster (MONSTER_FOLDER:())
monster:() monster.Name:(, ) ==
player = Players:(monster.Name:())
player
State.monsterPlayer = player
()
State.isESPEnabled
_, player (Players:())
(player)
()
()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = .CoreGui
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = MainFrame
Title = .()
Title.Name =
Title.Size = .(, -, , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.Text =
Title.TextColor3 = .(, , )
Title.TextSize =
Title.Font = .Font.SourceSansBold
Title.Parent = MainFrame
ToggleButton = .()
ToggleButton.Name =
ToggleButton.Size = .(, , , )
ToggleButton.Position = .(, , , -)
ToggleButton.BackgroundColor3 = .(, , )
ToggleButton.BorderSizePixel =
ToggleButton.Text =
ToggleButton.TextColor3 = .(, , )
ToggleButton.TextSize =
ToggleButton.Font = .Font.SourceSansBold
ToggleButton.Parent = MainFrame
ButtonCorner = .()
ButtonCorner.CornerRadius = .(, )
ButtonCorner.Parent = ToggleButton
CloseButton = ToggleButton:()
CloseButton.Name =
CloseButton.Size = .(, , , )
CloseButton.Position = .(, -, , )
CloseButton.BackgroundColor3 = .(, , )
CloseButton.Text =
CloseButton.Parent = MainFrame
MobileToggle = ToggleButton:()
MobileToggle.Name =
MobileToggle.Size = .(, , , )
MobileToggle.Position = .(, , , )
MobileToggle.Text =
MobileToggle.Parent = ScreenGui
MobileToggle.Visible = UserInputService.TouchEnabled
{
mainFrame = MainFrame,
toggleButton = ToggleButton,
closeButton = CloseButton,
mobileToggle = MobileToggle
}
()
gui = ()
()
State.isESPEnabled = State.isESPEnabled
gui.toggleButton.Text = State.isESPEnabled
gui.toggleButton.BackgroundColor3 = State.isESPEnabled .(, , ) .(, , )
State.isESPEnabled
.(State.connections, RunService.Heartbeat:(updateESP))
_, connection (State.connections)
connection:()
State.connections = {}
_, player (Players:())
highlight = player.Character player.Character:()
highlight highlight:()
State.highlightedPlayer, State.monsterPlayer = ,
gui.toggleButton.MouseButton1Click:((toggleESP))
gui.closeButton.MouseButton1Click:(() gui.mainFrame.Visible = )
gui.mobileToggle.MouseButton1Click:(() gui.mainFrame.Visible = gui.mainFrame.Visible )
dragging, dragInput, dragStart, startPos
gui.mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = gui.mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
gui.mainFrame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
gui.mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.G
gui.mainFrame.Visible = gui.mainFrame.Visible
)
gui.mainFrame.Visible =
()esp in every game, yuh