(line 1) local angle = -15
(line 2) for i = 1,3 do
local proj = game.ServerStorage.AsrielStuff.ChaosBusterBullet:Clone()
local one = Instance.new("BodyForce",proj)
one.Name = 'NOGRAV'
one.Force = Vector3.new(0,proj:GetMass()*workspace.Gravity,0)
--(btw "ChaosBuster.poss" is the part with green cone ( to show where it points to ) )
(line 7) proj.CFrame = script.Parent.ChaosBuster.poss.CFrame:ToWorldSpace(CFrame.Angles(math.rad(90),math.rad(0),math.rad(angle)))
(line 8) proj.Velocity = proj.CFrame.YVector * 40
proj.Parent = workspace
(line 10) angle -= 15
end
take an attention on these lines i marked.
i was trying to make projectiles shooting that will rotate (will look down) and it will move by using Y vector (moving it forward by using that vector), but for some reason it moving in a wrong way, meanwhile it must move to where green cone points to