I didnt tried it, maybe will work better, well i fixed the problem…the order matters, i placed the SetNetworkOwner at the end of the script and worked Done…
Your issue was likely SetNetworkOwner getting reset/reverted instantly after setting it, by setting it at the end of the script this avoids that issue.