Solved rightclick spawn on event-location help

  • 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.

GlacialDew

Member
Apr 8, 2018
40
3
8
Norrland
Im trying to create a summon item for a custom boss but I cant get get this to work. I dont get any errors when reloading but It doesnt spawn a zombie.

code_language.skript:
on rightclick on block:
    if player is holding a enchanted book with name "&8&lAlchemist Summoner" with lore "||&7Summons A &6&nRouge Alchemist":
        spawn a zombie at event-location
 
i don't think you can use "on right click on block" you may have to use "on right click" .... since "block" isn't really a thing
 
code_language.skript:
on rightclick:
    if event-block is not air:
        if player is holding a enchanted book with name "&8&lAlchemist Summoner" with lore "||&7Summons A &6&nRouge Alchemist":
            spawn a zombie 1 above event-block

It works now, I just had to change a few things
 
  • Like
Reactions: ShaneBee
Status
Not open for further replies.