Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
Workspace = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
Camera = Workspace.CurrentCamera
GUI_NAME =
DISCORD =
old = PlayerGui:(GUI_NAME)
old old:()
Settings = {
LockOn = ,
Players = ,
NPCs = ,
LineOfSight = ,
ShowFOV = ,
ShowMarker = ,
FOV = ,
Smoothness = ,
ColorIndex = ,
}
Palette = {
{name = , color = .(, , )},
{name = , color = .(, , )},
{name = , color = .(, , )},
{name = , color = .(, , )},
{name = , color = .(, , )},
}
() Palette[Settings.ColorIndex].color
BG = .(, , )
PANEL = .(, , )
PANEL2 = .(, , )
MUTED = .(, , )
WHITE = .(, , )
(className, props, parent)
obj = .(className)
k, v (props) obj[k] = v
obj.Parent = parent
obj
(parent, radius)
(, {CornerRadius = .(, radius)}, parent)
(parent, color, thickness, transparency)
(, {Color = color, Thickness = thickness , Transparency = transparency }, parent)
GUI = (, {
Name = GUI_NAME, ResetOnSpawn = , IgnoreGuiInset = ,
DisplayOrder = , ZIndexBehavior = .ZIndexBehavior.Sibling,
}, PlayerGui)
Main = (, {
Name = , Size = .(, ),
Position = .(, , , -),
BackgroundColor3 = BG, BorderSizePixel = , Active = ,
}, GUI)
(Main, )
(Main, .(, , ), , )
Top = (, {
Name = , Size = .(, , , ),
BackgroundColor3 = PANEL, BorderSizePixel = , Active = ,
}, Main)
(Top, )
(, {Position = .(, , , -), Size = .(, , , ), BackgroundColor3 = PANEL, BorderSizePixel = }, Top)
AccentBar = (, {Position = .(, ), Size = .(, ), BackgroundColor3 = (), BorderSizePixel = }, Top)
(AccentBar, )
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = , TextColor3 = WHITE, TextSize = , Font = .Font.GothamBlack, TextXAlignment = .TextXAlignment.Left}, Top)
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = , TextColor3 = MUTED, TextSize = , Font = .Font.GothamBold, TextXAlignment = .TextXAlignment.Left}, Top)
Hide = (, {Position = .(, -, , ), Size = .(, ), BackgroundColor3 = PANEL2, Text = , TextColor3 = WHITE, TextSize = , Font = .Font.GothamBold}, Top)
(Hide, )
Status = (, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = , TextColor3 = MUTED, TextSize = , Font = .Font.GothamBold, TextXAlignment = .TextXAlignment.Left}, Main)
TabBar = (, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = }, Main)
(, {FillDirection = .FillDirection.Horizontal, Padding = .(, ), SortOrder = .SortOrder.LayoutOrder}, TabBar)
Holder = (, {Position = .(, ), Size = .(, -, , -), BackgroundTransparency = , ClipsDescendants = }, Main)
Pages = {}
CurrentPage
(name)
page = (, {Name = name, Size = .(, ), BackgroundTransparency = , BorderSizePixel = , ScrollBarThickness = , ScrollBarImageColor3 = (), CanvasSize = .(), AutomaticCanvasSize = .AutomaticSize.Y, Visible = }, Holder)
(, {Padding = .(, ), SortOrder = .SortOrder.LayoutOrder}, page)
Pages[name] = page
page
_, name ({, , , }) (name)
(name)
CurrentPage = Pages[name]
n, page (Pages) page.Visible = n == name
_, b (TabBar:())
b:()
active = b.Name == name
b.BackgroundColor3 = active () PANEL
b.TextColor3 = active BG MUTED
i, name ({, , , })
b = (, {Name = name, Size = .(, -, , ), BackgroundColor3 = PANEL, Text = name, TextColor3 = MUTED, TextSize = , Font = .Font.GothamBlack, LayoutOrder = i}, TabBar)
(b, )
b.Activated:(() (name) )
(page, title)
(, {Size = .(, , , ), BackgroundTransparency = , Text = title, TextColor3 = (), TextSize = , Font = .Font.GothamBlack, TextXAlignment = .TextXAlignment.Left}, page)
(page, title, key, detail)
row = (, {Size = .(, , , ), BackgroundColor3 = PANEL, BorderSizePixel = }, page)
(row, )
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = title, TextColor3 = WHITE, TextSize = , Font = .Font.GothamSemibold, TextXAlignment = .TextXAlignment.Left}, row)
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = detail , TextColor3 = MUTED, TextSize = , Font = .Font.Gotham, TextXAlignment = .TextXAlignment.Left}, row)
b = (, {AnchorPoint = .(, ), Position = .(, -, , ), Size = .(, ), BackgroundColor3 = Settings[key] () PANEL2, Text = Settings[key] , TextColor3 = Settings[key] BG MUTED, TextSize = , Font = .Font.GothamBlack}, row)
(b, )
b.Activated:(()
Settings[key] = Settings[key]
b.Text = Settings[key]
b.BackgroundColor3 = Settings[key] () PANEL2
b.TextColor3 = Settings[key] BG MUTED
)
(page, title, display, callback)
row = (, {Size = .(, , , ), BackgroundColor3 = PANEL, BorderSizePixel = }, page)
(row, )
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = title, TextColor3 = WHITE, TextSize = , Font = .Font.GothamSemibold, TextXAlignment = .TextXAlignment.Left}, row)
b = (, {AnchorPoint = .(, ), Position = .(, -, , ), Size = .(, ), BackgroundColor3 = PANEL2, Text = (), TextColor3 = (), TextSize = , Font = .Font.GothamBold}, row)
(b, )
b.Activated:(() (); b.Text = () )
lockPage = Pages.LOCK
(lockPage, )
(lockPage, , , )
(lockPage, , , )
(lockPage, , , )
(lockPage, , () (Settings.FOV) .. , ()
Settings.FOV = Settings.FOV +
Settings.FOV > Settings.FOV =
)
(lockPage, , () (.(Settings.Smoothness * )) .. , ()
Settings.Smoothness = Settings.Smoothness +
Settings.Smoothness > Settings.Smoothness =
)
filterPage = Pages.FILTERS
(filterPage, )
(filterPage, , , )
(filterPage, , , )
(filterPage, , , )
stylePage = Pages.STYLE
(stylePage, )
(stylePage, , () Palette[Settings.ColorIndex].name , ()
Settings.ColorIndex = Settings.ColorIndex % #Palette +
)
(, {Size = .(, , , ), BackgroundTransparency = , Text = , TextColor3 = MUTED, TextSize = , Font = .Font.Gotham, TextWrapped = , TextXAlignment = .TextXAlignment.Left}, stylePage)
discordPage = Pages.DISCORD
(discordPage, )
card = (, {Size = .(, , , ), BackgroundColor3 = PANEL, BorderSizePixel = }, discordPage)
(card, )
(, {Position = .(, ), Size = .(, -, , ), BackgroundTransparency = , Text = , TextColor3 = WHITE, TextSize = , Font = .Font.GothamBlack, TextXAlignment = .TextXAlignment.Left}, card)
inviteBox = (, {Position = .(, ), Size = .(, -, , ), BackgroundColor3 = PANEL2, Text = DISCORD, TextColor3 = (), TextSize = , Font = .Font.Gotham, ClearTextOnFocus = , TextEditable = , TextXAlignment = .TextXAlignment.Center}, card)
(inviteBox, )
copyButton = (, {Position = .(, ), Size = .(, -, , ), BackgroundColor3 = (), Text = , TextColor3 = BG, TextSize = , Font = .Font.GothamBlack}, card)
(copyButton, )
copyButton.Activated:(()
copied =
(setclipboard) == copied = (setclipboard, DISCORD)
(toclipboard) == copied = (toclipboard, DISCORD)
copied
copyButton.Text =
inviteBox:()
inviteBox.CursorPosition = #inviteBox.Text +
copyButton.Text =
)
()
dragging, dragInput, dragStart, startPos
Top.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging, dragStart, startPos = , input.Position, Main.Position
input.Changed:(() input.UserInputState == .UserInputState.End dragging = )
)
Top.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch dragInput = input
)
UserInputService.InputChanged:((input)
dragging input == dragInput
delta = input.Position - dragStart
Main.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
Reopen = (, {Position = .(, , , -), Size = .(, ), BackgroundColor3 = PANEL, Text = , TextColor3 = (), TextSize = , Font = .Font.GothamBlack, Visible = }, GUI)
(Reopen, )
(Reopen, (), , )
Hide.Activated:(() Main.Visible = ; Reopen.Visible = )
Reopen.Activated:(() Main.Visible = ; Reopen.Visible = )
Ring = (, {Name = , AnchorPoint = .(, ), Position = .(, ), Size = .(Settings.FOV * , Settings.FOV * ), BackgroundTransparency = }, GUI)
(Ring, )
RingStroke = (Ring, (), , )
Readout = (, {AnchorPoint = .(, ), Position = .(, , , Settings.FOV + ), Size = .(, ), BackgroundColor3 = BG, BackgroundTransparency = , Text = , TextColor3 = WHITE, TextSize = , Font = .Font.GothamBold}, GUI)
(Readout, )
(Readout, .(, , ), , )
Marker = (, {Name = , Size = .(, ), StudsOffset = .(, , ), AlwaysOnTop = , Enabled = }, GUI)
(, {Size = .(, ), BackgroundTransparency = , Text = , TextColor3 = (), TextStrokeTransparency = , TextSize = , Font = .Font.GothamBlack}, Marker)
(model)
model
model:() model:() model:()
(model)
hum = model model:()
hum hum.Health > (model) ~=
(model, part)
Settings.LineOfSight
Camera = Workspace.CurrentCamera
Camera
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = {LocalPlayer.Character, Camera}
result = Workspace:(Camera.CFrame.Position, part.Position - Camera.CFrame.Position, params)
result == result.Instance:(model)
()
list, seen = {}, {}
Settings.Players
_, p (Players:())
p ~= LocalPlayer p.Character (p.Character)
seen[p.Character] =
.(list, p.Character)
Settings.NPCs
_, obj (Workspace:())
obj:() seen[obj] Players:(obj) (obj)
obj ~= LocalPlayer.Character obj:() ~=
.(list, obj)
seen[obj] =
list
currentTarget
scanClock =
cachedTargets = {}
()
currentTarget =
Marker.Adornee =
Marker.Enabled =
Readout.Text = Settings.LockOn
RunService.RenderStepped:((dt)
Camera = Workspace.CurrentCamera
Camera
center = .(Camera.ViewportSize.X / , Camera.ViewportSize.Y / )
Ring.Position = .(center.X, center.Y)
Ring.Size = .(Settings.FOV * , Settings.FOV * )
Ring.Visible = Settings.ShowFOV
RingStroke.Color = ()
Readout.Position = .(center.X, center.Y + Settings.FOV + )
Readout.Visible = Settings.ShowMarker
Readout.TextColor3 = ()
Marker.Enabled =
Status.Text = Settings.LockOn
Status.TextColor3 = Settings.LockOn () MUTED
scanClock += dt
scanClock >=
scanClock =
cachedTargets = ()
Settings.LockOn ();
bestModel, bestPart, bestDistance = , , Settings.FOV
_, model (cachedTargets)
model.Parent (model)
part = (model)
part (model, part)
point, onScreen = Camera:(part.Position)
onScreen point.Z >
distance = (.(point.X, point.Y) - center).Magnitude
distance <= bestDistance
bestDistance, bestModel, bestPart = distance, model, part
bestModel bestPart
currentTarget = bestModel
targetPlayer = Players:(bestModel)
label = targetPlayer targetPlayer.DisplayName bestModel.Name
Readout.Text = .(, label, bestDistance)
Settings.ShowMarker
Marker.Adornee = bestPart
Marker.Enabled =
markerText = Marker:()
markerText markerText.TextColor3 = ()
desired = .(Camera.CFrame.Position, bestPart.Position)
Camera.CFrame = Camera.CFrame:(desired, .(Settings.Smoothness, , ))
()
)
()Enhance your combat precision in The Strongest Battlegrounds with this lightweight, high-performance Lock-On script. Designed to help you keep track of your targets during intense combos without dropping frames. 🚀 Key Features • Smooth Camera Lock: Automatically keeps your camera focused on your target for seamless combo execution. • Customizable Hotkeys: Easily bind the lock-on toggle to your preferred key (Default: E or Q). • Performance Optimized: Clean code ensures zero FPS drops, keeping your gameplay smooth during chaotic team fights. • Low Detection Risk: Built using standard camera-manipulation methods rather than memory intrusion.
Stay safe
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.

Universal