So, I have 2 teams, and I need a script that makes it so one player is on the team "Ao Oni" (JUST ONE), and the rest is on survivors. Also, I need the script to change the player after 120 seconds. Can you please help me?
Picture
https://imgur.com/a/w4rMPGP
Thanks!
Pseudocode:
func SelectSpookyboy() : players = getPlayerList() numberOfPlayers = length(players) randomIndex = random(1, numberOfPlayers) chosenSpookyboy = players[randomIndex] for player in players: if player is not chosenSpookyBoy: setTeam(player, TEAM_NOT_VERY_SPOOK) else setTeam(player, TEAM_SPOOK) end if respawnPlayer(player) end for end func while true: SelectSpookyBoy() wait(120) end while
Closed as Not Constructive by DinozCreates, fredfishy, DeceptiveCaster, and User#24403
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?