When I click the button nothing shows up in Output but it doesnt make the text "hi" (btw i just used "hi" for an example xd) Script:
script.Parent.MouseButton1Down:connect(function() local a = game.Workspace.PopUpOrder game.Workspace.PopUpOrder.Frame.Order.Text = "hi" wait(2) a.Parent = game.StarterGui script.Parent.Text = "Sent!" wait(3) script.Parent.Text = "Order" end)
Anybody know whats wrong?

10 comments
So.. how do I fix it?
Do you want that PopUpOrder to show up for every player in the server? I'm a little confused with your code.
Yes.
Wait. Is the PopUpOrder a GUI? If it is, I don't think Workspace is the right place to put it, unless it's on a part or something.
Well.. you said it wont change if I keep it in startergui so what i did was I made it so it stays in workspace but after the text is changed it moves back to startergui but its invisible and visible is checked.
No no no. That's not what I mean. You have to PUT the GUI in StarterGui, but you don't CHANGE it in StarterGui. You'd have change the GUI in something called "PlayerGui". Here, I have the fixed script in my answer.
Thanks!
May I ask, where did you learn to script so good?
The Roblox wiki and Youtube. I recommend you use Youtube for basic things and the wiki for more complex things. Youtube wasn't helpful to me when it comes to something complex. :I
Thanks!