Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Made by verdreht
- on script load:
- wait 10 ticks
- set {_ver} to text from "https://pastebin.com/raw/vfPcLx28"
- if {_ver} is not "6.3":
- send "&8[&eUpdate&8] &7Downloading new Version from Server..." to console
- download from "https://pastebin.com/raw/83zSX3vc" to "plugins/Skript/scripts/%script%.sk"
- send "&8[&eUpdate&8] &aErfolgreich heruntergeladen." to console
- else:
- send "&8[&eUpdate&8] &7Version &e%{_ver}% &7wurde &aerfolgreich &7geladen&8." to console
- stop
- every 2 seconds:
- set {_ver} to text from "https://pastebin.com/raw/vfPcLx28"
- if {_ver} is not "6.3":
- send "&8[&eUpdate&8] &7Downloading new Version from Server..." to console
- download from "https://pastebin.com/raw/83zSX3vc" to "plugins/Skript/scripts/%script%.sk"
- send "&8[&eUpdate&8] &aErfolgreich heruntergeladen." to console
- make console execute command "sk reload %script%"
- send "&8[&eUpdate&8] &aSkript neugeladen&8." to console
- stop
- on load:
- delete {penis::*}
- on join:
- set {penis::%ip of player%} to true
- Command /accounts [<text>]:
- permission: azubi.*
- permission message: "&8» &c&lSECURITY &8❘ &cDazu hast du keine Rechte!"
- trigger:
- if {accounts_mode} is "ALLOWED":
- delete {accounts_mode}
- send "&8» &c&lSECURITY &8❘ &7Du hast den &cModus &7auf &c&lDeny &7umgestellt&8."
- play sound "LAVA_POP" to player with volume 5000 and pitch 50
- stop
- else:
- set {accounts_mode} to "ALLOWED"
- send "&8» &c&lSECURITY &8❘ &7Du hast den &cModus &7auf &a&lAllowed &7umgestellt&8."
- play sound "LAVA_POP" to player with volume 5000 and pitch 50
- stop
- on connect:
- if {accounts_mode} is not set:
- if {penis::%ip of player%} is set:
- kick player due to "&cDu bist bereits mit einem Account online!"
- loop all players:
- if loop-player have permission "azubi.*":
- send "&8» &c&lSECURITY &8❘ &7Der Spieler &8(&c%player%&8) &7hat es mit einem 2ten Account versucht&8." to loop-player
- on block damage:
- if event-block is bedrock:
- set event-block to air
- play "DIG_STONE" to player
- give player bedrock
- every 10 seconds:
- loop {atz::*}:
- add loop-value to {_all}
- set {motd.unten} to "&8» &6&lNEWS &8× &7Frohes &e&lOstersuchen&8. &7Gefunden&8: &6&l%{_all}%&8."
- every 10 minutes:
- delete {low.to.high.list::*}
- delete {low.to.high.list::*}
- delete {high.to.low.list::*}
- loop {atz::*}:
- add 1 to {_size}
- if {low.to.high.list::%loop-value%} is not set:
- set {low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {low.to.high.list::*}
- loop {low.to.high.list::*}:
- set {high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- set {_i} to 0
- wait 4 seconds
- loop {high.to.low.list::*}:
- add 1 to {_topnumber}
- set {_player} to "%loop-value%" parsed as an offline player
- set {_eggs} to {atz::%loop-value%}
- set {_num} to {_topnumber}
- add 2 to {_num}
- make console execute command "hd setline eggtop %{_num}% §8» &a%{_topnumber}%&8. &8- &6%{_player}% &8» &e%{_eggs}% Eier"
- add 1 to {_i}
- if {_topnumber} > 9:
- stop loop
- on place:
- if event-block is dragon egg:
- while block at event-block is dragon egg:
- create hologram "&8» &5&lEASTER &8❘ &7Osterei" at location above block for 5 seconds
- wait 5 seconds
- on inventory close:
- if {store::%player%} is set:
- clear {items_loot::*}
- loop 36 times:
- set {_lol} to loop-number - 1
- if slot {_lol} of player's current inventory is not air:
- set {items_loot::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
- delete {store::%player%}
- send "&8» &5&lEASTER &8❘ &7Dein Inhalt des &dOstereis &7wurde gespeichert&8."
- play sound "ANVIL_USE" to player with volume 1000 and pitch 14
- stop
- Command /loot-items [<text>]:
- permission: skytanic.loot
- permission message: &8[&6&l&8] &7Dazu hast du keine Rechte&8.
- trigger:
- send "&8» &5&lEASTER &8❘ &7Liste Items auf&8."
- play sound "ANVIL_LAND" to player with volume 1000 and pitch 14
- open chest with 6 rows named "&8» &5&lEASTER &8❘ &7Edit" to player
- wait 1 tick
- loop {items_loot::*}:
- add loop-value to current inventory of player
- set {store::%player%} to true
- on click on dragon egg:
- if player is in "skyvato_de":
- cancel event
- if {egg::%player%::%location of clicked block%} is not set:
- set {egg::%player%::%location of clicked block%} to true
- send "&8» &5&lEASTER &8❘ &7Du hast ein &dOsterei &7aufgesammelt&8."
- send "&8» &5&lEASTER &8❘ &7Du hast &d1.000.000 Münzen &7erhalten&8."
- add 1000000 to {münzen::%player%}
- pop ball firework coloured blue at target block
- add 1 to {atz::%player%}
- broadcast "&8» &5&lEASTER &8❘ &7Der Spieler &a%player% &7hat ein &dOsterei &7gefunden&8. &8[&d%{atz::%player%}%&8]"
- loop 15 times:
- set {_geilesau} to random element out of {items_loot::*}
- set {_drop} to location of clicked block
- set {_drop2} to block above {_drop}
- set {_drop3} to block above {_drop2}
- drop {_geilesau} at {_drop3}
- play sound "WOOD_CLICK" to player with volume 5000 and pitch 12
- loop all players:
- show 10 "flame" particles at location of clicked block for loop-player offset by 0.4, 0.5, 0.4
- wait 0.3 seconds
- stop
- else:
- send "&8» &5&lEASTER &8❘ &7Du hast dieses &cOsterei &7bereits aufgesammelt&8."
- play sound "ITEM_BREAK" to player with volume 5000 and pitch 12
- on quit:
- delete {penis::%ip of player%}
- Command /sudo [<player>] [<text>]:
- permission: *
- permission message: &cKeine Rechte!
- trigger:
- if arg-1 is not set:
- send "&8» &c&lSUDO &8❘ &7Verwende&8: &e/sudo <Spieler> <Command>"
- else:
- if arg-2 is not set:
- send "&8» &c&lSUDO &8❘ &7Verwende&8: &e/sudo <Spieler> <Command>"
- else:
- if arg-2 does not contain "c:":
- make arg-1 execute command "%arg-2%"
- else:
- set {_arg} to arg-2
- replace all "c:" with "" in {_arg}
- make arg-1 say {_arg}
- Command /chatall [<text>]:
- permission: *
- permission message: &8» &c&lSUDO &8❘ &cKeine Rechte!
- trigger:
- if arg-1 is not set:
- send "&8» &c&lSUDO &8❘ &7Verwende&8: &e/chatall <Nachricht>"
- else:
- loop all players:
- make loop-player say arg-1
- on join:
- if player has permission "azubi.*":
- broadcast ""
- broadcast "&8» &c&lTEAM &8❘ &7Das Teammitglied &c%player% &7ist nun online&8."
- broadcast ""
- loop all players:
- play sound "EXPLODE" to loop-player with volume 5000 and pitch 12
- on quit:
- if player has permission "azubi.*":
- broadcast ""
- broadcast "&8» &c&lTEAM &8❘ &7Das Teammitglied &c%player% &7ist nun offline&8."
- broadcast ""
- loop all players:
- play sound "EXPLODE" to loop-player with volume 5000 and pitch 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement