I am trying to take a string(such as "game.Workspace") and use it as a path. How can I do this?
C_ROOT = script:FindFirstChild("ROOT_LOC").Value; --String value
for i, v in pairs(C_ROOT:GetChildren()) do --Cannot do this because it is a string
print(i, v)
if (v.ClassName == "RemoteFunction") then
ROOT_LINKER = v;
end
end

1 comment
Duplicate of: https://scriptinghelpers.org/questions/7192/how-would-i-convert-a-string-to-an-object-reference