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

scripts is not a valid member of "ServerStorage"?

I'm trying to copy a script but it won't work....help?

Code:

   local ServerStorage = game:GetService("ServerStorage")
           local CoinScript = ServerStorage.scripts.CoinScript:Clone()
           CoinScript.Parent = script.Parent
               script:Destroy()

1 answer

If my guess is correct you're using a LocalScript, if that's the case ServerStorage can't be accessed through the client due to how FilteringEnabled works, I suggest you use ReplicatedStorage or ReplicatedFirst instead.

1 comment

0

it works thank you so much!

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