This line doesn't get all the player's stats instantly

The only script i rewrote is only setting the parent and adding the frame to in game player’s gui. Now it works on my local leaderboard system (maybe, i didnt test with 2 or more players), anyway i just woke up imma try to fix the bug. Lemme know if u know if you got a solution to this.

Also what i mean by merge, i mean converting it from a gui script to a serverscriptservice script, my bad.

Looks like I can’t fix it, idk how to fix this.

If anyone knows how to fix this, please tell me and oh also include the code.

Now this bug is occurring right now that I can’t fix. Any solutions? (I added a coroutine.wrap(function() into the script)

I decided to use memoization and yeah now marked as a solution.