In Beaks, hitboxes play a crucial role in how players interact with the environment and capture birds. To help with debugging or enhancing player interactions, we’ve created a Hitbox Expander Script that dynamically scales certain models within the game world.
local scaleFactor = 3
for _, model in pairs(game.Workspace:GetDescendants()) do
if model:IsA(“Model”) and model.Name == “Normal” then
local primaryPart = model.PrimaryPart or model:FindFirstChildWhichIsA(“BasePart”)
if primaryPart then
model:ScaleTo(scaleFactor)
end
end
end
print(“Scaled all models named ‘Normal’.”)