
KeylessUniversal

local players = game:GetService("Players")
local lplr = players.LocalPlayer
local camera = workspace.CurrentCamera
local userInput = game:GetService("UserInputService")
local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")
local workspace = game:GetService("Workspace")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.CoreGui
screenGui.Name = "RrandpnHub"
screenGui.ResetOnSpawn = false
local openButton = Instance.new("TextButton")
openButton.Parent = screenGui
openButton.Size = UDim2.new(0, 60, 0, 60)
openButton.Position = UDim2.new(0.9, -30, 0.1, -30)
openButton.BackgroundColor3 = Color3.fromRGB(30, 144, 255)
openButton.Text = "R"
openButton.TextColor3 = Color3.fromRGB(255, 255, 255)
openButton.Font = Enum.Font.GothamBold
openButton.TextSize = 30
openButton.Draggable = true
openButton.Active = true
local openCorner = Instance.new("UICorner")
openCorner.CornerRadius = UDim.new(0, 30)
openCorner.Parent = openButton
local mainFrame = Instance.new("Frame")
mainFrame.Parent = screenGui
mainFrame.Size = UDim2.new(0, 350, 0, 400)
mainFrame.Position = UDim2.new(0.5, -175, 0.3, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Visible = false
local mainCorner = Instance.new("UICorner")
mainCorner.CornerRadius = UDim.new(0, 12)
mainCorner.Parent = mainFrame
local titleBar = Instance.new("Frame")
titleBar.Parent = mainFrame
titleBar.Size = UDim2.new(1, 0, 0, 30)
titleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
local titleLabel = Instance.new("TextLabel")
titleLabel.Parent = titleBar
titleLabel.Size = UDim2.new(1, -40, 1, 0)
titleLabel.Position = UDim2.new(0, 10, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Rrandpn Hub"
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 14
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
local closeButton = Instance.new("TextButton")
closeButton.Parent = titleBar
closeButton.Size = UDim2.new(0, 20, 0, 20)
closeButton.Position = UDim2.new(1, -25, 0.5, -10)
closeButton.Text = "X"
closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.Font = Enum.Font.GothamBold
closeButton.TextSize = 12
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 4)
closeCorner.Parent = closeButton
local tabButtonsFrame = Instance.new("Frame")
tabButtonsFrame.Parent = mainFrame
tabButtonsFrame.Size = UDim2.new(1, 0, 0, 30)
tabButtonsFrame.Position = UDim2.new(0, 0, 0, 30)
tabButtonsFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
local tabLayout = Instance.new("UIListLayout")
tabLayout.Parent = tabButtonsFrame
tabLayout.FillDirection = Enum.FillDirection.Horizontal
tabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
tabLayout.VerticalAlignment = Enum.VerticalAlignment.Center
tabLayout.Padding = UDim.new(0, 5)
local contentFrame = Instance.new("Frame")
contentFrame.Parent = mainFrame
contentFrame.Position = UDim2.new(0, 0, 0, 60)
contentFrame.Size = UDim2.new(1, 0, 1, -60)
contentFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
local pageFolder = Instance.new("Folder")
pageFolder.Parent = contentFrame
local function createTab(name)
local tabButton = Instance.new("TextButton")
tabButton.Parent = tabButtonsFrame
tabButton.Size = UDim2.new(0, 70, 0, 25)
tabButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
tabButton.Text = name
tabButton.TextColor3 = Color3.fromRGB(200, 200, 200)
tabButton.Font = Enum.Font.Gotham
tabButton.TextSize = 13
local tabCorner = Instance.new("UICorner")
tabCorner.CornerRadius = UDim.new(0, 6)
tabCorner.Parent = tabButton
local page = Instance.new("ScrollingFrame")
page.Parent = pageFolder
page.Size = UDim2.new(1, 0, 1, 0)
page.CanvasSize = UDim2.new(0, 0, 0, 0)
page.ScrollBarThickness = 4
page.BackgroundTransparency = 1
page.Visible = false
local pageLayout = Instance.new("UIListLayout")
pageLayout.Parent = page
pageLayout.SortOrder = Enum.SortOrder.LayoutOrder
pageLayout.Padding = UDim.new(0, 6)
pageLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
tabButton.MouseButton1Click:Connect(function()
for _, v in pairs(pageFolder:GetChildren()) do
v.Visible = false
end
page.Visible = true
for _, btn in pairs(tabButtonsFrame:GetChildren()) do
if btn:IsA("TextButton") then
btn.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
btn.TextColor3 = Color3.fromRGB(200, 200, 200)
end
end
tabButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
tabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
end)
return page, pageLayout
end
local function createToggle(page, text, callback)
local frame = Instance.new("Frame")
frame.Parent = page
frame.Size = UDim2.new(0.9, 0, 0, 30)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
local frameCorner = Instance.new("UICorner")
frameCorner.CornerRadius = UDim.new(0, 6)
frameCorner.Parent = frame
local label = Instance.new("TextLabel")
label.Parent = frame
label.Size = UDim2.new(0.6, 0, 1, 0)
label.Position = UDim2.new(0, 10, 0, 0)
label.BackgroundTransparency = 1
label.Text = text
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.Font = Enum.Font.Gotham
label.TextSize = 14
label.TextXAlignment = Enum.TextXAlignment.Left
local toggleBtn = Instance.new("TextButton")
toggleBtn.Parent = frame
toggleBtn.Size = UDim2.new(0, 20, 0, 20)
toggleBtn.Position = UDim2.new(1, -30, 0.5, -10)
toggleBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
toggleBtn.Text = ""
local toggleCorner = Instance.new("UICorner")
toggleCorner.CornerRadius = UDim.new(0, 4)
toggleCorner.Parent = toggleBtn
local state = false
toggleBtn.MouseButton1Click:Connect(function()
state = not state
toggleBtn.BackgroundColor3 = state and Color3.fromRGB(60, 255, 60) or Color3.fromRGB(255, 60, 60)
callback(state)
end)
end
local function createButton(page, text, callback)
local btn = Instance.new("TextButton")
btn.Parent = page
btn.Size = UDim2.new(0.9, 0, 0, 30)
btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
btn.Text = text
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 14
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 6)
btnCorner.Parent = btn
btn.MouseButton1Click:Connect(callback)
end
local function createSlider(page, text, min, max, default, callback)
local frame = Instance.new("Frame")
frame.Parent = page
frame.Size = UDim2.new(0.9, 0, 0, 40)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
local frameCorner = Instance.new("UICorner")
frameCorner.CornerRadius = UDim.new(0, 6)
frameCorner.Parent = frame
local label = Instance.new("TextLabel")
label.Parent = frame
label.Size = UDim2.new(1, 0, 0, 20)
label.Position = UDim2.new(0, 10, 0, 2)
label.BackgroundTransparency = 1
label.Text = text .. ": " .. tostring(default)
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.Font = Enum.Font.Gotham
label.TextSize = 12
label.TextXAlignment = Enum.TextXAlignment.Left
local sliderBg = Instance.new("Frame")
sliderBg.Parent = frame
sliderBg.Size = UDim2.new(0.8, 0, 0, 4)
sliderBg.Position = UDim2.new(0.1, 0, 0, 25)
sliderBg.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
local sliderBgCorner = Instance.new("UICorner")
sliderBgCorner.CornerRadius = UDim.new(0, 2)
sliderBgCorner.Parent = sliderBg
local sliderFill = Instance.new("Frame")
sliderFill.Parent = sliderBg
sliderFill.Size = UDim2.new((default - min) / (max - min), 0, 1, 0)
sliderFill.BackgroundColor3 = Color3.fromRGB(30, 144, 255)
local sliderFillCorner = Instance.new("UICorner")
sliderFillCorner.CornerRadius = UDim.new(0, 2)
sliderFillCorner.Parent = sliderFill
local dragButton = Instance.new("TextButton")
dragButton.Parent = frame
dragButton.Size = UDim2.new(0.8, 0, 0, 10)
dragButton.Position = UDim2.new(0.1, 0, 0, 22)
dragButton.BackgroundTransparency = 1
dragButton.Text = ""
local dragging = false
dragButton.MouseButton1Down:Connect(function()
dragging = true
end)
userInput.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
userInput.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local mousePos = userInput:GetMouseLocation()
local absPos = sliderBg.AbsolutePosition
local sizeX = sliderBg.AbsoluteSize.X
local relative = math.clamp((mousePos.X - absPos.X) / sizeX, 0, 1)
local value = min + (max - min) * relative
value = math.floor(value * 100) / 100
sliderFill.Size = UDim2.new(relative, 0, 1, 0)
label.Text = text .. ": " .. tostring(value)
callback(value)
end
end)
end
local playerPage, playerLayout = createTab("Player")
local espPage, espLayout = createTab("ESP")
local teleportPage, teleportLayout = createTab("Teleport")
local miscPage, miscLayout = createTab("Misc")
local godMode = false
local speed = 16
local jump = 50
local noclip = false
local espEnabled = false
local boxes = false
local names = false
local tracers = false
local healthBars = false
local noclipConn = nil
createToggle(playerPage, "God Mode", function(v)
godMode = v
end)
createSlider(playerPage, "Walk Speed", 16, 120, 16, function(v)
speed = v
if lplr.Character then
local hum = lplr.Character:FindFirstChildOfClass("Humanoid")
if hum then hum.WalkSpeed = v end
end
end)
createSlider(playerPage, "Jump Power", 50, 200, 50, function(v)
jump = v
if lplr.Character then
local hum = lplr.Character:FindFirstChildOfClass("Humanoid")
if hum then hum.JumpPower = v end
end
end)
createToggle(playerPage, "No Clip", function(v)
noclip = v
if v then
noclipConn = runService.Stepped:Connect(function()
if lplr.Character then
for _, part in pairs(lplr.Character:GetDescendants()) do
if part:IsA("BasePart") then part.CanCollide = false end
end
end
end)
else
if noclipConn then noclipConn:Disconnect() noclipConn = nil end
end
end)
local espObjects = {}
local function clearESP()
for _, obj in pairs(espObjects) do
for _, d in pairs(obj) do
if d.Remove then d:Remove() end
end
end
espObjects = {}
end
local function updateESP()
if not espEnabled then
clearESP()
return
end
for _, player in pairs(players:GetPlayers()) do
if player ~= lplr then
local char = player.Character
if char then
local root = char:FindFirstChild("HumanoidRootPart")
local hum = char:FindFirstChildOfClass("Humanoid")
if root and hum and hum.Health > 0 then
local pos = root.Position
local screenPos, onScreen = camera:WorldToViewportPoint(pos)
if onScreen then
if not espObjects[player] then
espObjects[player] = {}
if boxes then
local box = Drawing.new("Square")
box.Visible = false
box.Color = player.TeamColor.Color
box.Thickness = 1
box.Filled = false
espObjects[player].box = box
end
if names then
local name = Drawing.new("Text")
name.Visible = false
name.Color = player.TeamColor.Color
name.Size = 14
name.Center = true
name.Outline = true
espObjects[player].name = name
end
if tracers then
local tracer = Drawing.new("Line")
tracer.Visible = false
tracer.Color = player.TeamColor.Color
tracer.Thickness = 1
espObjects[player].tracer = tracer
end
if healthBars then
local healthBg = Drawing.new("Square")
healthBg.Visible = false
healthBg.Color = Color3.fromRGB(50, 50, 50)
healthBg.Filled = true
espObjects[player].healthBg = healthBg
local healthFg = Drawing.new("Square")
healthFg.Visible = false
healthFg.Color = Color3.fromRGB(0, 255, 0)
healthFg.Filled = true
espObjects[player].healthFg = healthFg
end
end
local esp = espObjects[player]
local color = player.TeamColor.Color
local boxSize = Vector2.new(2000 / screenPos.Z, 3000 / screenPos.Z)
local boxPos = Vector2.new(screenPos.X - boxSize.X / 2, screenPos.Y - boxSize.Y / 2)
if boxes and esp.box then
esp.box.Visible = true
esp.box.Size = boxSize
esp.box.Position = boxPos
esp.box.Color = color
elseif esp.box then esp.box.Visible = false end
if names and esp.name then
esp.name.Visible = true
esp.name.Text = player.Name
esp.name.Position = Vector2.new(screenPos.X, screenPos.Y - boxSize.Y / 2 - 20)
esp.name.Color = color
elseif esp.name then esp.name.Visible = false end
if tracers and esp.tracer then
esp.tracer.Visible = true
esp.tracer.From = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y)
esp.tracer.To = Vector2.new(screenPos.X, screenPos.Y)
esp.tracer.Color = color
elseif esp.tracer then esp.tracer.Visible = false end
if healthBars and hum and esp.healthBg and esp.healthFg then
local healthPercent = hum.Health / hum.MaxHealth
local barWidth = 50
local barHeight = 4
local barPos = Vector2.new(screenPos.X - barWidth / 2, screenPos.Y + boxSize.Y / 2 + 5)
esp.healthBg.Visible = true
esp.healthBg.Size = Vector2.new(barWidth, barHeight)
esp.healthBg.Position = barPos
esp.healthFg.Visible = true
esp.healthFg.Size = Vector2.new(barWidth * healthPercent, barHeight)
esp.healthFg.Position = barPos
esp.healthFg.Color = Color3.fromRGB(255 * (1 - healthPercent), 255 * healthPercent, 0)
else
if esp.healthBg then esp.healthBg.Visible = false end
if esp.healthFg then esp.healthFg.Visible = false end
end
else
local esp = espObjects[player]
if esp then
if esp.box then esp.box.Visible = false end
if esp.name then esp.name.Visible = false end
if esp.tracer then esp.tracer.Visible = false end
if esp.healthBg then esp.healthBg.Visible = false end
if esp.healthFg then esp.healthFg.Visible = false end
end
end
else
local esp = espObjects[player]
if esp then
if esp.box then esp.box.Visible = false end
if esp.name then esp.name.Visible = false end
if esp.tracer then esp.tracer.Visible = false end
if esp.healthBg then esp.healthBg.Visible = false end
if esp.healthFg then esp.healthFg.Visible = false end
end
end
end
end
end
end
createToggle(espPage, "ESP Enabled", function(v)
espEnabled = v
if not v then clearESP() end
end)
createToggle(espPage, "Boxes", function(v)
boxes = v
if not v then
for _, esp in pairs(espObjects) do
if esp.box then esp.box.Visible = false end
end
end
end)
createToggle(espPage, "Names", function(v)
names = v
if not v then
for _, esp in pairs(espObjects) do
if esp.name then esp.name.Visible = false end
end
end
end)
createToggle(espPage, "Tracers", function(v)
tracers = v
if not v then
for _, esp in pairs(espObjects) do
if esp.tracer then esp.tracer.Visible = false end
end
end
end)
createToggle(espPage, "Health Bars", function(v)
healthBars = v
if not v then
for _, esp in pairs(espObjects) do
if esp.healthBg then esp.healthBg.Visible = false end
if esp.healthFg then esp.healthFg.Visible = false end
end
end
end)
runService.RenderStepped:Connect(updateESP)
runService.Heartbeat:Connect(function()
if godMode and lplr.Character then
local hum = lplr.Character:FindFirstChildOfClass("Humanoid")
if hum then hum.Health = hum.MaxHealth end
end
end)
createButton(teleportPage, "Teleport to Spawn", function()
if lplr.Character and lplr.Character:FindFirstChild("HumanoidRootPart") then
local spawn = workspace:FindFirstChild("Spawn") or workspace:FindFirstChild("SpawnLocation")
if spawn then
lplr.Character.HumanoidRootPart.CFrame = spawn.CFrame
end
end
end)
createButton(teleportPage, "Teleport to Random Player", function()
if lplr.Character and lplr.Character:FindFirstChild("HumanoidRootPart") then
local plrs = {}
for _, p in pairs(players:GetPlayers()) do
if p ~= lplr and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
table.insert(plrs, p)
end
end
if #plrs > 0 then
local target = plrs[math.random(#plrs)]
lplr.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
end
end
end)
createButton(miscPage, "Infinite Yield", function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
end)
playerPage.Visible = true
for _, btn in pairs(tabButtonsFrame:GetChildren()) do
if btn:IsA("TextButton") and btn.Text == "Player" then
btn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end
openButton.MouseButton1Click:Connect(function()
mainFrame.Visible = not mainFrame.Visible
end)
userInput.InputBegan:Connect(function(input, gp)
if not gp and input.KeyCode == Enum.KeyCode.H then
mainFrame.Visible = not mainFrame.Visible
end
end)
closeButton.MouseButton1Click:Connect(function()
screenGui:Destroy()
clearESP()
end)
local function adjustCanvas()
for _, page in pairs(pageFolder:GetChildren()) do
if page:IsA("ScrollingFrame") then
local layout = page:FindFirstChildOfClass("UIListLayout")
if layout then
page.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 20)
layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
page.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 20)
end)
end
end
end
end
adjustCanvas()No comments yet for this script.



