DModelPanel problem with animation

So I am trying to make a DModelPanel on my vgui made with derma. Everything seems to work but I am having problems with the animation. I want the model to be walking. Here is my code I have been using:[LUA] local modelshow = vgui.Create( “DModelPanel”, DermaPanel2 )
modelshow:SetSize( DermaPanel2:GetWide(), DermaPanel2:GetTall())
modelshow:SetPos( 0, 0 )
modelshow:SetModel( LocalPlayer():GetModel() )
function modelshow:LayoutEntity( modelshow )
self:RunAnimation()
modelshow:SetAngles( Angle( 0, 45, 0 ) );
end
[/LUA]