I’m trying to make a settings GUI that allows you to change the colour of GUIs as long as you have the gamepass.
It works on PC but when I test it out on mobile it doesn’t appear. The GUI can fit on every device’s screen but it still is not appearing on my mobile device.
I’ve tried searching solutions up but nobody else has had this problem.
PC
Mobile
Here is the MarketPlaceService script:
local MPS = game:GetService("MarketplaceService")
local gamepass = 17668641
local function onJoin(player)
if MPS:UserOwnsGamePassAsync(player.UserId, gamepass) then
local Settings = game.ReplicatedStorage.Settings
Settings.Parent = player.PlayerGui.Forum.TopBar
Settings.Position = Vector2.new(0.56, 0,0.212, 0)
end
end
game.Players.PlayerAdded:Connect(onJoin)