Log in to vote

0
Ok so here is my code:

hoverPart.BodyPosition.position = workspace.Slayer.Pos.CFrame.lookVector + Vector3.new(speed, workspace.Slayer.HoverHeight.Value, speed)

So, this is not working for me. I want it so it will move the hoverPart, toward its look vector + speed(speed = 2) sp it will move hoverPart in front of itself by 2. But it's not doing that, any help?

Log in to vote

0
while wait() do hoverPart.BodyPosition.position = hoverPart.CFrame.lookVector * 2 end

that will move hoverPart forward in a loop. make sure you set the P,D and maxForce property for more control of the BodyPosition personally i would set maxForce to Vector3.new(math.huge,math.huge,math.huge) because i've found it doesn't work otherwise