Premium Member Overhead Gui

So, I have been thinking, is there any way that you can show up a Premium tag overhead (gui) if you bought Premium in Roblox? Like photo below: Screenshot by Lightshot
Screenshot by Lightshot

It would be a cool idea if it is possible. So if it is possible, what is the script? And where do I put it? It is local script or normal script?

2 Likes

You can just check if the player’s MembershipType is Premium, and set a BillboardGui to be visible if so. Since you want it to show up for everyone, it’s going to be a server script.

2 Likes

You can check the players membership type and clone a BillboardGUI from SS to the players head.

local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if player.MembershipType == Enum.MembershipType.Premium then
            local clonedgui = billboardgui:Clone()
            clonedgui.Frame.TextLabel.Text = "PREMIUM"
            clonedgui.Frame.TextLabel.TextColor3 = Color3.fromRGB(51,255,51)
            clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head

end
end)
end)

Just put a BillboardGui with the stuff you want inside and change the bits in the script to your preferences and this can go in a normal script in the ServerScriptStorage!

2 Likes

I tried and it kindof didn’t work. Here are some pic. I tried to use the format that I set. I made it not visible so that when Only Premium Member joined it will show up. Also I put the script in ServerScriptService. What went wrong?

local billboardgui = game:GetService("Workspace"):WaitForChild("headgui")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if player.MembershipType == Enum.MembershipType.Premium then
        local clonedgui = billboardgui:Clone()
			clonedgui.Frame.Premium.Visible = true

end
end)
end)

Put the billboardgui in ServerStorage, because your calling it in the Workspace.
image
Or change your script to

local billboardgui = game:GetService("ServerStorage"):WaitForChild("headgui")

I made a little download of it, hopefully this helps! :smile:

Premium Script…rbxl (22.1 KB)

2 Likes