
KeylessUniversal

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
-- Create ScreenGui and Button
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
screenGui.Name = "AntiVoidGui"
local button = Instance.new("TextButton", screenGui)
button.Size = UDim2.new(0, 150, 0, 50)
button.Position = UDim2.new(0.5, -75, 0, 50)
button.Text = "Enable Anti-VoidKill"
button.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.SourceSansBold
button.TextScaled = true
local antiVoidEnabled = false
local voidYLevel = -50 -- Y position considered as void
local safePosition = Vector3.new(0, 50, 0) -- Position to teleport player to if they fall
button.MouseButton1Click:Connect(function()
antiVoidEnabled = not antiVoidEnabled
if antiVoidEnabled then
button.Text = "Disable Anti-VoidKill"
button.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
else
button.Text = "Enable Anti-VoidKill"
button.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
end
end)
-- Monitor player's position
game:GetService("RunService").Heartbeat:Connect(function()
if antiVoidEnabled and humanoidRootPart and humanoidRootPart.Position.Y < voidYLevel then
humanoidRootPart.CFrame = CFrame.new(safePosition)
end
end)
-- Update humanoidRootPart reference if character respawns
player.CharacterAdded:Connect(function(char)
character = char
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
end)



Alr, it's simple but pretty good
So this is basically like god mode scirpt right?
K