Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &8[&cMC:GO&8]
- command /mcgo [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&2&m========================================="
- send "&b Minecraft:GlobalOffensive"
- send "&7- &e/mcgo setspawn [1-30] &7- Ustawia spawny"
- send "&7- &e/mcgo setlobby &7- Ustawia lobby (sklep z pistoletami, mapy itp.)"
- send "&7- &e/mcgo join &7- Dolacza do areny"
- send "&7- &e/mcgo leave &7- Wychodzi z areny"
- send "&7- &e/mcgo shop &7- Otwiera sklep"
- send "&7- &e/mcgo stats &7- Statystyki"
- send "&7- &e/mcgo reload &7- Przeladowywuje skrypt"
- send "&b by boleknowak"
- send "&2&m========================================="
- if arg 1 is "setspawn":
- if arg 2 is "1":
- set {mcgo.spawn.1} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "2":
- set {mcgo.spawn.2} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "3":
- set {mcgo.spawn.3} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "4":
- set {mcgo.spawn.4} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "5":
- set {mcgo.spawn.5} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "6":
- set {mcgo.spawn.6} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "7":
- set {mcgo.spawn.7} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "8":
- set {mcgo.spawn.8} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "9":
- set {mcgo.spawn.9} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "11":
- set {mcgo.spawn.11} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "12":
- set {mcgo.spawn.12} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "13":
- set {mcgo.spawn.13} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "14":
- set {mcgo.spawn.14} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "15":
- set {mcgo.spawn.15} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "16":
- set {mcgo.spawn.16} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "17":
- set {mcgo.spawn.17} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "18":
- set {mcgo.spawn.18} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "19":
- set {mcgo.spawn.19} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "20":
- set {mcgo.spawn.20} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "21":
- set {mcgo.spawn.21} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "22":
- set {mcgo.spawn.22} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "23":
- set {mcgo.spawn.23} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "24":
- set {mcgo.spawn.24} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "25":
- set {mcgo.spawn.25} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "26":
- set {mcgo.spawn.26} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "27":
- set {mcgo.spawn.27} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "28":
- set {mcgo.spawn.28} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "29":
- set {mcgo.spawn.29} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 2 is "30":
- set {mcgo.spawn.30} to location of player
- send "{@tag} &aUstawiles spawn!"
- if arg 1 is "setlobby":
- send "{@tag} &aUstawiles pomyslnie lobby!"
- set {mcgo.lobby} to location of player
- if arg 1 is "lobby":
- send "{@tag} &eWitaj w lobby!"
- teleport player to {mcgo.lobby}
- if arg 1 is "reload" or "rl":
- send "{@tag} &7Przeladowano!"
- execute player command "sk reload %script%"
- if arg 1 is "join":
- send "{@tag} &aDolaczyles do areny! &bZostales przeteleportowany!"
- set {_tp.player} to {mcgo.spawn.1} or {mcgo.spawn.2} or {mcgo.spawn.3} or {mcgo.spawn.4} or {mcgo.spawn.5} or {mcgo.spawn.6} or {mcgo.spawn.7} or {mcgo.spawn.8} or {mcgo.spawn.9} or {mcgo.spawn.10} or {mcgo.spawn.11} or {mcgo.spawn.12} or {mcgo.spawn.13} or {mcgo.spawn.14} or {mcgo.spawn.15} or {mcgo.spawn.16} or {mcgo.spawn.17} or {mcgo.spawn.18} or {mcgo.spawn.19} or {mcgo.spawn.20} or {mcgo.spawn.21} or {mcgo.spawn.22} or {mcgo.spawn.23} or {mcgo.spawn.24} or {mcgo.spawn.25} or {mcgo.spawn.26} or {mcgo.spawn.27} or {mcgo.spawn.28} or {mcgo.spawn.29} or {mcgo.spawn.30}
- teleport player to {_tp.player}
- if arg 1 is "leave":
- if {log.%player%} is false:
- send "{@tag} &cNie mozesz sie przeteleportowac do lobby w czasie walki!"
- else:
- execute player command "mcgo lobby"
- if arg 1 is "stats":
- set {_zabicia} to "%{zabic.%player%}%"
- set {_zgony} to "%{zgony.%player%}%"
- set {_hajs} to "%{hajs.%player%}%"
- set {_ks} to "%{ks.%player%}%"
- replace all "<none>" with "0" in {_zabicia}
- replace all "<none>" with "0" in {_zgony}
- replace all "<none>" with "0" in {_hajs}
- replace all "<none>" with "0" in {_ks}
- send "&2&m========================================="
- send "&4 Zabojstwa: &6%{_zabicia}%"
- send "&4 Zgony: &6%{_zgony}%"
- send "&4 Hajs: &6%{_hajs}%"
- send "&4 KillStreak: &6%{_ks}%"
- send "&2&m========================================="
- if arg 1 is "shop":
- send "{@tag} &eWitaj w sklepie! Tu kupisz bronie, uzbrojenie itp.!"
- execute player command "mcgoshop"
- on respawn:
- teleport player to {mcgo.lobby}
- give wooden hoe named "&eGlock-18" to player
- on rightclick with wooden hoe:
- if {naboje.%player%} is 20:
- if name of player's tool is "&eGlock-18 &a[&8Przeladowywanie&a]":
- send "{@tag} &aPrzeladowywanie!"
- else:
- if name of player's tool is "&eGlock-18":
- add 1 to {naboje.%player%}
- if {naboje.%player%} is 20:
- set name of player's tool to "&eGlock-18 &a[&8Przeladowywanie&a]"
- wait 4 seconds
- set name of player's tool to "&eGlock-18"
- set {naboje.%player%} to 0
- on death:
- if victim is player:
- if attacker is player:
- add 1 to {zabic.%attacker%}
- add 1 to {zgony.%victim%}
- # attacker
- set {_zabicia} to "%{zabic.%attacker%}%"
- set {_zgony} to "%{zgony.%attacker%}%"
- set {_hajs} to "%{hajs.%attacker%}%"
- set {_ks} to "%{ks.%attacker%}%"
- replace all "<none>" with "0" in {_zabicia}
- replace all "<none>" with "0" in {_zgony}
- replace all "<none>" with "0" in {_hajs}
- replace all "<none>" with "0" in {_ks}
- send "&2&m=========================================" to attacker
- send "&4 Zabojstwa: &6%{_zabicia}%" to attacker
- send "&4 Zgony: &6%{_zgony}%" to attacker
- send "&4 Hajs: &6%{_hajs}%" to attacker
- send "&4 KillStreak: &6%{_ks}%" to attacker
- send "&2&m=========================================" to attacker
- # victim
- set {_zabicia} to "%{zabic.%victim%}%"
- set {_zgony} to "%{zgony.%victim%}%"
- set {_hajs} to "%{hajs.%victim%}%"
- set {_ks} to "%{ks.%victim%}%"
- replace all "<none>" with "0" in {_zabicia}
- replace all "<none>" with "0" in {_zgony}
- replace all "<none>" with "0" in {_hajs}
- replace all "<none>" with "0" in {_ks}
- send "&2&m=========================================" to victim
- send "&4 Zabojstwa: &6%{_zabicia}%" to victim
- send "&4 Zgony: &6%{_zgony}%" to victim
- send "&4 Hajs: &6%{_hajs}%" to victim
- send "&4 KillStreak: &6%{_ks}%" to victim
- send "&2&m=========================================" to victim
- on join:#Zakaz edytowania
- if player is "boleknowak":#Zakaz edytowania
- send "&6Ten serwer posiada twoj skrypt: &bMCGO"#Zakaz edytowania
Advertisement
Add Comment
Please, Sign In to add comment