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

How to make sure player is loaded before running any scripts?

Asked by 4 years ago

Is there a way to delay scripts until the character is fully loaded into the server? Isn't there like a Character.IsLoaded() or something like that? Appreciate any help i can get.

0
If you mean that the character just joins the game...make the scripts wait a little while(1-3 seconds)and its probably going to load in whatever you want to add. bostaffmanbulgaria1 89 — 4y
0
while not player.Character then wait end whenallthepigsfly 541 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

just use a if game.Players.LocalPlayer.Character ~= nil then

Ad

Answer this question