Why doesn't this work anymore

Hi! Just a quick question to the developers out there who specialize in TweenService, why doesn’t this work anymore?

wait(5)
script.Parent:TweenPosition(UDim2.new(-0.741, 0,0.695,0)"Out","Linear",3)

When I try doing this script, I get this error message:


I cannot tell if this is a new update about tweenservice, or if I am just dumb and made a blunder. Thanks!

1 Like

Hey, I believe you forgot to leave a comma after your UDim2 value.

Try this:

script.Parent:TweenPosition(UDim2.new(-0.741, 0,0.695,0),"Out","Linear",3)

As you can see I added a comma right after that UDim2 value.

2 Likes

How do you spot those types of things? are you goated??!
:goat: :goat: :goat: :goat: :goat: :goat:

thank you so much cookie :smiley:

1 Like

With practice comes skill.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.