Jump to content

SWATguy08

Member
  • Posts

    0
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SWATguy08's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. Hey I am trying to do a script where when you right click, it shoots a fireball. I would like to add a 30 second cooldown to it, but It won't work. Could you explain to me why? here is the script: 

    on right click:
        if player's tool is  diamond sword:
            if colored name of player's tool is "&cFire Sword":
                shoot fire ball
                cooldown: 30 seconds
                cooldown message: &6Please wait 30 seconds!

    It says I does to understand line 5 and 6.
     

    1. SWATguy08

      SWATguy08

      If this is wrong area to post this I am so sorry.

       

    2. UntitledGoose

      UntitledGoose

      It's better to post in the Skript - Discussion section rather than my profile.

       

      Anyways- the cooldown: and cooldown message: are properties that only work in commands, not events. You will have to manually implement a cooldown yourself.

×
×
  • Create New...