Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = game:GetService "Players".LocalPlayer
- if lp.Character:FindFirstChild "Head" then
- local char = lp.Character
- char.Archivable = true
- local new = char:Clone()
- new.Parent = workspace
- lp.Character = new
- wait(2)
- local oldhum = char:FindFirstChildWhichIsA "Humanoid"
- local newhum = oldhum:Clone()
- newhum.Parent = char
- newhum.RequiresNeck = false
- oldhum.Parent = nil
- wait(2)
- lp.Character = char
- new:Destroy()
- wait(1)
- newhum:GetPropertyChangedSignal("Health"):Connect(
- function()
- if newhum.Health <= 0 then
- oldhum.Parent = lp.Character
- wait(1)
- oldhum:Destroy()
- end
- end)
- workspace.CurrentCamera.CameraSubject = char
- if char:FindFirstChild "Animate" then
- char.Animate.Disabled = true
- wait(.1)
- char.Animate.Disabled = false
- end
- lp.Character:FindFirstChild "Head":Destroy()
- end
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- print('infinite health activated..')
- game.Players.LocalPlayer.Character.Humanoid.Health = 99999999999999999999999999999999999999999999999999999
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 99999999999999999999999999999999999999999999999999999
- Humanoid.Health = Humanoid.MaxHealth / 999999999999
- Humanoid.HealthChanged:connect(function()
- if Humanoid.Health < 1 then
- Humanoid.Health = Humanoid.MaxHealth
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement