ricer that doesn’t explain too much to someone that doesn’t know exactly how to do it, now i think you might be using little line as walls? or not, i wish you would have explained your setup a little better…
frame:
var LeftScore:Number = 0;
var RightScore:Number = 0;
stop();
ball:
on(EnterFrame){
if (this._x>_root.Pad._x) {
trace("left")
_root.LeftScore++;
};
if (this._x<_root.EnPad._x) {
trace("right")
_root.RightScore ++;
};
}
now the score will increase not sure what your problem exactly was but after that you only wan’t it to add score once so i would make a function that will reset the game if you don’t already have it in your version