Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {ncos.%player%.battery} = 5
- {ncos.%player%.race.state} = false
- {ncos.%player%.race.opponent} = "none"
- {ncos.%player%.race.progress} = 0
- {ncos.%player%.fame} = 25
- {ncos.%player%.mode} = 0
- {ncos.%player%.confirm} = 0
- {ncos.enabled} = true
- options:
- tag: &7[&6&lnc&3&lOS&7]
- range.race: 100
- range.hack: 20
- fame.multi: 5
- every second:
- loop all players:
- if loop-player's tool is book:
- if {ncos.%loop-player%.battery} > 0:
- if {ncos.%loop-player%.battery} > 1:
- if {ncos.%loop-player%.battery} > 2:
- if {ncos.%loop-player%.battery} > 3:
- if {ncos.%loop-player%.battery} > 4:
- if {ncos.%loop-player%.battery} >= 5:
- set the name of loop-player's tool to "&6Smartphone &7[&2||||||||||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&2||||||||||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&2||||||||&0||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&2||||||&0||||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&6||||&0||||||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&4||&0||||||||&7}"
- else:
- set the name of loop-player's tool to "&6Smartphone &7[&0||||||||||&7}"
- if {ncos.%loop-player%.battery} > 5:
- set {ncos.%loop-player%.battery} to 5
- on rightclick:
- if player's tool is book:
- if {ncos.%player%.mode} = 0:
- set {ncos.%player%.mode} to 1
- send "&3Tryb: &5Sprawdz poziom rozglosu"
- else if {ncos.%player%.mode} = 1:
- set {ncos.%player%.mode} to 2
- send "&3Tryb: &3Wyscig online"
- else if {ncos.%player%.mode} = 2:
- set {ncos.%player%.mode} to 3
- send "&3Tryb: &4&lHAKUJ"
- else if {ncos.%player%.mode} = 3:
- set {ncos.%player%.mode} to 0
- send "&3Tryb: &7&lBRAK"
- on leftclick:
- if player's tool is book:
- if {ncos.%player%.battery} >= 1:
- if {ncos.%player%.mode} = 3:
- if targeted block is command block:
- if distance between player and targeted block <= {@range.hack}:
- if {ncos.%player%.fame} >= 5000:
- chance of ({ncos.%player%.fame}/1000)%:
- send "{@tag} &3Zhakowano serwer"
- add -0.05 to {ncos.%player%.battery}
- loop 15 times:
- send "&3&kfbhdwofhwdefinwdfiphwedfnejipofdeqi" to console
- wait 2 ticks
- else:
- add -0.02 to {ncos.%player%.battery}
- command /ncos [<text>] [<player>] [<number>]:
- trigger:
- if arg 1 is not set:
- send "&3&m--------------&3[ &6&lnc&3&lOS by niccosaint &3]&3&m--------------"
- send "&b<> - Wymagane [] - Opcjonalnie"
- send "&2Dla wszystkich &6Dla VIP &4Dla adminow &0Tylko Konsola"
- send " "
- send "&2/ncos settings &b- Ustawienia"
- send "&2/ncos race <nick> &b- Wyzwij gracza na pojedynek online"
- send "&2/ncos plum <nick> &b- Zglos gracza o hacki"
- send "&6/ncos refill &b- Natychmiasowe naladowanie baterii"
- send "&4/ncos give <nick> <1(smartfon)|2(klucz)> &b- Otrzymaj wazne przedmioty"
- send "&4/ncos modify <nick> <ilosc> &b- Zmodyfikuj graczowi poziom duszy"
- send "&4/ncos set <nick> <ilosc> &b- Ustaw graczowi poziom duszy"
- send "&0/ncos reset <nick> &b- Wyzeruj graczowi statystyki"
- if arg 1 is "settings":
- send "&5Poziom rozglosu: %{ncos.%player%.fame}% pkt."
- send "&2Poziom baterii: %{ncos.%player%.battery}% / 5 pkt."
- if arg 1 is "race":
- if arg 2 is set:
- if {ncos.%sender%.comfirm} = 0:
- if {ncos.%arg 2%.race.state} is false:
- set {_chance.%arg 2%} to ({ncos.%arg 2%.fame}/1000)
- set {_chance.%sender%} to (100/({ncos.%arg 2%.fame}/1000))
- send "&5&n==========&5[ &d&lWYZWANIE ONLINE &5]&5&n=============="
- send "&6Przeciwnik: %arg 2%"
- send "&5Jego poziom rozglosu: %{ncos.%arg 2%.fame}%"
- send "&2Szansa wygranej: %{_chance.%sender%}% %"
- send "&2&lWpisz ponownie komende aby potwierdzic"
- set {ncos.%sender%.comfirm} to 1
- else if {ncos.%sender%.comfirm} = 1:
- set {ncos.%sender%.comfirm} to 0
- set {ncos.%sender%.race.state} to true
- set {ncos.%arg 2%.race.state} to true
- set {ncos.%sender%.race.opponent} to arg 2
- set {ncos.%arg 2%.race.opponent} to sender
- send "{@tag} &5Wyzwanie rozpoczete. Jego coordy (+/- 50m) %arg 2 location%"
- send "&5&n==========&5[ &d&lWYZWANIE ONLINE &5]&5&n==============" to arg 2
- send "&6Przeciwnik: %sender%" to arg 2
- send "&5Jego poziom rozglosu: %{ncos.%sender%.fame}%" to arg 2
- send "&2Szansa jego wygranej: %{_chance.%sender%}% %" to arg 2
- send "&7On Cie juz szuka..." to arg 2
Advertisement
Add Comment
Please, Sign In to add comment