could be coil, also...
check valve adjustment.
check muffler make sure not clogged up.
the 4 mix engine is bad to carbon up when not used at full throttle. little sea foam throttle body cleaner will help, 3 sprays at full throttle to it almost dies and then one good spray till engine shuts off, let it set for about
10 mins and then hold at full throttle, seeing fireworks coming out of muffler is normal lol .
check for cam lobe wear .
check came lode and rocker guide holes for wear seen a many wore out .
check for valve guide wear
i think the shaft tune is wore out
does the trimmer have the guard on it?
feeler gauges going out monday. ill send a good used coil too