Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Any service to check if all players are loaded in?

Is there any service that allows you to check if everyones character or player is loaded in?

7 comments

0

I'm not sure but i don't really think there is. There is a way you could do this, by maybe using like a table and insert the player's name into the table once their character is there? I was thinking you could do game.Players.LocalPlayer.Character:wait()

0

Possibly, I'll experiment with that shortly. Thanks.

0

Define loaded in, do the characters just need to be present?

0

It better to use game.Players.PlayerAdded:Wait(). And @kingblaze_1000, :Wait() is only use for event (if I'm right), use :WaitForChild() instead.

0

Yes, just characters loaded in.

0

Ok, so... Use Player.CharacterAdded event instead

0

Use Player.CharacterAdded event instead if you want to wait the characters load in.

1 answer

✓ Accepted answer

You should put this in a localscript for each player:

    if not game:IsLoaded() then
        game.Loaded:Wait()
    end

game.Loaded is an event for each player that fires whenever a player's game has finished loading. Maybe you can fire a remote event for everytime a player loads? I'm not that good at RemoteEvents and RemoteFunctions so I can't really give you any code.

This discussion is preserved as it was. New answers, comments, and votes are closed.