Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I get a text button to work on mobile devices?

Asked by 4 years ago

So I have these buttons in my Roblox game which are donations and they work perfectly fine on my laptop but when I play the game on my iPad and phone. They don’t work. How do I get the buttons to work on mobile devices ?. Do I need to add a script for touch screen??? I would really love the help.

0
Please elaborate, what do you mean they don't work on iPad? Can you not see them, or do they just not work? ACHRONlX 255 — 4y
0
you can see them its just when you touch them it doesnt pop up and let you buy the donation pass. nothing happens when you touch them. Gleamingdrawsocute -35 — 4y
0
this is the script Gleamingdrawsocute -35 — 4y
0
local plr = game.Players.LocalPlayer local button = script.Parent local MarketplaceService = game:GetService("MarketplaceService") script.Parent.MouseButton1Click:Connect(function() MarketplaceService:PromptGamePassPurchase(plr, 9963718) end) Gleamingdrawsocute -35 — 4y

Answer this question