Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- player's tool is an Nether Star:
- name of player's tool is "&aQuick Travel":
- set {_pre::%player%} to serialized contents of player
- wait 1 tick
- open chest with 4 rows named "&aQuick Travel" to player
- wait 1 tick
- loop 9 * 6 times:
- format slot loop-number - 1 of player with air to be unstealable
- format slot 4 of player with beacon named "&8&lLobby" to close then run "hub %player%"
- format slot 16 of player with Gold Sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "OITC" and player]
- 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]
- 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]
- 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]
- format slot 30 of player with 101 named "&cComing Soon" to be unstealable
- format slot 32 of player with 101 named "&cComing Soon" to be unstealable
- set {_changedtodiamond} to false
- while inventory name of current inventory of player is "&aQuick Travel":
- slot 20 of current inventory of player is a diamond hoe:
- 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]
- set {_changedtodiamond} to true
- slot 20 of current inventory of player is a iron hoe:
- 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]
- slot 20 of current inventory of player is a golden hoe:
- 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]
- slot 20 of current inventory of player is a stone hoe:
- 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]
- {_changedtodiamond} is false:
- slot 20 of current inventory of player is a wooden hoe:
- 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]
- set {_changedtodiamond} to false
- loop 20 times:
- inventory name of current inventory of player isn't "&aQuick Travel":
- exit loop
- wait 1 tick
- restore inventory of player from {_pre::%player%}
- set {_changedtodiamond} to false
- while inventory name of current inventory of player is "&aQuick Travel":
- slot 16 of current inventory of player is a diamond sword:
- format slot 16 of player with wood hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
- set {_changedtodiamond} to true
- slot 16 of current inventory of player is a iron sword:
- format slot 16 of player with diamond hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
- slot 16 of current inventory of player is a golden sword:
- format slot 16 of player with iron hoe named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
- slot 16 of current inventory of player is a stone sword:
- format slot 16 of player with golden sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
- {_changedtodiamond} is false:
- slot 16 of current inventory of player is a wooden sword:
- format slot 16 of player with stone sword named "&aTeamDeathMatch" to close then run [invoke "sendtoserver" from "Quake" and player]
- set {_changedtodiamond} to false
- loop 20 times:
- inventory name of current inventory of player isn't "&aQuick Travel":
- exit loop
- wait 1 tick
- restore inventory of player from {_pre::%player%}
- on login:
- give player Nether star named "&aQuick Travel"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement