Give any suggestions:)
Perhaps it would be easier to create a script that randomly takes a player out of a queue and give the player that was taken out the special effects/perks instead of selecting one from the group as a whole.
If it is choosing a player out of the Players, then here.
local players = game.Players:GetChildren() local RandomPlayer = players[math.random(1, #players)] print(RandomPlayer.Name .. " Is it! :3")
This is like the one for my game "Juggernaut"
m = math.random(1, game.Players.NumPlayers) -- chooses the juggernaut player = game.Players:GetChildren()[m] if player ~= nil then local msg2 = Instance.new("Message") msg2.Parent = game.Workspace msg2.Text = player.Name .. " is the juggernaut!" -- says who is juggernaut wait(2) msg2:remove() end