I wrote this code today but have recently decided I would the player to rejoin the place instead of be kicked.
I do not know how to do this.
Code I wrote for kick on death:
Message = "Table boss has wrecked you."
game.Players.PlayerAdded:connect(function(plyr)
repeat wait() until plyr.Character ~= nil
repeat wait() until plyr.Character:FindFirstChild("Humanoid") ~= nil
plyr.Character.Humanoid.Died:connect(function()
plyr:Kick(Message)
end)
end)
If anybody could help it'd be greatly appreciated.
Note: Not sure if it will matter but the place that it needs to rejoin is a place and not a starter-place.
-Nohidas :D

2 comments
Thank you very much!
Wow, I never knew teleport service worked for your own game! So that's how rejoin commands work on admin loaders! Thank you, upvoted!