Spiky trap.
The item id for Spikes Pine in unturned is 385. You can use this ID with the commands below to spawn the item, give it to a player or buy it on a modded economy server.
Useable: Barricade
Build: Spike
Size_X: 1
Size_Y: 2
Size_Z: 0.35
Health: 40
Range: 4
Radius: 0.2
Offset: 0.25
Player_Damage: 30
Zombie_Damage: 60
Animal_Damage: 60
Explosion: 29
Blueprints: 1
Blueprint_0_Type: Barricade
Blueprint_0_Supply_0_ID: 42
Blueprint_0_Supply_0_Amount: 6
Blueprint_0_Build: 27
PlacementAudioClip: Sounds/WoodenPlacement.mp3
Has_Clip_Prefab: false