I want to make it so when a player has been hit a GUI will pop up showing the direction of where they have been hit like in call of duty this what I mean down below
What you could do is have your bullet handler or whatever deals the damage tell the localscript the position from which your player was hit. Once this is done get the position of the bullet relative to the direction the player is looking. (This could be an angle) than once you get that angle or something you decide how it shows up on the UI. Hope that helps you out.
Do you maybe have a script I have zero idea what I’m doing I’m a modeler. But I am trying to learn.