Hey, I recently became a pro subscriber on Roll20 and I have been trying to get some API scripts to work. So far most of them have gone without problems but I've encountered an issue with a script that would allow my druid to shapeshift into different animals. This is the script I've imported: wildshape API The script works when the player goes from his character (Loli) to the animal but when going back I get a crash with the following error message: This error originates from the last part of the code after the first IF function (if its an npc) when it goes into the ELSE function the 'id' seems to be undefined. I tried a lot of things but I've been unable to fix the problem. Does anyone have any insights into what is going wrong?