so ive noticed that rear sprocket doesnt spin straight. how do i make it so it spins in a straight motion also no i dont use the chain tensioner. and i bought a 415 chain but that makes the bike not move at all. does anyone know the problem with that.
It really helps to see a picture of your back wheel and motor mount.
Some wheels just suck for trying to get a sprocket attached true while others like many 7-speed wheels with a hub the size of the sprocket center hole. That helps with the vertical alignment which when off causes your chain to get tight then loose then tight again as the sprocket spins but not the horizontal side to side 'wobble' which if more than 1/4" (10mm) will throw chain.
You didn't mention the engine brand either but did you check the sprocket on a flat surface to insure the sprocket itself is even true to start with?
If you have a wobble in your sprocket it will never true up and more common than you might think.
Wobble has to be adjusted as mentioned above by mounting the wheel so you can spin it and tighten bolts to bring things in line.
Just pick a fixed spot behind your line of sight as you slowly spin the wheel to see where it needs to come in as going back out is usually futile and why go in in repeated small steps in and offset pattern like car wheel lug nuts.
As mentioned your engine drive sprocket and rear wheel sprocket need to be in line and true and that starts with your engine.
Looking straight down over your top bar is your engine dead center side-to-side wise and if you hold that top bar with with hand and your cylinder head with the other pushing back and forth as hard as you can does your engine move AT ALL?
If your motor is not solidly anchored to the frame enough to not move by hand it certainly won't stay true throwing 2 or 3 HP at it, it will lean to the left and nothing you do with the back wheel will solve that.