
KeylessUniversal

local player = game.Players.LocalPlayer
local runService = game:GetService("RunService")
local userInput = game:GetService("UserInputService")
local gui = Instance.new("ScreenGui")
gui.Parent = game.CoreGui
gui.Name = "GodModeToggle"
gui.ResetOnSpawn = false
local button = Instance.new("TextButton")
button.Parent = gui
button.Size = UDim2.new(0, 60, 0, 60)
button.Position = UDim2.new(0.85, 0, 0.85, 0)
button.BackgroundColor3 = Color3.fromRGB(30, 144, 255)
button.Text = "GOD"
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Font = Enum.Font.GothamBold
button.TextSize = 14
button.Draggable = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 30)
corner.Parent = button
local enabled = false
local connection = nil
local function enable()
enabled = true
button.BackgroundColor3 = Color3.fromRGB(60, 255, 60)
if connection then connection:Disconnect() end
connection = runService.Heartbeat:Connect(function()
if enabled and player.Character then
local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Health = humanoid.MaxHealth
end
end
end)
end
local function disable()
enabled = false
button.BackgroundColor3 = Color3.fromRGB(30, 144, 255)
if connection then
connection:Disconnect()
connection = nil
end
end
button.MouseButton1Click:Connect(function()
if enabled then
disable()
else
enable()
end
end)
userInput.InputBegan:Connect(function(input, gp)
if not gp and input.KeyCode == Enum.KeyCode.G then
if enabled then
disable()
else
enable()
end
end
end)
player.CharacterAdded:Connect(function()
if enabled then
wait(1)
enable()
end
end)



This doesn't work because it's outdated.