How do I give a :Clone() a parent and a name at the same time?

How could I clone an object using :Clone() and give the cloned object a name & parent?

sorry I can tell this is very simple its just that I almost never use :Clone()

local clone = object:Clone()
clone.Parent = parent
-- etc
1 Like
local partClone : part = workspace.Part:Clone()

partClone.Name = "blackballs" -- change this to the name u desire
partClone.Parent = game.ServerStorage -- for example
1 Like

This format worked out for me, thanks!

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