Hello! i need some help coming up with how i could make code for an omegle-type one on one chat game for roblox,
essentially how i think it could be done is
add players to queue (if they join, if they left a chat, etc.) using tables for a queue
if there is > 2 players in the queue, the first 2 will be put in a room
send a remote event to both clients to setup a room (not sure how i would make the rooms work tho)
if one disconnects, the gui gets destroyed and they both go back to queue
i have a gui already but i have almost no scripts other than simple stuff like limiting the characters that can be typed in a textbox etc.
what i need help with doing is:
making the queue system
making the room system (storing who is in a room together if needed)
making the disconnect event
the game is fully gui based so i cant used teleport service or anything, and also i am not asking for scripts to be made for me
all i need is explanation on how it could be done, and if you want i can use my own brain to make the actual script
thank you all, sorry if this is a lot to ask for but any help is appreciated! :)