So I made a boss battle game.
But I so happen to realize, when you die you DO get teleported back.
But you can rejoin the server!
I need some help on finding out on how to make you unable to join the server after dying.
Help would be VERY Appreciated.
This is the code that teleports you to the game when you die.
game.Players.LocalPlayer.Character:WaitForChild('Humanoid').Died:Connect(function() script.Parent.TextLabel.Visible = true wait(5) game:GetService('TeleportService'):Teleport(6118355358, game.Players.LocalPlayer) end)
If you could make the player that died NOT able to join the server, that'd be good!