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

my script does not work its meant to make the gui go away when you buy the game pass?

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
This is a local script are scripts in startergui meant to be a server script? LYESPILLEDINMYEYES -14 — 2y
0
WAIT SHOULD THIS BE A SERVER SCRIPT OR A LOCAL SCRIPT LYESPILLEDINMYEYES -14 — 2y
0
Please use a codeblock to make this easier to read NykoVania 231 — 2y

Answer this question