#Can anyone help me make a matchmaking system for my basketball game

1 messages · Page 1 of 1 (latest)

vale marlin
#

i need help

oblique lagoon
#

sure sut the players in a table

#

and then u can use teleportservice

#

to matchmake think of a algorithm to pair the players

kindred bramble
#

some people already made some global matchmakings

grizzled orbit
#

you need go through step by step

#

first

#

make a while true do loop

#

second

#

every loop, create a instance and set its anchored to false, transparency to 0, material to neon and make it reflective

#

third

#

you add task.wait() so it wont lag the game

#

then you end the loop

#

simple right

vale marlin
#

they would have to wait for someone else to hop on then

#

get teleported on the court

grizzled orbit
#

oh

#

simple

#

just get tag

#

collection service or smtg

#

add a remote event

#

then use .touch

#

ya thats it

vale marlin
#

so u can see for ur self

grizzled orbit
#

lol

vale marlin
#

please

kindred bramble
#

is very simple

#

i will try to take the model for you

buoyant summitBOT
#

studio** You are now Level 2! **studio

vale marlin
kindred bramble
#

@vale marlin

#

lmk if is this you want

#

you can config some things in the cell model attributes

grizzled orbit
#

yes

vale marlin
#

these pads like how can i make it so if a player gets close to the pad a button will show up and if they click it they will get on a open spot and when 6 players are on the pad the game will start

grizzled orbit
#

what

#

get close to the pad?

#

ok im just gonna take it as standing on the pad

#

so use . touched event

#

update a value in server

#

server check the changes and check if #plr == 6

#

if then start

#

simple

buoyant summitBOT