this is simple x position checker probably gonna make one that takes velocity in account one day when im bored again
credit to friezking for original