I have a Local Script that is inside "HowToPlay" to which when you click that button it sends "Play", "HowToPlay", and so on that is on the list away. But it doesn't.
script.Parent.MouseButton1Click:connect(function()
script.Parent.Play:TweenPosition(UDim2.new(5, 0,0.447, 0), "InOut", "Quad", 1.5)
wait(.3)
script.Parent.HowToPlay:TweenPosition(UDim2.new(5, 0,0.56, 0), "InOut", "Quad", 1.5)
wait(.3)
script.Parent.Credit:TweenPosition(UDim2.new(5, 0,0.676, 0), "InOut", "Quad", 1.5)
wait(.3)
script.Parent.Credit2:TweenPosition(UDim2.new(5, 0,0.771, 0), "InOut", "Quad", 1.5)
wait(.3)
script.Parent.HowToPlays:TweenPosition(UDim2.new(0.204, 0,0.179, 0), "InOut", "Quad", 1.5)
end)
Error: Play is not a valid member of TextButton
Picture: https://cdn.discordapp.com/attachments/165226280118255616/700114575718350918/sciprintg.PNG

4 comments
The script for "HowToPlay" is inside of it, to where If i use .Parent.Parent. It's going to give me a "Play is not a valid member or Local Script"
Nevermind. I noticed what I did wrong. wish I can accept both answers. (also you made a small error in line 4 ".Parent..Parent"
Oops
He literally wrote the same answer as me..