command /hediye:
trigger:
if {hediye.aldi.%uuid of player%} is set:
send "&cBu hediyeyi zaten aldın!" to player
stop
give player enchanted golden apple named "&6&lEtkinlik Elması"
execute console command "crates givekey %player% etkinlik 1"
set {hediye.aldi.%uuid of player%} to true
send "&aHediyen başarıyla verildi! &e(1x Büyülü Altın Elma & 1x Etkinlik Anahtarı)" to player