Multiplayer not working properly

worked 1 month for the multiplayer scripts, but in the end me and my friend tested it out, looks like the IsMine function doesnt work, plus sometimes u cannot connect to the make server. how do i we fix this problem?

probally a good idea to ask in the networking section