ContentProvider not preloading images

Hi I was trying to preload some image assets, for a cutscene in my game, it’s uses images, I code a simple contentprodiver using ContentProvider:PreloadAsync(), mouse cursor loads but other images does not load for some reason, if all preloaded successfully it should print(“preloaded necessary assets using contentprovider succesfully”) to output, and then enable the loadinghandler script inside of a frame in one of the ScreenGuis, but its not preloading anything at all, it only loads mouse cursor, I guess I scripted it right, but it’s not showing anything in output either

this script is inside the StarterGui, it’s a server script

Try doing it in replicated first

Okay, I’m gonna try and see if its works

I changed the script and put it in ReplicatedStorage, sadly, it’s still the same result, it’s not loading or giving any type of warning or information in output

I solved it, by making the script a localscript in startergui!

It wasn’t running the script because you put it in replicated storage not replicated first just so you know

Oop, I meant ReplicatedFirst* sorry my it was a texting mistake

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