Closed LakeYS closed 4 years ago
It isn't checking if %client.player exists before running a function on it. Replace line 126
%health = 100 - %client.player.getDamageLevel();
With this
if(!isObject(%client.player))
%health = 0;
else
%health = 100 - %client.player.getDamageLevel();