Advertisement
strawberryoak

paste

Oct 31st, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. on rightclick:
  2. player's tool is an Nether Star:
  3. name of player's tool is "&aQuick Travel":
  4. set {_pre::%player%} to serialized contents of player
  5. wait 1 tick
  6. open chest with 4 rows named "&aQuick Travel" to player
  7. wait 1 tick
  8. loop 9 * 6 times:
  9. format slot loop-number - 1 of player with air to be unstealable
  10. format slot 4 of player with beacon named "&8&lLobby" to close then run "hub %player%"
  11. format slot 16 of player with Gold Sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "OITC" and player]
  12. format slot 10 of player with end portal named "&aRealm Wars" with lore "&5Fight to the death!||&5 Team up with others to destroy||&5 your opponents, and conquer the Realm of War!" to close then run [invoke "sendtoserver" from "RealmWar" and player]
  13. format slot 20 of player with wooden hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  14. format slot 24 of player with tnt named "&aMine-Strike" with lore "&5Stop or plant a bomb to win!|| &5Based off of CounterStrike!" to close then run [invoke "sendtoserver" from "Minestrike" and player]
  15. format slot 30 of player with 101 named "&cComing Soon" to be unstealable
  16. format slot 32 of player with 101 named "&cComing Soon" to be unstealable
  17. set {_changedtodiamond} to false
  18. while inventory name of current inventory of player is "&aQuick Travel":
  19. slot 20 of current inventory of player is a diamond hoe:
  20. format slot 20 of player with wood hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  21. set {_changedtodiamond} to true
  22. slot 20 of current inventory of player is a iron hoe:
  23. format slot 20 of player with diamond hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  24. slot 20 of current inventory of player is a golden hoe:
  25. format slot 20 of player with iron hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  26. slot 20 of current inventory of player is a stone hoe:
  27. format slot 20 of player with golden hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  28. {_changedtodiamond} is false:
  29. slot 20 of current inventory of player is a wooden hoe:
  30. format slot 20 of player with stone hoe named "&aQuake" with lore "&5Destroy your enemies in this||&5 fast-paced shooter!" to close then run [invoke "sendtoserver" from "Quake" and player]
  31. set {_changedtodiamond} to false
  32. loop 20 times:
  33. inventory name of current inventory of player isn't "&aQuick Travel":
  34. exit loop
  35. wait 1 tick
  36. restore inventory of player from {_pre::%player%}
  37.  
  38.  
  39. set {_changedtodiamond} to false
  40. while inventory name of current inventory of player is "&aQuick Travel":
  41. slot 16 of current inventory of player is a diamond sword:
  42. format slot 16 of player with wood hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
  43. set {_changedtodiamond} to true
  44. slot 16 of current inventory of player is a iron sword:
  45. format slot 16 of player with diamond hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
  46. slot 16 of current inventory of player is a golden sword:
  47. format slot 16 of player with iron hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
  48. slot 16 of current inventory of player is a stone sword:
  49. format slot 16 of player with golden sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
  50. {_changedtodiamond} is false:
  51. slot 16 of current inventory of player is a wooden sword:
  52. format slot 16 of player with stone sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
  53. set {_changedtodiamond} to false
  54. loop 20 times:
  55. inventory name of current inventory of player isn't "&aQuick Travel":
  56. exit loop
  57. wait 1 tick
  58. restore inventory of player from {_pre::%player%}
  59.  
  60.  
  61. on login:
  62. give player Nether star named "&aQuick Travel"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement