Whenever I call NetworkClient:PlayerConnect while using a plugin, Roblox Studio crashes. I called NetworkClient:PlayerConnect in the command bar using the following code:
game:GetService("NetworkClient"):PlayerConnect(0, "localhost", 53640)
The function executed with no problems. But calling the function at the plugin’s security level seems to crash Roblox Studio and it reproduces the bug. The bug happens 100% of the time.
This bug ruins my Multiplayer Studio plugin and a few other multiplayer studio plugins on the Catalog.