How to assign parent within Clone Function?

I want to clone an object and assign its parent within that function.

Normal:

clone = game.ReplicatedStorage.Object:Clone()
clone.Parent = workspace

What I want:

game.ReplicatedStorage.Object:Clone(workspace)

As you can see in the “what I want” example, I am giving its parent, but I am not doing it right and I don’t know if it’s possible. This would just be a good way to shorten my script and make things more simple.

game.ReplicatedStorage.Object:Clone().Parent = workspace
4 Likes

The way you have it now is fine & considered the standard.

Wow, it was that simple. I didn’t know that you can do stuff after you call a function.