Solved Sitting on an armorstand

  • 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 community!

    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.

JackyBoy

Member
Feb 4, 2017
104
1
18
Hey there, I was wondering if there was a way that when a player clicks an armor stand it will make them sit on it. Here is what I have so far
code_language.skript:
on click on armor stand:
    name of clicked entity is "AS"
    loop clicked entity:
    if loop-entity's passenger isn't set:
    make %player% ride loop-entity
 
code_language.skript:
on click on armor stand:
    if name of clicked entity is "AS":
        if clicked entity's passenger isn't set:
            make player ride clicked entity
 
Last edited:
code_language.skript:
on click on armor stand:
    if name of clicked entity is "AS":
        if click entity's passenger isn't set:
            make player ride clicked entity
Thanks but I get this
h6husl
http://prntscr.com/h6husl
 
the click in line one should still be click, i was talking about the click in 'if clicked entity's passenger isn't set:'
 
Status
Not open for further replies.