I am getting frustrated at trying to make a trigger or whatever system it is that detects which player slot it is for multiplayer.
The reason why I need this system is that so I can make a system that can clones guns based on the player pressing E on the button that should spawn the gun to him but at the same time I also wanted for it to be on what player that pressed E on the button that would do so spawning the gun only for the player who press E on the button for example.
Let's say player 1 which is slot 0 in game would press E on a button this causes the gun to spawn on the player who pressed the E button but what if player 2 which is slot 1 in game pressed E on the button? It should spawn the gun for the player 2 because he pressed the E button instead of the other one.
The propose of this system is to prevent extra lag caused by overlaying or stacked over guns that usually number to the amount of how many players there is in the map so this system only needs one gun that gets cloned and spawned at the player whenever he press E on the button but for some reason I tried and it's not working the way it should be and it frustrates me like HELL I just can't take this bull crap anymore okay?