When I'm in studio testing it by myself it works. When I go into test mode with 2 players the text "has ordered" text stuff hasn't changed. Can someone make it so the text changes for everyone in the server with a rank higher than 180?
script.Parent.MouseButton1Down:connect(function()
local groupID = 3418893
local adminRankID = 180
script.Parent.Text = "Sent!"
wait(1)
script.Parent.Text = "Order"
if game.Players.LocalPlayer:GetRankInGroup(groupID) >= adminRankID then
for i,v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.PopUpOrder.Frame.Order.Text = game.Players.LocalPlayer.Name.. " has ordered " ..script.Parent.Parent.Box1.Text.. ". " ..game.Players.LocalPlayer.Name.. "'s class is " ..script.Parent.Parent.Box2.Text.. "."
end
end
end)

6 comments
Can you put the code in a code block? It's a little hard to read like that...
How?
So edit your post, click that blue lua button, and copy paste all your code BETWEEN those 2 squiggly lines.
Done
Player1 can't change the playergui of Player2 and vise-versa. You'll need RemoteEvents for this.
Uh.. I'm not too god with RemoteEvents and stuff