Is it possible for a server script to interfere with the StarterGui->PlayerGui process?

I have had an issue where my code failed to work. For a while I was stumped, until realizing it was because one of my GUIs wasn’t being replicated into the PlayerGui, and there was a :WaitForChild() on it. So, I looked through all my code, checking to see if there was any :Destroy() calls on it, which there weren’t.

Eventually, through some testing and trial and error, I narrowed it down to my code which sets a player’s appearance. I won’t post all the code because it’s moderately sensitive, unless I have to. But, is there anything this code could do that could indirectly interrupt this process (Not using :Destroy() or the likes)?

Thanks.

2 Likes

There’s the fact that the server is internally responsible for populating PlayerGui elements with StarterGui, otherwise no even code shouldn’t interrupt this process. The only interruption I know of is if CharacterAutoLoads is false because CharacterAdded will never initially fire, so you’d have to manually handle such replication yourself for the first time (unless you LoadCharacter right away).

2 Likes

That’d definitely be it then, because the specific code I am mentioning has CharacterAutoLoads in it. Alright, thanks for the help.

1 Like