
Key Required VerifiedUniversal

local UserInputService = game:GetService("UserInputService")
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Button = Instance.new("TextButton")
local CloseButton = Instance.new("TextButton")
local TextBox = Instance.new("TextBox")
local isOpen = true
ScreenGui.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.Enabled = true
ScreenGui.Name = "HitboxUI"
Frame.Parent = ScreenGui
Frame.Size = UDim2.new(0, 250, 0, 170)
Frame.Position = UDim2.new(0.5, -649, 0.5, 224)
Frame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
Frame.BorderSizePixel = 2
Frame.Active = true
Frame.Draggable = true
Frame.BackgroundTransparency = 0.1
Frame.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Frame.ClipsDescendants = true
local UICorner = Instance.new("UICorner", Frame)
UICorner.CornerRadius = UDim.new(0, 10)
local UIStroke = Instance.new("UIStroke", Frame)
UIStroke.Thickness = 2
UIStroke.Color = Color3.fromRGB(50, 50, 50)
TextBox.Parent = Frame
TextBox.Size = UDim2.new(0, 220, 0, 30)
TextBox.Position = UDim2.new(0, 15, 0, 10)
TextBox.PlaceholderText = "Enter size (default: 10)"
TextBox.Text = "10"
TextBox.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
TextBox.TextColor3 = Color3.new(1, 1, 1)
TextBox.TextSize = 16
TextBox.Font = Enum.Font.SourceSansBold
local TextBoxCorner = Instance.new("UICorner", TextBox)
TextBoxCorner.CornerRadius = UDim.new(0, 5)
Button.Parent = Frame
Button.Size = UDim2.new(0, 220, 0, 40)
Button.Position = UDim2.new(0, 15, 0, 50)
Button.Text = "Resize Hitbox"
Button.BackgroundColor3 = Color3.fromRGB(255, 69, 0)
Button.TextColor3 = Color3.new(1, 1, 1)
Button.TextSize = 16
Button.Font = Enum.Font.SourceSansBold
local ButtonCorner = Instance.new("UICorner", Button)
ButtonCorner.CornerRadius = UDim.new(0, 5)
CloseButton.Parent = Frame
CloseButton.Size = UDim2.new(0, 80, 0, 25)
CloseButton.Position = UDim2.new(0, 85, 0, 100)
CloseButton.Text = "Close"
CloseButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
CloseButton.TextColor3 = Color3.new(1, 1, 1)
CloseButton.TextSize = 14
CloseButton.Font = Enum.Font.SourceSansBold
local CloseCorner = Instance.new("UICorner", CloseButton)
CloseCorner.CornerRadius = UDim.new(0, 5)
local function closeAllUIs()
for _, gui in pairs(game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):GetChildren()) do
if gui:IsA("ScreenGui") and gui.Name == "HitboxUI" then
gui:Destroy()
end
end
end
game:GetService("Players").LocalPlayer.Chatted:Connect(function(msg)
if msg == "print(\"close\")" then
closeAllUIs()
end
end)
local function resizeHitbox()
local football = game:GetService("Workspace"):WaitForChild("Football")
local hitbox = football:WaitForChild("Hitbox")
local sizeInput = tonumber(TextBox.Text) or 10
if hitbox:IsA("Part") then
hitbox.Size = Vector3.new(sizeInput, sizeInput, sizeInput)
hitbox.Transparency = 0.5
hitbox.BrickColor = BrickColor.new("Bright red")
print("Hitbox resized and colored successfully!")
else
warn("Hitbox is not a valid part!")
end
end
Button.MouseButton1Click:Connect(resizeHitbox)
CloseButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
isOpen = false
end)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.MouseButton3 and not gameProcessed then
resizeHitbox()
elseif input.KeyCode == Enum.KeyCode.End then
isOpen = not isOpen
ScreenGui.Enabled = isOpen
end
end)



Doesn't even work lmao
old script