First, go to your campaign settings page, look for API settings in the dropdown to the right. =========================== Then go to API scripts, and add TokenMod select token mod and scroll down to click Add Script. ============================= Now, enter your campaign, and setup your monster as you did in the screenshot above: =========================== Almost done! Now create a macro, with the text suggested by Al e above. Set that as a Token action, and save that macro. ===================== Now you are ready. Drag the monster token onto the map, make sure its selected, and run the macro. It will fill bar1 with a random roll of hit points. The neat thing is, you only need do this once. It will work for every monster that has HitDice setup, and you can drag any number of tokens from the same monster and roll their Hit Points separately. Hope that helps!