Kill Command dont work, could need some help pls

Hi everyone one,

i had to change beefs task, because i dont use Barrage and Stampede. The task works good, but the Kill Command dont work. I hope someone can help me…trying it for ages now.

Sequences[‘HbmsT’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
]],
‘/castsequence [nochanneling] reset=15 Glaive Toss’,
‘/castsequence [nochanneling] reset=combat !Kill Command,!Kill Shot’,
‘/cast [nochanneling] !Kill Command’,
‘/cast [nochanneling] Cobra Shot’,
‘/cast [nochanneling] !Dire Beast’,
‘/cast [nochanneling] !Bestial Wrath’,
‘/cast [nochanneling] !Kill Command’,
‘/cast [nochanneling] Focus Fire’,
‘/cast [nochanneling] Arcane Shot’,
‘/cast [nochanneling] Focus Fire’,
‘/cast [nochanneling] !Kill Command’,
‘/cast [nochanneling] Arcane Shot’,
PostMacro = [[
/startattack
/use [combat]14
/petattack
/script UIErrorsFrame:Clear()
]],
}