local Player = game.Players.LocalPlayer
function PlayerCheating(MaxHealth)
if Player.Character.Humanoid.MaxHealth > 100 then
print(Player.Name.." has increased health by "..Player.Character.Humanoid.MaxHealth)
end
end
Player.Character.Humanoid.MaxHealth.Changed:connect(PlayerCheating)
error code: 03:23:39.014 - Workspace.Script:9: attempt to index field 'MaxHealth' (a number value)
03:23:39.015 - Stack Begin
03:23:39.015 - Script 'Workspace.Script', Line 9
03:23:39.015 - Stack End |