#How can I make people keep roles when they rejoin?
70 messages · Page 1 of 1 (latest)
What are you using this for?
my game
Im making this war type game and i want people to keep their roles when they leave so when they join back they dont have to put it in their bio
but i think u need RRS
No?????
oh
Assuming it’s just 1 role, you could just have a Bool cloud variable and set it to true, if it’s true, on join, apply role
Inherently no, what was dumb is that you didn’t search first, like everyone else 

Next time, a coconut will fall and hit you on the head, and it will make a comical Bonk sound on impact
im still a little new to circuts
also im kinda confused
does it save every role that person has ever gotten?
No, it saves the fact that the player should get the roles to begin with
Bools are true or false
So on joining, if it’s true, give them roles
If it is false, do not give them roles
but what if i want only the people who have had it before to get the role?
and not everyone?
Configure the Bool variable to cloud, it will remember the state per player
So I could be true for me, but false for others
alright understood
so it should go, event player join, bool variable, then if and player add role?
i do that three times?
and i do this three times to only give them one role?
that makes sence
That?
ohhhhh
they all need to be from the same event
This huh
did i do it?
Keep in mind, all of those bool variables are storing the same value, as they all have the same name
What is the book book variable for?
It depends
if its true, it means the local player has this role
if its false, it means the local player does not have this role
This entire thing is incredibly inefficient, and not something I would recommend doing at all
You can just store the local players rank in an Int Variable, the bigger the number the higher the rank, and you can keep the name of each rank baked into a List<String>, easiest done with a List Create, better done with String Split
Most the time, you do not need to know what is in that players variable, that player can handle everything themselves based off what is in that variable
If you want to show what they are above their heads, they can do that themselves, networking is incredibly important skill to learn
can u send me a picture on what to do?