I made an script that the LocalScript goes to the player before it returns. And then an error said that LocalScript is not an valid member of TextButton But I wasn't using any if and then statements? Code: (I removed the locals because I am lazy to put them on. player as game.Players.LocalPlayer)
script.Parent.Parent.Blast.LocalScript.Parent =player
script.Parent.Parent.Transport.LocalScript.Parent = player
script.Parent.Parent.Bullet.LocalScript.Parent = player
script.Parent.Parent.Requiem.LocalScript.Parent = player
wait(1)
script.Parent.Parent.Blast.LocalScript.Parent = script.Parent.Parent.Blast
script.Parent.Parent.Transport.LocalScript.Parent = script.Parent.Parent.Transport
script.Parent.Parent.Bullet.LocalScript.Parent = script.Parent.Parent.Bullet
script.Parent.Parent.Requiem.LocalScript.Parent = script.Parent.Parent.Requiem
And then I did not put any if and then statements but the code though I was finding the Parent, but I was going to a Parent. Any helps?

2 comments
you dont have to be using if statements to encounter an error
I mean it has no statements, but it just say the error.