How do you move models from Workspace to ReplicatedStorage? Is it possible? I want to do it using a SurfaceGui TextButton.
function onButtonClicked()
local model = game.Workspace.model:Clone()
model.Parent = replicated
end
script.Parent.MouseButton1Down:connect(onButtonClicked)
I know that's wrong and I'd like to get a correct version.

1 comment
Please use a Code block it makes it easier for us to understand the code.