-- Transparent Box Hitbox Expander (Safe, No Glitching) -- Made by ryu949 --// Services local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") --// Settings local BoxSize = Vector3.new(10, 10, 10) local BoxColor = Color3.fromRGB(255, 0, 0) local Transparency = 0.5 --// Check if model is a player local function isPlayer(model) for _, player in pairs(Players:GetPlayers()) do if player.Character == model then return true end end return false end --// Create fake transparent hitbox local function addBox(model) if not isPlayer(model) and model:FindFirstChild("HumanoidRootPart") then -- Prevent duplicates if model:FindFirstChild("FakeHitbox") then return end local box = Instance.new("Part") box.Name = "FakeHitbox" box.Size = BoxSize box.Transparency = Transparency box.Color = BoxColor box.Anchored = false box.CanCollide = false box.Massless = true box.Material = Enum.Material.ForceField box.CFrame = model.HumanoidRootPart.CFrame box.Parent = model local weld = Instance.new("WeldConstraint") weld.Part0 = box weld.Part1 = model.HumanoidRootPart weld.Parent = box end end --// Apply to existing bots/NPCs for _, npc in pairs(Workspace:GetDescendants()) do if npc:IsA("Model") and npc:FindFirstChild("Humanoid") and npc:FindFirstChild("HumanoidRootPart") and not isPlayer(npc) then addBox(npc) end end --// Apply to future bots/NPCs Workspace.DescendantAdded:Connect(function(descendant) task.wait(0.5) if descendant:IsA("Model") and descendant:FindFirstChild("Humanoid") and descendant:FindFirstChild("HumanoidRootPart") and not isPlayer(descendant) then addBox(descendant) end end)