So I'm pretty sure it was slipping off the sprocket so I'm trying to straighten that problem out cause it is possible right?
Yes...it's important to get the rear sprocket to be in line with the front sprocket AND spin true...no wobble.
The wobble can be fixed easier than alignment with the front sprocket.
Sprocket alignment is another separate issue than sprocket wobble.
Both issues must be correct for a safe and reliable motorized bicycle.
Rear sprocket wobble....
Once the rag joint is installed and bolts snugged down, you can use additional sprocket tapping and tightening/loosening of the bolts to work the sprocket in to spinning true.
This can be accomplished more easily if the wheel is off the bike and on a stand where you can keep spinning the wheel by hand as you work it true. The sprocket must spin in a true circle relative to the wheel axle before fixing left right wobble.
None of the bolts should be so tight that the metal plates or the rubber joint is mashed to the point of being deformed. Be sure upon installation.... the rag joint bolts and nuts are grease free and a fair amount of blue locktite is used.
The rear sprocket can be out 2 ways...not spin in a perfect circle relative to the wheel axle AND wobble left to right. You want the sprocket to spin with no left right wobble as well as spinning in a concentric circle....
First step....the sprocket may need to be tapped with a rubber mallet on the teeth points to get the sprocket to spin round before adjusting the bolts to cure left right wobble.
There's many ways to do this... I use a piece of wire attached to my wheel stand as an indicator. I bend the wire where its very close at the points of the sprocket teeth and spin the wheel. Watch the space from the top of the sprocket teeth to the wire pointer. You should be able to lightly tap on the teeth to move the sprocket so when you spin the wheel the space from wire to teeth remains the same. When its spinning true the space from wire to teeth will remain exactly the same.
Once it's spinning correct this way bend the wire where the wire end is just about touching the sprocket side right below the teeth. Spin the wheel and see the left right wobble. Use the bolts to work the sprocket to spin where there's no left right wobble. The point of the wire should be about 1MM away from the sprocket just below the teeth when done and the space from sprocket side to wire point remains constant... or as close as possible... when you spin the wheel.
Once all this is correct you can move on to chain alignment.