
5.7k Views
832 Executions
Npc and bot hitbox expander universal
Universal Script 📌
Unknown_personPublished 5
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Npc and bot hitbox expander universal This script only work on npc and bot (I made this script) Username: ryu949
-- 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









Really good script