Hello everyone I am trying to wait until the player has fully loaded in and can view my Intro. It needs to start as soon as the player can view their screen. Any help? I'm currently doing:
local LocalPlayer = game.Players.LocalPlayer while LocalPlayer == nil do wait() end
Your problem is that you're waiting for the Player to load instead of the Character. The Player is the first thing to load in when you join a game. The other stuff like the Character and its children which is Body Parts, Accessories, Clothes, etc are what load after.
for i,v in pairs (LocalPlayer.Character:GetChildren()) do while v == nil do wait() end end
local player = game.Players.LocalPlayer workspace:WaitForChild(player.Name) --type the rest of the intro code here
You can just do couple of things:
local plr = game.Players.LocalPlayer game.workspace.WaitForChild(Player.Name)
local plr = game.Players.LocalPlayer plr:Load()
wait(5)
You can also wait until the server started up or when player is added.