#Help with making an omegle-type one on one chat game.

12 messages · Page 1 of 1 (latest)

elder basalt
#

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! :)

glossy stratus
#

uh

#

make a textbox where people can type message

#

if player is typing and it hit enter or smth else

#

a textlabel appeared inside the player gui

#

yk what i mean

elder basalt
#

i know that but im talking ab the whole

#

queue, choosing 2 players, making a chatroom

#

etc

drowsy zephyr
#

Everything should be basically in the docs