Auto Prop Remover

Hi,

I need a script that automaticly removes props after a map is loaded.

I have a server and i need to remove some props because “normal” players can’t touch/remove it because the props are world props and they getting on nervs if you want to build.

I hope someone could help me, thanks allot.

its possible might jump on it in a minute

[editline]11:05PM[/editline]

Almost done :slight_smile:

[lua]hook.Add(“InitPostEntity”,“RemovePeskyProps”,function()
for _,v in ipairs(ents.FindByClass(“prop_physics”)) do v:Remove() end
end)[/lua]

…?

Or are you trying to remove certain props but not all props?

i think he wants every prop to be removed on map load

I want to remove every “Prop” like a desk but not things like doors because its an rp server :stuck_out_tongue: