
1.0k Views
169 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Automatically aims at a target with configurable options, higher smoothing means locking on faster & harder to the target's future position, and lead time changes that. (Made by ChatGPT 5.2)
-- Aim Assist (for YOUR Roblox game) + GUI + Target Dropdown (fixed layering + stays open)
-- StarterPlayerScripts (LocalScript)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local camera = workspace.CurrentCamera
-- =========================
-- KEYBINDS (CHANGE ONLY HERE)
-- =========================
local KEY_TOGGLE_UI = Enum.KeyCode.P
local KEY_DELETE_UI = Enum.KeyCode.M
-- =========================
-- SETTINGS
-- =========================
local Settings = {
Enabled = true,
MaxFOV = 8, -- degrees
Smoothing = 0.18, -- 0..1
LeadTime = 0.12, -- seconds
MaxDistance = 600, -- studs
TargetPartName = "HumanoidRootPart", -- or "Head"
RequireRightMouse = false,
}
-- Target selection
local SelectedTargetUserId: number? = nil -- nil = Auto (closest in FOV)
-- =========================
-- Helpers
-- =========================
local function clampNumber(n, min, max)
n = tonumber(n)
if not n then return nil end
if n < min then return min end
if n > max then return max end










Tell me your prompt