I have a problem with my Rank Donation Center that I am going to do for my self.
But I tried this code to check if the user owns the game pass for the Rank:
Here is the Code:
Rank1Frame.Buy.MouseButton1Click:Connect(function() if MarketPlace:UserOwnsGamePassAsync(Player,9494497) then Rank1Frame.Buy.Text = "Rank Me" else MarketPlace:PromptPurchase(Player,9494497) end end)
Here is the problem
I own the gamepass but it won’t change the text.