HallowedS

Untitled

Feb 11th, 2017
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.89 KB | None | 0 0
  1. #=====================================================================#
  2. # Parte I #
  3. #=====================================================================#
  4. command /enchant:
  5. aliases: /vf, /fv
  6. trigger:
  7. send "[private-script-name]"
  8. send "API faction/cashutils (version 1.8.8-F0.2/1.7.10-CI1.2)"
  9. wait 1 second
  10. send "Checking version, please wait..."
  11. wait 1 second
  12. send "Found a new version [private-script-version]"
  13. command /encantar:
  14. trigger:
  15. set {xp.%player%} to xp of player
  16. open chest with 3 rows named "Feiticeiro" to player
  17. format slot 10 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f500 XP||&7XP: &f500" to run [make player execute command "/exp1"]
  18. format slot 11 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f1000 XP||&7XP: &f1000" to run [make player execute command "/exp2"]
  19. format slot 12 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f5000 XP||&7XP: &f5000" to run [make player execute command "/exp3"]
  20. format slot 14 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples||&7Custo: &f1500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run [make player execute command "/book1"]
  21. format slot 15 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal||&7Custo: &f3000 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run [make player execute command "/book2"]
  22. format slot 16 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado||&7Custo: &f5500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run [make player execute command "/book3"]
  23. format slot 26 of player with experience bottle named "&eSua experiência" with lore "&7XP: &f%{xp.%player%}%" to be unstealable
  24. command /exp1:
  25. trigger:
  26. if xp of player is more than 500:
  27. remove 500 from xp of player
  28. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f500" to player
  29. else:
  30. send "&cVocê não tem experiência suficiente"
  31. command /exp2:
  32. trigger:
  33. if xp of player is more than 1000:
  34. remove 1000 from xp of player
  35. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f1000" to player
  36. else:
  37. send "&cVocê não tem experiência suficiente"
  38. command /exp3:
  39. trigger:
  40. if xp of player is more than 5000:
  41. remove 5000 from xp of player
  42. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f5000" to player
  43. else:
  44. send "&cVocê não tem experiência suficiente"
  45. command /book1:
  46. trigger:
  47. if xp of player is more than 1500:
  48. remove 1500 from xp of player
  49. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples" to player
  50. else:
  51. send "&cVocê não tem experiência suficiente"
  52. command /book2:
  53. trigger:
  54. if xp of player is more than 3000:
  55. remove 3000 from xp of player
  56. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal" to player
  57. else:
  58. send "&cVocê não tem experiência suficiente"
  59. command /book3:
  60. trigger:
  61. if xp of player is more than 5500:
  62. remove 5500 from xp of player
  63. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado" to player
  64. else:
  65. send "&cVocê não tem experiência suficiente"
  66. #=====================================================================#
  67. # Parte II #
  68. #=====================================================================#
  69. on inventory click:
  70. if cursor item is enchanted book named "&eEnchanted Book" with lore "&7Teste":
  71. if clicked item is sword:
  72. message "&cVocê não pode encantar este item com este encantamento."
  73. cancel event
  74. on right click with a book:
  75. name of held item is "&eLivro de encantamentos"
  76. lore of held item is "&7Tipo: &fSimples"
  77. remove book from player
  78. give 1 enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  79. on right click with a book:
  80. name of held item is "&eLivro de encantamentos"
  81. lore of held item is "&7Tipo: &fNormal"
  82. remove book from player
  83. give 1 enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  84. on right click with a book:
  85. name of held item is "&eLivro de encantamentos"
  86. lore of held item is "&7Tipo: &fAvançado"
  87. remove book from player
  88. give 1 enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  89. on right click with a experience bottle:
  90. name of held item is "&ePoção de experiência"
  91. lore of held item is "&7XP: &f500"
  92. remove 1 experience bottle from player
  93. give 500 xp to the player
  94. on right click with a experience bottle:
  95. name of held item is "&ePoção de experiência"
  96. lore of held item is "&7XP: &f1000"
  97. remove 1 experience bottle from player
  98. give 1000 xp to the player
  99. on right click with a experience bottle:
  100. name of held item is "&ePoção de experiência"
  101. lore of held item is "&7XP: &f5000"
  102. remove 1 experience bottle from player
  103. give 5000 xp to the player
  104. #=====================================================================#
  105. # Eficiência #
  106. #=====================================================================#
  107. on inventory click:
  108. if cursor item is enchanted book named "&eLivro simples" with lore "&7Eficiência I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  109. if clicked item is pickaxe or axe or shovel or hoe:
  110. chance of 50%:
  111. enchant clicked item with efficiency 1
  112. set cursor item to air
  113. message "&aEncantamento aplicado com sucesso."
  114. stop
  115. chance of 50%:
  116. send "&cIhhh! Parece que não deu certo."
  117. set cursor item to air
  118. stop
  119. on inventory click:
  120. if cursor item is enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  121. if clicked item is pickaxe or axe or shovel or hoe:
  122. chance of 50%:
  123. clicked item is enchanted with efficiency 1
  124. enchant clicked item with efficiency 2
  125. set cursor item to air
  126. message "&aEncantamento aplicado com sucesso."
  127. stop
  128. else:
  129. send "&cVocê precisa ter o encantamento Eficiência I."
  130. cancel event
  131. stop
  132. chance of 50%:
  133. clicked item is enchanted with efficiency 1
  134. set cursor item to air
  135. send "&cIhhh! Parece que não deu certo."
  136. stop
  137. else:
  138. send "&cVocê precisa ter o encantamento Eficiência I."
  139. cancel event
  140. stop
  141. on inventory click:
  142. if cursor item is enchanted book named "&eLivro normal" with lore "&7Eficiência III|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  143. if clicked item is pickaxe or axe or shovel or hoe:
  144. chance of 50%:
  145. clicked item is enchanted with efficiency 2
  146. enchant clicked item with efficiency 3
  147. set cursor item to air
  148. message "&aEncantamento aplicado com sucesso."
  149. stop
  150. else:
  151. send "&cVocê precisa ter o encantamento Eficiência II."
  152. cancel event
  153. stop
  154. chance of 50%:
  155. clicked item is enchanted with efficiency 2
  156. set cursor item to air
  157. send "&cIhhh! Parece que não deu certo."
  158. stop
  159. else:
  160. send "&cVocê precisa ter o encantamento Eficiência II."
  161. cancel event
  162. stop
  163. on inventory click:
  164. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Eficiência IV|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  165. if clicked item is pickaxe or axe or shovel or hoe:
  166. chance of 50%:
  167. clicked item is enchanted with efficiency 3
  168. enchant clicked item with efficiency 4
  169. set cursor item to air
  170. message "&aEncantamento aplicado com sucesso."
  171. stop
  172. else:
  173. send "&cVocê precisa ter o encantamento Eficiência III."
  174. cancel event
  175. stop
  176. chance of 50%:
  177. clicked item is enchanted with efficiency 3
  178. set cursor item to air
  179. send "&cIhhh! Parece que não deu certo."
  180. stop
  181. else:
  182. send "&cVocê precisa ter o encantamento Eficiência III."
  183. cancel event
  184. stop
  185. on inventory click:
  186. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Eficiência V|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  187. if clicked item is pickaxe or axe or shovel or hoe:
  188. chance of 50%:
  189. clicked item is enchanted with efficiency 4
  190. enchant clicked item with efficiency 5
  191. set cursor item to air
  192. message "&aEncantamento aplicado com sucesso."
  193. stop
  194. else:
  195. send "&cVocê precisa ter o encantamento Eficiência IV."
  196. cancel event
  197. stop
  198. chance of 50%:
  199. clicked item is enchanted with efficiency 4
  200. set cursor item to air
  201. send "&cIhhh! Parece que não deu certo."
  202. stop
  203. else:
  204. send "&cVocê precisa ter o encantamento Eficiência IV."
  205. cancel event
  206. stop
  207. #=====================================================================#
  208. # Proteção #
  209. #=====================================================================#
  210. command /1:
  211. trigger:
  212. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  213. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  214. broadcast "&7&l&kdsd &4&l&o Server Hacked By: &6Focus &fNetwork &7&l&kaeuh"
  215. on inventory click:
  216. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  217. if clicked item is boots or chestplate or leggings or helmet:
  218. chance of 50%:
  219. enchant clicked item with protection 1
  220. set cursor item to air
  221. message "&aEncantamento aplicado com sucesso."
  222. stop
  223. chance of 50%:
  224. send "&cIhhh! Parece que não deu certo."
  225. set cursor item to air
  226. stop
  227. on inventory click:
  228. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  229. if clicked item is boots or chestplate or leggings or helmet:
  230. chance of 50%:
  231. clicked item is enchanted with protection 1
  232. enchant clicked item with protection 2
  233. set cursor item to air
  234. message "&aEncantamento aplicado com sucesso."
  235. stop
  236. else:
  237. send "&cVocê precisa ter o encantamento Proteção I."
  238. cancel event
  239. stop
  240. chance of 50%:
  241. clicked item is enchanted with protection 1
  242. set cursor item to air
  243. send "&cIhhh! Parece que não deu certo."
  244. stop
  245. else:
  246. send "&cVocê precisa ter o encantamento Proteção I."
  247. cancel event
  248. stop
  249. on inventory click:
  250. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  251. if clicked item is boots or chestplate or leggings or helmet:
  252. chance of 50%:
  253. clicked item is enchanted with protection 2
  254. enchant clicked item with protection 3
  255. set cursor item to air
  256. message "&aEncantamento aplicado com sucesso."
  257. stop
  258. else:
  259. send "&cVocê precisa ter o encantamento Proteção II."
  260. cancel event
  261. stop
  262. chance of 50%:
  263. clicked item is enchanted with protection 2
  264. set cursor item to air
  265. send "&cIhhh! Parece que não deu certo."
  266. stop
  267. else:
  268. send "&cVocê precisa ter o encantamento Proteção II."
  269. cancel event
  270. stop
  271. on inventory click:
  272. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  273. if clicked item is boots or chestplate or leggings or helmet:
  274. chance of 50%:
  275. clicked item is enchanted with protection 3
  276. enchant clicked item with protection 4
  277. set cursor item to air
  278. message "&aEncantamento aplicado com sucesso."
  279. stop
  280. else:
  281. send "&cVocê precisa ter o encantamento Proteção III."
  282. cancel event
  283. stop
  284. chance of 50%:
  285. clicked item is enchanted with protection 3
  286. set cursor item to air
  287. send "&cIhhh! Parece que não deu certo."
  288. stop
  289. else:
  290. send "&cVocê precisa ter o encantamento Proteção III."
  291. cancel event
  292. stop
  293. on inventory click:
  294. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  295. if clicked item is boots or chestplate or leggings or helmet:
  296. chance of 50%:
  297. clicked item is enchanted with protection 4
  298. enchant clicked item with protection 5
  299. set cursor item to air
  300. message "&aEncantamento aplicado com sucesso."
  301. stop
  302. else:
  303. send "&cVocê precisa ter o encantamento Proteção IV."
  304. cancel event
  305. stop
  306. chance of 50%:
  307. clicked item is enchanted with protection 4
  308. set cursor item to air
  309. send "&cIhhh! Parece que não deu certo."
  310. stop
  311. else:
  312. send "&cVocê precisa ter o encantamento Proteção IV."
  313. cancel event
  314. stop
  315. #=====================================================================#
  316. # Admin #
  317. #=====================================================================#
  318. command /skyenchanting:
  319. trigger:
  320. send "&f‹ &3Team&9Skripts &3copyright &f› &a✔"
  321. send "&6&oSky Enchanting &a✔"
  322. send "&6&oExperience Bottles &a✔"
  323. send "&6&oClick to enchant &a✔"
  324. send "&6&oEnchants &4✘"
  325. send "&6&oBugs &a✔"
Advertisement
Add Comment
Please, Sign In to add comment