Are you saying you want to access the contents of the bar when it's not linked to a character's attribute? You can do that with: @{selected|bar3} for current value of bar3
@{selected|bar3|max} for the max value of bar3 That also works if it is linked to an attribute. You can also use the target syntax if you can't select it: @{target|bar3} or @{target|which|bar3} for the current value of bar3 for what you click on.
@{target|which|bar3|max} for the max value of bar3 for what you click. You have to use the label version for the max value. You might look at this: <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a> If you're looking for a way to have each goblin have it's own hp and not share them across all goblins, look at this: <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a>