Radius tp

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

Kiri

Active Member
Jan 28, 2017
54
2
1
24
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 <=
 
Maybe this code?
code_language.skript:
command /radiustp <player>:
  trigger:
    if arg-1 is set:
      if distance between arg-1 and player is smaller than 5:
        teleport player to arg-1 #or what ever
      else:
        send "Your friend is far away from you!"