Hey,
I have an issue that I am unable to fix. The part is supposed to get to the target (Torso) and stop there. Instead it flys around it because of its force. Any way to fix this?
** Not sure why the screen is like that
Script
local velocity = script.Parent.LinearVelocity
local target = script.Parent.Parent.Dummy.UpperTorso
while task.wait(0.1) do
local offset = (target.Position - script.Parent.Position)
if offset.Magnitude < 1 then
velocity.VectorVelocity = Vector3.new(0,0,0)
script.Parent.Anchored = true
break
else
velocity.VectorVelocity = offset.Unit * 100
end
end