"This will now check the votes and teleport the voted player to the execution chamber. If there is a tie, no one will die. That rhymes!
Property Time!
Make a global scoped number property named “Num Votes”. The default should be 0. Make another global scoped number property named “Guilty ID”. The default doesn’t matter. Make a global scoped True/False property named “Tie”. The default should be False. Make a global scoped number property named “Num Votes Counted”. The default should be 0.
Make a trigger receive on “End Vote”. Put these blocks in:
We are on the home stretch (hopefully!).
Make a relay receiving on “Start Execute” and broadcast on “Execute”. The audience should be everyone. Make a trigger receive on “Execute”. Put this in the blocks:
Also, inside the 2nd if statment, make it broadcast on “Start Reset Player ID”."
Then all that information the color system collects gos to the voting system pop up I haven’t added to the post yet there is no code for the system part yet which counts the vote