Roblox Check If Player Has Gamepass

[Solved] Roblox Check If Player Has Gamepass | Lua - Code Explorer | yomemimo.com
Question : roblox check if player has gamepass

Answered by : literal-destruction

local id = --gamepass id here
game.Players.PlayerAdded:Connect(function(player)	if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId,id) then	--do what you want to do in here end
end)

Source : | Last Update : Wed, 05 Aug 20

Answers related to roblox check if player has gamepass

Code Explorer Popular Question For Lua