Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

is there other way to see of player owns a gamepass or t-shirt?

is there other way to see of player owns a gamepass or t-shirt other then PlayerOwnsAsset?

1 answer

✓ Accepted answer
local GamePassId = 1337
repeat wait() until game.Players.LocalPlayer
local player = game.Players.LocalPlayer

GamePassService = game:GetService("GamePassService")
if GamePassService:PlayerHasPass(player, GamePassId) then
	-- in here is where you would code what you would want to happen if they do/don't have it
end

I think this might work

1 comment

0

will this work for t-shirts?^

This discussion is preserved as it was. New answers, comments, and votes are closed.