LoadCharacter() taking an insanely long time to load characters

Yea it doesnt do what’s after the function

Can I ask something, if you spawn in (fresh instance) then respawn, then respawn again, does it print “EndTesting” at all?

what do u mean by fresh instance, I respawned 5 times and there was only the prints like before there is no “EndTesting”

1 Like

Sorry bout that by fresh instance i meant as in a new server (like play solo for example)
I know why it didn’t print endtesting right
When you call a function it yields (waits until the func finishes running) and then continues. You’re calling LoadCharacter() func and in it it has a :Wait() (the one where it waits for the character to die) . And after that you’re calling it again so it never gets to reach the EndTesting print statement.

Yeah, I see. I don’t know why its doing that respawning random wait thing tbh. Might be caused by performance or something.

1 Like

Idea: Temporarily remove the model and make it like a part or something and see if it loads quicker (not saying you shouldn’t use the model but just for performance testing