I am sure that it is a gamepass. It’s type shows as “Game Pass” when I viewed it in my own inventory.
Let me show you a script I made, similar to this, also if you are sure then, just make a new gamepass.
workspace.PoliceShops.SwatGEAR.Event.OnServerEvent:Connect(function(plr)
if market:UserOwnsGamePassAsync(plr.UserId, 7978798) then
--do stuff
elseif not market:UserOwnsGamePassAsync(plr.UserId, 7978798) then
wait(0.4)
market:PromptGamePassPurchase(plr, 7978798)
end
end)
Would that script make a difference as to whether it shows “product” or gamepass"?
The gamepass I used in my script is a new gamepass.
Yes it would make a difference, it says gamepass or product.
I tried it out, and it did not work.
Well, I really don’t have an idea, it works for me
When that pop up shows up, game passes are always considered products, nothing is wrong with it you are fine.
Picture for proof (Jailbreak Game-pass):
It still prompts the player to buy it again if they click the image again.
Are you saying it does not give the user the game-pass?
If you’re testing in Studio, it will allow you to purchase it over and over without taking Robux from your account.
Go back to your old code, I didn’t knew it showed as product lol.
It does give the player the gamepass, but it still asks them if they want to buy it or not despite them having it.
Do you mean it pops up repeatedly without clicking the button or always pop up when you click the button? if when clicking the button that is because of studio allowing you to purchase it for free infinitely like @Spooce had said.
I had one of my friends help me test it, and it still asks you to buy it again regardless.
It pops up again when you click the button again. It still asks the player to buy it again when not in studio.
Does it steal your robux at all? It might be a bug if it is stealing robux, and not giving you the game pass.
BTW I recommend making another topic on this, since I solved your problem before and this is not the question asked in the topic we are discussing right now.
I do not know f it does take robux or not, but I’m assuming it does. It does give you the gamepass however.
If it is asking you to buy it again when you already have the game pass, then this is a roblox bug and should be reported, otherwise if it just pops up saying “game pass already owned” then you should be fine.
Hey there, just to point out, there’s nothing wrong with your script. There is s glitch on Roblox where buying a game pass in-game doesn’t update that you own it instantly. This is why if you get prompted to purchase it again, it will appear as if you don’t own it, but you do. However, if you rejoin and get prompted to buy it, it will say you own it. Hope this helps.
That actually does seem to be the case. Thank you.