Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Clone won't work?

I made a clone script but for some odd reason it doesn't work. I cannot figure out why as theres 0 console errors.

if game.ServerStorage:FindFirstChild("Map Stuff").Map.Value == 1 then
	game.ServerStorage.Map1:Clone(game.Workspace)
	wait(20)
end

The Model (AKA Map1) Doesn't show up in the workspace. If I look in explorer it hasn't moved either.

1 answer

✓ Accepted answer

You didn't move it to Workspace
That's not how it works.

if game.ServerStorage:FindFirstChild("Map Stuff").Map.Value == 1 then
    game.ServerStorage.Map1:Clone().Parent = game.Workspace
    wait(20)
end

What changed?
Instead of using workspace as a Parameter, I set the Parent property of the new clone to be Workspace.

This discussion is preserved as it was. New answers, comments, and votes are closed.