Danielzinh

Untitled

Aug 5th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. options:
  2. Comando1: givecaixa 1 5 %player%
  3. Comando2: eco give %player% 100000
  4.  
  5. variables:
  6. {presente::%player%} = false
  7.  
  8. on rightclick on entity:
  9. if display name of clicked entity is "&ePresente":
  10. if {presente::%player%} is false:
  11. set {presente::%player%} to true
  12. make console execute command "{@Comando1}"
  13. make console execute command "{@Comando2}"
  14. else:
  15. send "&cVocê já pegou seu presente." to player
Advertisement
Add Comment
Please, Sign In to add comment