i have two scripts, one for moving the block and one for giving velocity to it
local pos = hrp.Position + (mouse.Hit.Position - hrp.Position).Unit * 13
target.BodyPosition.Position = pos
target.CFrame = CFrame.new(target.Position, mouse.Hit.Position)
target.BodyGyro.CFrame = target.CFrame
that is the script that makes the part always face the player, and this is the script that gives velocity to it:
local box = target
local speed = -100
box.Velocity = box.CFrame.LookVector * speed
it looks fine at first, but when i execute the second script, the block always go slightly off than usual, why is that?