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") then return end return oldNewIndex(self, key, value) end)