Hello. I'm trying to create a cooldown for using an npc, but I can't, can anyone help me?
P.S sorry for the language
code_language.skript:
on right click on entity:
if name of event-entity is "Carlotta":
if player's held item is crossbow:
if player's helmet is a feather named "&9Passamontagna":
loop players in radius 10 of the player:
send "&fAnonimo &8» &7Alt! Ferma, Dammi tutti i soldi!" to loop-player
wait 3 seconds
send "&d♀ &d&lNegoziante &8• &rCarlotta &8» &rS-Salve. Certamente prel...prelevo subito" to loop-player
wait 2 seconds
send "&fAnonimo &8» &7Muoviti, non ho tutto il giorno!" to loop-player
wait 3 seconds
send "&e&l** AZIONE&e: &7&oCarlotta &8▸ &ePrende la chiave della cassa..." to loop-player
wait 4 seconds
send "&e&l** AZIONE&e: &7&oCarlotta &8▸ &eLa inserisce nella cassa..." to loop-player
wait 7 seconds
send "&e&l** AZIONE&e: &7&oCarlotta &8▸ &eConsegna i soldi all'anonimo" to loop-player
give 3 stick named "&f500€" with custom model data 118 to player
P.S sorry for the language