Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /testaac:
- trigger:
- set {citizen.%player%} to location of player
- wait 1 ticks
- create a citizen named "AAC" at {citizen.%player%}
- wait 1 ticks
- set {citizennb.%player%} to last created citizen
- wait 15 seconds
- remove citizen {citizennb.%player%}
- loop all players:
- set {aacclick.%loop-player%} to 0
- set {aacwarn.%loop-player%} to 0
- set {twd.%loop-player%} to true
- every 1 ticks:
- loop all players:
- if {aacwarn.%loop-player%} is 0:
- if {aacclick.%loop-player%} is 10:
- broadcast "&4---Kickreport---"
- broadcast "&4%loop-player%"
- broadcast "&4Reason:KillauraLv0"
- set {aacclick.%loop-player%} to 0
- kick the loop-player due to "&4You are kicked Reason>>KillauraLv1"
- set {aacwarn.%loop-player%} to 1
- if {aacclick.%loop-player%} is 10:
- if {aacwarn.%loop-player%} is 1:
- broadcast "&4---Kickreport---"
- broadcast "&4%loop-player%"
- broadcast "&4Reason:KillauraLv1"
- set {aacclick.%loop-player%} to 0
- kick the loop-player due to "&4You are kicked Reason>>KillauraLv2"
- set {aacwarn.%loop-player%} to 2
- if {aacclick.%loop-player%} is 10:
- if {aacwarn.%loop-player%} is 2:
- broadcast "&4---Banreport---"
- broadcast "&4%loop-player%"
- broadcast "&4Reason:KillauraLv2"
- set {aacclick.%loop-player%} to 0
- kick the loop-player due to "&4You are Banned Reason>>KillauraLv3"
- set {aacwarn.%loop-player%} to 0
- command /resetaac:
- trigger:
- set {aacclick.%player%} to 0
- set {aacwarn.%player%} to 0
- on citizen left click:
- citizen is named "AAC":
- add 1 to {aacclick.%player%}
- cancel event
- every 1 ticks:
- loop all players:
- if {twd.%loop-player%} is true:
- set {_a} to citizen is named "AAC"
- set {_l} to location of loop-player
- add 2 to y-coord of {_l}
- teleport the {citizen.%loop-player%} to {_l}
Add Comment
Please, Sign In to add comment