Skript:
on player's held item change:
if name of player's tool is "&7&kk &7&lᴡɪɴᴅ ɢᴇᴍ &7&kk":
set {_waitedw1} to difference between {cooldown::%player's uuid%.wind1} and now
if {_waitedw1} is less than 45 seconds:
set {_showw1} to difference between {cooldown::%player's uuid%.wind1} and now
else:
set {_showw1} to "Ready!"
set {_waitedw2} to difference between {cooldown::%player's uuid%.wind2} and now
if {_waitedw2} is less than 35 seconds:
set {_showw2} to difference between {cooldown::%player's uuid%.wind2} and now
else:
set {_showw2} to "Ready!"
set {_waitedw3} to difference between {cooldown::%player's uuid%.wind3} and now
if {_waitedw3} is less than 80 seconds:
set {_showw3} to difference between {cooldown::%player's uuid%.wind3} and now
else:
set {_showw3} to "Ready!"
replace every "seconds" in {_showw1} with "s"
replace every "seconds" in {_showw2} with "s"
replace every "seconds" in {_showw3} with "s"
send actionbar "&7%{
showw1}% &7| &7%{showw2}% &7| &7%{_showw3}%" to player
Skript:
code_language.skript:
on player's held item change:
if name of player's tool is "&7&kk &7&lᴡɪɴᴅ ɢᴇᴍ &7&kk":
set {_waitedw1} to difference between {cooldown::%player's uuid%.wind1} and now
if {_waitedw1} is less than 45 seconds:
set {_showw1} to difference between {cooldown::%player's uuid%.wind1} and now
else:
set {_showw1} to "Ready!"
set {_waitedw2} to difference between {cooldown::%player's uuid%.wind2} and now
if {_waitedw2} is less than 35 seconds:
set {_showw2} to difference between {cooldown::%player's uuid%.wind2} and now
else:
set {_showw2} to "Ready!"
set {_waitedw3} to difference between {cooldown::%player's uuid%.wind3} and now
if {_waitedw3} is less than 80 seconds:
set {_showw3} to difference between {cooldown::%player's uuid%.wind3} and now
else:
set {_showw3} to "Ready!"
replace every "seconds" in {_showw1} with "s"
replace every "seconds" in {_showw2} with "s"
replace every "seconds" in {_showw3} with "s"
send actionbar "&7%{_showw1}% &7| &7%{_showw2}% &7| &7%{_showw3}%" to player
Posted by: shdraight from the
skUnity Discord.