How would I make this?

Hello! I was wondering how I would make a part shoot a projectile at a player.


This is the startercharacter.

Be clearer about what you don’t know exactly.

Please be more in depth with your explanation on what you want to achieve.
Since you’re not allowed to ask for entire scripts on the dev forum, I’d suggest you try to learn raycasting for this type of topic.
Some great advice can be taken from the Roblox API on raycasting.
API link