I’m getting started on developing a game where the gameplay consists of rounds.
In the beginning of each round the game will choose a catcher (player who will catch). all the others player will get the runner role.
Different role will grant different abilities. The catcher for example, will run a bit faster and will be able to punch to tag someone.
As i said I’m only starting with developing it so making a system that gives everyone their role seemed to be the most logical place to start with.
the problem is that i don’t know how to make this system .
I am very new in roblox developing so there is a huge chance i just don’t know some scripts that will let me do as i please.
I would appreciate if you help me to understand on how can i make this system.
I would also very very appreciate if you can explain in simple terms or just explain what you are doing and why cause i dont just want to get the code, i want to understand how it works
I understand where you are coming from, but it is highly encouraged to learn how to make scripts by doing your own research. It is very easy to find tutorials/posts online to give you step-by-step guides on how to make systems like these. I’ll give you two video’s to get you started listed in the details below, but refrain from using #help-and-feedback:scripting-support for general questions, since it is supposed to be used for requesting help with existing code which is not functioning properly.
Anyhow, good luck learning. It’s the most fun part of developing. (to me)
You could use attributes or some sort of tag to identify if the player is a runner or a catcher. To randomly pick them use math.random and a for loop looping through all the player. This is just a basic concept that you can expand on.