Hey so I have this gun skript and it works pretty well. The only problem is the vanilla damage delay. It ruins the fire rate of a lot of my guns as if a lot of projectiles hit only a few of them do damage. Is there a skript that could remove the delay. I tried using on projectile hit instead of on damage and shooter instead of attacker but I couldn't use victim and I couldn't find anything to replace victim. If there is an addon or something that can fix that that would also be great.
Sample skript:
on rightclick:
player is holding {assaultrifle}:
if {reloaded.%player%} is true:
shoot snowball from player at speed 5
set {reloaded.%player%} to false
wait 0.17 seconds
set {reloaded.%player%} to true
on damage:
attacker is a player:
attacker is holding {assaultrifle}:
damage victim by 4 hearts
Sample skript:
on rightclick:
player is holding {assaultrifle}:
if {reloaded.%player%} is true:
shoot snowball from player at speed 5
set {reloaded.%player%} to false
wait 0.17 seconds
set {reloaded.%player%} to true
on damage:
attacker is a player:
attacker is holding {assaultrifle}:
damage victim by 4 hearts