Is there any way of doing this? perhaps there's a way to convert the player position in a variable and this variable let me to build a script, or maybe there is some script that allows me to do this through a special function, really not sure. Any help is welcome! I really need to know if this can be done, it would save a lot of work. Thanks!
Here's a picture about what I'm trying to do: