I have a custom character load script that changes the character's re-spawn time and a name tag script in ScriptServices so that they run as soon as the player joins but I can't get the name tag script to wait for the character to load. This is the script:
local NameTagGui=game:GetService("ServerStorage"):WaitForChild("NameTagGui") game:GetService('Players').PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) wait() if not game:GetService("Workspace"):FindFirstChild(player.Name.."") then wait() return else local humanoid=character:FindFirstChild("Humanoid") local head=character:FindFirstChild("Head") humanoid.DisplayDistanceType="None" local Clone=NameTagGui:Clone() Clone.Parent=head Clone.NameTag.Text=(player.Name) end end) end)
Just do
game.Workspace:WaitForChild(player.Name)
It will wait until the character is in Workspace.