npcs doing animations

how do i put a npc on a map and make it do one animation over and over again.i would also like it so the npc can not be shot or die. thx for help

Scripted_sequence.