Model Parts Using Script

Hello Guys How Could I Model parts together using a script

here is my script:

local Parts = {game.Workspace.Scripts.Noobis:WaitForChild("infront"), game.Workspace.Scripts.Noobis:WaitForChild("cylinder"), game.Workspace.Scripts.Noobis:WaitForChild("BR"), game.Workspace.Scripts.Noobis:WaitForChild("BL")}
local Model = game.Workspace.Scripts.Noobis.Guy
Parts.Parent = Model.Parent

this not working

To model the parts together into a new model, you can use the Instance.new method to create a new model, parent the parts to the model, and then set the Parent property of the model to the desired parent.

I don’t want a new model I want an exist model

In that case, you can simply parent the parts to the existing model instead of creating a new model.

for _, part in ipairs(parts) do
    part.Parent = existingModel
end

that works thank you so much!.!.!.!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.