I'm making a GUI that goes from the bottom of the screen right until the top, however, whenever entering a number value into the tween event the speed at which the GUI is moving is still exactly the same and the movement still happens in 1 second, but I'm not entirely sure how I would change this.
Below is the code that I have used and I'm not entirely sure why this doesn't work, when reading on the Roblox forums this is what I found.
Code:
textLabel:TweenPosition(UDim2.new(position, 0, -0.5, 0, nil, nil, 6))
The six is the time I want the GUI to finish its animation.

6 comments
Please accept if this helped you.
'Note that nil can be used for either of the easing options if you don't need to change the default EasingDirection of Out or the default EasingStyle of Quad.' Taken straight from the Roblox API.
Oh my bad, but did this fix it?
Also, I didn't forget to end the parenthesis.
okay but you ended the parenthesis wrongly, udim2 takes 4 numbers 2 scales 2 offsets.
Thanks.