Hello, I am creating my own mail delivery system and I have a problem. Before I get to the problem, I will present how the mail system works:
-
I go to the “workplace” with my character
-
At this point, the game selects a mailbox to deliver the letter to and puts it in my backpack
-
The game generates a line that leads to the mailbox selected by the game
-
I go to the selected mailbox and deliver the letter, receiving a reward of PLN 10 (PLN - currency)
Everything works as it should, but when you play with other people, when you go to the “workplace” to get a letter, the game assigns each player a route to the mailbox. Here is my problem, I would like the task of delivering the letter to be done with one player. I have tried everything but I do not know what it could be.
Below I am posting the system, please help me make it work 100%. (I have notes in Polish in the scripts so you can translate to your language if necessary)
mail system.rbxm (10.5 KB)