Hitbox for medic kit
Key Required

Hitbox for medic kit

Dummies vs NoobsVuks1nVuks1n 8.6K views 196 executesUpdated Jan 30, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•93 lines (3186 chars)
_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
                        rootPart.CanCollide = false
                    end
                end)
            end
        end
    end
end

task.spawn(function()
    while true do
        updatePlayers()
        task.wait(1)  
    end
end)

-- **don't delete this baby :3**
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = game:GetService("CoreGui")

local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 300, 0, 100)
Frame.Position = UDim2.new(0.5, -150, 0.1, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BackgroundTransparency = 0.2
Frame.BorderSizePixel = 0
Frame.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = Frame

local Title = Instance.new("TextLabel")
Title.Text = "✅ Script Executed!"
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundTransparency = 1
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.Font = Enum.Font.GothamBold
Title.Parent = Frame

local Subtitle = Instance.new("TextLabel")
Subtitle.Text = "Created by WAF4LE"
Subtitle.Size = UDim2.new(1, 0, 0, 30)
Subtitle.Position = UDim2.new(0, 0, 0.4, 0)
Subtitle.BackgroundTransparency = 1
Subtitle.TextColor3 = Color3.fromRGB(200, 200, 200)
Subtitle.TextScaled = true
Subtitle.Font = Enum.Font.Gotham
Subtitle.Parent = Frame

task.delay(5, function()
    ScreenGui:Destroy()
end)

Features & Information

✅ 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

Community Comments (2)

DeathShotDeathShotFeb 28, 2025(edited)

Cool

ZinemonzZinemonzAug 25, 2025

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

More Scripts for Dummies vs Noobs