I have this script, I need to make it so an imagelabel or whatever comes up Above the players head that coresponds to their militaty rank, I dont know how. this is what i have
NOT ALL OF IT JUST THE MAIN PART roblox is down and this is all i have saved
Create'BillboardGui'{
Name = 'Nametag';
Parent = Custom;
Size = UDim2.new(5, 0, 0.5, 0);
StudsOffset = Vector3.new(0, 2, 0);
Create'TextLabel'{
Name = 'NameLabel';
BackgroundTransparency = 1;
Size = UDim2.new(1, 0, 1, 0);
Position = UDim2.new(0, 0, -0.8, 0);
Font = 'Antique';
Text = Character.Name;
TextColor3 = Color3.new(1, 1, 1);
TextScaled = true;
TextStrokeTransparency = 0.5;
};
Create'TextLabel'{
Name = 'RankLabel';
BackgroundTransparency = 1;
Size = UDim2.new(1, 0, 0.92, 0);
Position = UDim2.new(0, 0, 0.2, 0);
TextTransparency = .1;
Font = 'Antique';
FontSize = Enum.FontSize.Size12;
Text = Player:GetRoleInGroup(7157060);
TextColor3 = Color3.new(1, 1, 1);
TextScaled = true;
TextStrokeTransparency = 0.5;
};
}