Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Picking a player based on a percentage?

Asked by 5 years ago

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

0
You want create a game pass 2x murderer or 2x sheriff? NiniBlackJackQc 1562 — 5y
0
yeah, something like that. ScriptGuilder 2 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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.

Ad

Answer this question