
KeylessUniversal

-- CONFIGURAÇÕES
local HITBOX_SIZE = Vector3.new(10, 10, 10) -- tamanho da hitbox
local SPHERE_COLOR = Color3.fromRGB(255, 0, 0) -- vermelho
local SPHERE_TRANSPARENCY = 0.6
-- FUNÇÃO PRINCIPAL
local function applyHitbox(character)
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
-- Aumenta a hitbox
humanoidRootPart.Size = HITBOX_SIZE
humanoidRootPart.CanCollide = false
humanoidRootPart.Transparency = 1 -- invisível
-- Remove esfera antiga se existir
if humanoidRootPart:FindFirstChild("HitboxSphere") then
humanoidRootPart.HitboxSphere:Destroy()
end
-- Cria a esfera visual
local sphere = Instance.new("SphereHandleAdornment")
sphere.Name = "HitboxSphere"
sphere.Adornee = humanoidRootPart
sphere.Radius = HITBOX_SIZE.X / 2
sphere.Color3 = SPHERE_COLOR
sphere.Transparency = SPHERE_TRANSPARENCY
sphere.AlwaysOnTop = true
sphere.ZIndex = 5
sphere.Parent = humanoidRootPart
end
-- APLICA EM TODOS OS PLAYERS
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
task.wait(0.5)
applyHitbox(character)
end)
end)



ai