This is an example of my best try at the moment but it didnt woks


script.rndstringvalue.Value = "game.Workspace.rndFolder.xpart"

xstringvalue = script.rndstringvalue.Value

objeto = string.gsub(objeto, "game.","",1)

xcoord = game[objeto].Position.X

basically with the string object reference (at a StringValue) i need to get its x coord

-- I speak spanish sorry if i have any grammar error

1 comment

0

I've answered something similar to this before, you can find it here: https://scriptinghelpers.org/questions/39305/converting-a-string-hierarchical-to-object-hierarchical#41582