Problem with respawning

Ok so i want my player to click the respawn button after being killed but im not exactly sure how i would do that>…
My idea was to do this:

this.button ='Button');
if(this.button.isPressed) {*Back to spawn point*/)

would this be logical enough to work?

Actually i fixxed that problem the problem i have now is undestroying my scripts i destroyed… does anyone know how to call back the destroyed scripts? i tried enabling them but wont work. Someone please help

Rather than destroying the scripts, it would make more sense to just disable them if you need them later?

yes but when i tried disabling them enabled caled undefined