Premium Character Tag

:wave: Yello everyone, hope you all are doing great.

Today, I was looking all over YouTube and many other places and couldn’t find a similar to this one.
Let me explain, an image tag for a user who bought the premium game pass on a game.

Still don’t get the full picture? Well, I got the picture right here to show you.
Screenshot_80

As you can see there it’s their name, role in the group and then the third label is where it’s the premium one. I am not sure how to make it so if anyone could help it would be very appreciated.

This is the ID for the Premium tag: 4442804491.

Thank you for reading this and I hope I’ll get my answer. :smiley:

Edit - Sorry for wording my question weirdly, what I meant is if you bought a Premium game pass on my game when you join the game you’ll have a Premium tag above your name and group rank. Just as shown in the picture.

2 Likes

You can check a player’s membership type. I recommend if you did this in a player added event:

game:GetService("Players").PlayerAdded:Connect(function(player)
    if player.MembershipType == Enum.MembershipType.Premium then
        --add the BillboardGui here
    end
end)

i am on mobile so excuse the bad indentation.

2 Likes

Is this for a premium gamepass, or roblox premium?

Here’s what a gamepass would look like…

if game:Get service("MarketplaceService"). UserOwnsGamePassAsync(USERID, GAMEPASSID) == true then
   --Nametag code
end
2 Likes

You may want to look at - MarketplaceService | Documentation - Roblox Creator Hub

This is a way to check if a user owns a gamepass.

Too make a overhead tag, I recommend you watch AlvinBlox if you don’t already know how to make one - https://www.youtube.com/watch?v=TfeWj3zGAkM

Hope this helped. :+1:t2:

2 Likes

This is a slightly confusing question since it’s not clear to me as whether or not you are trying to make a tag for ROBLOX Premium users or a game pass called Premium.

Here is a start on both ways:

To check if the Player has Premium you can use a very simple property called MembershipType.

For instance:

game.Players.PlayerAdded:Connect(function(Player)
    if (Player.MembershipType == Enum.MembershipType.Premium) then
        -- You are able to add the billboardgui here (I'm assuming you have made the tags already) 
      end
end)

To check if the player owns a game pass called Premium you can do:


local MarketplaceService = game:GetService("MarketplaceService")
local gamepassId = 00000000 -- change this to your gamepass id

game.Players.PlayerAdded:Connect(function(Player)
    if (MarketplaceService:UserOwnsGamePassAsync(Player.UserId, gamepassId)) then
        -- You are able to add the billboardgui here (I'm assuming you have made the tags already) 
      end
end)

This should lead you in the right direction, you can always come back after you try some stuff out yourself if you need further assistance!

1 Like

Thanks! I am sorry that I worded my question weirdly, what I meant is if you bought a Premium game pass on my game, when you join the game you’ll have a Premium tag above your name and group rank. Just like shown in the picture mentioned in the post. ;D

1 Like

Yeah, just go ahead and use the second method I provided. It should work.

1 Like

Thank you for the links, I wanted to ask on how can I use an ImageLabel instead of the TextLabel for the overhead tag provided in AlvinBlox’s video.

Simply swap out the text label to a image label, and it should work just the same.

1 Like