VGUI error

Hello.

I am new to LUA scripting and I am facing this error when I write in console “openRadio”: attempt to index global ‘vgui’ (a nil value)

Do I have to include something? Or Maybe I have deleted some files when I cleaned up my Garry’s mod?
[lua]
concommand.Add(“openRadio”, function()
local DermaPanel = vgui.Create(“DFrame”)
DermaPanel:SetPos(50,50)
DermaPanel:SetSize(1000, 900)
DermaPanel:SetTitle(“Estonian Radio Player”)
DermaPanel:SetVisible(true)
DermaPanel:SetDraggable(true)
DermaPanel:ShowCloseButton(true)
DermaPanel:MakePopup()
end
[/lua]

You need to make sure this is not run on the server. The vgui library is only available on the client.

Oh, right now my lua file is on the lua directory. So I guess I have to move it to the autorun\client ?

You need a ) after end to close the concommand.

Why does everyone make this assumption? Just use lua_openscript_cl instead.