Im Using This code for Clone A Part.
local clone = game.Workspace.Part:Clone() clone.Parent = game.Workspace clone.position = Vector3.new(5,12,8)
Im trying to clone Groupped parts Together Witout Writing Long Script. How Can I Do This?
Use
local ClonedPart = game.Workspace.Part:Clone() ClonedPart.Name = ClonedPart
and if you want to set it's position, use
ClonedPart.Position =
ROBLOX’s Clone method deep copies any instance.
This includes the properties, only chance the position and the parent if they’re not already. You can just :Clone() and simply let it be.
Actually,I Find A Way To Cloning Groups! Here's script:
local block = game.ServerStorage.Machines:FindFirstChild("Upgrader"):Clone() block.Parent = game.Workspace block:SetPrimaryPartCFrame(CFrame.new(-103.5, 2.125, 242.25))