I watched tons of YouTubers to make an overhead GUI but none of them worked.
COMMUNITY QUESTION
how do I add a vip overhead gui on roblox?
1 answer
You basically just need to check if the player has a game pass and if so clone a Billboard GUI and put it on their head. Make a bill board GUI in Replicated storage and put a text label in it and customize it to whatever you want. Make sure you put studs offset in Billboard GUI to 0,3,0. Then put this script in workspace:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local ms = game:GetService(“MarketplaceService”)
local id = PUT YOUR GAMEPASS ID HERE
if ms:UserOwnsGamePassAsync(player.UserId, id) then
local UI = game.ReplicatedStorage.BillboardGUI:Clone()
UI.Parent = character.Head
end
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

9 comments
If this doesn’t work, please tell me cause I think i might have made a mistake
It's always better to have scripts in ServerScriptService instead. You also haven't included an ends in the script, making it not functionable
dosen't work
Ah yes I forgot the end.
ok now it should. I put the ends in the script
it didnt work
Are there any errors in the output? If so please tell me. Also check Script Analysis
Ok I think I know why. If you named the BillboardGUI anything else you should put that there instead of BillboardGUI. It might be BillboardGui instead of BillboardGUI
And it’s UserOwnsGamePassAsync, oops