I'm Making a Game And i Want it To Pick a Random Person to Be Killer And the Rest To Be a Runner Can You Help Me?
I'm a beginner at scripting but it may be something like
_G.getRandomPlayer = function() local pl = game.Players:getPlayers() return(pl[math.random(1, #pl)]) end
Put that in a script and all scripts in the game can use it like this:
getRandomPlayer().Character:BreakJoints()
would kill a random person. But in your case just use it to change them as killer maybe change their team to killer or give something in backpack Whatever you want the killer to have/do