Advertisement
Guest User

The Hobbit Skript

a guest
Oct 13th, 2014
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. #The Hobbit skript! Made by 6dayna6
  2. #Feel free to edit as you wish, but give us credit if you change stuff.
  3.  
  4. Options:
  5. prefix: &6[&eThe Hobbit&6]
  6.  
  7. variables:
  8. {hobbit}=false
  9.  
  10. command /hobbit <text>:
  11. usage: /hobbit <enable, disable>
  12. permission: skript.op
  13. description: enable or disable the hobbit gamemode
  14. trigger:
  15. if arg 1 is equal to "enable":
  16. if {hobbit} is true:
  17. send "{@prefix} &bThe Hobbit is already enabled!"
  18. else if {hobbit} is false:
  19. set {hobbit} to true
  20. broadcast "{@prefix} &bThe Hobbit was enabled by &b&l%command sender%!"
  21. if arg 1 is equal to "disable":
  22. if {hobbit} is false:
  23. send "{@prefix} &bThe Hobbit is already disabled!"
  24. else if {hobbit} is true:
  25. set {hobbit} to false
  26. broadcast "{@prefix} &bThe Hobbit was disabled by &b&l%command sender%!"
  27.  
  28. on right click holding gold nugget:
  29. if {hobbit} is true:
  30. send "{@prefix} &bYou will be invisible for 30 seconds!"
  31. apply invisibility 2 to the player for 30 seconds
  32. remove 1 gold nugget from the inventory of the player
  33.  
  34. on craft of gold nugget:
  35. cancel event
  36. send "{@prefix} &eNice try!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement