loop-player ac flag issue

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

    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!

funpvp

Member
Oct 7, 2023
47
1
8
every 1 second:
{vl::%uuid of player%} > 1:
loop all players:
if loop-player has permission funwatcher.alerts
message "&4FunWatcher &8» &c%player% &7has failed &cIncorrect Movement! [{vl::%uuid of player%}]" to loop-player

btw the reason i made it loop after the uuid, as i want it to flag, if someone have the vl of more then 1, to only players with correct permission
 
there are 2 errors
 

Attachments

  • 2023-10-14.png
    2023-10-14.png
    601.3 KB · Views: 156
does anyone know how to fix this, as nothing works, and a second loop idk how to make in my fly check

My fly check looks like this

# Fly A
every 5 ticks:
loop all players:
set {speed.setback.%loop-player%} to location of loop-player
loop-player's gamemode is not creative
loop-player is not riding
loop-player is not sneaking
block below loop-player is air
loop-player is not flying
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
set {vl::%uuid of loop-player%} to {vl::%uuid of loop-player%} + 1
teleport loop-player to {speed.setback.%loop-player%}
Wait 3 seconds
if {vl::%uuid of loop-player%} > 20:
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
message "&4FunWatcher &8» &c%loop-player% was banned, He was having a bit to much fun hacking!" to all players
execute console command "/ban %loop-player% &c[FUNWATCHER CHEAT DETECTION] &7[S-1] &fYour account has been suspended from this server for cheating."
 
does anyone know how to fix this, as nothing works, and a second loop idk how to make in my fly check

My fly check looks like this

# Fly A
every 5 ticks:
loop all players:
set {speed.setback.%loop-player%} to location of loop-player
loop-player's gamemode is not creative
loop-player is not riding
loop-player is not sneaking
block below loop-player is air
loop-player is not flying
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
Wait 5 ticks
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
set {vl::%uuid of loop-player%} to {vl::%uuid of loop-player%} + 1
teleport loop-player to {speed.setback.%loop-player%}
Wait 3 seconds
if {vl::%uuid of loop-player%} > 20:
block below loop-player is air
block south below loop-player is air
block east below loop-player is air
block west below loop-player is air
block north below loop-player is air
block south loop-player is air
block north loop-player is air
block west loop-player is air
block east loop-player is air
message "&4FunWatcher &8» &c%loop-player% was banned, He was having a bit to much fun hacking!" to all players
execute console command "/ban %loop-player% &c[FUNWATCHER CHEAT DETECTION] &7[S-1] &fYour account has been suspended from this server for cheating."
btw obviously the check works im just saying i cant make it alert me