Jt1010

kajino1

May 11th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. command /kn <number>:
  2. trigger:
  3. if {%player%.Coin} > arg-1:
  4. remove arg-1 from {%player%.coin}
  5. set {%player%.kajino1} to random integer between 1 and 5
  6. set {%player%.kajino2} to random integer between 1 and 5
  7. set {%player%.kajino3} to random integer between 1 and 5
  8. if {%player%.kajino1} = {%player%.kajino2}:
  9. if {%player%.kajino2} = {%player%.kajino3}:
  10. set {kingaku} to arg-1 * 10
  11. add {kingaku} to {%player%.Coin}
  12. send "&c%{%player%.kajino1}%"
  13. send "&c%{%player%.kajino2}%"
  14. send "&c%{%player%.kajino3}%"
  15. send "&3&lCongratulations!"
  16. send "&2You're coin is %{%player%.coin}%!!"
  17. else:
  18. send "&c%{%player%.kajino1}%"
  19. send "&c%{%player%.kajino2}%"
  20. send "&c%{%player%.kajino3}%"
  21. send "&4&lOut"
  22. send "&2You're coin is %{%player%.coin}%!!"
Add Comment
Please, Sign In to add comment