So this is my skript:
it'll be really spammy if the player encounters more than one ore, it could spam the player's chat. how do i add a cooldown for it so it doesn't spam even if the player is mining multiple ore in a second?
Python:
on break of coal ore:
if player is in "world":
cancel event
set event-block to stone
send "&eMine di &f""&a/warp resources&f""" to player
it'll be really spammy if the player encounters more than one ore, it could spam the player's chat. how do i add a cooldown for it so it doesn't spam even if the player is mining multiple ore in a second?