Bug bless

hello! I’m asking for some help… Recently I’ve tried to make a script which makes bugbless + fence =cast bless and fence, then teleport, which makes the cooldown disappear… but when I’m trying to do the script, at the beginning it always visits NPCs like blacksmith, Storage, Hp&Mp and so… If someone already has a bugbless script, could you please share it with me? Or tell me what to do to be able to fix it? Thank you all!