of     1   

Linked_S
#228410429Monday, December 04, 2017 1:31 AM GMT

Can someone please help me with this script. In the last end) the ) in underlined in red. Does anyone know how to fix this? If I remove the ), then more text gets underlined in blue. Does anyone know what this script should look like? local groupID = 3631816; local before_name = false; local ts = tostring game.Players.PlayerAdded:connect(function(player) repeat wait() until player.Character local char = player.Character getRole(player) player.Changed:connect(function() repeat wait() until player.Character wait() getRole(player) end) end) function createTitle(p, s) local gui = sc############ local clone = gui:Clone() clone.Parent = p.Character.Head if before_name then clone.F.T.Text = s.." "..p.Name else clone.F.T.Text = p.Name..", "..s end end function getRole(player) player.Character.Humanoid.NameOcclusion = "OccludeAll" if player.Character.Head:findFirstChild("Title") then return false elseif not player.Character.Head:findFirstChild("Title") and player:IsInGroup(groupID) then local rankString = player:GetRoleInGroup(groupID) createTitle(player, rankString) elseif not player:IsInGroup(groupID) then createTitle(player, "Customer") end if name.Text == "Link" then name.TextStrokeTransparency = 0 name.TextStrokeColor3 = Color3.new(0, 0, 0) role.TextStrokeTransparency = 0 role.TextStrokeColor3 = Color3.new(0, 0, 0) role.Text = "" elseif name.Text == "" then name.TextStrokeTransparency = 0 name.TextStrokeColor3 = Color3.new(0, 0, 0) role.TextStrokeTransparency = 0 role.TextStrokeColor3 = Color3.new(0, 255, 0) end end)
Linked_S
#228410674Monday, December 04, 2017 1:37 AM GMT

Or be able to make it so certain players have custom colors in the script and what I would need to add: local groupID = 3631816; local before_name = false; local ts = tostring game.Players.PlayerAdded:connect(function(player) repeat wait() until player.Character local char = player.Character getRole(player) player.Changed:connect(function() repeat wait() until player.Character wait() getRole(player) end) end) function createTitle(p, s) local gui = sc############ local clone = gui:Clone() clone.Parent = p.Character.Head if before_name then clone.F.T.Text = s.." "..p.Name else clone.F.T.Text = p.Name..", "..s end end function getRole(player) player.Character.Humanoid.NameOcclusion = "OccludeAll" if player.Character.Head:findFirstChild("Title") then return false elseif not player.Character.Head:findFirstChild("Title") and player:IsInGroup(groupID) then local rankString = player:GetRoleInGroup(groupID) createTitle(player, rankString) elseif not player:IsInGroup(groupID) then createTitle(player, "Customer") end end
Kan181
#228410797Monday, December 04, 2017 1:40 AM GMT

the last line in the script which is end) should be end
Linked_S
#228410810Monday, December 04, 2017 1:40 AM GMT

But then a lot things would be underlined in blue

    of     1