I don't want to post all the script because i know the other parts work, it's just this first part the "if purchased" isn't working but the id == id is.
local id = 6979186 game:GetService("MarketplaceService").PromptGamePassPurchaseFinished:Connect(function(plr,id,purchased) if purchased and id == id then
The purchased is should return just fine however the id == id
is always going to return true. The script doesn't know which id
you mean so it's always going to assume the one within the current body, that means both id
in the if statement will both be the one you get from the prompt event, instead you have to rename either the id
defined at the top of your script or the id
you pass in the prompt event.