Change button text based on state of boolean

Hi,

I have several buttons which fire scripts, and I wish to change the on/off text of these buttons basis the on/off state of various Boolean Inputs.

What I can’t do is fire the script from the Boolean for other reasons. Currently the on/off state is basis the script in the entity field (running or stopped).

What I need is effectively a push of the button to fire the script (and this works now), but the on/off text on the button to change basis the Boolean which is switched on/off by another signal from a different system.

How can I go about this?

Thanks.