I have code that will send a chat message to a player to confirm their choice of weapon, but for some reason the message is sent twice. I have checked the code over and over and I can't figure out why it does this. What's additionally confusing is that I have other lines of code that are the exact same, except for the message and variable contents, and they work normally.
The code goes like this:
Player Event: Right Click -> Call Function -> If Player: is looking at block (different block for each weapon) -> Player Action: Send Message + Set Variable (variable is used to give weapon when they enter the arena)
The code goes like this:
Player Event: Right Click -> Call Function -> If Player: is looking at block (different block for each weapon) -> Player Action: Send Message + Set Variable (variable is used to give weapon when they enter the arena)