Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make the "assets" valid?

1 comment

0

Maybe the problem is you try to get access in to ServerStorage by LocalScript which is you can't. And next time, try to write your script in question rather than screenshot it.

1 answer

Ok, so this is the problem. Like Block_manvn said, ServerStorage can not be referenced, by a localscript, as it can only be accessed by the server. If you have items in ServerStorage, run the game, and then look at ServerStorage in the client mode in the explorer, you will see that the client knows it exists but it cannot look inside. If you go to server and see it, you will see everything because the server can see inside. What I am saying is, if it is necessary that you use a localscript, you might just have to use remote events, or move the Assets folder to a place that is recognizable by a local script like Replicated Storage, which is also available to the server.

1 comment

0

Retro and block, thank you so much. It worked.

This discussion is preserved as it was. New answers, comments, and votes are closed.