So I'm trying to make a gun skript but all the guns have the same fire rate and I want the gun to shoot slower
Here is my code:
Please help me if you can.
Thanks to everyone in advance
Here is my code:
Code:
# Sniper Rifle
on right click holding a blaze rod:
if the name of event-item is "Remington 700":
player has a iron nugget
remove iron nugget from the player
make the player shoot an arrow at speed 10
set name of last shot projectile to "SniperShot"
wait 2 seconds
on damage:
projectile exists
projectile is an arrow
the projectile's name is "SniperShot"
damage the victim by 24 hearts
Please help me if you can.
Thanks to everyone in advance