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

the script not working its meant to make the gui go away when you buy it?

Asked by 2 years ago

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)

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 Shawnyg 4330 — 2y

Answer this question