My friend is a decent scripter. He is helping me develop a game. He has a gamepass where he wants it to give a overhead gui name tag if they have the pass. I don't want a script, but can somebody give me some links I can give him so he can learn how to do ti?
When player buys gamepass, how do I put overhead gui saying "Premium" or something?
1 answer
Hey there as far as i can see you’re looking for when a player joins a game check If they have the relevant game pass then insert a billboard GUI into the head to achieve this I will refer you to these links:
https://www.robloxdev.com/api-reference/function/MarketplaceService/PlayerOwnsAsset
https://www.robloxdev.com/api-reference/event/Players/PlayerAdded
https://www.robloxdev.com/api-reference/event/Player/CharacterAdded
4 comments
Don't use PlayerOwnsAsset for this, use MarketplaceService UserOwnsGamePassAsync().
Is that more efficient?
https://devforum.roblox.com/t/live-changes-to-game-passes/116918 "MarketplaceService.UserOwnsGamePassAsync should be used to see if a player has a particular pass."
Haven’t scripted on roblox for a while suppose stuff changes lol
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
UserOwnsGamePassAsync() and general knowledge of BillboardGuis is all you need.