Any Problem Of My Script Im A Newbie at scripts

local passid = 93044440 -- Gamepass ID local gui = {"Catalog"} local GamePassService = Game:GetService("GamePassService") game.Players.PlayerAdded:connect(function(player) repeat wait(0) until player.StarterGui if GamePassService:PlayerHasPass(player, passid) then for i = 1,#gui do game.Lighting.gui:FindFirstChild(gui[i]):Clone().Parent = player.StarterGui end end end)

1 comment

1

Please enclose your code in blocks to help us better understand your question.