TextButton = script.Parent script.Parent.TextButton.MouseButton1Click:connect(function() script.Parent.TextButton.Text = "121" end)
Text does not change when clicked
I think that you just made a simple mistake in not using the variable you defined. it should be like this:
TextButton = script.Parent TextButton.MouseButton1Click:connect(function() TextButton.Text = "121" end)
Anyways, I hope this helped. If you have any further problems/questions, please leave a comment below :P