HUD Overlays in AppleScript

easiest is to use a variable in the hud action, have a look here:

It‘s also possible to do everything from the script, but the variable approach makes formatting easier