Trying to make a custom scythe.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Polarsk

New Member
Mar 1, 2024
7
1
3
24
image_2024-03-02_132747339.png


Can anyone make this ability and cooldown possible in skript? Would mean a lot I don't know how to do it
 
Hey, I don't have a lot of information, like what item it is, or what message you want when you are on cooldown, but this is what I can do from what I know :emoji_slight_smile: Also check if the name i put to the code is right, cause i just guessed from what i see and im not too sure if its bold or not.
Code:
on right click:
    if name of event-item is "&4&lZana Scythe":
        if player has player's tool on cooldown:
            send "&cYou are on cooldown!" to player
        else:
            loop all players in radius 5 around player:
                if loop-player is not player:
                    apply blindness to loop-player for 10 seconds
                    apply slowness 4 to loop-player for 10 seconds
            set item cooldown of player's tool for player to 2 minutes
 
Hey, I don't have a lot of information, like what item it is, or what message you want when you are on cooldown, but this is what I can do from what I know :emoji_slight_smile: Also check if the name i put to the code is right, cause i just guessed from what i see and im not too sure if its bold or not.
Code:
on right click:
    if name of event-item is "&4&lZana Scythe":
        if player has player's tool on cooldown:
            send "&cYou are on cooldown!" to player
        else:
            loop all players in radius 5 around player:
                if loop-player is not player:
                    apply blindness to loop-player for 10 seconds
                    apply slowness 4 to loop-player for 10 seconds
            set item cooldown of player's tool for player to 2 minutes
Correct, thanks ill try it