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?
You're using StarterGui to change it, that's why. StarterGui is meant to clone GUI to every player that joins or respawns, but it's not meant to constantly update the player's GUI.
Here's a fixed version of it :
script.Parent.MouseButton1Down:connect(function() for i,v in pairs(game.Players:GetPlayers()) do v.PlayerGui.PopUpOrder.Frame.Order.Text = "hi" end script.Parent.Text = "Sent!" wait(3) script.Parent.Text = "Order" end)