local Players = game:GetService("Players") local MarketPlaceService = game:GetService("MarketplaceService") local GamepassId = 93841494 local Frame = script.Parent

Players.PlayerAdded:Connect(function(Player) if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then Player.PlayerGui.ScreenGui.Frame.Visible = false end end)

1 comment

0

There's quite a bit more to do than just that, seems you threw some stuff together. I'd recommend youtubing or looking on the DevHub on how to go about this