I am highly confused. If I understood correctly you want to prompt a Developer product. That simply works using :PromptProductPurchase(). So if that’s your problem don’t use :PromptGamePassPurchase().
But can you then tell me why the value in your hierachy is called GamepassID?
There’s a big difference between Gamepass and developer product and if you want to use a value to represent the developer products ID, I advise you not to have “gamepass” in it.
All good but I would recommend you to first learn the basics on how to locate objects in-experience and script simple algorithms before copy pasting scripts off of youtube as that does not bring you further. There are tons of good tutorials.