Is there a specific type of instance that is always loaded last?

I want to reliably wait until a custom character has completely loaded. Since there aren’t any perfect ways of doing this, I was wondering if there is a type of instance that always loads last, so I can wait for it to appear in my character to know it has finished loading entirely.

It sounds like a hack, but it’s something I would like to find out, regardless of whether it is a wise idea or not.

You can write this in a local script.

local player = game.Players.LocalPlayer

repeat wait(1) until player.Character

--Code will be executed after the player's character has loaded.

There isn’t. I’m pretty sure replication occurs in an ordered list of elements from first added to last, rather than the type of instance given. That’s what makes sense, anyway.

@BPilot253 That’s not quite what OP is asking though a comment on the code: never use that. Don’t use loops where not necessary. Try going for a more event-based approach, as events exist to do this. Check for a character or wait until the CharacterAdded event is fired.

local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()