I am having trouble making a brick that when you click on it. Opens up a gui. But for some reason. When I try to put in the code which is.
local function click(playerr) playerr.PlayerGUI.ScreenGUI.Frame.Visible = true end script.Parent.Notecheck.MouseClick:Connect(click)
And I keep getting this error
PlayerGUI is not a valid member of Player
Is there anything that can fix this issue?
Thats because PlayerGUI is named PlayerGui, roblox is case sensitive
playerr.PlayerGui.ScreenGui.Frame.Visible = true
and i am pretty sure you didnt rename the ScreenGui object to ScreenGUI, so i corrected that for you too