local Name = "Coordinate Value Here" -- Module Script local Module = { ["11"] = Vector3.new(-23.9, 0.2, 12.4); ["12"] = Vector3.new(0,0,0); } return Module -- Main Script function GetLandingPos(Name) for i,p in pairs(LocationTable) do if (i == Name) then return p end end return nil end
I store various locations on the map in a Module Script, which contains a table of all the locations.
If a Table Matches a Coordinate Input Ex. Coordinate 11, Coordinate 12 ETC. It will travel to that Table items Vector3 Value.
How would I get the Vector3 to go into a MoveTo?
Ext.Parent:MoveTo(TABLE VALUE HERE)
Like That
you would do Ext.Parent:MoveTo(NameOfTableHere["11"])