Ok, so I'm making progress on my next big game, and something went wrong; I want to make a chat Gui for guests/noobs to chat. Since I do not know how to make a custom one, I'm using roblox's one. Here is my code I'm a little confused about:
local player = game.Players.LocalPlayer
local playerchar = game.Players.LocalPlayer.Character
function OnClicked(hit)
player.PlayerGui:SetCoreGuiEnabled(Enum, "Chat", true) -- this script would make the guest/noob get chat. (I'm assuming that StarterGui and playerGui both have setcoreguienabled.
end
player.PlayerGui.EnableChatGui["Click to enable chat"]Clicked:connect(function OnClicked) -- it says expected '=', got clicked but I've seen this before and I'm confused.
so you see that I assumed that PlayerGui has a :SetCoreGuiEnabled() like StarterGui does. But I don't think it is right, I also think the whole idea might be wrong. But I'm just testing.
Thanks for reading!
Feel free to post Wiki article links or forum post links that are related to making a custom Gui if this is not possible! Thanks again!

3 comments
oh ok thanks. I'll test.
still wont work
but it gave me less errors.