Not sure what the issue is with this script, but the gui won't show over a players head to show their rank in the group. I should also mention that it's a billboard gui.

FontLibrary - http://www.roblox.com/item.aspx?id=326377647

Script:

local ServerStorage = game:GetService("ServerStorage")
local FontLibrary = require(script.Parent:WaitForChild("FontLibrary"))
local ExtendedTextLabel = require(script.Parent:WaitForChild("FontLibrary"):WaitForChild("ExtendedTextLabel"))
local Color = Color3.new(192/255, 192/255, 192/255)

FontLibrary:LoadFont(325537096)
FontLibrary:ListFonts()

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function() -- So a new character is in use.
    local rank = plr:GetRankInGroup(2696373)
    local role = plr:GetRoleInGroup(2696373)

    if rank ~= 0 then
		ServerStorage.Rank:Clone()
        local Label = ExtendedTextLabel.new(ServerStorage.Rank)
        repeat wait() until plr.Character
        Label.Parent = plr.Character.Head
        Label.Text = role
        Label.TextColor3 = Color
        Label.Font = "ComicSansMS"
        Label.FontSize = 20
    end
end)
end)

This is probably the issue, anyway to fix it? http://prntscr.com/9a2op6

4 comments

0

You need to set the adornee of the billborad gui, so: Label.Adornee = plr.Character.Head

0

Even with it set, I don't think it's inserting the gui into the players head

0

Set up print(), and tell us where it stops.

0

Think I found the issue, but don't know how to fix it. Refer the main post that is now updated.