execute as @e[tag=credits.ovs] if data entity @s interaction on target run function ovs:lobby/npc/logoclick

execute as @e[tag=credits.kubik] if data entity @s interaction on target run tellraw @s [{"text":"Kodeur_Kubik","bold":true,"color":"green"},{"text":" - ","color":"white","bold":false},{"text": "kodeurkubik.github.io","color":"aqua","bold":false,"click_event":{"action":"open_url","url":"https://kodeurkubik.github.io"},"hover_event":{"action":"show_text","value":[{"text":"Open Link","color":"aqua"}]}}]

execute as @e[tag=credits.ryan] if data entity @s interaction on target run tellraw @s [{"text":"RyanSkull","bold":true,"color":"blue"},{"text":" - ","color":"white","bold":false},{"text": "planetminecraft.com/member/ryanskull","color":"aqua","bold":false,"click_event":{"action":"open_url","url":"https://www.planetminecraft.com/member/ryanskull/"},"hover_event":{"action":"show_text","value":[{"text":"Open Link","color":"aqua"}]}}]

execute as @e[tag=credits.cmanif] if data entity @s interaction on target run tellraw @s [{"text":"CMANIF","bold":true,"color":"gold"},{"text":" - ","color":"white","bold":false},{"text": "youtube.com/@CMANIF","color":"aqua","bold":false,"click_event":{"action":"open_url","url":"https://youtube.com/@CMANIF"},"hover_event":{"action":"show_text","value":[{"text":"Open Link","color":"aqua"}]}}]

execute as @e[tag=credits] on target run playsound minecraft:entity.arrow.hit_player master @s ~ ~ ~ 0.7
execute as @e[tag=credits] if data entity @s interaction run data remove entity @s interaction
