How can I get this script to work? Studios keeps telling me i'm not properly putting my ends.
Asked by
4 years ago Edited 4 years ago
01 | local BBGUI = game.ServerStorage.BillboardGui |
05 | game.Players.PlayerAdded:Connect( function (player) |
06 | player.CharacterAdded:Connect( function (character) |
07 | if player.Team = = "Inmate" then |
08 | local CGUI = BBGUI:Clone() |
09 | CGUI.TextLabel.Text = player.Name.. "\n" .. "Inmate" |
10 | CGUI.Parent = game.Workspace:WaitForChild(player.Name).Head |
11 | elseif player.Team = = "[CLASSIFIED]" then |
12 | local CGUI = BBGUI:Clone() |
13 | CGUI.TextLabel.Text = "[CLASSIFIED]" .. "\n" ..player:GetRankInGroup(GID) |
14 | CGUI.Parent = game.Workspace:WaitForChild(player.Name).Head |
Where do I need to put my end?