#Skript Cooldown
1 messages · Page 1 of 1 (latest)
Can you show me how to put this into my skript?
I've got no clue how.
$10
£10?
thats more than $10 but ill take it
;l
btw in vars you shouldnt use %player%
you should use %player's uuid%
because if the player changes their name they lose their progress
ok
but for cooldowns unless the cooldown is a really long time then you shouldnt use vars
i dont know how to make cooldowns at all
i looked on skript hub
but they don't work for me
the item goes on cooldown, but u can still rightclick it
if metadata value "eating" of player > now:
#cooldown is active
else:
#cooldown is not active
set metadata value "eating" of player to x seconds later
#cooldown has been set
# put code here```
thanks
how do I make it so it's like:
if cooldown is active
send "You're on cooldown"
I don't know the syntax for that
stupid
your else is nested 1 tab too deep
yeah, I already fixed that
@heady delta
on right click with player head:
if event-item is named "&aPlayer Head"
if metadata value "eating" of player > now:
send "&cWait a few seconds..." to event-player
#cooldown is active
else:
#cooldown is not active
if event-item is named "&aPlayer Head"
this is only a partial part of the code.
I'm trying to only make it so it works if the player head is named "x"