Skip to content

Instantly share code, notes, and snippets.

@MrPowerGamerBR
Created August 5, 2015 01:28
Show Gist options
  • Save MrPowerGamerBR/acc288eac733a9f8e11e to your computer and use it in GitHub Desktop.
Save MrPowerGamerBR/acc288eac733a9f8e11e to your computer and use it in GitHub Desktop.
command /pegarpot:
trigger:
give 1 potion with name "&6Poção TOP" to the player
on consume of potion:
if name of player's held item is "&6Poção TOP":
cancel event
remove player's held item from player's inventory
apply potion of regeneration 3 to the player
apply potion of speed 3 to the player
apply potion of strength 3 to the player
apply potion of fire resistance 3 to the player
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment