How do I read Table Data?
01 | local Name = "Coordinate Value Here" |
05 | [ "11" ] = Vector 3. new(- 23.9 , 0.2 , 12.4 ); |
06 | [ "12" ] = Vector 3. new( 0 , 0 , 0 ); |
11 | function GetLandingPos(Name) |
12 | for i,p in pairs (LocationTable) do |
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?
1 | Ext.Parent:MoveTo(TABLE VALUE HERE) |
Like That