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!

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

Shears Teleport

Discussion in 'Requests' started by MentalCode, May 18, 2020.

  1. MentalCode

    MentalCode Member

    Joined:
    May 30, 2017
    Messages:
    10
    Likes Received:
    0
    Suggested name: Shears Teleport

    Spigot/Skript Version: 1.7.10 / 2.1.2

    What I want:
    I want that when a player hits you, the location where you hit is saved and for 10 seconds if you right-click a scissors or any other item, transport you to the location where he hit you (not the player)

    Ideas for commands:
    none
    Ideas for permissions:
    none
    When I'd like it by: 2 weeks
     
  2. AHappyLittleSloth

    Joined:
    Apr 22, 2020
    Messages:
    48
    Likes Received:
    4
    Code (Text):
    1. on damage:
    2.   set {loc.%victim%} to location of victim
    3.   wait 10 seconds
    4.   delete {loc.%victim%}
    5.  
    6. on right click:
    7.   if player's tool is shears:
    8.     teleport player to {loc.%player%}
     

Share This Page

Loading...