execute as @e[tag=devil_deal,type=item,nbt={Item:{id:"minecraft:trial_key"}}] run data merge entity @s[type=item] {PickupDelay:50s,Motion:[0d,0d,0d]}
execute as @e[tag=devil_deal,type=item] at @s unless entity @p[tag=titans_gambit,distance=..1] run data merge entity @s[type=item] {PickupDelay:50s,Motion:[0d,0d,0d]}
#execute as @e[tag=devil_deal,tag=facetext] at @s facing entity @p[tag=titans_gambit] eyes run tp @s ~ ~ ~ ~ ~