
Keyless

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local TweenService = game:GetService("TweenService")
local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local MainFrameCorner = Instance.new("UICorner")
local SizeTextBox = Instance.new("TextBox")
local TextBoxCorner = Instance.new("UICorner")
local ToggleButton = Instance.new("TextButton")
local ButtonCorner = Instance.new("UICorner")
local MinimizeButton = Instance.new("TextButton")
local MinimizeButtonCorner = Instance.new("UICorner")
local isMinimized = false
ScreenGui.Parent = game.CoreGui
MainFrame.Parent = ScreenGui
SizeTextBox.Parent = MainFrame
ToggleButton.Parent = MainFrame
MinimizeButton.Parent = MainFrame
MainFrameCorner.Parent = MainFrame
TextBoxCorner.Parent = SizeTextBox
ButtonCorner.Parent = ToggleButton
MinimizeButtonCorner.Parent = MinimizeButton
MainFrame.Size = UDim2.new(0, 160, 0, 110)
MainFrame.Position = UDim2.new(0.5, -80, 0.5, -55)
MainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.ClipsDescendants = true
MainFrame.BackgroundTransparency = 0.2
MainFrame.Visible = true
MainFrameCorner.CornerRadius = UDim.new(0, 10)
MinimizeButton.Size = UDim2.new(0, 160, 0, 20)
MinimizeButton.Position = UDim2.new(0, 0, 0, 0)
MinimizeButton.Text = "▼"
MinimizeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButtonCorner.CornerRadius = UDim.new(0, 10)
SizeTextBox.Size = UDim2.new(0, 140, 0, 25)
SizeTextBox.Position = UDim2.new(0, 10, 0, 25)
SizeTextBox.Text = "10"
SizeTextBox.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
SizeTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBoxCorner.CornerRadius = UDim.new(0, 10)
ToggleButton.Size = UDim2.new(0, 140, 0, 25)
ToggleButton.Position = UDim2.new(0, 10, 0, 55)
ToggleButton.Text = "Enable Hitbox"
ToggleButton.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ButtonCorner.CornerRadius = UDim.new(0, 10)
_G.HeadSize = tonumber(SizeTextBox.Text) or 10
_G.Disabled = true
local playerList = {}
local function updatePlayerList()
playerList = {}
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
table.insert(playerList, player)
end
end
end
SizeTextBox.FocusLost:Connect(function()
local newSize = tonumber(SizeTextBox.Text)
if newSize then
_G.HeadSize = newSize
else
SizeTextBox.Text = tostring(_G.HeadSize)
end
end)
ToggleButton.MouseButton1Click:Connect(function()
_G.Disabled = not _G.Disabled
ToggleButton.Text = (_G.Disabled and "Enable Hitbox") or "Disable Hitbox"
if _G.Disabled then
for _, player in ipairs(playerList) do
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local humanoidRootPart = player.Character.HumanoidRootPart
humanoidRootPart.Size = Vector3.new(2, 2, 1)
humanoidRootPart.Transparency = 0
humanoidRootPart.BrickColor = BrickColor.new("Medium stone grey")
humanoidRootPart.Material = Enum.Material.Plastic
humanoidRootPart.CanCollide = true
end
end
end
end)
MinimizeButton.MouseButton1Click:Connect(function()
isMinimized = not isMinimized
local newSize = (isMinimized and UDim2.new(0, 160, 0, 20)) or UDim2.new(0, 160, 0, 110)
local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local tween = TweenService:Create(MainFrame, tweenInfo, { Size = newSize })
tween:Play()
MinimizeButton.Text = (isMinimized and "▲") or "▼"
end)
RunService.RenderStepped:Connect(function()
if not _G.Disabled then
for _, player in ipairs(playerList) do
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local humanoidRootPart = player.Character.HumanoidRootPart
humanoidRootPart.Size = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize)
humanoidRootPart.Transparency = 0.7
humanoidRootPart.BrickColor = BrickColor.new("Really blue")
humanoidRootPart.Material = Enum.Material.Neon
humanoidRootPart.CanCollide = false
end
end
end
end)
while true do
updatePlayerList()
wait(1)
endNo comments yet for this script.