If possible, when dying be teleported to a different world Thank you
Hi Eds456oficial,
local players = game:GetService("Players"); -- The players service local teleport = game:GetService("TeleportService"); -- The teleport service local id = 226039913; -- The id of the place, can be found in the url when you're on the page of the game. players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid"); -- The humanoid of the character. hum.Died:Connect(function() teleport:Teleport(226039913, plr); end) end) end)
Thanks,
Best regards,
~~ KingLoneCat