MV Get element type name for HUD maker

Hello, I am using SRD (SumRndmDde/SRDude) HUD maker. I'm trying to set the value so that my character's element shows up on the HUD.
Here are codes I tried and I don't get why they're not working.
${$gameParty.leader().elements().name()}
${$gameParty.leader().elements()}
Basically, I want to display the leader's element name on the hud.

Thank you so much for taking the time!
my character's element
Actors dont have elements innately. you would have to show us what plugin youve used to add that, or show how youve created that element data
Actors dont have elements innately. you would have to show us what plugin youve used to add that, or show how youve created that element data
They don't? I added a tag in the "traits" section of the actor, where I chose "Attack Element" and then the element. I did not use any plugins for this
Actors dont have elements innately. you would have to show us what plugin youve used to add that, or show how youve created that element data
I believe i have confused this and this is for the elements the actor is able to have in the attacks. In that case what workaround can i do to set an element for an actor and have it show on the hud?
I added a tag in the "traits" section of the actor, where I chose "Attack Element" and then the element.
thats a different. there is no giving an actor an "element", but an "attack element" can be given. to get the leader's attack elements you'd use
Code:
$gameParty.leader().attackElements()
it would be an a list of elements they have though. if you only use one and youre sure youll only ever be able to have one on that actor, you can use this to get the first one
Code:
$gameParty.leader().attackElements()[0]

then if its the name of the element you want, use
Code:
$dataSystem.elements[$gameParty.leader().attackElements()[0]]
Something like this, maybe?
JavaScript:
$gameParty.leader().attackElements()[0]
Or the name?
JavaScript:
$dataSystem.elements[$gameParty.leader().attackElements()[0]]
Edit: ninja'd by Robro33 for 9999 damage
Thank you both!!! Worked like a charm!

Original thread: https://forums.rpgmakerweb.com/threads/get-element-type-name-for-hud-maker.173035/