Sup' guys! After days of experimenting my latest projects, I have kept returning to the same question: How would I CFrame, or move, Models instead of single Parts? I've grown tired of trying to do it with my own available skillz, so I ask you helpful scripters out there to help me solve this question. Please teach me how it's done; I would highly appreciate it!
If you're looking for a script, you would use a for loop.
1 | model = game.Workspace.MODELNAME --Or wherever the Model is. |
2 |
3 | for i,v in pairs (model:GetChildren()) do |
4 | if v:IsA( "BasePart" ) then |
5 | v.CFrame = CFrame.new( 0 , 0 , 0 ) --Or whatever the position is. |
6 | end |
7 | end |
Hey there. I think I know what you're talking about. All you need to do is use the :MoveTo method. I've linked you to the wiki page here
1 | Model:MoveTo(Vector 3. new( 0 , 0 , 0 )) |