Hello! I’m trying to solve a problem involving a small hockey game I play in.
The issue is that players seem to be able to gain complete control over the puck, where nobody else can move the puck. Additionally, I can spot noticeable hops which seem to correlate with my ability to be able to hit the puck. I believe it’s something to do with Network Ownership. To try to solve this, I wrote this script and it was put into every puck (about 10 in the game at one time):
function PuckNetworkOwnership()
while true do
script.Parent:SetNetworkOwner(nil)
wait(1)
end
end
It doesn’t seem like that fixed it, so I have a few questions:
-
Do I need to set the network ownership every second? I assumed when writing the script that Roblox would try to set the network owner back to automatic as soon as I set the network owner.
-
Should I be setting the network owner to a neutral third party, like a referee, instead of the server?
Thanks
