Maybe it's the AND part that's messing it up? Instead of AND, try 'IF BUTTON(3)==#UP AND Y>6 THEN code to execute...' Also, now that I look at it you haven't initialized Y have you? Nothing will tell it what Y should start out as, so when you execute the program Y will be 0, and since you told it to only change when it is between 6 and 10, it won't change. Try putting 'Y=6' right before your loop.
1そうだね プレイ済み