Jump to content

set cooldowns


eternalthepotato

Recommended Posts

I have a skript that shoots a number of arrows when you right click with a bow
how do you set a cooldown for this so you can only use it every 4 seconds?

on right click holding bow:
    name of tool is "Ultimate Bow":
        loop 1 times:
            shoot arrow at speed 2.5
            set metadata value "Damage" of event-projectile to "5"
            wait 2 ticks

Link to comment
Share on other sites

22 hours ago, Follow_me100 said:

hello ik this isnt relevant but how do i give myself op in the new update 

it isnt working

Ask in help
 

 

23 hours ago, eternalthepotato said:

I have a skript that shoots a number of arrows when you right click with a bow
how do you set a cooldown for this so you can only use it every 4 seconds?

on right click holding bow:
    name of tool is "Ultimate Bow":
        loop 1 times:
            shoot arrow at speed 2.5
            set metadata value "Damage" of event-projectile to "5"
            wait 2 ticks

Skript/command with cooldown.sk at master · Njol/Skript · GitHub

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...