Ok ive found another solution which is to move the mcs and the check so quickly that the game will slowdown for only half a second, its not a great solution but it will have to do if noone knows how to do this properly and really aid the fps.