AlignPosition not dragging players

Ok so awhile ago I wanted to make a moving platform. I went with the idea of using AlignPosition to drag the part. At first it worked, but for some reason it doesent work anymore and I have no clue why. Ive tried putting in diffrent values but none of them worked exept for disabling Rigidity, but the part could barely move upwards.
If your wondering, this is the code that adds the alignposition

local MP = script.Parent:WaitForChild("Moving") --The platform
local TS = game:GetService("TweenService")
local attachment = Instance.new("Attachment", MP)
local ap = Instance.new("AlignPosition")
local ao = Instance.new("AlignOrientation")
ap.Position = MP.Position
ap.Attachment0 = attachment
ap.Mode = Enum.PositionAlignmentMode.OneAttachment
ap.RigidityEnabled = true
ap.Parent = MP
ao.RigidityEnabled = true
ao.Mode = Enum.OrientationAlignmentMode.OneAttachment
ao.Parent = MP
ao.CFrame = MP.CFrame
ao.Attachment0 = attachment
MP.Anchored = false
local tween = TS:Create(ap,Tween_Settings,{Position=WP2.Position})
tween:Play()