remove props by lua

So what would be the whole code?
Cause it isn’t working for me.

lua/autorun/server/mygayfile.lua
[lua]
local types = {“prop_physics”, “prop_dynamic”, “prop_vehicle”}

function RemoveShit()
for k,v in pairs( types ) do
for c,d in pairs( ents.FindByClass( v ) ) do
d:Remove()
end
end
end
hook.Add( “InitPostEntity”, “fuck my slutty asshole”, RemoveShit )
[/lua]