Help wanted with tween script

I’m trying to make a part move up and down, I’m not getting anything in output, and the brick will move up but will not move back down again

local part = script.Parent

local TweenService = game:GetService("TweenService")

local tween = TweenService:Create(part, TweenInfo.new(10), {CFrame = part.CFrame * CFrame.new(0, 0.5, 0)})
tween:play()
tween.Completed:Wait()
local tween = TweenService:Create(part, TweenInfo.new(10), {CFrame = part.CFrame * CFrame.new(0, 0, 0)})
tween:play()
tween.Completed:Wait()

Thanks in advance for any help

That’s because in the second tween you are not even moving it down. Instead of
CFrame.new(0, 0, 0)

do
CFrame.new(0, -0.5, 0)

2 Likes