Popup Error "Not ADMIN"

Ok so i want to make it so if u press an admin command that i have
already coded and your NOT admin i need a popup derma thing saying
“your not admin” <<< all i need is that popup thing

thanks.

iv looked at that but… its all buttons and drop down menus
no just text


     
if !ply:IsAdmin() then
local NotAdminPanel = vgui.Create("DFrame")
	 NotAdminPanel:SetPos( 50, 50)
	 NotAdminPanel:SetSize(150, 50)
	 NotAdminPanel:ShowCloseButton( true )
	 NotAdminPanel:SetVisible( true )
	 NotAdminPanel:MakePopup()
	 
	 local ErrorMessage = vgui.Create( "Label", NotAdminPanel )
ErrorMessage:SetText( "Your not admin" )
ErrorMessage:SizeToContents() 
ErrorMessage:SetPos( 50 , 50 )
end


I hope this helps, if not feel free to post.