Spawning entity with tags

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

Noremac

Member
May 3, 2021
1
0
1
26
Skript's Vertion: 2.5.3-MH
Addons: SkBee
Author: ShaneBee
MC Version: 1.16.4

Full Code:
on rightclick on any stairs:
spawn armor stand at location below event-block
set {_entity} to last spawned entity
set visible of {_entity} to false
make player ride {_entity}
while {_entity} exists:
if player is sneaking:
eject any passenger of {_entity}
wait 2 ticks
delete {_entity}
wait 5 tick

Error: set invisible of {_entity} to false , delete {_entity}

Hello, I had found this in an old post and got it working for the most part. Not having access to skstuff I'm not sure how to edit armor stand's visibility size and float tag's. I plan on changing it to /sit and spawn under player but only after I get it working right. Please if there is tell me of another addon to help change tags or if there is already a way to only use Sk with no addons to change them.

Have you tried searching the docs? No
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Searched around google and tried a few thing myself to no avail.
 

Attachments

  • RCtosit.txt
    393 bytes · Views: 120
Last edited:
Status
Not open for further replies.