I’m working on an admin panel and I need a nice and easy way to kick users. I was suggested this on a different post I did that was similer to this. Basically, I have a scrolling frame with a UiListLayout in it, and I want that to contain buttons for every player in the server that will display they’re names. and when clicked, I want it to kick the user that is on the button. I also have a text box that’s for inputting the moderation message, and I want it to use the text inside of it as the mod message. Any help is appreciated. Thank you!
Have you ever tried using the GPT chat?
in a loop with all players, for each player, you must clone the UI, change the values of the td name in it, and create a key-value pair for the table, where the key is the UI element and the value is the player. Now, when you click, you must iterate through the table and verify whether the element that was clicked is the key of the table, if so, the value of this table, that is, the player
To create a list, you need to use a UIListLayot, and to make it scrollable, use a Scrollable frame.
Wow the AI actually solved it. Not expected lol
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.