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

How to past an variable in path?

Example:

local Russia = Moscow
game.Workspace.Russia.Anchored = false

Studio says what it can't find that member.

1 answer

Try this:

local Russia = "Moscow"
game.Workspace[Russia].Anchored = false

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