I need a script so that I can make it so that 1 person is chosen to get a gun, 1 person is chosen to get a item also, and the other people get nothing. Sort of like the script used in Murder Mystery and TMM.
function Choose() Players = game.Players:children() Luck = math.random(1,#Players) Player = Players[Luck] for i,v in pairs(Players) do if v ~= Player then v.TeamColor = BrickColor.new("Team That Everyone Is On.") else v.TeamColor = BrickColor.new("Team With One Person.") end end end --and then, When you want it to choose.... Choose()