I’m practicing my scripting and I want it to clone itself. I have learned this before but my memory is not the best. So can someone explain to me how it works?
COMMUNITY QUESTION
Can anybody explain to me how I can make a block clone itself?
1 answer
To clone a part, you just need to have a part you want to clone. The clones parent will by default be some sorta nil or whatever, so you have to set it's parent. The code would like something like this.
local part = script.Parent
local Clone = part:Clone()
Clone.Parent = workspace --//Change workspace with where you want the clone to be.
That's pretty much to it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
