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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Killaura Bot Skript Not Working

Discussion in 'Skript' started by Lexcaesar11, Feb 23, 2022.

Thread Status:
Not open for further replies.
  1. Lexcaesar11

    Lexcaesar11 Member

    Joined:
    Jan 10, 2021
    Messages:
    2
    Likes Received:
    0
    I recently searched some skript to spawn a killaura bot around a player to detect if he is cheating.

    I installed citizens and skellet with npc true in config.yml

    I don't know how to fix it


    1. command /adminbot <player>:
    2. trigger:
    3. circleBot(arg-1)
    4. message "&eChecking %arg-1%!"
    5. set {checking::%arg-1's uuid%} to true
    6. on damage:
    7. if {checking::%attacker's uuid%} == true:
    8. if {bots::*} contains name of target:
    9. set {checking::%attacker's uuid%} to false
    10. loop all players:
    11. message "&c%attacker% was caught using KillAura!" to loop-player if loop-player has permission "staff.alert"
    If there isn't any existent Spigot plugin that involves this function, Pls try to fix my skript

    This is the error the skript gives me: https://imgur.com/a/YBtwE39
     
  2. Jacob105

    Jacob105 Member

    Joined:
    Aug 7, 2020
    Messages:
    48
    Likes Received:
    1
    You haven't created a function by the name of circleBot.
    You can create one by typing this BEFORE you use it.
    Code (Text):
    1. functionName(<params>):
    2.     # code
     
Thread Status:
Not open for further replies.

Share This Page

Loading...