Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # #
- # Name: Options #
- # Author: FrostedWeFall #
- # Version: 1.1 #
- # #
- # # # # # # # # # # # # # # # #
- options:
- NoPerm: &8» &7You require the rank &4[ADMINISTRATOR]&7 to execute that command!"
- on join:
- clear player's inventory
- wait 3 ticks
- set slot 1 of player to ender_chest named "&eGadgets &7(Right Click)"
- set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
- set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
- set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
- set slot 17 of player to arrow
- on drop:
- world is "hub"
- cancel event
- on respawn:
- clear player's inventory
- wait 3 ticks
- set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
- set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
- set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
- set slot 0 of player to ender_chest named "&eGadgets &7(Right Click)"
- set slot 17 of player to arrow
- command /optionshelp:
- permission: "admin.options"
- permission message: {@NoPerm}
- trigger:
- message "&8------------------------"
- message " &e&nOptions:"
- message ""
- message "&7Commands:"
- message "&b/options &8(open options menu)"
- message "&b/help &8(opens help menu)"
- message "&b/optionshelp &8(help for the skript)"
- message ""
- message " &e&nGadgets"
- message ""
- message "&b/gadgets &8(open menu gadgets)"
- message "&8------------------------"
- play raw sound "random.orb" at player with pitch 1 volume 1
- command /buyarank:
- trigger:
- message "&4TNTSpleef: &7Buy your rank to get the best benefits, Link: &9https://tntspleefminehut.buycraft.net/"
- play raw sound "random.orb" at player with pitch 1 volume 1
- command /msgfly:
- trigger:
- message "&4TNTSpleef: &7Use the dye below to access your options!"
- command /msgspeed:
- trigger:
- message "&4TNTSpleef: &7Use the dye below to access your options!"
- command /options:
- trigger:
- if player has permission "vip.options":
- open chest with 6 rows named "&7Player options" to player
- wait 0.1 seconds
- format slot 0 of player with arrow named "&cBack" with lore "&7Close options menu." to close
- format slot 11 of player with experience bottle named "&cFly" with lore "&7Use fly Right Click" to run [make player execute command "/msgfly"]
- format slot 19 of player with 351:8 named "&cFly" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/f off"]
- format slot 21 of player with 351:10 named "&aFly" with lore "&2¡Click to activate!" to close then run [make player execute command "/f on"]
- format slot 15 of player with diamond_boots named "&aSpeed II" with lore "&7Use Speed II Right Click" to run [make player execute command "/msgspeed"]
- format slot 23 of player with 351:8 named "&cSpeed II" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/speed no"]
- format slot 25 of player with 351:10 named "&aSpeed II" with lore "&2¡Click to activate!" to close then run [make player execute command "/speed yes"]
- format slot 37 of player with 368 named "&c¡Off!" with lore "&7View players" to close then run [make player execute command "/p off"]
- format slot 38 of player with 381 named "&a¡On!" with lore "&7View players" to close then run [make player execute command "/p on"]
- format slot 42 of player with 35:5 named "&7Tag example: &a%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &a%player%"]
- format slot 43 of player with 35:10 named "&7Tag example: &5%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &5%player%"]
- format slot 31 of player with player's skull named "&2¡Buy a Rank!" with lore "&7Buy your rank||&7and gain advantages" to close then run [make player execute command "/buyarank"]
- on rightclick with redstone_repeater:
- if name of player's tool contains "&eOptions &7(Right Click)":
- wait 3 ticks
- make player execute command "options"
- command /f [<text>]:
- permission: "vip.options"
- permission message: {@NoPerm}
- trigger:
- if arg 1 is "on":
- Send "&aFly Activated correctly" to player
- set player's fly mode to on
- if arg 1 is "off":
- Send "&4Fly Disabled correctly" to player
- set player's fly mode to off
- command /p [<text>]:
- permission: "vip.options"
- permission message: {@NoPerm}
- trigger:
- if arg 1 is "on":
- Send "&aView Players &2¡ON!" to player
- hide all players to player
- if arg 1 is "off":
- Send "&cView Players &4¡OFF!" to player
- reveal all players to player
- command /speed [<text>]:
- permission: "vip.options"
- permission message: {@NoPerm}
- trigger:
- if arg 1 is "yes":
- Send "&aSpeed II Activated correctly" to player
- apply speed to player for 100 days
- if arg 1 is "no":
- Send "&4Speed II Disabled correctly" to player
- remove speed from player
- command /nick <text> [<player>]:
- aliases:nickname
- permission message: {@NoPerm}
- permission: "vip.options"
- usage: /nick <NickName> [<Player (If it is not you!) >]
- trigger:
- if argument 2 is not set:
- set display name of player to "%colored argument 1%"
- set {essentials.%player%.nick} to "%colored argument 1%"
- message "&aYour name was set to %argument 1%"
- send player title "&eNick changed" wim, h subtitle "&7¡Congratulations!" for 5 seconds
- else:
- player has permission "vip.options":
- set display name of argument 2 to "%colored argument 1%"
- set {essentials.%arg 2%.nick} to "%argument 1%"
- message "&2You set the Name of &4%argument 2% &4to %colored argument 1%"
- send player title "&eNick changed" with subtitle "&7¡Congratulations!" for 5 seconds
- stop
- command /rhat [<text>]:
- aliases: rh
- trigger:
- if argument is "hat":
- if player have the permission "vip.options":
- equip player with leather helmet named "&bc&ao&el&co&dr"
- wait 1 seconds
- dye player's helmet blue
- wait 1 seconds
- dye player's helmet red
- wait 1 seconds
- dye player's helmet green
- wait 1 seconds
- dye player's helmet purple
- wait 1 seconds
- dye player's helmet pink
- wait 1 seconds
- dye player's helmet blue
- wait 1 seconds
- dye player's helmet red
- wait 1 seconds
- dye player's helmet green
- wait 1 seconds
- dye player's helmet purple
- wait 1 seconds
- dye player's helmet pink
- remove all leather helmet from player
- # #
- # Gadgets #
- # #
- on rightclick with Ender_chest:
- make player execute command "/gadgets"
- on rightclick with redstone_repeater:
- make player execute command "/options"
- on rightclick with clock:
- make player execute command "/lob list"
- on rightclick with player's skull:
- make player execute command "/f list"
- command /gadgets:
- trigger:
- if player has permission "vip.gadgets":
- open chest with 3 rows named "&8Gadgets" to player
- wait 0.1 seconds
- set {_p} to "%player%" parsed as player
- format slot 11 of player with Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/bom"]
- format slot 12 of player with Egg named "&eEgg &4G&bU&2N" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/egg"]
- format slot 14 of player with Golden Axe named "&eThor's hammer" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [execute player command "/fire"]
- format slot 15 of player with leather helmet named "&6Rainbow Hat" with lore "&7Click to activate||&7You need: &9[SKY]" to close then run [make player execute command "/rhat hat"]
- Command /fire:
- permission: vip.axe
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Golden Axe named "&eThor's hammer"
- send player title "&eThor's hammer" with subtitle "&7¡Activate!" for 5 seconds
- play raw sound "note.hat" at player with pitch 1 volume 1
- Command /egg:
- permission: vip.egg
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Egg named "&eEgg &4G&bU&2N"
- play raw sound "note.hat" at player with pitch 1 volume 1
- Command /bom:
- permission: vip.firework
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s"
- play raw sound "note.hat" at player with pitch 1 volume 1
- on click with a egg:
- player has the permission "vip.egg"
- shoot a chicken from the player
- wait 5 seconds
- kill all chickens in hub
- on click with a golden axe:
- strike lightning at the targeted block
Advertisement
Add Comment
Please, Sign In to add comment