armorstand click?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

chimchambi

Member
Dec 4, 2019
30
0
0
29
Is it possible to make a player execute a command when clicking on a armorstand??

like an npc but armorstand :emoji_slight_smile:
if so how?
 
Code:
on damage:
    if victim is armorstand:
        make attacker execute command "/command"
 
Vorze code works excellent if you are talking about the command being executed when you beat the snot out of the armor stand, but this works for right click


Code:
on right click on armor stand:
    execute player command "/command"
 
Vorze code works excellent if you are talking about the command being executed when you beat the snot out of the armor stand, but this works for right click


Code:
on right click on armor stand:
    execute player command "/command"
yeah just dont forget to cancel the event with on damage event
 
Status
Not open for further replies.