Leap Feather with Cooldown

#1
cmd create leap Leap Hight with a feather! : Not for manual use!

cmd add leap %worlds% = array(\"world\")

cmd add leap if %level% notin %worlds% then exit

cmd add leap load %cool%

cmd add leap if varset(%cool%[%p%]) = %false% then goto 12

cmd add leap let %cooldown2% = %cool%[%p%]

cmd add leap let %elp% = %time% - %cooldown2%

cmd add leap if %elp% >= 10 then goto 12

cmd add leap let %elapse% = 10 - %elp%

cmd add leap let %seconds% = int(%elapse%/1)

cmd add leap message %p% You need to wait %seconds% seconds to use this Leap Feather Again!

cmd add leap exit

cmd add leap asop /effect %p% 8 1 4 true

cmd add leap let %cool%[%p%] = %time%

cmd add leap save %cool%

cmd add leap exit

cmd unregister leap





cmd create feather Touch Event : Not for manual Use!

cmd add feather if %args%[7] = \”288\” then goto 3

cmd add feather exit

cmd add feather asop /cmd run leap

cmd add feather exit

cmd unregister feather

cmd trigger touch feather



Thank you so much, I hope this helps you out on your server! If you have any suggestions you want me to make tell me on discord: UnboundIvy#4146
Thanks!