NPC Code:
if (playerchats) {
if (strcontains(#c,sethead)) {
tokenize #c;
if (strequals(#t(0),sethead)) {
if (sec==1) {
setplayerprop #3, #t(1);
sec++;
}
while (sec > 1) {
sleep 1;
sec++;
if (strequals(#t(0),sethead)) {
message Wait 10 seconds before changing your head again!;
}
}
if (sec==10) {
sec=1;
}
}
}
}
}
That might work....i this wasnt tested....So...im not sure if it will work. But it should.