Hey Roll20 API forum, I'm new to scripting, so new as to never had used javascript until today and also evidently new to the Roll20 API as well. Never the less I have programmed for a while so I have a fundamental understanding for it. The issue I'm having is I can read and create an object of an attribute from a sheet that is connected to a token on the board using the findObj function but I fail to manage to then alter the value with something new. I have provided how I'm reading this attribute and tried to change it below hopefully someone can help me. <a href="https://gist.github.com/banebu13/45cb3bbd7cedc7378ab9adebd466c4c7" rel="nofollow">https://gist.github.com/banebu13/45cb3bbd7cedc7378ab9adebd466c4c7</a> I'm working on a script that allows for temp hp to work with the token without adding it to the bars as long as its on the the sheet connected to the token. The script is supposed to check for temporary hit points if there is any remove those first on the sheet and then remove hit points. I.e. I have a token that's connected to my character sheet. My character currently benefits from 5 temporary hit points and is hit by an attack. Lets say the attack does 3 damage, I press my token and in the corresponding bar for hp I deduce 3. I now have 2 temporary hit points and my hp is still full. If I take another attack of 3 my temporary hit points go down to 0 and I take 1 point of damage to my main hit point pool. I've got most of that functionality working except I can't get it to actually decrease the temporary hit points so I'm hoping someone here can help. I intend to post the whole script publicly when I finish it. Edit: Also how do people get their code into this post rather than linking to elsewhere haha