For some reason my :LoadCharacter() is taking 14/20 seconds to finish executing, which is an obnoxiously long and hinders playtesting, it takes around 1sec for LoadCharacter() to finish in a live server,
It only happens in this one place I am working on too, in other places it works fine.
What could the problem be?
This happened to me once. I just had to wait some time until it got autofixed.
Check if there’s any function yielding the code (WaitForChild, wait, task.wait, any:Wait, etc) , if so, use coroutines.
If this doesn’t work, you’ll have to wait some time.
The last roblox service disruption was avatars not loading properly, LoadCharacter would still take only 5secs or so, but now it’s taking ages for me, even when I publish the same place to another place, the issue persists.
Yeah, i’m not sure if the service disruption was the cause of this issue. I suggest you to wait some time and re-checking your code. I hope someone know the solution to this issue.
How would a script affect an internal function like that, all I am doing is Player:LoadCharacter(), and when I test using local server the function finishes in 5secs or so.
Did you even test it? A coroutine creates a new thread, so anything yielding it would not affect whatever’s in the coroutine.
As far as CharacterAutoLoads; I just told you that so you’d know if this would work or not. (Without yielding the code, because that’s the main problem.)