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.

Radius tp

Discussion in 'Requests' started by Kiri, May 9, 2017.

  1. Kiri

    Kiri Active Member

    Joined:
    Jan 28, 2017
    Messages:
    54
    Likes Received:
    2
    Category:

    Suggested name: RadiusTP

    What I want:
    Allows players to tp within x radius of another player

    Ideas for commands:
    /radiustp (player)

    Ideas for permissions:
    radius.tp


    When I'd like it by: week <=
     
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Maybe this code?
    Code (Skript):
    1. command /radiustp <player>:
    2.   trigger:
    3.     if arg-1 is set:
    4.       if distance between arg-1 and player is smaller than 5:
    5.         teleport player to arg-1 #or what ever
    6.       else:
    7.         send "Your friend is far away from you!"
     

Share This Page

Loading...