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

A script that gets an object out of the folder and creates a new instant of it?

Hello. I've made a table with a green part on it and I was wondering how to make a script that puts a special model out from folder on the top of the table no matter where it is but it stays the same position (i want to make the table "movable"). Well I think something like :Clone probably would work out but I don't know how to do it.

1 answer

✓ Accepted answer

You’re right, you would use Clone() for it. Let me explain to you: Let’s say we had a part in Workspace and we would want to Clone it to replicatedstorage. You would do:

local Clone part game.Workspace.partyouwanttoclone:Clone() --making a variable is not necessary but it makes it easier
Clone.Parent = “ReplicatedStorage”

That’s the most crucial setting, but you can use more. If you’d like to know more about it you can read about it on the dev wikia.

1 comment

0

Thank you, ive made second post that specifies more what i need because ive already talked on discord and thats what i got to

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