Only the player which is first in alphabetical order gets a message or a random drop

command /game <text>:
trigger:
arg-1 is "start":
set {blocks::*} to all blocks
add all items to {blocks::*}
delete {blocks::1}
clear {deaths::*}
set {blocks::*} to all blocks
console command "/execute in minecraft:overworld run tp @a 0 1 0"
console command "/mvdelete world"
console command "/mv confirm"
console command "/mvcreate world normal"
console command "/minecraft:clear @a"
console command "/mvtp Drain1 world"
console command "/minecraft:tp @a Drain1"
console command "/clearenderchest:cecp Drain1"
console command "/clearenderchest:cecp NotUky"
console command "/clearenderchest:cecp koeleboy09"
console command "/clearenderchest:cecp TheFourClovers"
console command "/minecraft:clear @a"
set {active-game} to 1
wait 12 seconds
loop all players:
while {active-game} is equal to 1:
set line 3 of loop-players-1's scoreboard to "&eNext Dri"
console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &410 sᴇᴄᴏɴᴅs" to loop-players
wait 7 seconds
console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &43 sᴇᴄᴏɴᴅs" to loop-players
wait 1 seconds
console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &42 sᴇᴄᴏɴᴅs" to loop-players
wait 1 seconds
console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &41 sᴇᴄᴏɴᴅ" to loop-players
wait 1 seconds
console command "/execute at @a run playsound block.note_block.pling ambient @a ~ ~ ~ 100 2"
send "&aᴅʀᴏᴘ sᴘᴀᴡɴᴇᴅ" to loop-players-1
set {droprandom} to a random element of {blocks::*}
set lore of {droprandom} to "%loop-players%"
loop 36 times:
if {deaths::*} contains "%loop-players%":
set {nothing} to 1
send "death" to loop-players
else:
drop 64 of {droprandom} at loop-players's location
set {dropped} to 1
wait 110 seconds

arg-1 is "stop":
set {active-game} to 0
delete {blocks::*}

on death of player:
add "%victim%" to {deaths::*}