so when using userinputservice to detect when a player presses a key how do i reference that player who pressed the key and send the info of who had pressed the key to another script.
So a example of what i mean is,if i want to create a fighting game,and i want a wall to appear in front of the player when he/she presses Q'
How do i find out which player pressed Q?

1 comment
I think this is not so difficult because the Userinput works in a local script and when interacting with the event you can find out who clicked