Solved Skript Right Click Addition Request

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

PotteryTNT

Member
Jul 21, 2017
41
0
0
22
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.
 
code_language.skript:
right click on player:
    {LAFS}
    {Teams.InTeam::%player%} and {Teams.InTeam::%entity%} isn't set
    console command "ct %player% %entity%"
Here you go, @PotteryTNT