-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Workspace = game:GetService("Workspace") local HITBOX_SIZE = Vector3.new(30, 30, 30) local HITBOX_NAME = "Hitbox expender by epiclnfantry" local tracked = {} local function setupNPC(npc) if not npc:IsA("Model") or tracked[npc] then return end local head = npc:FindFirstChild("Head") if not head or not head:IsA("BasePart") then return end tracked[npc] = true local hitbox = npc:FindFirstChild(HITBOX_NAME) if not hitbox or not hitbox:IsA("BasePart") then hitbox = Instance.new("Part") hitbox.Name = HITBOX_NAME hitbox.Size = HITBOX_SIZE hitbox.Transparency = 1 hitbox.CanCollide = false hitbox.CanTouch = false hitbox.CanQuery = true hitbox.Massless = true hitbox.Anchored = false hitbox.CFrame = head.CFrame hitbox.Parent = npc local weld = Instance.new("WeldConstraint") weld.Name = "HeadHitboxWeld" weld.Part0 = head weld.Part1 = hitbox weld.Parent = hitbox end npc.AncestryChanged:Connect(function(_, parent) if not parent then tracked[npc] = nil end end) end local function inspect(obj) if obj:IsA("Model") then setupNPC(obj) end end for _, obj in ipairs(Workspace:GetDescendants()) do inspect(obj) end Workspace.DescendantAdded:Connect(function(obj) if obj:IsA("Model") then task.defer(setupNPC, obj) elseif obj.Name == "Head" and obj:IsA("BasePart") then local npc = obj:FindFirstAncestorOfClass("Model") if npc then tracked[npc] = nil setupNPC(npc) end end end)