GenericMeme46 12 Share Posted June 23, 2019 I'm making a script and I need to detect when the player is being attacked and store the attacker as a variable. I've tried Googling the issue but I keep finding threads that I do not have permission to and I don't know why. It's really hindering my progress because people have asked my questions before I just can't see the answers... Link to comment Share on other sites More sharing options...
GenericMeme46 12 Author Share Posted June 23, 2019 Solution getLocalPlayer().getInteractingCharacter(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now