Hey, just gonna rephrase what the previous guy said.
Check if your studio place has http request enabled. To do this follow below.
Home → Game Settings → Security → Allow Http Requests and enable it so it is green.
If that doesn’t work try seeing if the game your sending players to is private.
Find game and configure game to locate its properties.
It still does not work. Right now all it does is it only telelports 1 player and for the other player it says place is restricted. There is 1 issue it could be, which is the code could be getting locked and not allowing anyone else to join that server which could be possible. Issue is I don’t know how to fix it