Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can anyone help me fix this piece of script? I am getting an expected identifier

Asked by 5 years ago

!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.

0
At the end of TextStrokeTransparency do }} songboy50 77 — 5y
0
It does say it expects a } to close the { after Create'TextLabel'{ Instead of the if ckalex1 0 — 5y
0
And I have a } lower than the TextStrokeTransparency that does apparently close it ckalex1 0 — 5y
0
So it doesn't change anything ckalex1 0 — 5y
View all comments (2 more)
0
Did you try putting a } after Text = 'No Division' ? Sandcake85 0 — 5y
0
Would you mind showing me the whole script for some more context and also show the line numbers? alex_ander 163 — 5y

Answer this question