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...
script.Parent.Play.MouseButton1Click:connect(function() repeat wait() until script.Parent.Title repeat wait() until script.Parent.Play script.Parent.Title:TweenPosition(UDim2.new(-1, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1) wait(0.5) script.Parent.Play:TweenPositon(UDim2.new(-1, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1) end)
script.Parent.Play.MouseButton1Click:connect(function() repeat wait() until script.Parent.Title repeat wait() until script.Parent.Play script.Parent.Title:TweenPosition(UDim2.new(-1, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1) wait(0.5) script.Parent.Play:TweenPosition(UDim2.new(-1, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 1) end)
you wrote 'TweenPositon' not 'TweenPosition'