Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aliases:
- zoltawelna = 35:4
- czerwonawelna = 35:14
- niebieskawelna = 35:11
- options:
- tag: &8[&3BounceBall&8]
- command /bb [<text>] [<text>]:
- aliases: bounce, ball, bounceball, bounceball:help
- trigger:
- if arg 1 is not set:
- send "&2&m----------------------------------------------------"
- send "&b BounceBall"
- send "&7- &e/bb create [arena_name] &7- Tworzy arene"
- send "&7- &e/bb delete [arena_name] &7- Usuwa arene"
- send "&7- &e/bb setlobby [arena_name] &7- Ustawia lobby na arenie"
- send "&7- &e/bb setmainlobby &7- Ustawia glowne lobby gry"
- send "&7- &e/bb join [arena_name] &7- Dolacza do areny"
- send "&7- &e/bb leave &7- Wychodzi z areny"
- send "&7- &e/bb reload &7- Przeladowywuje skrypt"
- send "&7- &e/bb shop &7- Sklepik"
- send "&7- &e/bb stats &7- Statystyki"
- send "&7- &e/bb music &7- Wlacza/Wylacza muzyke"
- send "&7- &e/bb lvl &7- Pokazuje poziomy do zdobycia/zdobyte"
- send "&b by boleknowak"
- send "&2&m----------------------------------------------------"
- if arg 1 is "reload":
- send "{@tag} &7Przeladowywanie...."
- execute player command "sk reload %script%"
- send "{@tag} &7Przeladowano!"
- if arg 1 is "shop":
- send "{@tag} &cJuz wkrotce!"
- if arg 1 is "stats":
- send "{@tag} &cJuz wkrotce!"
- if arg 1 is "music":
- send "{@tag} &cJuz wkrotce!"
- if arg 1 is "lvl":
- send "{@tag} &cJuz wkrotce!"
- if arg 1 is "create":
- if arg 2 is set:
- if player has permission "bounceball.create":
- if {bounceball::arena::%arg 2%} is true:
- send "{@tag} &cTaka arena juz istnieje!"
- else:
- send "{@tag} &aUtworzyles arene &3%arg 2%&a!"
- set {bounceball::arena::%arg 2%} to true
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 2 is not set:
- send "{@tag} &cMusisz podac nazwe areny!"
- if arg 1 is "delete":
- if arg 2 is set:
- if player has permission "bounceball.delete":
- if {bounceball::arena::%arg 2%} is true:
- send "{@tag} &aPomyslnie usuneles arene &3%arg 2%&a!"
- delete {bounceball::arena::%arg 2%}
- set {bounceball::arena::%arg 2%} to false
- else:
- send "{@tag} &cTaka arena nie istnieje!"
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 2 is not set:
- send "{@tag} &cMusisz podac nazwe areny!"
- if arg 1 is "join":
- if arg 2 is set:
- if player has permission "bounceball.join":
- if {bounceball::arena::%arg 2%} is true:
- if {bounceball::%player%::state} is true:
- send "{@tag} &cJestes juz w grze!"
- else:
- send "{@tag} &aDolaczyles do areny &3%arg 2%&a!"
- teleport player to {bounceball::arena::%arg 2%::lobby}
- set {bounceball::%player%::state} to true
- else:
- send "{@tag} &cTaka arena nie istnieje!"
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 2 is not set:
- send "{@tag} &cMusisz podac nazwe areny!"
- if arg 1 is "leave":
- if player has permission "bounceball.leave":
- if {bounceball::%player%::state} is true:
- send "{@tag} &eOpusciles arene!"
- set {bounceball::%player%::state} to false
- teleport player to {bounceball::lobby}
- else:
- send "{@tag} &cAktualnie nie znajdujesz sie na zadnej arenie!"
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 1 is "setmainlobby":
- if player has permission "bounceball.setmainlobby":
- set {bounceball::lobby} to location of player
- send "{@tag} &aUstawiles glowne lobby!"
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 1 is "setlobby":
- if arg 2 is set:
- if player has permission "bounceball.setlobby":
- if {bounceball::arena::%arg 2%} is true:
- send "{@tag} &aUstawiles lobby dla areny &3%arg 2%&a!"
- set {bounceball::arena::%arg 2%::lobby} to location of player
- else:
- send "{@tag} &cTaka arena nie istnieje!"
- else:
- send "{@tag} &cNie masz do tego uprawnien!"
- if arg 2 is not set:
- send "{@tag} &cMusisz podac nazwe areny!"
- every 1.2 seconds:
- loop all players:
- if {bounceball::%loop-player%::state} is true:
- push loop-player upwards with speed 1
- on walking on zoltawelna:
- if {bounceball::%player%::state} is true:
- teleport player to {bounceball::lobby}
- send ""
- send ""
- send "{@tag} &aGratulacje! Zdobyles gwiazdke! Wygrales!"
- send ""
- send ""
- set {bounceball::%player%::state} to false
- on walking on czerwonawelna:
- if {bounceball::%player%::state} is true:
- teleport player to {bounceball::lobby}
- send ""
- send ""
- send "{@tag} &cNiestety! Trafiles na przeszkode. Przegrales!"
- send ""
- send ""
- set {bounceball::%player%::state} to false
- on walking on niebieskawelna:
- if {bounceball::%player%::state} is true:
- push player upwards with speed 1.2
Advertisement
Add Comment
Please, Sign In to add comment