Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to prevent an after death exploit. Anyone?

Asked by 8 years ago
Edited 8 years ago

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.

1
You can disable http://wiki.roblox.com/index.php?title=API:Class/Players/CharacterAutoLoads and handle character respawning yourself. I'm not quite sure exactly what your issue is or what's causing it. 1waffle1 2908 — 8y
0
Well, it isn't anything abnormal if you time it just right you can exploit it and this is why I am trying to figure out the best way to avoid it. Dark_Alchemist 0 — 8y
0
That works but my problem is then I will have to not only spawn them where they need to go but I must rebuild their body and do everything the LoadCharacter routine does and I have no idea how. Dark_Alchemist 0 — 8y
1
With CharacterAutoLoads off all you have to do is get the player object and use the function :LoadCharacter() to load their character. You don't have to rebuild their character. User#11440 120 — 8y

Answer this question