Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- wait 2 ticks
- set {hackers::%player%} to player
- set {_loc} to location of player
- wait 2 ticks
- message ""
- message "[AntiCheat] <red>Please say "".hello"" or anything else with a dot in front to be able to move."
- message ""
- while {hackers::%player%} is set:
- wait 1 tick
- x-coord of player is not x-coord of {_loc}:
- teleport player to {_loc}
- message ""
- message "[AntiCheat] <red>Please say "".hello"" or anything else with a dot in front to be able to move."
- message ""
- z-coord of player is not z-coord of {_loc}:
- teleport player to {_loc}
- message ""
- message "[AntiCheat] <red>Please say "".hello"" or anything else with a dot in front to be able to move."
- message ""
- on command:
- {hackers::%player%} is set
- cancel event
- message ""
- message "[AntiCheat] <red>Please say "".hello"" or anything else with a dot in front to be able to move."
- message ""
- on chat:
- set {_haxtest} to first character of the message
- if {_haxtest} is ".":
- cancel event
- delete {hackers::%player%}
- message ""
- message "[AntiCheat] <green>Welcome %player%!"
- message ""
- else:
- if {hackers::%player%} is set:
- cancel event
- send ""
- send "[AntiCheat] <red>Please say "".hello"" or anything else with a dot in front to be able to move."
- send ""
- on damage:
- {hackers::%player%} is set
- victim is player
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement