
Key Required VerifiedUniversal
local Players=game:GetService("Players")
local LP=Players.LocalPlayer
local currentHum=nil
local function getHumanoid()
local char=LP.Character
return char and char:FindFirstChildOfClass("Humanoid")
end
currentHum=getHumanoid()
if currentHum then currentHum.Health=currentHum.MaxHealth end
local oldNC
oldNC=hookmetamethod(game,"__namecall",newcclosure(function(self,...)
local method=getnamecallmethod()
if currentHum then
if method=="TakeDamage"and self:IsA("Humanoid")and self==currentHum then return nil end
if method=="BreakJoints"and self:IsA("Model")and self==LP.Character then return nil end
if method=="ChangeState"and self:IsA("Humanoid")and self==currentHum then
local state=select(1,...)
if state==Enum.HumanoidStateType.Dead then return nil end
end
if method=="Kill"and self:IsA("Humanoid")and self==currentHum then return nil end
end
return oldNC(self,...)
end))
local oldNI
oldNI=hookmetamethod(game,"__newindex",newcclosure(function(self,key,value)
if currentHum and self:IsA("Humanoid")and self==currentHum then
if key=="Health"and(typeof(value)=="number"and value<self.MaxHealth)then return end
end
return oldNI(self,key,value)
end))
LP.CharacterAdded:Connect(function(char)
task.wait(0.5)
currentHum=char:FindFirstChildOfClass("Humanoid")
if currentHum then currentHum.Health=currentHum.MaxHealth end
end)


works on tower fl and more tower games