Way to let ContentProvider:PreLoadAsync callbackfunction call only one time

Hi! I recently wanted my script to wait for something to be loaded, using the ContentProvider:PreLoadAsync function. But it was calling the callbackfunction multiple times. Is there a way to only let the ContentProvider:PreLoadAsync call the function once when it’s completely loaded?

It is supposed to call multiples depending how many instances are in the contents list. Just think about callbackfunction as inpairs

1 Like

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