local container = script.Parent
local Icon = require(container.Icon)
local shop = game.StarterGui.Shop.Frame
local gui = game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("Shop")
Icon.new()
:setImage(16346990319)
:setLabel("Shop")
:bindToggleItem(gui)
and it doesn’t seem to open the gui any suggestions??
local container = script.Parent
local Icon = require(container.Icon)
local shop = game.Players.LocalPlayer.PlayerGui:WaitForChild("Shop")
local gui = shop:WaitForChild("Frame")
Icon.new()
:setImage(16346990319)
:setLabel("Shop")
:bindToggleItem(gui)