How do i unanchor a part and immediately set the networkowner to the player?

I have had some server crashing issues and i think its because the physics owner of the creation is the server when it is still spawning in.

https://gyazo.com/29eee353eeef19ca7b6bcda45bfd8637.gif

Whenever the creation spawns in it unanchors them first and after that it changes the network owner but when there are a lot of constraints the server crashes.

These creations can contain a lot of parts and constraints (It only happens whenever someone spams constraints and spawns them in)

Is there any way to set the network owner to the player before unanchoring the model or unanchoring it right away without having a delay?

1 Like

If you’re cloning the model from replicated storage or server storage, have you tried unanchoring the parts BEFORE you parent it? then after its parented you set network owner.

No.

Part.Anchored = false
Part:SetNetworkOwner(owner)

If this delays, then no.

1 Like