Ever since Roblox changed their game pass system on April 14 I'm having trouble making a GUI Visible, Let me Explain in detail; I want the script inside the Text Button to detect if the Player has the game pass, and if he/she does the Button will be Visible. Any Answers? I Would Like Some Help. I'm a beginner at scripting, so could I have some examples? Thank you!
UserOwnsGamePassAsync
method of the MarketplaceService
here.--LocalScript under StarterGui local MpS = game:GetService"MarketplaceService" local plr = game:GetService("Players").LocalPlayer local passId = 0000000000 --PUT PASS ID HERE local ScreenGui = -- PUT SCREENGUI HIERARCHY HERE (DISABLE IT) if MpS:UserOwnsGamePassAsync(plr.UserId, passId) then ScreenGui.Enabled = true end