Need help creating checkbox for button in the Toolbar

Have a button run selected checkbox script?

Not sure what you want, but probably a BoolProperty() with an update-callback added to a panel.