Hello, how can I make a player ride a pig

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

sagp15

Member
Jun 16, 2017
22
1
0
Hello, how can I make a player ride a pig and that the pig is invisible and does not move
 
This should be Script:help or Skript:Request...


Just Spawn a pig when type command or so, make him invsibled. saved it into variables. make player ride the pigs. and make pig clear all pahtfinds or just teleport ever 1 seconds in same position
 
This is just the basic stuff:
code_language.skript:
On rightclick on a pig:
    clicked entity is a pig
    make the player ride the pig
    apply invisibility to the pig
   
on sneak toggle:
    if player is riding a pig:
        remove invisibility from the pig
Note that this is untested code.
 
Status
Not open for further replies.