-
I wanna make a Shop ui appear when a button is clicked.
-
The issue is that whenever I try to enabled / make a ui visible using a local script/ script it doesn’t work at all
-
I have tried enabling the ScreenGUI instead of setting visible on the frame, tho it did not work anything I tried didnt work, and this is not the first time
local shopBut = script.Parent.Shop
local CustBut = script.Parent.Customise
local Build = script.Parent.Buildmode
local ShopUI = game.StarterGui.Shop.ShopMain
shopBut.MouseButton1Click:Connect(function()
ShopUI.Parent.Enabled = not ShopUI.Parent.Enabled
print("1")
end)
Although it prints the “1” it does not work for some reason there are no output errors or anything, this is not the first time i’ve encountered this.