Speed of item.

  • 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 community!

    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!

RogerDodg3r

Member
Nov 17, 2018
3
1
3
Hi!

There is a way to modify a attack speed/movement speed of item?

Thanks for all of your answers.

1734383976315.png
 
  • Like
Reactions: nerdyDev
Do you want this modified in Skript or in general?

There is an amazing plugin for such changes called ItemEdit (https://www.spigotmc.org/resources/itemedit-1-8-x-1-21-x.40993/)
Once you have installed ItemEdit and restarted your server you can run the following command:
Code:
/itemedit attribute add attack_speed value

Replace
Code:
value
with your desired attack speed

In Skript you would run:

Code:
set {_speed} to 1
add "{AttributeModifiers:[{AttributeName:""generic.attackSpeed"",Name:""generic.attackSpeed"",Amount:%{_speed}%,Operation:0,UUIDLeast:8055,UUIDMost:772149,Slot:""mainhand""}]}" to nbt of player's tool


If this helped change the name of this post to [Solved] - Speed of item
 
  • Like
Reactions: RogerDodg3r