So basically I'm going to try to exploit my friends game for testing purposes. He's paying me som robux. And I want to make a script that basically will crash hes server. Don't worry its totally fine for him and he's paying me 150 robux for doing this.
So basically I need a script that I can execute in he's server. And when I reset my character I should respawn at once. No delay.
Here's the solution:
function onAdded(plr) plr.Character.Humanoid.Died:Connect(function() plr:LoadCharacter() end end
The function "onAdded" will fire every time a player joins the game. If they reset themselves they will instantly spawn back due to "plr.LoadCharacter()" If you want to add a delay to when they respawn, use wait() and put the delay (seconds) in the parenthesis.