I’m making a code to allow a rocket to land, and the movement works.
However, when I try to alter the Vector 3, or position value at all, it doesn’t change where the ship moves to. The ship will always move to the exact same position.
No errors in code or console.
Any ideas how to fix this?
TweenService = game:GetService("TweenService")
BN4Root = BN4.PrimaryPart
info = TweenInfo.new(
30, -- Time
Enum.EasingStyle.Quad, --easingstyle
Enum.EasingDirection.Out, --easingdirection
0, --times Looped
false, --reverse
0 --delay
)
MoveShip = TweenService:Create(BN4Root, info, {CFrame = BN4Root.CFrame - Vector3.new(0,0.2,0)})
-- Set Ship Pos
task.wait(1)
workspace.CtrlRoom.QDControllerOPEN.Disabled = false
task.wait(1)
BN4:SetPrimaryPartCFrame(PosTop.CFrame)
CarriageMoveUp()
ArmsMoveLeft()
OpenClaws()
task.wait(5)
MoveShip:Play()