I was recently making a Roblox game called "The nutcracker". in Roblox, The only problem is when I was making a death screen I already know how to make a "Back to lobby" button,
local TeleportService = game:GetService("TeleportService")
local Place = Place id here
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
TeleportService:Teleport(Place, player)
end)
But the problem is I don't know how to make a respawn button. Please Help!
Many Thanks, Cyber_gamer91 Game link here! https://web.roblox.com/games/4451993957/The-Nutcracker

1 comment
LoadCharacter (respawn argument) can only be called from server. This means you'd have to fire a remote event when you click the 'respawn' button on the client.