Hello, To be clear I am a noob at writing scripts, but have done some research and I am still stumped. I have tried several different ways to convert a variable into a negative number but it always seems to end up as a positive number in my script. Is there a secret to this? Also, I am using an attribute and an attribute_max in the script and wondering if this is also an issue. I find when I set under to -12 things work as expected (so I think the syntax is ok, not totally sure) but if I try and convert the variable into a negative number it does not work. Any advice or help would be greatly appreciated. Also I am not 100% sure ab <!-- Status --> <script type="text/worker"> on("change:wounds change:choked change:endurance change:max_wounds sheet:opened", function() { getAttrs(["WOUNDS","WOUNDS_MAX","ENDURANCE","CHOKED"], function(values) { let max = parseInt(values.WOUNDS_MAX)||0; let wounds = parseInt(values.WOUNDS)||0; let endurance = parseInt(values.ENDURANCE)||0; let choked = parseInt(values.CHOKED)||0; let under = -max; if (wounds < under || choked < -5) { status = "Dead"; // } else if ((wounds < 1 && wounds >= (wounds_max * -1)) || (choked < endurance && choked > -6)) { // status = "Unconscious"; // } else if ((wounds < wounds_max && wounds > 0) || (choked < endurance && choked > 0)) { // status = "Wounded"; } else { status = "Healthy"; } setAttrs({ "health": status }); }); }); </script> Thanks