(Help) Unable to pre-load assets using Content Provider Service

I used content provider service to preload a few assets. However, it didn’t work and gave me an error in the output.

Assets:

Assets

Script:

Script

Output:

Output

@BanTech can you please help? It would be much appreciated. :slight_smile:

Please give us your code, and the full error!!!

PreloadAsync takes a table.

Put all three objects into a table and then send the table to the method.

ContentProvider:PreloadAsync({ MoveSelectionGui.Frame.Rock, MoveSelectionGui.Frame.Paper, MoveSelectionGui.Frame.Scissors })

2 Likes

It worked! Thank you so much, just one more thing though, what if you only want to preload 1 value?

You would still put them into a table, {object1}.

1 Like

Wait, can you make tables with 1 values?

Yes, you can make tables with 0 values too.

1 Like

Wow, thank you so much! I didn’t know that!

1 Like