Getting the player who fired inputbegan event

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to get the player who fired the event inputbegan

  2. What is the issue? Include screenshots / videos if possible!
    i dont know how to do it

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i tried searching for a solution but i found nothing


UserInputService can only by used in LocalScript since it tracks client’s inputs and Server cant do that
and LocalScripts are tied to client so to get the player you can just do

local LocalPlayer = game.Players.LocalPlayer
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.