Most likely, there's your problem.to the floor, the piston doesnt seem to be moving at all on both sides i tried bleeding them and nothing seems to happen just air keeps coming out and a few splashes of fluid
When you disconnected the brake line, you drained all of the fluid out. You'll need to reinstall everything and properly bleed the whole system again. <<That means your front and rear calipers. Any air *whatsoever* in the lines will cause your pedal to go down to the floor and your brakes will not function correctly.
Even a small pocket of air will make it's way up through your brake lines, then seep into other brake lines, your ABS Unit, and your Master Cylinder when you have an issue like this. Basically, compromising the whole brake system.
I don't want to sound like a jerk here, but it sounds as though you really don't know what you're doing. You should consult a professional before you hurt yourself and/or anyone ese. Again, I'm just trying to steer you in the right direction.