NPC Leftclick event - Skript

Discussion in 'Spigot Plugin Help' started by Mikkel33345, Jun 13, 2018.

  1. Hi guys.

    I have created a skript with an NPC Leftclick event, but it doesn't work :/
    Please come with some help if possible :)


    Addons:
    Skellett, skUtilities, LargeSk, skRayFall, SkQuery, RandomSK, MundoSK, WildSkript, Umbaska


    Code:
    on leftclick on entity:
    if clicked entity is a citizen:
    set {_target} to targeted entity
     
    #1 Mikkel33345, Jun 13, 2018
    Last edited: Jun 13, 2018
  2. What skript addon are you using to test if an entity is a citizen? Whatever you wrote here usually would not work.
     
    • Like Like x 1
    • Agree Agree x 1
  3. I use: Skellett, skUtilities, LargeSk, skRayFall, SkQuery, RandomSK, MundoSK, WildSkript, Umbaska