Help with among us voting system #2

so i already made this but it does not work idk why.
Important notes: the player identity is stored in team value and there are 2x properties for each team, 1 used to see if the team wins or not and the other is used to check the # of votes for team. and 3x properties like “tie” and “winning team”(count # of winning teams to check for ties) and “max votes”(to count the team with max votes)

Trigger #1 (reset)


so when the meeting starts the trigger resets everything

Trigger #2 (counting votes)


This trigger counts the votes and sets “max votes” property

Trigger #3(asigns winning teams)


this trigger gives the winning teams.

Trigger #4


setting for ties with updating winning property controlled by a counter

Trigger #5(set ties)


just setting the tie

Trigger #6(ejection)


Ejecting

wiring

image
so trigger #2 gets triggered when voting ends. and it keeps triggering to trigger 3,4,5 and 6

1 Like

Are u asking how to make it, to debug it, or is this a guide?

ye i am asking how to make it and to debug it, i mean my main need is help for making it work because this system is not working-

2 Likes

for debugging
you can use an activity feed block
maybe make it broadcast an important property at a certain section of the code and see if somethings wrong with the property
or see if a part of the code just isnt running at all

the blocks look fine to me but its nighttime and im staying up too late rn

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.