Not a valid member of ServerStorage?

I’m trying to clone something, but when I get the object to clone that’s in the server storage, it gives me an error that it’s not able to find it, when it’s obviously there. I made sure the name was spelled right, I even put a :WaitForChild(), and even put a Wait(5). Still does not detect it. Why?

Server Script:

local mag2 = game.ServerStorage.P2000_mag:Clone()

9 Likes

Is it on the client?
Client scripts cant access serverstorage

18 Likes

Oh I didn’t know that. lol Is there a good location to put the object that im trying to clone if im trying to clone it locally?

1 Like

ReplicatedStorage is a perfect place.

10 Likes

Alright thanks, i marked your other reply as a solution