I'm making a door and the tween is not working please help
local TweenService = game:GetService("TweenService") local Prox = script.Parent Prox.Triggered:Connect(function(player) print("Test") local part = script.Parent.Parent.Parent.Parent.Door local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.302, 10.83, -321.658) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Door1 local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.339, 7.536, -321.646) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Frame local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.293, 12.378, -321.616) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Part local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.306, 12.389, -321.74) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------- wait(5) ------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Door local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.339, 1.275, -321.646) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Door1 local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.339, 7.536, -321.646) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Frame local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.293, 6.117, -321.616) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() ------------------------------------------------------------------------------------------------------------------------- local part = script.Parent.Parent.Parent.Parent.Part local tweeninginformation = TweenInfo.new ( 3, -- length Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 2 ) local EndPosition = Vector3.new(1286.306, 6.128, -321.74) local Tween = TweenService:Create(part,tweeninginformation,{Position = EndPosition} ) Tween:play() end) -----------------------------------------------------------------------------------------------------------------------