Tweening twice problem

So I have a tween wich is going to tween a time later I want it to tween again but its gone or something so can someone please help me I teleport it back to its old position but stil!?!

this is my script:

local tweenService = game:GetService("TweenService")
local gameMode = game:WaitForChild("ReplicatedStorage"):WaitForChild("GameModeValue")

script.Parent.Text = gameMode.Value

gameMode:GetPropertyChangedSignal("Value"):Connect(function()
	script.Parent.Parent.Visible = true
	script.Parent.Text = "Game Mode: "..gameMode.Value.."!"
	local info = TweenInfo.new(
		5,
		Enum.EasingStyle.Linear,
		Enum.EasingDirection.In,
		0,
		false,
		0
	)
	
	local Goals =
	{
			Position = UDim2.new(-0.5, 0,0.859, 0)
	}
	
	local gameModeTween = tweenService:Create(script.Parent.Parent, info, Goals)
	gameModeTween:Play()
	wait(6)
	script.Parent.Parent.Visible = false
	script.Parent.Parent.Position = UDim2.new(1, 0,0.859, 0)
end)
1 Like

You’ve set it back to the old position but you’ve also made it invisible. You could just make it visible before your tween plays if you really need to make it invisible in the first place.

I do make it visible at line 7

im not sure if i can understand what your saying, when you say “its gone or something”, do you mean that it doesnt appear or is there some sort of error?

theres no error_______________

You could probably just remove the line making it invisible at all. I believe with the coordinates you use it is off the screen anyway.