Volume down (script help)

Hello...sooo... basically I suck at coding... I just don't understand it very well and I been trying to make this script for the like last 15 hours to no avail. I really should learn it but for now I just want to implement into my preset.

I been trying to create a apple script for a volume down button and having it display two icon options...

when volume is not muted it will show this icon -

and for when volume is muted this -

I know this probably simple coding... I just don't get it... I would really appreciate any kind of help!


ok maybe also this one for the mute instead.. the different styles would definitely bother me.. my bad.