Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
Workspace = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
Camera = Workspace.CurrentCamera
FOV_RADIUS =
SMOOTHNESS =
ASSIST_ENABLED =
SHOW_FOV_CIRCLE =
screenGui = .()
screenGui.Name =
screenGui.IgnoreGuiInset =
screenGui.ResetOnSpawn =
screenGui.Parent = LocalPlayer:()
fovFrame = .()
fovFrame.AnchorPoint = .(, )
fovFrame.BackgroundColor3 = .(, , )
fovFrame.BackgroundTransparency =
fovFrame.BorderSizePixel =
fovFrame.Visible = SHOW_FOV_CIRCLE
fovFrame.Parent = screenGui
uiCornerCircle = .()
uiCornerCircle.CornerRadius = .(, )
uiCornerCircle.Parent = fovFrame
uiStrokeCircle = .()
uiStrokeCircle.Color = .(, , )
uiStrokeCircle.Thickness =
uiStrokeCircle.Parent = fovFrame
menuPanel = .()
menuPanel.Size = .(, , , )
menuPanel.Position = .(, , , )
menuPanel.BackgroundColor3 = .(, , )
menuPanel.BorderSizePixel =
menuPanel.Active =
menuPanel.Draggable =
menuPanel.Parent = screenGui
uiCornerMenu = .()
uiCornerMenu.CornerRadius = .(, )
uiCornerMenu.Parent = menuPanel
titleLabel = .()
titleLabel.Size = .(, , , )
titleLabel.BackgroundColor3 = .(, , )
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Font = .Font.SourceSansBold
titleLabel.Parent = menuPanel
uiCornerTitle = .()
uiCornerTitle.CornerRadius = .(, )
uiCornerTitle.Parent = titleLabel
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.TextColor3 = .(, , )
toggleButton.TextSize =
toggleButton.Font = .Font.SourceSansBold
toggleButton.Parent = menuPanel
.(, toggleButton).CornerRadius = .(, )
toggleButton.MouseButton1Click:(()
ASSIST_ENABLED = ASSIST_ENABLED
ASSIST_ENABLED
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
)
fovLabel = .()
fovLabel.Size = .(, , , )
fovLabel.Position = .(, , , )
fovLabel.BackgroundTransparency =
fovLabel.Text = .. FOV_RADIUS
fovLabel.TextColor3 = .(, , )
fovLabel.TextSize =
fovLabel.TextXAlignment = .TextXAlignment.Left
fovLabel.Font = .Font.SourceSans
fovLabel.Parent = menuPanel
fovBtn = .()
fovBtn.Size = .(, , , )
fovBtn.Position = .(, , , )
fovBtn.BackgroundColor3 = .(, , )
fovBtn.Text =
fovBtn.TextColor3 = .(, , )
fovBtn.TextSize =
fovBtn.Parent = menuPanel
.(, fovBtn).CornerRadius = .(, )
fovBtn.MouseButton1Click:(()
FOV_RADIUS ==
FOV_RADIUS =
FOV_RADIUS ==
FOV_RADIUS =
FOV_RADIUS =
fovLabel.Text = .. FOV_RADIUS
)
menuVisible =
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.Insert
menuVisible = menuVisible
menuPanel.Visible = menuVisible
)
hintLabel = .()
hintLabel.Size = .(, , , )
hintLabel.Position = .(, , , )
hintLabel.BackgroundTransparency =
hintLabel.Text =
hintLabel.TextColor3 = .(, , )
hintLabel.TextSize =
hintLabel.Font = .Font.SourceSansItalic
hintLabel.Parent = menuPanel
()
ASSIST_ENABLED
closestPlayer =
shortestDistance = FOV_RADIUS
screenCenter = .(Camera.ViewportSize.X / , Camera.ViewportSize.Y / )
_, player (Players:())
player ~= LocalPlayer player.Character player.Character:()
head = player.Character.Head
screenPosition, onScreen = Camera:(head.Position)
onScreen
enemyPos2D = .(screenPosition.X, screenPosition.Y)
distance = (enemyPos2D - screenCenter).Magnitude
distance < shortestDistance
shortestDistance = distance
closestPlayer = player
closestPlayer
RunService.RenderStepped:(()
SHOW_FOV_CIRCLE
screenSize = Camera.ViewportSize
fovFrame.Position = .(, screenSize.X / , , screenSize.Y / )
fovFrame.Size = .(, FOV_RADIUS * , , FOV_RADIUS * )
targetPlayer = ()
targetPlayer targetPlayer.Character targetPlayer.Character:()
targetHead = targetPlayer.Character.Head
targetCFrame = .(Camera.CFrame.Position, targetHead.Position)
Camera.CFrame = Camera.CFrame:(targetCFrame, SMOOTHNESS)
)
1

Universal