How to wait for core player module to load

I am having an issue with the core PlayerModule script that is added to Player.PlayerScripts by default by Roblox. As that script is essential for player control and camera movement, it is clashing with my own scripts, is there any way to yield till the Core PlayerModule scripts are loaded? So once they have finished loading, I can continue my scripts.

1 Like

:WaitForChild()

1 Like

Thats is to detect when the PlayerModule has been added to the PlayerScripts folder, but not to detect actual loading inside the PlayerModule

1 Like

Specify.

Because you cant detect whether or not its loaded in without checking if the script exists, specifically RbxScriptsLoader, therefore you must wait until either those scripts appear in order for your code to work, if you need its contents, use require().

I mean if they have finished executing their internal code.

Then no, it isnt possible unless you have something in place to check if they are done.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.