![]() Player. wait for their character to load into the game So in a Script in the Workspace or in ServerScriptService, try this : - wait for a player to join the game So unless this is intentional, if you want everyone to see this change, you need to move the character model in a server-side Script. Meaning that if you move your character in a LocalScript, then all the other players will still see your character model where it was, not where you moved it. If you want to guarantee that the character model exists at the time you run this code, it needs to be in StarterCharacterScripts.Īs for the problem with LocalScripts, they make changes to the world only on your client. So it's possible that their character doesn't even exist at the time you're telling it to move. So your script should look something like this in the end: local player player.CharacterAdded:Connect (function (character) -Do stuff with character instance here, this will only fire once the character has been added end)) If I don’t place the wait () function at the beginning of the local script, then everything. These LocalScripts execute when the Player joins the game, not when their character model appears. ![]() Timing-wise, you have this code in StarterPlayerScripts. Is half correct, you do need to use the Model:MoveTo function, but you might have some other issues as well : timing and LocalScripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |