Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Any service to check if all players are loaded in?

Asked by 4 years ago

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

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() kingblaze_1000 359 — 4y
0
Possibly, I'll experiment with that shortly. Thanks. Auxatier 59 — 4y
0
Define loaded in, do the characters just need to be present? User#834 0 — 4y
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. Block_manvn 395 — 4y
View all comments (3 more)
0
Yes, just characters loaded in. Auxatier 59 — 4y
0
Ok, so... Use Player.CharacterAdded event instead Block_manvn 395 — 4y
0
Use Player.CharacterAdded event instead if you want to wait the characters load in. Block_manvn 395 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

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.

Ad

Answer this question