
KeylessUniversal

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local TPService = game:GetService("TeleportService")
local LocalPlayer = Players.LocalPlayer
local function isNumber(v)
return tonumber(v) ~= nil
end
getgenv().Settings = {
Hitbox = {
Size = 15,
Transparency = 0.9,
Enabled = false,
TeamCheck = false
},
Player = {
WalkSpeed = 16,
JumpPower = 50,
LoopWalk = false,
LoopJump = false,
TPWalk = false,
TPSpeed = 3,
Noclip = false,
InfiniteJump = false
}
}
local Character, Humanoid
local HRPOriginal = {}
local function onCharacter(char)
Character = char
Humanoid = char:WaitForChild("Humanoid")
end
if LocalPlayer.Character then
onCharacter(LocalPlayer.Character)
end
LocalPlayer.CharacterAdded:Connect(onCharacter)
local HitboxConnection
local function applyHitbox()
for _, plr in ipairs(Players:GetPlayers()) do
if plr ~= LocalPlayer and plr.Character then
local hrp = plr.Character:FindFirstChild("HumanoidRootPart")
if hrp then
if not HRPOriginal[plr] then
HRPOriginal[plr] = hrp.Size
end
hrp.Size = Vector3.new(
Settings.Hitbox.Size,
Settings.Hitbox.Size,
Settings.Hitbox.Size
)
hrp.Transparency = Settings.Hitbox.Transparency
hrp.Material = Enum.Material.Neon
hrp.BrickColor = BrickColor.new("Really black")
hrp.CanCollide = false
end
end
end
end
local function resetHitbox()
for plr, size in pairs(HRPOriginal) do
if plr.Character then
local hrp = plr.Character:FindFirstChild("HumanoidRootPart")
if hrp then
hrp.Size = size
hrp.Transparency = 1
hrp.Material = Enum.Material.Plastic
hrp.BrickColor = BrickColor.new("Medium stone grey")
end
end
end
end
local function toggleHitbox(state)
Settings.Hitbox.Enabled = state
if HitboxConnection then
HitboxConnection:Disconnect()
HitboxConnection = nil
end
if state then
HitboxConnection = RunService.RenderStepped:Connect(applyHitbox)
else
resetHitbox()
end
end
RunService.Heartbeat:Connect(function()
if Humanoid then
if Settings.Player.LoopWalk then
Humanoid.WalkSpeed = Settings.Player.WalkSpeed
end
if Settings.Player.LoopJump then
Humanoid.JumpPower = Settings.Player.JumpPower
end
end
end)
RunService.Heartbeat:Connect(function()
if Settings.Player.TPWalk and Character and Humanoid then
if Humanoid.MoveDirection.Magnitude > 0 then
Character:TranslateBy(
Humanoid.MoveDirection * Settings.Player.TPSpeed
)
end
end
end)
UIS.JumpRequest:Connect(function()
if Settings.Player.InfiniteJump and Humanoid then
Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
RunService.Stepped:Connect(function()
if Settings.Player.Noclip and Character then
for _, v in ipairs(Character:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
end)
local function rejoin()
TPService:Teleport(game.PlaceId, LocalPlayer)
end
local Library = loadstring(game:HttpGet(
"https://raw.githubusercontent.com/Vcsk/UI-Library/main/Source/MyUILib(Unamed).lua"
))()
local Window = Library:Create("Hitbox Expander")
local HomeTab = Window:Tab("Home","rbxassetid://10888331510")
local PlayerTab = Window:Tab("Player","rbxassetid://12296135476")
HomeTab:Toggle("Hitbox Enabled", toggleHitbox)
HomeTab:TextBox("Hitbox Size", function(v)
if isNumber(v) then Settings.Hitbox.Size = tonumber(v) end
end)
HomeTab:TextBox("Hitbox Transparency", function(v)
if isNumber(v) then Settings.Hitbox.Transparency = tonumber(v) end
end)
HomeTab:Toggle("Team Check", function(v)
Settings.Hitbox.TeamCheck = v
end)
PlayerTab:TextBox("WalkSpeed", function(v)
if isNumber(v) then Settings.Player.WalkSpeed = tonumber(v) end
end)
PlayerTab:Toggle("Loop WalkSpeed", function(v)
Settings.Player.LoopWalk = v
end)
PlayerTab:TextBox("JumpPower", function(v)
if isNumber(v) then Settings.Player.JumpPower = tonumber(v) end
end)
PlayerTab:Toggle("Loop JumpPower", function(v)
Settings.Player.LoopJump = v
end)
PlayerTab:TextBox("TP Speed", function(v)
if isNumber(v) then Settings.Player.TPSpeed = tonumber(v) end
end)
PlayerTab:Toggle("TP Walk", function(v)
Settings.Player.TPWalk = v
end)
PlayerTab:Toggle("Noclip", function(v)
Settings.Player.Noclip = v
end)
PlayerTab:Toggle("Infinite Jump", function(v)
Settings.Player.InfiniteJump = v
end)
PlayerTab:Button("Rejoin", rejoin)No comments yet for this script.



