Scriptname aHH0KillPlayerTriggerScript extends ObjectReference  

Actor Property playerref Auto ; Least 'costly' way to refer to the player
 
Event OnTriggerEnter(ObjectReference akActionRef)
	If akActionRef == PlayerREF ; This condition ensures that only the player will trigger this code
		Playerref.kill()
		Debug.MessageBox("I'm dying, impaled on these spikes...")
	EndIf
EndEvent