Is this the right way to fire a clone command from the client to the server?

Hello! I’m trying to clone a folder with some objects from the ReplicatedStorage by the client. But there’s server scripts inside the objects that I want to clone, so I think that I would need to fire a remote event to them to work when cloned. I’m kinda new to scripting and I don’t know if I’m making this right:

local remoteEvent1 = game:GetService("ReplicatedStorage").CloneChanging

remoteEvent1:FireServer(game:GetService("ReplicatedStorage").MissionStuff.Chanching.ToPlaceInWorkspace.Chanching:Clone().Parent = game:GetService("Workspace").MissionsStuff)

I think you should clone it from the server script instead of making it a tuple

I would need to fire a remote event anyway to enable the server script.

yeah you can keep the remote event but you don’t need to give it any tuple just to fire a remote event

I think it’s better if you clone it from the server script after remote event being fired instead of making it a tuple

1 Like