will they help me add an ami skript permission? is this:
code_language.skript:
on rightclick with a ender pearl:
set {_waited} to difference between {cooldown::%player%::epearl} and now
if {_waited} is less than 15 seconds:
set name of player's tool to "&cYou must wait &e%difference between 15 seconds and {_waited}%&e &cto pearl again!"
send "&cWait &b%difference between 15 seconds and {_waited}% &cto drop another!" to player
cancel the event
else:
set {cooldown::%player%::epearl} to now
every 1 ticks:
loop all players:
if loop-player's tool is an ender pearl:
set {_waited} to difference between {cooldown::%loop-player%::epearl} and now
if {_waited} is less than 15 seconds:
set name of loop-player's tool to "&cEnderPearl Cooldown &b%difference between 15 seconds and {_waited}%"
else:
set name of loop-player's tool to "&fEnder Pearl"