Cloning a rig model and setting it’s parent to workspace causes immense lag

When I clone a rig and set it’s parent to workspace it freezes my game for a while. How do I fix this?

1 Like

Questions:

What code are you using to clone the model?

How many parts does the model have?

As @mc7oof mentioned. Can’t really help you without seeing any code or anything. The best guess is you got this clone script in a infinite loop somewhere. Unless your cloning 1000s of parts at the same time I dont see a reason to why you get this giant lag spikes.