Hey! I’m currently new to these, so Im working with my script for a gamepass purchase.
Heres the error:
My script is:
local gamePassId = 5249762
Proximity.TriggeredEnded:Connect(function(player)
game:GetService("MarketplaceService"):PromptGamePassPurchase(player, gamePassId)
end)`
Any ideas?