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