I'm using a rank tag script, and I needed FE on in order for a morph gui to work. Now the rank tag doesn't appear overhead players. Here is the script:
local GUI = script:WaitForChild("Rank")
local GroupId = 3289024
local GroupsIds = {
{'Crimson',3289024},
{'New Yeller',3467665},
{},
{},
{},
{},
{},
{},
{},
{}
}
function returnGroup(Player)
for i = 1,#GroupsIds do
if Player.TeamColor == BrickColor.new(GroupsIds[i][1]) then
return GroupsIds[i][2]
end
end
return GroupId
end
game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Character)
spawn(function()
wait(.8)
local a = GUI:clone()
a.Adornee = Character:WaitForChild("Head")
a.Frame.Name1.Text = Player.Name..'\n'..Player:GetRoleInGroup(returnGroup(Player))
a.Enabled = true
a.Frame.Name1.TextColor3 = Player.TeamColor.Color
a.Parent = Character
Character:WaitForChild('Humanoid').NameOcclusion = Enum.NameOcclusion.OccludeAll
local h = Character.Head:Clone()
local m = Instance.new('Model',Character)
m.Name = 'NameTag'
h.Parent = m
Character.Head:WaitForChild('face'):Destroy()
Character.Head.Transparency = 1
local w = Instance.new('Weld',Character.Head)
w.Part0, w.Part1 = Character.Head, h
end)
end)
end)
Inside of the script there is a billboard gui (I think) which is the parent of a Frame which is the parent of a textlabel (called Name1)
