For whatever reason when I use the following script, the text button I am trying to change the text of will remain the same.
local button = script.Parent.TextButton
if button.MouseButton1Down == true then
button.Text = "X"
script.Parent.TextButton2.Visible = true
print("yep")
end
Any suggestions?

9 comments
Does it do the print?
What Deku said. Also whyd you delete your question?
Well what you said about where mousePose came from kind of made me realize a simple mistake. I forgot to put the mousePose parameter in the local script xD. I was gonna wait for you to post it as an answer so I could accept it, but after a while I decided to just delete the question.
I don't think it printed
Ah lol, with no reference i was confused how it worked, that makes sense and glad it helped.
Well then that tells us the event never occurs. Did you want to make so it changes the text until the mouse stops holding it? Or did you just want it to change with a simple click.
Yeah, thanks lol.
I want to change it with a click
"First off, as you may know, Lua and RLua (Roblox Lua) are different in many ways."