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

[ANSWERED]GUI visible only for gamepass owners?

Asked by 4 years ago
Edited 4 years ago
game.Players.PlayerAdded:connect(function(plr)
    if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 6741728) then
        script.Parent.Enabled = true
    else
       script.Parent.Enabled = false
    end
end)

Didn't work. Tried all functions I could find, any help?..

0
screen gui? or surface gui? PepeElToro41 132 — 4y
0
ScreenGui fortesss7 40 — 4y

Answer this question