How can I do it to get the player who gets the pot stacked?
#google translator
#google translator
code_language.skript:
on left click on chest:
play "ZOMBIE_WOODBREAK" to player at volume 100
set clicked block to air
add 2 Splash potion of healing 2 to {_nyerik::*}
add 3 Splash potion of healing 2 to {_nyerik::*}
add 4 Splash potion of healing 2 to {_nyerik::*}
add 5 Splash potion of healing 2 to {_nyerik::*}
set {_nyeri1} to random element of {_nyerik::*}
set {_nyeri2} to random element of {_nyerik::*}
wait 0.3 seconds
drop {_nyeri1} at clicked block
drop {_nyeri2} at clicked block
clear {_nyerik}