Aim And HitBox Expander Script
Key RequiredUniversal

Aim And HitBox Expander Script

Universal ScriptThatBoySaiThatBoySai 7.1K views 14 executesUpdated Mar 1, 2025
Unrated
00
Lua Script•119 lines (3780 chars)
Settings = {
    ["AimAssist"] = true; -- [True/False | B To Activate]
    ["FEHitboxExpanded"] = false; -- [True/False | Works For Games That Are Poorly Coded]
    ["Size"] = 55; -- [Enter A Value | Will Be For The Hitbox]
    ["Debug"] = true; -- [True/False | Debug Info in Console]
}

--[[ Script Starts Here ]]--

local Players = game:GetService("Players")
local plr = Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local Replicated = game:GetService("ReplicatedStorage")
local ReplicatedF = game:GetService("ReplicatedFirst")
local TPS = game:GetService("TeleportService")
local UIS = game:GetService("UserInputService")
local RunS = game:GetService("RunService")
local Cam = workspace.CurrentCamera

--[[ Notification Function ]]--
function Send(Title, Text, Duration)
    game:GetService("StarterGui"):SetCore("SendNotification", {
        Title = Title,
        Text = Text or "",
        Duration = Duration
    })
end 

function Debg(args)
    if Settings["Debug"] then
        print("[DEBUG]: " .. tostring(args))
    end
end

--[[ Get Closest Player Function ]]--
local function GetClosePlayer()
    if not char or not hrp then return end

    local closest = nil
    local shortestDistance = math.huge

    for _, player in pairs(Players:GetPlayers()) do
        if player ~= plr and player.Character then
            local targetRoot = player.Character:FindFirstChild("HumanoidRootPart")
            if targetRoot then
                local distance = (hrp.Position - targetRoot.Position).Magnitude
                if distance < shortestDistance then
                    closest = player
                    shortestDistance = distance
                end 
            end 
        end
    end
    return closest
end

--[[ HitBox Expander ]]--

_G.Size = Settings["Size"]
_G.Enabled = Settings["FEHitboxExpanded"]
function HitboxChange()
game:GetService('RunService').RenderStepped:connect(function()
    if _G.Enabled then
    for i,v in next, Players:GetPlayers() do
        if v.Name ~= plr.Name then
            pcall(function()
            v.Character.HumanoidRootPart.Size = Vector3.new(_G.Size, _G.Size, _G.Size)
            v.Character.HumanoidRootPart.Transparency = 0.7
            v.Character.HumanoidRootPart.Material = "Neon"
            v.Character.HumanoidRootPart.CanCollide = false
        end)
        end
        end
        end 
    end)
end 

if Settings["FEHitboxExpanded"] == true then
    Debg("Expander On")
    HitboxChange()
end

--[[ Aim Assist Function ]]--
function AimAssist()
    Debg("Script Started!")
    task.spawn(function()
        local lockMouse = false
        local targetPlayer = nil

        UIS.InputBegan:Connect(function(input, gameProcessed)
            if not gameProcessed and input.KeyCode == Enum.KeyCode.B then
                lockMouse = not lockMouse

                if lockMouse then
                    targetPlayer = GetClosePlayer()
                else
                    targetPlayer = nil
                end 
                Debg("Locking onto: " .. (targetPlayer and targetPlayer.Name or "None"))
            end 
        end)

        RunS.RenderStepped:Connect(function()
            if lockMouse and targetPlayer and targetPlayer.Character then
                local targetRoot = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
                if targetRoot then
                    Cam.CFrame = CFrame.new(Cam.CFrame.Position, targetRoot.Position)
                end 
            end 
        end)
    end)
end

--[[ Activate Aim Assist if Enabled in Settings ]]--
if Settings["AimAssist"] then
    Send("Press B To Activate/Disable", "I made this because I was bored, made by sai", 6)
    AimAssist()
end

Features & Information

uh, it has aim in it and u have to press b to activate it on and off, also hitbox u have enter a value, also my username is 'DabStepRBx' < a follow would be nice 😊

Community Comments (2)

lechowskibadwiglechowskibadwigMar 1, 2025(edited)

What's the difference between thi*box script and other hitbox script? Does this work on close range? Fighting games?

ThatBoySaiThatBoySaiMar 1, 2025(edited)

it works for most fighting games im pretty sure

More Scripts for Universal Scripts