Disabling Respawn Mechanics does not work

as the title implies… i am making a gamemode where players have to spawn in rounds or waves. for this, i need to disable the respawn mechanic… but its really glitchy. sometimes it works, sometimes players are allowed to respawn.

i sidestepped this issue by setting the respawn delay to 9999, but this should not be nessecary :s