Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Start Of Config #
- options:
- ItemSpawnCoords: 0 80 0
- Item: cactus
- GamePrefix: &8[&6Thanos&4Game&8]&r
- ChatName: &8[&6Thanos&8]&r
- ItemName: <purple>Infinity <gold>Gauntlet<reset>
- ItemPickUpMessage: <red>The end is near...
- on load:
- send "&7&m---------------------------------------------" to console
- send "&7ThanosSkript &7has been &a&lENABLED&7." to console
- send "&7Skript Made By &9MightyKey" to console
- send "&7Feel free to join my discord guild" to console
- send "&7My discord guild: &9https://discord.gg/cFFg4Sm" to console
- send "&7&m---------------------------------------------" to console
- file "plugins\Thanos\config.yml" doesn't exist:
- create file "plugins\Thanos\config.yml"
- set {_Info::*} to skutil yaml list "Nachrichten.Kits" from file "plugins/Skript/scripts/Tutorial.yml"
- on unload:
- send "&7&m---------------------------------------------" to console
- send "&7ThanosSkript &7has been &c&lDISABLED&7." to console
- send "&7Skript Made By &9MightyKey" to console
- send "&7Feel free to join my discord guild" to console
- send "&7My discord guild: &9https://discord.gg/cFFg4Sm" to console
- send "&7&m---------------------------------------------" to console
- command /fist :
- permission: thanos.admin
- trigger:
- send "{@GamePrefix} Please try /thanos help"
- command /thanos [<text>]:
- permission: thanos.admin
- trigger:
- if argument 1 is "menu":
- open chest with 4 rows named "&4Thanos <gold>Menu" to player
- wait 1 tick
- format slot 0 of player with light blue glass pane named " " to be unstealable
- format slot 1 of player with light blue glass pane named " " to be unstealable
- format slot 2 of player with light blue glass pane named " " to be unstealable
- format slot 3 of player with light blue glass pane named " " to be unstealable
- format slot 4 of player with light blue glass pane named " " to be unstealable
- format slot 5 of player with light blue glass pane named " " to be unstealable
- format slot 6 of player with light blue glass pane named " " to be unstealable
- format slot 7 of player with light blue glass pane named " " to be unstealable
- format slot 8 of player with light blue glass pane named " " to be unstealable
- format slot 9 of player with light blue glass pane named " " to be unstealable
- format slot 10 of player with light blue glass pane named " " to be unstealable
- format slot 16 of player with light blue glass pane named " " to be unstealable
- format slot 17 of player with light blue glass pane named " " to be unstealable
- format slot 18 of player with light blue glass pane named " " to be unstealable
- format slot 13 of player with cactus named "Spawn: {@ItemName}" with lore "<red><bold>Info:||<white>Item Name: {@ItemName}||<white>Coords: <gold>{@ItemSpawnCoords}" to close then run [make console execute command "/summon item {@ItemSpawnCoords} {CustomName:""<purple>Infinity <gold>Gauntlet"",CustomNameVisible:1,Item:{id:""minecraft:cactus"",Count:1b,tag:{display:{Name:""<purple>Infinity <gold>Gauntlet"",Lore:[""Rightclick: Leap Attack, Leftclick: Power Jump""]},ench:[{id:16,lvl:10}]}}}"]
- format slot 26 of player with light blue glass pane named " " to be unstealable
- format slot 27 of player with light blue glass pane named " " to be unstealable
- format slot 28 of player with light blue glass pane named " " to be unstealable
- format slot 29 of player with light blue glass pane named " " to be unstealable
- format slot 30 of player with light blue glass pane named " " to be unstealable
- format slot 31 of player with red glass pane named "&cClose." to close
- format slot 32 of player with light blue glass pane named " " to be unstealable
- format slot 33 of player with light blue glass pane named " " to be unstealable
- format slot 34 of player with light blue glass pane named " " to be unstealable
- format slot 35 of player with light blue glass pane named " " to be unstealable
- if argument 1 is "help":
- send "-=-=-=-= Thanos Game =-=-=-=-" to player
- send "/thanos menu - Show a gui with all thanos settings" to player
- send "/thanos help - Show this menu" to player
- send "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" to player
- if argument 1 is not set:
- send "{@GamePrefix} try /thanos help for all the command" to player
- #give player 1 cactus of sharpness 1 named "{@ItemName}"
- # execute console command "/summon item {@ItemSpawnCoords} {CustomName:""<purple>Infinity <gold>Gauntlet"",CustomNameVisible:1,Item:{id:""minecraft:cactus"",Count:1b,tag:{display:{Name:""<purple>Infinity <gold>Gauntlet"",Lore:[""Rightclick: Leap Attack, Leftclick: Power Jump""]},ench:[{id:16,lvl:10}]}}}"
- #console command "summon minecraft:item 0 82 0 {item:{id:81,Count:1,tag:{display:{name:""<purple>Infinity <gold>Gauntlet"",lore:[Something]}}}}"
- on pick up of cactus:
- name of item is "{@ItemName}":
- send "%player% picked up the {@ItemName}" to console
- broadcast "{@ChatName} {@ItemPickUpMessage}"
- wait 5 tick
- push player upwards at speed 5
- #send bossbar "Hello" with color "RED" with barflag "PLAY_BOSS_MUSIC" with barstyle "SEGMENTED_10" with percent 100 to players
- on leftclick:
- player is holding item named "{@ItemName}"
- if {cooldown1.%player%} is true:
- message "{@GamePrefix} <pink>Your jump is on cooldown"
- stop
- if {cooldown1.%player%} isn't set:
- set {cooldown1.%player%} to false
- if {cooldown1.%player%} is false:
- set {cooldown1.%player%} to true
- send "%player% used thanos jump" to console
- wait 5 tick
- push player upwards at speed 5
- wait 10 seconds
- set {cooldown1.%player%} to false
- message "{@GamePrefix} <pink>You can use jump again"
- on rightclick:
- player is holding item named "{@ItemName}"
- if {cooldown2.%player%} is true:
- message "{@GamePrefix} <pink>Your leap is on cooldown"
- stop
- if {cooldown2.%player%} isn't set:
- set {cooldown2.%player%} to false
- if {cooldown2.%player%} is false:
- set {cooldown2.%player%} to true
- send "%player% used thanos leap" to console
- wait 5 tick
- push player forward at speed 10
- while ground state of player is false:
- wait 1 tick
- create explosion of force 3 at player
- wait 10 seconds
- set {cooldown2.%player%} to false
- message "{@GamePrefix} <pink>You can use leap again"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement