Advertisement
Guest User

Untitled

a guest
Oct 14th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. On first join:
  2. message "<red>%player% <green> please choose a race. By typing /race pick"
  3.  
  4. command /race pick <text>:
  5. usage: <green>/race pick (<red>Dwarf, <green>Elf, <Red>Vampire <green>, <grey>Spirit <green>Argonian)
  6. description: Pick a race
  7. trigger:
  8. set {race-.%player%} to "%text-argument%"
  9. {race-.%player%} is equal to "Dwarf":
  10. make player execute command "/Dwarf"
  11. message "<green>You are now a <red>Dwarf"
  12. {race-.%player%} is equal to "Elf":
  13. make player execute command "/Elf"
  14. message "<green>You are now an <green>Elf"
  15. {race-.%player%} is equal to "Vampire":
  16. make player execute command "/Vampire"
  17. message "<green>You are now a <black><bold>Vampire"
  18. {race-.%player%} is equal to "Argonian":
  19. make player execute command "/Argonian"
  20. message "<green>You are now a <grey>Argonian"
  21.  
  22. on login:
  23. remove Jump Boost from the player
  24. remove Strength from the player
  25.  
  26. command /Dwarf:
  27. description: Pick the Dwarf class
  28. trigger:
  29. set {race.%player%} to "Dwarf"
  30. wait 3 seconds
  31. set the player's walk speed to 0.12
  32. set Max Health of player to 15
  33. remove Jump Boost from the player
  34. remove Strength from the player
  35.  
  36. command /Elf:
  37. description: Pick the Elf race
  38. trigger:
  39. set {race.%player%} to "Elf"
  40. wait 3 seconds
  41. set the player's walk speed to 0.3
  42. apply Jump Boost to the player
  43. remove Jump Boost from the player
  44. remove Strength from the player
  45.  
  46. command /Vampire:
  47. description: Pick the Vampire race
  48. trigger:
  49. set {race.%player%} to "Vampire"
  50. wait 3 seconds
  51. set the player's walk speed to 0.27
  52. remove Jump Boost from the player
  53. remove Strength from the player
  54.  
  55. command /Argonian:
  56. description: Pick the Argonian race
  57. trigger:
  58. set {race.%player%} to "Argonian"
  59. wait 3 seconds
  60. set the player's walk speed to 0.25
  61. remove Jump Boost from the player
  62. remove Strength from the player
  63.  
  64. on login:
  65. {race.%player%} is "Dwarf":
  66. make player execute command "/Dwarf"
  67. {race.%player%} is "Elf":
  68. make player execute command "/Elf"
  69. {race.%player%} is "Vampire":
  70. make player execute command "/Vampire"
  71. {race.%player%} is "Argonian":
  72. make player execute command "/Argonian"
  73.  
  74. on break of ironore:
  75. {race.%player%} is "dwarf":
  76. chance of 50%:
  77. drop 2 iron ingots
  78. default:
  79. drop 1 iron ingot
  80.  
  81. on break of goldore:
  82. {race.%player%} is "dwarf":
  83. chance of 50%:
  84. drop 2 gold ingots
  85. default:
  86. drop 1 gold ingot
  87.  
  88. on break of diamondore:
  89. {race.%player%} is "dwarf":
  90. chance of 50%:
  91. drop 2 diamonds
  92. default:
  93. drop 1 diamond
  94.  
  95. at 6am in "survival":
  96. {race.%player%} is "vampire":
  97. apply weakness to the player
  98.  
  99. at 6pm in "survival":
  100. {race.%player%} is "vampire":
  101. remove weakness from the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement