Killaura Bot Skript Not Working

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Lexcaesar11

Member
Jan 10, 2021
2
0
1
45
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
 
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
You haven't created a function by the name of circleBot.
You can create one by typing this BEFORE you use it.
Code:
functionName(<params>):
    # code
 
Status
Not open for further replies.