So, once i run the script and let the script try to choose a random player to pick as the murderer, the output says: "1 is not a valid member of Player"
Here is my script:
for _, v in pairs(game.Players:GetChildren()) do
local randomSelect = math.random(1,#game.Players:GetPlayers())
if v == v[randomSelect] then
revealRoleRemote:FireClient(v,true)
else
revealRoleRemote:FireClient(v,false)
end
end
Please help!

1 comment
This answer is partially wrong. I understand you were trying to do, but that is not what he intended.