Hello, I was going through roblox dev page reading about gamepasses then i came across a syntax which i did not understand but have seen it in many places. Can anyone pls explain me note that the below code is an example, i have seen it in many places the main part where i have doubt is the 'local success, message' part and also the pcall function can anyone pls explain me?
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamePassID)
end)
Thanks in advance, ayazi10
