Hello, I need to know how to launch a projectile (snowball in this case) in a certain direction from the player. I have made a gun, that fires a snowball when it gets right clicked, but I need a shotgun variant. Just 1 bullet (snowball) is not enough, and it need some spread. Can I use like a certain amount of degrees from where the player is targeting to? This is my snowball launch code:
This is what I use.
Code:
on right click:
if player is holding an diamond named "gun":
shoot snowball at speed 4.8
This is what I use.