Missle shooting is not working properly

I am making a missle shooting system for my game boss. Basically when the boss use the missle it will spawn a missle that will shoot to each player in the game, The problem is that it is not working correctly, I am using a linearVelocity for it. Here’s the video of the problem

as you can see in the video, the missle part just spawned and doesn’t move or do anything so if anyone got any solution please help. Here’s my script

local function Rocket()
	for i, v in pairs(game:GetService("Players"):GetPlayers()) do
		local char = v.Character
		local Missle = Projectiles.Missle:Clone()
		local RightHand = script.Parent.Right
		Missle.Parent = ProjectFolder
		Missle.CFrame = CFrame.lookAt(Missle.Position, char.HumanoidRootPart.Position)
		Missle.LinearVelocity.VectorVelocity = char.HumanoidRootPart.Position * 50
		Missle.Position = RightHand.Position
	end
end
2 Likes

You should use Body Velocity instead It would work better too

https://developer.roblox.com/en-us/api-reference/class/BodyVelocity

Position vector is not a direction vector, same problems as this post with the vector diagram explained:

But since you are already using CFrame LookAt you can just do this:

		Missle.CFrame = CFrame.lookAt(Missle.Position, char.HumanoidRootPart.Position)
		Missle.LinearVelocity.VectorVelocity = Missle.CFrame.LookVector * 50