The bit of the script

Right so basically, I'm trying to make it so it checks if they're in a certain group if so, it will put their role in it. It works with one group by just putting Text = Player:GetRoleInGroup(the group id);. But I'm trying to use an if to put multiple groups, but it is saying that the if has an error enter image description here Can anyone help me fix this as it is supposed to get their role in the group and put it as the text for the billboard gui above their head.

6 comments

0

At the end of TextStrokeTransparency do }}

0

It does say it expects a } to close the { after Create'TextLabel'{ Instead of the if

0

And I have a } lower than the TextStrokeTransparency that does apparently close it

0

So it doesn't change anything

0

Did you try putting a } after Text = 'No Division' ?

0

Would you mind showing me the whole script for some more context and also show the line numbers?