@MarcoYolo: it is completely normal to need help with things…but I really suggest you start with some simpler scripts…if you are not able to figure this one out, you need to go learn some scripting basics…it is not difficult…anyone can code, not everyone can code well(I’M REFFERING TO ME :))…oops damn caps
You may also want to stick with just bricks at first...I have been using bge now going on 4 months?...I'm really not sure how long.... and I am still figuring things out.
Ok as expected some spaces in fron of tabs can mess up the script, just replaced every line for you.
after that next error comes up, bge not defined. that is due to you import logic from bge, so using bge.logic wont work.
removed the scene line, as i said you dont need to grab the scene, i know he told you to get rid of it, but still you dont need it so removed it.
also i said armature.playAction you used own.playAction fixed that as well (own in this case is not bad, but you dont want the script hanging on the armature)
#edit
normally you parent your mesh to armature, then you create a bounding box, then parent the armature to the bounding box, and on the bounding box you place all the scripts. and all physics (collision bounds, dynamic type, etc) and you set the mesh + armature on no collision.
so using bge.logic wont work, you need to call logic on its own.
python is indeed indent sensitive, just look at it this way, a function, an if statement and while/for loops are basically containers. If you want them to use some sort of code you need to indent it, so a single tab wil place the code into that container.
good:
if 'a' != 'b':
print(inside the if statement)
wrong:
if 'a' != 'b':
print(outside the if statement)
and in your case ‘move = -2’ was outside the statement