on consume: if event-item is potion of luck: send "test" to player execute console command "effect clear %player% wither" wait 2 tick execute console command "effect clear %player% luck" play sound "entity.witch.drink" to player wait 7 ticks play sound "entity.witch.drink" to player wait 7 ticks play sound "entity.witch.drink" to player create bossbar titled "&aDziałanie płynu Lugola" and id "lugol.%player%" for player with progress 100 with colors green set {lugol::%player%} to 100