Why is TweenPosition not a member of TextButton?
I am trying to make a simple tween out for my IntroGUI, but for some reason I am getting this error
13:15:23.972 - TweenPositon is not a valid member of TextButton
13:15:23.973 - Script 'Players.Player.PlayerGui.IntroGUI.Backing.Script', Line 6
13:15:23.974 - Stack End
This is my script. It runs the TextLabel TweenPosition, but not the TextButton...
1 | script.Parent.Play.MouseButton 1 Click:connect( function () |
2 | repeat wait() until script.Parent.Title |
3 | repeat wait() until script.Parent.Play |
4 | script.Parent.Title:TweenPosition(UDim 2. new(- 1 , 0 , 0 , 0 ), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1 ) |
6 | script.Parent.Play:TweenPositon(UDim 2. new(- 1 , 0 , 0.5 , 0 ), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1 ) |