Hi, I need to know if this skript would work for my server.
Please tell me if it is/fix it
thanks - brsko
Code:
command /speed:withdraw [<integer>]:
aliases: /speed:w, /withdraw
trigger:
if arg-1 is set:
if {speed::%player's uuid%} <= {@minspeed}:
send "{@prefix} &eYou do not have enough speed to withdraw."
stop
else:
send "{@prefix} &eWithdrawn &a1 &espeed successfully."
remove 1 from {speed::%player's uuid%}
give player lime dye named "&asᴘᴇᴇᴅ &7(ʀɪɢʜᴛ ᴄʟɪᴄᴋ)" with lore "&eThis gives +0.1 attack speed, right click to reddem, you must be below +0.5 attack speed for this to work."
else if arg-1 is not set:
send "{@prefix} &cState an amount of speed to withdraw."
stop
else if {speed::%player's uuid%} <= arg-1:
send "{@prefix} &cYou do not have enough speed to withdraw."
stop
else:
set %arg-1% to {_amount}
send "{@prefix} &eWithdrawn &a%arg-1% &espeed successfully."
remove 1 from {speed::%player's uuid%}
loop {_amount} times:
give player lime dye named "&asᴘᴇᴇᴅ &7(ʀɪɢʜᴛ ᴄʟɪᴄᴋ)" with lore "&eThis gives +0.1 attack speed, right click to reddem, you must be below +0.5 attack speed for this to work."
Please tell me if it is/fix it
thanks - brsko