How do i do this

so i was trying to make a bow and it needs arrows to fire, i made the arrows a item and it works but
the damage dosent work :confused: please tell me how i can make it deal damage
heres a screenshot of the code:

2 Likes

Go to your bow, go to weapons, go to damage, set your attribute(i prefer health)

1 Like

i already have made damage for it and it still dosent work

1 Like

Remove the script. And add the arrow to the projectile type in weapons.

1 Like

haven’t you read the post? it says that i want it to be an item and it needs it in the inventory to fire, removing the script and adding it as an item will ruin my plan

1 Like

oh wait screw this idea i have smth i think works

2 Likes


this chunky ahh code works but trying to lower the ammo’s amount was a problem

2 Likes

NEVERMIND I FINALLY DID IT


THIS CODE GAVE ME A STROKE

2 Likes