Universal Script 📌
5.7k Views
832 Executions

Npc and bot hitbox expander universal

Universal Script 📌
Unknown_person
Unknown_personPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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

View Raw
-- 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



Comments

1
Log in to join the conversation. Login
Slom's profile picture
Slom2 months ago

Really good script

1

Tags

More universal scripts

See all
Universal Script 📌
6.1k
17.8k
Bumped 3 hours ago
Key System
Universal Script 📌
531.6k
336.7k
Bumped 4 hours ago
Script hub
2.5k
2.2k
Bumped 5 hours ago
Key System
Universal Script 📌
467
38
Approved 5 hours ago
Script hub
2.8M
661.6k
Bumped 6 hours ago
Key System

Script hub

#2 today

Verified script badgeFlow Hub | 35 Games | Updated