1

Command Block Hack Detection: Fly Hack!!!

Heklo 11/23/16 5:31 pm
2.2k
11/23/2016 6:51 pm


This is my command block hack detection for the fly hack. The commands are below in this order. They are all chain command blocks, with a blank repeating command block before them to keep it constant.

Let me know what you think or give suggestions!

Click to reveal
scoreboard players remove @a[score_isFlying_min=50] isFlying 100

Click to reveal
scoreboard players reset @a[m=1] isFlying

Click to reveal
scoreboard players add @a[score_isFlying_min=100,m=0] isFlyHacking 1

Click to reveal
scoreboard players add @a[score_isFlyHacking_min=1] timesFlyHacked 1

Click to reveal
execute @a[score_isFlyHacking_min=1] ~ ~ ~ tellraw @a [{"text":"[Heklo's Anticheat] ","color":"gold"},{"selector":"@p","color":"red"},{"text":" has set off hack detection. Hack type: ","color":"green"},{"text":"Flight","color":"red","hoverEvent":{"action":"show_text","value":"Could also be: Bhop, Glide, HClip"}},{"text":" (VL: ","color":"aqua"},{"score":{"objective":"timesFlyHacked","name":"@p"},"color":"aqua"},{"text":")","color":"aqua"}]

Click to reveal
scoreboard players remove @a[score_isFlyHacking_min=1] isFlyHacking 1
Posted by
Heklo
Level 25 : Expert System
15

  Have something to say?

JoinSign in

2

xXSlayXx
11/23/2016 6:44 pm
Level 22 : Expert Skinner
Command block anti-cheats are brilliant idea! I like your stuff!
1
Heklo
11/23/2016 6:51 pm
Level 25 : Expert System
Thanks very much! I always like to hear that people like things I make.
1

Welcome