However, I will add another boolean variable (true or false), and if you enable it, the restriction will be applied. So, you can test if there are no glitches or bugs related to shortcuts in your map. I'll also add a variable for restriction distance (you can lower or increase the maximum distance on the restriction thing).