is there other way to see of player owns a gamepass or t-shirt other then PlayerOwnsAsset?
✓ ANSWER ACCEPTED
is there other way to see of player owns a gamepass or t-shirt?
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
will this work for t-shirts?^