Run it
Copy the script and paste it into your executor.
local lp = game:GetService("Players").LocalPlayer
local char = lp.Character or lp.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local mt = getrawmetatable(game)
setreadonly(mt, false)
local oldNamecall = mt.__namecall
local oldNewIndex = mt.__newindex
mt.__namecall = newcclosure(function(self, ...)
local method = getnamecallmethod()
if typeof(self) == "Instance" and self:IsDescendantOf(lp.Character) then
if method == "TakeDamage" or method == "BreakJoints" then
hum.Health = 100
return nil
end
end
return oldNamecall(self, ...)
end)
mt.__newindex = newcclosure(function(self, key, value)
if self == hum and (key == "Health" or key == "MaxHealth")
(self, key, value)
)Prevents any deaths from LOCALSCRIPTS NOT SERVERSCRIPTS