How can I fix this throwing script?

I’ve recently made a throwable bomb that sticks (Welds) onto objects, and then it explodes after three seconds. I’m currently having an issue though, being that the throwing script doesn’t really work as intended. The way I want it to work is by being thrown straight towards the player’s mouse, but the direction it goes in is pretty off…

Here’s the script for it.

client.lua

local targetPos = game:GetService("Players").LocalPlayer:GetMouse().Hit
local lookAt = (targetPos).LookVector

... 

server.lua

missile:PivotTo(spawnPos) -- The position where the ball starts off at
missile:ApplyImpulse(Vector3.new(0, 10, 0))
missile.Velocity = (direction * 150)