[Question] Spwaning 2 Players On Client Connect

my spwan script pls help

only spwans 2 players when using shard mode

Answers

  • emotitron
    emotitron ✭✭✭

    It does appear that your Spawn() call is going to happen on every peer, for every player that joins. You will want to restrict spawning to only:

    if (player == runner.LocalPlayer){

    Spawn();

    }