Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Picking a player based on a percentage?

I think games like murder mystery do this. How would I start this or go about it?

2 comments

0

You want create a game pass 2x murderer or 2x sheriff?

0

yeah, something like that.

1 answer

Each player could have a hidden value (int value?) with a certain number (from 0 - 100). The value could be inside ServerStorage so the percentage of becoming sheriff or murderer stays when the player leaves and plays later. You could then run all the player's values through a code to determine who has the highest percentage.

This discussion is preserved as it was. New answers, comments, and votes are closed.