I am trying to create a tutorial NPC, and the rightclick on villager event is not working.
Skript Version: Latest Bensku Version
SkQuery : Latest 1.11 Lime Version
SkUtilities: Latest
SkRayFall: Latest
Skellett: Latest
I have found some posts about this issue on Benku's GitHub, but it was apparently already fixed, but it isn't. All help is appreciated.
Spawning NPC Code (without trigger):
RightClick Event Code:
Skript Version: Latest Bensku Version
SkQuery : Latest 1.11 Lime Version
SkUtilities: Latest
SkRayFall: Latest
Skellett: Latest
I have found some posts about this issue on Benku's GitHub, but it was apparently already fixed, but it isn't. All help is appreciated.
Spawning NPC Code (without trigger):
code_language.skript:
spawn a villager at location of player
add "{Silent:1,NoAI:1,Invulnerable:1}" to nbt of last spawned entity
set display name of last spawned entity to "&c&lTutorial"
message "&6NPC &8> &7You spawned the tutorial NPC."
stop
RightClick Event Code:
code_language.skript:
on rightclick on villager:
if display name of clicked entity is "&c&lTutorial":
cancel event
message "&6Tutorial &8> &7Tutorial coming soon!"
stop
Last edited: