i making a multiplayer game and i dont know how to do this :(
Develop games in your browser. Powerful, performant & highly capable.
There are 4 or 5 great tutorials on multiplayer plugin by Ashley and they are a must-read! Start with this one:
scirra.com/tutorials/892/multiplayer-tutorial-1-concepts
Also, check out other tutorials in the Networking section:
scirra.com/tutorials/top/page-1
Here is one example with a lobby:
scirra.com/tutorials/1003/tic-tac-toe-part-3-multiplayer-with-a-lobby