i wrote this for a part when its facing the X axis
Tween:Create(Elevator.PrimaryPart.DoorLeft, TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, false, 0), {C0 = CFrame.new(Elevator.PrimaryPart.DoorLeft.C1.X * -2,0,0)}):Play()
before script;
afterscript ;
trying this on a part when its facing a different way ends up in this ;
the metal parts are the doors and are supposed to be spread open
is there a way to make this detect what axis its looking and open based on that?