Hello again! So I have been trying to code a bow and I've ran into some troubles. I just don't know how and there aren't any tutorials telling me how to do stuff like this. I don't know enough Lua to make a bow so I was wondering if any of you guys could help me understand some concepts that could get me there. I have already made my bow and arrow I just need to put it into action. All help is appreciated. Here is my current code:
local bow = script.Parent
local storage = game:GetService("ReplicatedStorage") --To get the arrow out of storage
bow.Activated:Connect(function(mouse)
local chrac = bow.Parent
local player = script:FindFirstAncestorWhichIsA"Player" or game:GetService"Players":GetPlayerFromCharacter(script.Parent.Parent)
local mouse = player:GetMouse()
local head = game.Workspace[player.Name].Head.CFrame.lookVector
end)
Thanks in advance!

2 comments
How would I apply force the arrow, and how would I know where the mouse is?
You can set the velocity of the arrow when it spawns in, or you can use a bodymover such as bodyforce or bodyvelocity. To get the mouse, you need to use a local script. Here's what you need (I think): https://developer.roblox.com/en-us/api-reference/property/Mouse/Hit