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

What does this mean?

I am trying to access ServerStorage, by going game.ServerStorage, but then the output displays 'ServerStorage is not a valid member of DataModel.' Should I not use ServerStorage for storing stuff which I clone?

Code (the variables, as they are the problem)

local ngill = game.ServerStorage.Narrowgill:Clone()

local tmple = game.ServerStorage.Temple:Clone()

local pgrounds = game.ServerStorage.Pitgrounds:Clone()

local btops = game.ServerStorage.Bricktops:Clone()

local bstn = game.ServerStorage.Bastion:Clone()

local lobby = game.ServerStorage.Lobby:Clone()

Thanks, if you can answer, it would be greatly appreciated!

3 answers

You can use ServerStorage if the object you're using has a global (not a client) purpose. This means that a regular script is more ideal than a local script, since local scripts are client-based.

Instead of game.ServerStorage you should use game.Lighting. It's more simpler.

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