Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #The Hobbit skript! Made by 6dayna6
- #Feel free to edit as you wish, but give us credit if you change stuff.
- Options:
- prefix: &6[&eThe Hobbit&6]
- variables:
- {hobbit}=false
- command /hobbit <text>:
- usage: /hobbit <enable, disable>
- permission: skript.op
- description: enable or disable the hobbit gamemode
- trigger:
- if arg 1 is equal to "enable":
- if {hobbit} is true:
- send "{@prefix} &bThe Hobbit is already enabled!"
- else if {hobbit} is false:
- set {hobbit} to true
- broadcast "{@prefix} &bThe Hobbit was enabled by &b&l%command sender%!"
- if arg 1 is equal to "disable":
- if {hobbit} is false:
- send "{@prefix} &bThe Hobbit is already disabled!"
- else if {hobbit} is true:
- set {hobbit} to false
- broadcast "{@prefix} &bThe Hobbit was disabled by &b&l%command sender%!"
- on right click holding gold nugget:
- if {hobbit} is true:
- send "{@prefix} &bYou will be invisible for 30 seconds!"
- apply invisibility 2 to the player for 30 seconds
- remove 1 gold nugget from the inventory of the player
- on craft of gold nugget:
- cancel event
- send "{@prefix} &eNice try!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement