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.

Solved Skript Right Click Addition Request

Discussion in 'Requests' started by PotteryTNT, Feb 22, 2019.

  1. PotteryTNT

    PotteryTNT Active Member

    Joined:
    Jul 21, 2017
    Messages:
    36
    Likes Received:
    0
    Category: UHC

    What I want:
    Alright so I currently have a skript called LAFS (Love At First Sight) where when you damage a player, and that player hasn't been damaged by anyone yet, gets put into a team. I would like it so this exact thing happens but with the ability on right clicking on the player. (The /ct part is where it puts the players on the team) I had a attempt on doing this myself but had no luck.

    Current Skript: https://pastebin.com/wAuDUrGA

    Ideas for commands: -

    Ideas for permissions: -

    When I'd like it by: Possibly by the end of this week, but no rush.
     
  2. Best Answer:
    Post #2 by Vrganj, Feb 22, 2019
  3. Vrganj

    Vrganj Well-Known Member

    Joined:
    Dec 1, 2018
    Messages:
    67
    Likes Received:
    2
    Code (Skript):
    1.  
    2. right click on player:
    3.     {LAFS}
    4.     {Teams.InTeam::%player%} and {Teams.InTeam::%entity%} isn't set
    5.     console command "ct %player% %entity%"
    Here you go, @PotteryTNT
     
Loading...