Part moves to incorrect/not defined position

I’m trying to make a door that slides open by looping some parts in a for loop.
But for some reason the parts move to a completely different stop than the one I defined (z-axis moves to the orgin…?)
What is happening here and how do I fix this?


local Click1 = script.Parent.clickdetector1.ClickDetector
local Click2 = script.Parent.clickdetector.ClickDetector
local TweenService = game:GetService("TweenService")
local Info1 =,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
local Sound = script.Parent.OpenCloseDoor
local OnOff = script.Parent["on / off"]
local OnOff2 = script.Parent["on/off2"]
local Open = false
local InTween = false

local function OnClick()
	if not Open and not InTween then
		for i, Part in pairs(script.Parent.Folder:GetChildren()) do
			TweenService:Create(Part,Info1,{Position =, -3,88, -74.724)}):Play()
		OnOff.BrickColor ="Lime green")
		OnOff2.BrickColor ="Lime green")
		OnOff.Material = Enum.Material.Neon
		OnOff2.Material = Enum.Material.Neon


Example of what happens:

It goes to the position you set, i don’t see the problem

It goes to (10.741, -3,88, 0) instead of (10.741, -3,88, -74.724)

X:10.741 Y:-3 Z:88

You don’t need the fourth number you put

Ohh now I see what’s wrong 3,88, is supposed to be 3.88,

So did it get fixed? And if it did mark my reply as the solution