• Outside of punishment appeals, these forums have been archived.
    We hope to see you on our Discord instead!
    Discord has a minimum age, found here. You may need to wait, or ask a parent to handle tickets for you.
  • Hey! Register here to create your account, engage with the community, and talk about what is new!

How do i make a Cooldown for a projectile item?

Bearsjunior

New member
Joined
Feb 13, 2022
Messages
1
Reaction score
0
Need to nerf an op item by giving it a cooldown. But the SetItemCooldown is not working
 

ImaLEAF

Forum adept
Emperor
Joined
Sep 20, 2021
Messages
159
Reaction score
23
simply use if player{item is not on cooldown}

like this:
if player{item is not on cooldown}:
[player action{launch projectile (or any other item ability)}
player action{play sound (cosmetic stuff)}
player action{set item cooldown}]

naturally cooldown can block you from placing a block, or using bow/potion/shield. but not script actions , you need to block them with a script block.
 
Top Bottom