lmao thats funny
All you need to do is change the x+ to a x-. I would reccomend that you also rescript it yourself so that you actually learn to script for yourself and you learn how to fix simple bugs like that one. Last, you need to use onwall to make it stop when it hits a wall (I think you said you wanted it to).