Hello, I have an issue with my server, running f2s stronghold. The video below basically explains it all.
I have attempted at solving it with this:
hook.Add( "KeyPress", "RemoveEntity", function( ply, key ) if ( ply:GetActiveWeapon():GetClass() == "weapon_sh_tool" ) then if(key == KEY_1 or key == KEY_2 or key == KEY_3 or key == KEY_4)then for k, ent in pairs( ents.FindByName("GhostEntity"))do ent:Remove() end end end end )
but that seems to have no effect.