01 | --@SilverBunny_Gd |
02 |
03 | local CityPath = workspace:WaitForChild( "City" ) |
04 | local Data = CityPath:GetChildren() |
05 |
06 | local Pos = nil |
07 | local Model = "Model" |
08 |
09 | local Storage = workspace:WaitForChild( "Storage" ) |
10 |
11 | local CityModel = Instance.new(Model,workspace) |
12 | CityModel.Name = "CityPath" |
13 |
14 | for Number,DataObject in pairs (Data) do |
15 | if DataObject then |
It says that because orientation is actually no valid member of model. You would have to change the orientation of every single child of the model. Feel free to accept my answer if this helped you.
But i Used GetChildren() read the code pls