Trouble with Tweens, should be working, but it's not? Stopped working after perfection work.
Hi all,
I'm making a custom player list, and I'm trying to make it tween into position, but I'm getting the error Unable to cast to Dictionary
. It worked before I added Enum.EasingStyle.Sine
, but when I added it, it magically didn't work anymore. Unless I'm doing something wrong, I have no clue why this wouldn't work.
Code:
1 | local Cont = script.Parent |
2 | local TweenService = game:GetService( "TweenService" ) |
3 | local TwnInfo = TweenInfo.new( 1 ) |
4 | local ContTween = TweenService:Create(Cont, TwnInfo, Enum.EasingStyle.Sine, { Position = UDim 2. new( 0.875 , 0 , - 0.005 , 0 ) } ) |