Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script should work, it keeps saying Oreintation is not a Valid member of Model?

Asked by 7 years ago
01--@SilverBunny_Gd
02 
03local CityPath = workspace:WaitForChild("City")
04local Data = CityPath:GetChildren()
05 
06local Pos = nil
07local Model = "Model"
08 
09local Storage = workspace:WaitForChild("Storage")
10 
11local CityModel = Instance.new(Model,workspace)
12CityModel.Name = "CityPath"
13 
14for Number,DataObject in pairs(Data) do
15    if DataObject then
View all 28 lines...

2 answers

Log in to vote
0
Answered by
Asceylos 562 Moderation Voter
7 years ago
Edited 7 years ago

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.

0
Yeah ^ hiimgoodpack 2009 — 7y
0
Yeah ^ hiimgoodpack 2009 — 7y
0
but i used getChildren SilverBunny_Gd -7 — 7y
0
GetChildren() SilverBunny_Gd -7 — 7y
0
You must have tried to set the orientation of a model somewhere in the script. Asceylos 562 — 7y
Ad
Log in to vote
-1
Answered by 7 years ago

But i Used GetChildren() read the code pls

0
Could be that one of the children in GetChildren() is a model. You did not use :IsA("BasePart". Thundermaker300 554 — 7y
0
Please do not post a new answer replying to a different answer. Thundermaker300 554 — 7y

Answer this question