So I need to delay the player's spawn until a specific GUI gets moved to the starterGui, I would show some code but I have literally no idea on this one, any help would be appreciated.
✓ ANSWER ACCEPTED
How can I delay the player's spawn?
1 answer
✓ Accepted answer
You could spawn the character in a hidden box or something and move him to the real spawnpoint using the UpperTorso CFrame after the GUI got moved.
local LPlayer = game.Players.LocalPlayer
if gui.Visible == false then --Change it to your GUI
if LPlayer.Character and LPlayer.Character:FindFirstChild("UpperTorso") then
LPlayer.Character.UpperTorso.CFrame = CFrame.new(-6012.021, -62.02, -4623.01) --The Position
This discussion is preserved as it was. New answers, comments, and votes are closed.
