#VIP tag overhead problems
3 messages · Page 1 of 1 (latest)
@buoyant halo
local ServerStorage = game:GetService("ServerStorage")
local Tag = ServerStorage.Tag
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local CloneTag = Tag:Clone()
local NameTag = CloneTag.NameTag
local RankTag = CloneTag.RankTag
local GamePassIdVIP = "112689962"
CloneTag.Parent = char:WaitForChild("Head")
NameTag.Text = player.Name
local VipTag = game.ServerStorage:WaitForChild("Tag"):WaitForChild("VIP"):Clone()
if game.MarketplaceService:PlayerOwnsAsset(player, GamePassIdVIP) then
CloneTag.Parent = char:WaitForChild("Head")
VipTag.Parent = char:WaitForChild("Head")
end
if player:GetRankInGroup(11330058) == 255 then -- MINISTER OF DEFENCE
NameTag.Text = "[MOD] "..player.Name
elseif player:GetRankInGroup(11330058) == 254 then -- DEVELOPER
NameTag.Text = "[DEV] "..player.Name
elseif player:GetRankInGroup(11330058) == 1 then -- RECRUIT
NameTag.Text = "[OR-1] "..player.Name
elseif player:GetRankInGroup(11330058) == 0 then -- GUEST
NameTag.Text = "[GUEST] "..player.Name
end
end)
end)