Run it
Copy the script and paste it into your executor.
--------------------------------------------------
-- GOD MODE / ANTI-DEATH
--------------------------------------------------
local function enableGodMode()
if not hum then return end
-- Core settings
hum.MaxHealth = math.huge
hum.Health = math.huge
hum.BreakJointsOnDeath = false
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
-- Prevent health loss
hum.HealthChanged:Connect(function()
if hum.Health < hum.MaxHealth then
hum.Health = hum.MaxHealth
end
end)
-- Prevent kill scripts / force death
hum.Died:Connect(function()
hum.Health = hum.MaxHealth
end)
-- Optional: ForceField (extra safety)
if not char:FindFirstChild("ForceField") then
local ff = Instance.new("ForceField")
ff.Visible = false
ff.Parent = char
end
player.CharacterAdded:(()
.()
()
)
()

Universal