Nopaynee
(Nopaynee)
August 22, 2020, 5:20pm
#1
You can write your topic however you want, but you need to answer these questions:
Help Making Products Work
Gamepasses Dont Work On GUI
Dev Products Dont Work On Donation Chest
Dev Products/Gamepass don’t even work on free models that are proven to work on other games
Nothing Worked So Far, explanations in Comments?
Link To Game : https://www.roblox.com/games/5325867902/FREE-ADMIN-SALE?refPageId=25955f8a-e491-459d-a58c-cb6c00abc137
(edit) mobile seems to be the only platform that doesnt work, which is my main point of sales, please help!
3 Likes
When I tried to add a gamepass shop into my game and input the correct information it didn’t work for me either. But when I tried to put a donation board or developer products into my game it worked fine. I think that gamepasses part might be on ROBLOX side, I am not sure. It would be helpful if a scripter or someone at ROBLOX would look into it.
1 Like
Can I see the scripts that you currently use?
Nopaynee
(Nopaynee)
August 22, 2020, 5:36pm
#4
Gamepass Side GUI : local plr = game.Players.LocalPlayer
local button = script.Parent
local MarketplaceService = game:GetService(“MarketplaceService”)
script.Parent.MouseButton1Click:Connect(function()
MarketplaceService:PromptGamePassPurchase(plr, 10669475)
end)
its a localscript
byssto
(byssto)
August 22, 2020, 5:40pm
#5
I cant help with script but I found video tutorial for you . I think this will help you make a gameepass gui https://youtu.be/7RbsF_jQL44
Nopaynee
(Nopaynee)
August 22, 2020, 5:42pm
#6
it seems to be that the problem is only mobile now, really confused
byssto
(byssto)
August 22, 2020, 6:10pm
#7
I can’t test the script that I will offer you ,but I hope it works. This script is located under TextButton.
local gamepassID = 10669475
script.Parent.MouseButton1Click:Connect(function()
game:GetService(“MarketplaceService”):PromtGamePassPurchase(game.Players.LocalPlayer, gamepassID)
End)
Nopaynee
(Nopaynee)
August 22, 2020, 6:22pm
#8
byssto:
local gamepassID = 10669475
script.Parent.MouseButton1Click:Connect(function()
game:GetService(“MarketplaceService”):PromtGamePassPurchase(game.Players.LocalPlayer, gamepassID)
End)
didnt work sadly
ty for trying though, seems like the problem is only on mobile, may have to do with robloxs api?
byssto
(byssto)
August 22, 2020, 7:43pm
#9
I found more information for you. My guess is that MouseButton1Click only works on a computer . The phone doesn’t have a MouseButton, so the Gamepass window doesn’t appear when you tap it (maybe I’m wrong ).
Try to use a TextButton.Activated
instead of MouseButton1Click. To learn more about the features of TextButton, I will leave you a link to the Developer Hub .
Nopaynee
(Nopaynee)
August 23, 2020, 7:35pm
#10
Okay, I’ll try it as soon as I can, ty
MouseButton1Click works on mobile. However you shouldn’t use it as its bad practice.