Align orientation

Is there a setting so align orientation only works with the y+ orientation

It’s pretty simple unless that’s not what you’re getting at

local gyro = Instance.new("AlignOrientation")
		gyro.Mode = Enum.OrientationAlignmentMode.OneAttachment -- Only works with one attachment
		gyro.Attachment0 = DunkAttach
		gyro.CFrame = CFrame.lookAt(Player.Character.HumanoidRootPart.Position, Vector3.new(Player.Character.HumanoidRootPart.Position.X, EndPart.Position.Y, Player.Character.HumanoidRootPart.Position.Z)) -- only changes the Y
-- OR YOU CAN DO
        gyro.CFrame = Player.Character:GetPivot() * CFrame.Angles(0,0,math.pi) -- only changes the Y

Both only change the Y, and the only prerequisite is that you use one attachment mode instead of two attachment.

could you do it with a regular cube?

Yeah, you could do it with anything.