Need help with implementing ability to put players on the leash

So i’ve been trying to make players being able to put others on some kind of leash. Actually i succeeded, however it only works for one person at a time. When two people try to use it simultaneously it works only for one person and destroys leash connections of other. I use host player variable to mark a player that uses leash because if i use event player variable instead it just connects target wit the center of the map. It feels like it just can’t find position of a player unless he has host variable. The problem is as far as i understand that only one person at a time can have host variable. And the question i have is, how do i make this leash system work independently for every player on the server so each player can use leash on others at the same time?