Execute Script when Button Click

I want to execute this script:

when click a button.

How can I do it?

Thanks!

Hello @ejprado

Maybe this can help: