Hi i am trying to make script for random location of part here is sript
locations = {
-188.7, 54.41, -226.45,
-167.8, 54.41, -226.45,
-147, 54.41, -226.45,
-125.6, 54.41, -226.45,
-28.5, 54.41, -226.45,
-7.6, 54.41, -226.45,
13.2, 54.41, -226.45,
34.6, 54.41, -226.45,
-188.7, 54.41, -148.95,
-167.8, 54.41, -148.95,
-147, 54.41, -148.95,
-125.6, 54.41, -148.95,
-28.8, 54.41, -148.95,
-7.9, 54.41, -148.95,
12.9, 54.41, -148.95,
34.3, 54.41, -148.95,
}
workspace.Restaurants.Mark.Position = Vector3.new(locations[math.random(1,16)])
but it seems like i cant use it cuz it use only one number so is here any way how to use them in table or is here any other way? i cant find any help on forums so i asked here if u have any article about this please send it :c thank you

1 comment
Instead of saving a big list of positions you could just save vector3s in the table;
locations = { vector3.new(10,0,10), // vector3.new(15,2,10) }