I’m trying to clone a part in a for loop, but it crashes studio for some odd reason.
It remains stable if I create a new instance of a part or if I don’t set the cloned part to be anchored.
The part that I am cloning is not anchored.
for i = 1, 2, 1 do
local corner = part:Clone()
corner.Anchored = true
corner.Parent = workspace
end
I tried copying your code into my studio and it worked with no issues
therefore the error is caused by the specific part you’re cloning. can you give more details about that part?