How to make advanced trade system? pt.3

this is pt3 my question
Hello everyone.
I previously asked about two trades. This time it may be more complicated.
Next, I want to create a GUI that displays the players that can be traded. In addition, I would like to be able to respond immediately when there is an increase or decrease in the number of players. I’ll give you an example from now on, but I’d appreciate it if you could tell me how to do each.

When player1 presses the trade button, a list of players appears. I want it to update immediately when there is a player change, and still send a message when I press the button of the player I want to send a trade request to.

1 Like

Use Players:GetPlayers(), then look through them checking if you are allowed to trade with them, then add them to the list by cloning a template frame and changing the text to their name and making a trade UI open when you wish to trade with them.

Honestly, you are asking a lot. You should learn about what I have said before moving on and getting more answers. There is no point having someone basically hand you a script as you will learn nothing from it.


understood. Learn from the basics first. Thank you for the question.