View difference between Paste ID: hZwerMps and nFLLR3MQ
SHOW: | | - or go back to the newest paste.
1
local plr = game.Players.LocalPlayer
2
local character = plr.Character
3
player = game:GetService("Players").LocalPlayer
4
chara = player.Character
5
local humanoid = character.Humanoid
6
chara.Humanoid.MaxHealth = math.huge
7
chara.Humanoid.Health = math.huge
8
9
humanoid.Changed:connect(function()
10
if chara.Humanoid.Health > math.huge then
11
chara.Humanoid.Health = math.huge
12
13
 end
14
end)