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?..

2 comments

0

screen gui? or surface gui?

0

ScreenGui