I have a round of X amount of time and when the round is up it will teleport you to another "intermission" place for X amount of time and the process repeats forever. Now, I was testing last night and had a brilliant idea for an exploit on my game and it worked and I need some help on how to prevent this.
The exploit is that right about the time the round is over you die (doesn't matter if killed, fell to your death, or reset) and the round will teleport you to the intermission zone BUT the game will teleport you to the "arena" before anyone else because of the death respawn happening.
Is there anything I can latch onto, or change, to prevent that respawn from happening since I am going to spawn you to the arena anyway when the intermission time is up? I am stumped on how to prevent this exploit as that would give a HUGE advantage to the one doing it.
Maybe a toggle that you have died before but you could have died hundreds of times before the normal not exploit way too.
The only way I can think is to let you die and in my death script check if we are in an intermission and in the intermission script check if you are dead then do something but the system respawning you is the evil thing in this instance and changing Humanoid to something else isn't a wise move if even temporarily.