on rightclick:
set {_waited} to difference between {flashheal.%player%.lastused} and now
if player's tool is magenta dye:
if name of player's tool is "&d&lFlash Heal":
if {_waited} is less than 10 seconds:
send "Du musst %difference between 10 seconds and {_waited}% warten bevor du den Befehl wieder benutzen kannst!"
else if {_waited} is more than 10 seconds:
send "Success"
increase the player's health by 3
send title "&7Du hast ein &d&lFlash Heal" with subtitle "&7benutzt" for 1 seconds
remove 1 magenta dye named "&d&lFlash Heal" with lore "&fDieses Item heilt dich um +&c3 Herzen&f," and "&fwenn du es &6&lRechtsklickst&f!" from player's inventory
set {flashheal.%player%.lastused} to now
stop
Whats the Problem? Nothing happens when I rightclick the item ( I get no errors )
It only works with my main account rn, but with no other account. Nothing happens.
set {_waited} to difference between {flashheal.%player%.lastused} and now
if player's tool is magenta dye:
if name of player's tool is "&d&lFlash Heal":
if {_waited} is less than 10 seconds:
send "Du musst %difference between 10 seconds and {_waited}% warten bevor du den Befehl wieder benutzen kannst!"
else if {_waited} is more than 10 seconds:
send "Success"
increase the player's health by 3
send title "&7Du hast ein &d&lFlash Heal" with subtitle "&7benutzt" for 1 seconds
remove 1 magenta dye named "&d&lFlash Heal" with lore "&fDieses Item heilt dich um +&c3 Herzen&f," and "&fwenn du es &6&lRechtsklickst&f!" from player's inventory
set {flashheal.%player%.lastused} to now
stop
Whats the Problem? Nothing happens when I rightclick the item ( I get no errors )
It only works with my main account rn, but with no other account. Nothing happens.