1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Vehicles?

Discussion in 'Skript' started by Dxstin, Jan 15, 2021.

Thread Status:
Not open for further replies.
  1. Dxstin

    Dxstin Member

    Joined:
    Oct 1, 2020
    Messages:
    15
    Likes Received:
    1
    Does anyone know how to make a drivable car? If so how and what addons do I need for it?
     
  2. FireRoz

    FireRoz Active Member

    Joined:
    May 28, 2020
    Messages:
    134
    Likes Received:
    6
    idk if thats a thing. if it is, it's really hard to make
     
  3. WinterWolf365

    WinterWolf365 Member

    Joined:
    Feb 10, 2021
    Messages:
    1
    Likes Received:
    0
    im also trying to make somting like thatmaybe my code is helpful:
    Code (Text):
    1. variables:
    2.     {riding.%player%} = 0
    3.     {NetherStar.%player%} = 0
    4.  
    5. command /ride cow:
    6.     trigger:
    7.         make the player ride a cow
    8.         loop all items in the inventory of player:
    9.             if loop-item is an nether star named "&7● &9engine &7●":
    10.                 set {NetherStar.%player%} to 1
    11.         wait 1 tick
    12.         if {NetherStar.%player%} = 0:
    13.             give player nether star named "&7● &9engine &7●"
    14.  
    15. command /reset-ride:
    16.     trigger:
    17.         set {NetherStar.%player%} to 0
    18.  
    19. on rightclick holding nether star:
    20.     name of player's tool is "&7● &9engine &7●"
    21.     if {riding.%player%} = 1:
    22.         set {riding.%player%} to 0
    23.         send "turned off" to player
    24.     else if {riding.%player%} = 0:
    25.         set {riding.%player%} to 1
    26.         send "turnt on" to player
    27.  
    28. on drop:
    29.     if event-item is nether star named "&7● &9engine &7●":
    30.         cancel event
    31.  
    32. every tick:
    33.     loop all players:
    34.         loop all entities in radius 1 around loop-player:
    35.             if {riding.%loop-player%} = 1:
    36.                 if loop-entity-2 is a cow:
    37.                     if loop-entity-2 is on the ground:
    38.                         push loop-entity-2  in the direction of the loop-player-1  at speed 0.3
    --- Double Post Merged, Feb 10, 2021, Original Post Date: Feb 10, 2021 ---
    i dont use any skript addons for it
     
Thread Status:
Not open for further replies.

Share This Page

Loading...