Dummies vs Noobs
8.7k Views
319 Executions

Hitbox for medic kit

Dummies vs Noobs
Vuks1n
Vuks1n10 followers
2 years ago
Please login to perform these actions:

Hitbox for medic kit is a Dummies vs Noobs script for Roblox, uploaded to ScriptBlox on Jan 30, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

✅ Dynamic Hitbox Scaling – The size of players' hitboxes changes based on distance: Near (≤ 20 studs): Small (Size: 2, Almost invisible) Middle (20 - 170 studs): Medium (Size: 10, Semi-transparent) Far (≥ 170 studs): Large (Size: 20, Slightly transparent) ✅ Smooth Transition – The script automatically adjusts in real-time based on player distance. The hitbox transparency & color are adjustable if you want to modify them. Tell me if is was buggy or something I'ma fix it This should work on any game but is created for dummies vs noobs

View Raw
_G.Disabled = false  
_G.NearSize = 2  
_G.MiddleSize = 10  
_G.FarSize = 20  
_G.NearDistance = 20  
_G.FarDistance = 170  

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function updatePlayers()
    if _G.Disabled then return end  

    local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
    if not myRoot then return end  

    for _, v in ipairs(Players:GetPlayers()) do
        if v ~= LocalPlayer and v.Character then
            local rootPart = v.Character:FindFirstChild("HumanoidRootPart")
            
            if rootPart then
                local distance = (rootPart.Position - myRoot.Position).Magnitude

                pcall(function()
                    if distance <= _G.NearDistance then
                        rootPart.Size = Vector3.new(_G.NearSize, _G.NearSize, _G.NearSize)
                        rootPart.Transparency = 0.9  
                        rootPart.BrickColor = BrickColor.new("Bright blue")  
                        rootPart.Material = Enum.Material.Plastic
                    elseif distance >= _G.FarDistance then
                        rootPart.Size = Vector3.new(_G.FarSize, _G.FarSize, _G.FarSize)
                        rootPart.Transparency = 0.6  
                        rootPart.BrickColor = BrickColor.new("Lavender")  
                        rootPart.Material = Enum.Material.Neon
                        rootPart.CanCollide = false
                    else
                        rootPart.Size = Vector3.new(_G.MiddleSize, _G.MiddleSize, _G.MiddleSize)
                        rootPart.Transparency = 0.7  
                        rootPart.BrickColor = BrickColor.new("Lavender")
                        rootPart.Material = Enum.Material.Neon


Comments

2
Log in to join the conversation. Login
DeathShot's profile picture
DeathShot2 years ago(edited)

Cool

2
Zinemonz's profile picture
Zinemonz1 year ago

got to wave 10 in siege twice with this, cool script

1

More Dummies vs Noobs scripts

See all
Dummies vs Noobs
104.9k
163
2 years ago
Dummies vs Noobs
61.9k
145
2 years ago
Dummies vs Noobs
24.0k
348
Bumped 6 months ago
Key System
Dummies vs Noobs
9.4k
233
Bumped 7 months ago
Dummies vs Noobs
2.1k
461
9 months ago