Is this script just made when XHR came out.
Or why is it still using it as it’s old version of fetch API?
I also see this is very huge exploit that you are not even checking on the nuiCallback if the player is dead or not so you allow respawn on respawnbuttonpressed post request.