$execute if data entity @s {Rotation:[90.0f,0.0f]} run summon item ^ ^0.5 ^1 {Motion:[-0.2d,0.1d,0.0d],Item:{count:1b,id:"firework_star",components:{"minecraft:custom_data":{quest3_true_key:$(true_key)},"minecraft:max_stack_size":1,"minecraft:item_model":"lbdm:quest3/key","minecraft:item_name":'{"text":"Ключ"}',"minecraft:lore":['{"text":"Обычно ключом открывают двери.","color":"gray","italic":false}']}}} 
$execute if data entity @s {Rotation:[-90.0f,0.0f]} run summon item ^ ^0.5 ^1 {Motion:[0.2d,0.1d,0.0d],Item:{count:1b,id:"firework_star",components:{"minecraft:custom_data":{quest3_true_key:$(true_key)},"minecraft:max_stack_size":1,"minecraft:item_model":"lbdm:quest3/key","minecraft:item_name":'{"text":"Ключ"}',"minecraft:lore":['{"text":"Обычно ключом открывают двери.","color":"gray","italic":false}']}}} 