• 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
152
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