Alomax_

Untitled

Jun 22nd, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. command /setminerar [<text>]:
  2. permission: batata.admin
  3. trigger:
  4. if arg 1 is "1":
  5. set {minerar.1} to location of player
  6. send "&aMinerar 1 marcado"
  7. if arg 1 is "2":
  8. set {minerar.2} to location of player
  9. send "&aMinerar 2 marcado"
  10. if arg 1 is "3":
  11. set {minerar.3} to location of player
  12. send "&aMinerar 3 marcado"
  13. if arg 1 is "4":
  14. set {minerar.4} to location of player
  15. send "&aMinerar 4 marcado"
  16. if arg 1 is "5":
  17. set {minerar.5} to location of player
  18. send "&aMinerar 5 marcado"
  19.  
  20. command /minerar:
  21. trigger:
  22. change of 20%:
  23. send "&2Aguarde &a5 segundos"
  24. wait 5 seconds
  25. teleport player to {minerar.1}
  26. send "&aTeleportado"
  27. change of 20%:
  28. send "&2Aguarde &a5 segundos"
  29. wait 5 seconds
  30. teleport player to {minerar.2}
  31. send "&aTeleportado"
  32. change of 20%:
  33. send "&2Aguarde &a5 segundos"
  34. wait 5 seconds
  35. teleport player to {minerar.3}
  36. send "&aTeleportado"
  37. change of 20%:
  38. send "&2Aguarde &a5 segundos"
  39. wait 5 seconds
  40. teleport player to {minerar.4}
  41. send "&aTeleportado"
  42. change of 20%:
  43. send "&2Aguarde &a5 segundos"
  44. wait 5 seconds
  45. teleport player to {minerar.5}
  46. send "&aTeleportado"
  47. else:
  48. send "&2Aguarde &a5 segundos"
  49. wait 5 seconds
  50. teleport player to {minerar.1}
  51. send "&aTeleportado"
Advertisement
Add Comment
Please, Sign In to add comment