I want to make a projectile that goes where my mouse is pointing, but I when I try a lerp, the part doesn't move.
Here's what I tried.
player = game.Players.LocalPlayer
mouse = player:GetMouse()
mouse.KeyDown:Connect(function(key)
if key == "g" and player.Name == "bearpro2" then
local target = mouse.hit
projectile = game.ReplicatedStorage.ownerProjectile:Clone()
projectile.CFrame = player.Character.Torso.CFrame
projectile.Parent = game.Workspace
for i=0,1,0.001 do
wait()
projectile.CFrame = projectile.CFrame:lerp(target.CFrame,0.5)
end
end
end)

4 comments
Nope, you didn't even try. Attempt before asking this isn't a request site, we help those who have tried.
^
Having said that, if you need a push in the right direction, look into how BodyVelocity works.
Probably BodyGyro might help as well.