How can I make an aperture?

Hi, this doesn’t seem like something I would need to use the DevForum for, but I can’t find anything similar anywhere.

Quick question, how can I make an aperture? I’m simply trying to make a 6-panel aperture as a door but it becomes a more complicated issue than I thought. I don’t know how to change a position value from local space through a script.

Here’s the script I have so far:

local slides = script.Parent:WaitForChild("Slides"):GetChildren()

local ts = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
local tweenProperties = {Position = Vector3.FromAxis(Enum.Axis.Z)} --NOTE! This part of the script is simply not done. I literally have no idea what to do from here.
local tween = ts:Create(slides,tweenInfo,tweenProperties)

button.MouseClick:Connect(function()
	tween:Play()
end)

Here’s a screenshot of the Explorer:
image

Sorry for such a simple question, but I just need a bit a help!