So I’m trying to make a timer that shows up on the screen. The problem is that the timer doesn’t go back up when the countdown is done.
I tried turning Visible to false and just setting the position but it still doesn’t go up.
game.ReplicatedStorage:WaitForChild("Timer").OnClientEvent:Connect(function(Time) script.Parent.Countdown:TweenPosition(UDim2.new(script.Parent.Countdown.Position.X.Scale,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic) for i = Time,1,-1 do script.Parent.Countdown.TextLabel.Text = tostring(i) wait(1) end --The code that doesn't work script.Parent.Countdown:TweenPosition(UDim2.new(script.Parent.Countdown.Position.X.Scale,-0.25,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic) -- end)
The countdown itself works but the code going up doesn’t. I also don’t get any errors.