Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

to change this

local Storage = game.Lighting to find it inside of a model for this map changer? would it be simple as, game.Lighting.["Modelname"]?

1 answer

Log in to vote
1
Answered by
Ekkoh 635 Moderation Voter
9 years ago

If the Model is inside of Lighting, then you would index it like so:

local Storage = game.Lighting["ModelName"] -- note there is no `.`
-- or
local Storage = game.Lighting.ModelName
Ad

Answer this question