Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't this script spawn players if there are not enough?

Asked by 10 years ago

This is probably a very poor question, but I'm curious what are the lines of code that prevent players from spawning in the game if there aren't enough? I am looking for the specific lines of code in the Main Game Script in the Roblox Template place, "Capture The Flag". It is probably very similar coding for the other templates too, because they don't let you spawn either. I am just curious so I can figure out what to edit/adjust to be able to have players spawn. Thanks for taking time to read this.

1 answer

Log in to vote
1
Answered by
Ekkoh 635 Moderation Voter
10 years ago

I don't know what the Roblox Template place looks like, but I know you can prevent spawning by setting CharacterAutoLoads to false will give you control of when you want to spawn players. You can then use the LoadCharacter method to spawn each player when you need to.

Ad

Answer this question