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

Spawning team players on a Team SpawnLocation works whenever it wants to?

Asked by 4 years ago

So I have a round based script that resets players which allows them to spawn on their team's own SpawnLocation. For some odd, odd reason it wants to spawn them when it wants to. Do I destroy the Spectator SpawnLocations? It's very confusing.

Heres the script that's responsible for assigning teams and resetting players.

    TeamModule.RandomizeTeams()
    wait(2) 
    Message.Text = "BEGIN" --Messages are not the problem.
    game.Debris:AddItem(Message, 1)
    wait()
    TeamModule.SpawnPlayers()
    TeamModule.CreateTimer()

You can see there that I randomized the teams then resetted them, yet sometimes it doesn't make them spawn on their Team's SpawnLocation. I'm not sure how this is possible or I'm ordering my SpawnLocations wrong.

Thanks for viewing this!

Answer this question