command /contactrequest:
trigger:
open chest with 5 rows named "Your contacts requests" to player
set {_n} to 0
loop {%uuid of player%.contactrequesttt::*}:
format slot (loop-index parsed as integer -1) of player with skull of ("loop-player" parsed as offline player) named "%loop-value%" with lore "t" to close then run [execute player command "/broadcast %loop-value%"]
if there is more then 2 in {%uuid of player%.contactrequesttt::*} it takes the last player that was add to {%uuid of player%.contactrequesttt::*} allways
trigger:
open chest with 5 rows named "Your contacts requests" to player
set {_n} to 0
loop {%uuid of player%.contactrequesttt::*}:
format slot (loop-index parsed as integer -1) of player with skull of ("loop-player" parsed as offline player) named "%loop-value%" with lore "t" to close then run [execute player command "/broadcast %loop-value%"]
if there is more then 2 in {%uuid of player%.contactrequesttt::*} it takes the last player that was add to {%uuid of player%.contactrequesttt::*} allways