Periksa apakah pemain memiliki gamepas

local id = 15359561 -- Your Gamepass ID Here

game.Players.PlayerAdded:connect(function(player)
	if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, id) then
		print("User Owns Gamepass")
	else
		print("Player Does Not Own Gamepass")
	end	
end)
Undefined