Guest User

Untitled

a guest
Jul 18th, 2016
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.81 KB | None | 0 0
  1. # #!============[ DComprarSkills ]============!# #
  2. # #! | Skript Feito Por: Delavor | !# #
  3. # #!============[ DComprarSkills ]============!# #
  4. options:
  5. # Configurações de Skills
  6. DComprarSkills.Mining: true # True para habilitar a compra e false para não habilitar
  7. Mining: minerador # Nome da sua skill, dependendo do servidor o nome pode ser diferente.
  8. Miningnome: &1Minerador # Titulo da skill no menu gui do /comprarskills
  9. Miningtitulo: &b » &fComprar skill Minerador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps # Informações da skill, valor e xp.
  10. Miningvalor: 10000 # Valor da compra da skill. NÃO ESQUEÇA DE MODIFICAR EM CIMA.
  11. Miningxp: 50000 # XP que serão dados quando o player comprar a skill. NÃO ESQUEÇA DE MODIFICAR EM CIMA.
  12.  
  13. DComprarSkills.Woodcutting: true
  14. Woodcutting: lenhador
  15. Woodcuttingnome: &1Lenhador
  16. Woodcuttingtitulo: &b » &fComprar skill Lenhador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  17. Woodcuttingvalor: 10000
  18. Woodcuttingxp: 50000
  19.  
  20. DComprarSkills.Herbalism: true
  21. Herbalism: herbalista
  22. Herbalismnome: &1Herbalista
  23. Herbalismtitulo: &b » &fComprar skill Herbalista|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  24. Herbalismvalor: 10000
  25. Herbalismxp: 50000
  26.  
  27. DComprarSkills.Excavation: true
  28. Excavation: escavador
  29. Excavationnome: &1Escavador
  30. Excavationtitulo: &b » &fComprar skill Escavador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  31. Excavationvalor: 10000
  32. Excavationxp: 50000
  33.  
  34. DComprarSkills.Fishing: true
  35. Fishing: pescador
  36. Fishingnome: &1Pescador
  37. Fishingtitulo: &b » &fComprar skill Pescador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  38. Fishingvalor: 10000
  39. Fishingxp: 50000
  40.  
  41. DComprarSkills.Unarmed: true
  42. Unarmed: desarmado
  43. Unarmednome: &1Desarmado
  44. Unarmedtitulo: &b » &fComprar skill Desarmado|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  45. Unarmedvalor: 10000
  46. Unarmedxp: 50000
  47.  
  48. DComprarSkills.Archery: true
  49. Archery: arqueiro
  50. Archerynome: &1Arqueiro
  51. Archerytitulo: &b » &fComprar skill Arqueiro|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  52. Archeryvalor: 10000
  53. Archeryxp: 50000
  54.  
  55. DComprarSkills.Swords: true
  56. Swords: espada
  57. Swordsnome: &1Espada
  58. Swordstitulo: &b » &fComprar skill Espada|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  59. Swordsvalor: 10000
  60. Swordsxp: 50000
  61.  
  62. DComprarSkills.Axes: true
  63. Axes: machado
  64. Axesnome: &1Machado
  65. Axestitulo: &b » &fComprar skill Machado|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  66. Axesvalor: 10000
  67. Axesxp: 50000
  68.  
  69. DComprarSkills.Taming: true
  70. Taming: domesticador
  71. Tamingnome: &1Domesticador
  72. Tamingtitulo: &b » &fComprar skill Domesticador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  73. Tamingvalor: 10000
  74. Tamingxp: 50000
  75.  
  76. DComprarSkills.Repair: true
  77. Repair: reparador
  78. Repairnome: &1Reparador
  79. Repairtitulo: &b » &fComprar skill Reparador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  80. Repairvalor: 10000
  81. Repairxp: 50000
  82.  
  83. DComprarSkills.Acrobatics: true
  84. Acrobatics: acrobata
  85. Acrobaticsnome: &1Acrobata
  86. Acrobaticstitulo: &b » &fComprar skill Acrobata|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
  87. Acrobaticsvalor: 10000
  88. Acrobaticsxp: 50000
  89.  
  90. # Tag do Servidor.
  91. servidor: &3[DComprarSkills]
  92.  
  93. # Função de permissão.
  94. DComprarSkills.permissao: false # True para precisar de permissão para compra ou false para não precisar
  95. permissao: DComprarSkills.use # Caso deixe true, de essa permissão para o grupo que consegira comprar a skill.
  96. sempermissao: &cVocê não é um player VIP.
  97.  
  98. #Mensagem de comprou a skill.
  99. comprouskill: &aVocê comprou skills de&f
  100.  
  101. # Mensagem de tag não existe.
  102. naoexiste: &cEssa skill não existe, utilize /comprarskills.
  103.  
  104. # Mensagem Skills não abilitada
  105. naohabilitada: &cEssa skill não esta habilitada
  106.  
  107. # Mensagem de comando incorreto.
  108. comandocorreto: &aUtilize /comprarskill <skill> ou digite /comprarskills.
  109.  
  110. # Mensagem de não tem dinheiro suficiente
  111. naotemdinheiro: &cVocê não tem dinheiro suficiente para comprar essa skill.
  112.  
  113. # Titulo do Menu Gui do /comprarskills
  114. titulogui: &5&lCompre suas Skills
  115.  
  116.  
  117. command /comprarskill [<text>]:
  118. trigger:
  119. if {@DComprarSkills.permissao} is true:
  120. if player has permission "{@permissao}":
  121. if arg 1 is set:
  122.  
  123. if arg 1 is "{@Mining}":
  124. if {@DComprarSkills.Mining} is true:
  125. if player's account is more than or equal to {@Miningvalor}:
  126. subtract {@Miningvalor} from player's account
  127. make console execute command "/addxp %player% {@Mining} {@Miningxp}"
  128. message "{@servidor} {@comprouskill} {@Mining}"
  129. stop
  130. else:
  131. message "{@servidor} {@naotemdinheiro}"
  132. stop
  133. else:
  134. message "{@servidor} {@naohabilitada}"
  135. stop
  136.  
  137. if arg 1 is "{@Woodcutting}":
  138. if {@DComprarSkills.Woodcutting} is true:
  139. if player's account is more than or equal to {@Woodcuttingvalor}:
  140. subtract {@Woodcuttingvalor} from player's account
  141. make console execute command "/addxp %player% {@Woodcutting} {@Woodcuttingxp}"
  142. message "{@servidor} {@comprouskill} {@Woodcutting}"
  143. stop
  144. else:
  145. message "{@servidor} {@naotemdinheiro}"
  146. stop
  147. else:
  148. message "{@servidor} {@naohabilitada}"
  149. stop
  150.  
  151. if arg 1 is "{@Herbalism}":
  152. if {@DComprarSkills.Herbalism} is true:
  153. if player's account is more than or equal to {@Herbalismvalor}:
  154. subtract {@Herbalismvalor} from player's account
  155. make console execute command "/addxp %player% {@Herbalism} {@Herbalismxp}"
  156. message "{@servidor} {@comprouskill} {@Herbalism}"
  157. stop
  158. else:
  159. message "{@servidor} {@naotemdinheiro}"
  160. stop
  161. else:
  162. message "{@servidor} {@naohabilitada}"
  163. stop
  164.  
  165. if arg 1 is "{@Excavation}":
  166. if {@DComprarSkills.Excavation} is true:
  167. if player's account is more than or equal to {@Excavationvalor}:
  168. subtract {@Excavationvalor} from player's account
  169. make console execute command "/addxp %player% {@Excavation} {@Excavationxp}"
  170. message "{@servidor} {@comprouskill} {@Excavation}"
  171. stop
  172. else:
  173. message "{@servidor} {@naotemdinheiro}"
  174. stop
  175. else:
  176. message "{@servidor} {@naohabilitada}"
  177. stop
  178.  
  179. if arg 1 is "{@Fishing}":
  180. if {@DComprarSkills.Fishing} is true:
  181. if player's account is more than or equal to {@Fishingvalor}:
  182. subtract {@Fishingvalor} from player's account
  183. make console execute command "/addxp %player% {@Fishing} {@Fishingxp}"
  184. message "{@servidor} {@comprouskill} {@Fishing}"
  185. stop
  186. else:
  187. message "{@servidor} {@naotemdinheiro}"
  188. stop
  189. else:
  190. message "{@servidor} {@naohabilitada}"
  191. stop
  192.  
  193. if arg 1 is "{@Unarmed}":
  194. if {@DComprarSkills.Unarmed} is true:
  195. if player's account is more than or equal to {@Unarmedvalor}:
  196. subtract {@Unarmedvalor} from player's account
  197. make console execute command "/addxp %player% {@Unarmed} {@Unarmedxp}"
  198. message "{@servidor} {@comprouskill} {@Unarmed}"
  199. stop
  200. else:
  201. message "{@servidor} {@naotemdinheiro}"
  202. stop
  203. else:
  204. message "{@servidor} {@naohabilitada}"
  205. stop
  206.  
  207. if arg 1 is "{@Archery}":
  208. if {@DComprarSkills.Archery} is true:
  209. if player's account is more than or equal to {@Archeryvalor}:
  210. subtract {@Archeryvalor} from player's account
  211. make console execute command "/addxp %player% {@Archery} {@Archeryxp}"
  212. message "{@servidor} {@comprouskill} {@Archery}"
  213. stop
  214. else:
  215. message "{@servidor} {@naotemdinheiro}"
  216. stop
  217. else:
  218. message "{@servidor} {@naohabilitada}"
  219. stop
  220.  
  221. if arg 1 is "{@Swords}":
  222. if {@DComprarSkills.Swords} is true:
  223. if player's account is more than or equal to {@Swordsvalor}:
  224. subtract {@Swordsvalor} from player's account
  225. make console execute command "/addxp %player% {@Swords} {@Swordsxp}"
  226. message "{@servidor} {@comprouskill} {@Swords}"
  227. stop
  228. else:
  229. message "{@servidor} {@naotemdinheiro}"
  230. stop
  231. else:
  232. message "{@servidor} {@naohabilitada}"
  233. stop
  234.  
  235. if arg 1 is "{@Axes}":
  236. if {@DComprarSkills.Axes} is true:
  237. if player's account is more than or equal to {@Axesvalor}:
  238. subtract {@Axesvalor} from player's account
  239. make console execute command "/addxp %player% {@Axes} {@Axesxp}"
  240. message "{@servidor} {@comprouskill} {@Axes}"
  241. stop
  242. else:
  243. message "{@servidor} {@naotemdinheiro}"
  244. stop
  245. else:
  246. message "{@servidor} {@naohabilitada}"
  247. stop
  248.  
  249. if arg 1 is "{@Taming}":
  250. if {@DComprarSkills.Taming} is true:
  251. if player's account is more than or equal to {@Tamingvalor}:
  252. subtract {@Tamingvalor} from player's account
  253. make console execute command "/addxp %player% {@Taming} {@Tamingxp}"
  254. message "{@servidor} {@comprouskill} {@Taming}"
  255. stop
  256. else:
  257. message "{@servidor} {@naotemdinheiro}"
  258. stop
  259. else:
  260. message "{@servidor} {@naohabilitada}"
  261. stop
  262.  
  263. if arg 1 is "{@Repair}":
  264. if {@DComprarSkills.Repair} is true:
  265. if player's account is more than or equal to {@Repairvalor}:
  266. subtract {@Repairvalor} from player's account
  267. make console execute command "/addxp %player% {@Repair} {@Repairxp}"
  268. message "{@servidor} {@comprouskill} {@Repair}"
  269. stop
  270. else:
  271. message "{@servidor} {@naotemdinheiro}"
  272. stop
  273. else:
  274. message "{@servidor} {@naohabilitada}"
  275. stop
  276.  
  277. if arg 1 is "{@Acrobatics}":
  278. if {@DComprarSkills.Acrobatics} is true:
  279. if player's account is more than or equal to {@Acrobaticsvalor}:
  280. subtract {@Acrobaticsvalor} from player's account
  281. make console execute command "/addxp %player% {@Acrobatics} {@Acrobaticsxp}"
  282. message "{@servidor} {@comprouskill} {@Acrobatics}"
  283. stop
  284. else:
  285. message "{@servidor} {@naotemdinheiro}"
  286. stop
  287. else:
  288. message "{@servidor} {@naohabilitada}"
  289. stop
  290.  
  291. else:
  292. message "{@servidor} {@naoexiste}" to player
  293. else:
  294. message "{@servidor} {@comandocorreto}"
  295. else:
  296. message "{@servidor} {@sempermissao}" to player
  297.  
  298. else if {@DComprarSkills.permissao} is false:
  299. if arg 1 is set:
  300.  
  301. if arg 1 is "{@Mining}":
  302. if {@DComprarSkills.Mining} is true:
  303. if player's account is more than or equal to {@Miningvalor}:
  304. subtract {@Miningvalor} from player's account
  305. make console execute command "/addxp %player% {@Mining} {@Miningxp}"
  306. message "{@servidor} {@comprouskill} {@Mining}"
  307. stop
  308. else:
  309. message "{@servidor} {@naotemdinheiro}"
  310. stop
  311. else:
  312. message "{@servidor} {@naohabilitada}"
  313. stop
  314.  
  315. if arg 1 is "{@Woodcutting}":
  316. if {@DComprarSkills.Woodcutting} is true:
  317. if player's account is more than or equal to {@Woodcuttingvalor}:
  318. subtract {@Woodcuttingvalor} from player's account
  319. make console execute command "/addxp %player% {@Woodcutting} {@Woodcuttingxp}"
  320. message "{@servidor} {@comprouskill} {@Woodcutting}"
  321. stop
  322. else:
  323. message "{@servidor} {@naotemdinheiro}"
  324. stop
  325. else:
  326. message "{@servidor} {@naohabilitada}"
  327. stop
  328.  
  329. if arg 1 is "{@Herbalism}":
  330. if {@DComprarSkills.Herbalism} is true:
  331. if player's account is more than or equal to {@Herbalismvalor}:
  332. subtract {@Herbalismvalor} from player's account
  333. make console execute command "/addxp %player% {@Herbalism} {@Herbalismxp}"
  334. message "{@servidor} {@comprouskill} {@Herbalism}"
  335. stop
  336. else:
  337. message "{@servidor} {@naotemdinheiro}"
  338. stop
  339. else:
  340. message "{@servidor} {@naohabilitada}"
  341. stop
  342.  
  343. if arg 1 is "{@Excavation}":
  344. if {@DComprarSkills.Excavation} is true:
  345. if player's account is more than or equal to {@Excavationvalor}:
  346. subtract {@Excavationvalor} from player's account
  347. make console execute command "/addxp %player% {@Excavation} {@Excavationxp}"
  348. message "{@servidor} {@comprouskill} {@Excavation}"
  349. stop
  350. else:
  351. message "{@servidor} {@naotemdinheiro}"
  352. stop
  353. else:
  354. message "{@servidor} {@naohabilitada}"
  355. stop
  356.  
  357. if arg 1 is "{@Fishing}":
  358. if {@DComprarSkills.Fishing} is true:
  359. if player's account is more than or equal to {@Fishingvalor}:
  360. subtract {@Fishingvalor} from player's account
  361. make console execute command "/addxp %player% {@Fishing} {@Fishingxp}"
  362. message "{@servidor} {@comprouskill} {@Fishing}"
  363. stop
  364. else:
  365. message "{@servidor} {@naotemdinheiro}"
  366. stop
  367. else:
  368. message "{@servidor} {@naohabilitada}"
  369. stop
  370.  
  371. if arg 1 is "{@Unarmed}":
  372. if {@DComprarSkills.Unarmed} is true:
  373. if player's account is more than or equal to {@Unarmedvalor}:
  374. subtract {@Unarmedvalor} from player's account
  375. make console execute command "/addxp %player% {@Unarmed} {@Unarmedxp}"
  376. message "{@servidor} {@comprouskill} {@Unarmed}"
  377. stop
  378. else:
  379. message "{@servidor} {@naotemdinheiro}"
  380. stop
  381. else:
  382. message "{@servidor} {@naohabilitada}"
  383. stop
  384.  
  385. if arg 1 is "{@Archery}":
  386. if {@DComprarSkills.Archery} is true:
  387. if player's account is more than or equal to {@Archeryvalor}:
  388. subtract {@Archeryvalor} from player's account
  389. make console execute command "/addxp %player% {@Archery} {@Archeryxp}"
  390. message "{@servidor} {@comprouskill} {@Archery}"
  391. stop
  392. else:
  393. message "{@servidor} {@naotemdinheiro}"
  394. stop
  395. else:
  396. message "{@servidor} {@naohabilitada}"
  397. stop
  398.  
  399. if arg 1 is "{@Swords}":
  400. if {@DComprarSkills.Swords} is true:
  401. if player's account is more than or equal to {@Swordsvalor}:
  402. subtract {@Swordsvalor} from player's account
  403. make console execute command "/addxp %player% {@Swords} {@Swordsxp}"
  404. message "{@servidor} {@comprouskill} {@Swords}"
  405. stop
  406. else:
  407. message "{@servidor} {@naotemdinheiro}"
  408. stop
  409. else:
  410. message "{@servidor} {@naohabilitada}"
  411. stop
  412.  
  413. if arg 1 is "{@Axes}":
  414. if {@DComprarSkills.Axes} is true:
  415. if player's account is more than or equal to {@Axesvalor}:
  416. subtract {@Axesvalor} from player's account
  417. make console execute command "/addxp %player% {@Axes} {@Axesxp}"
  418. message "{@servidor} {@comprouskill} {@Axes}"
  419. stop
  420. else:
  421. message "{@servidor} {@naotemdinheiro}"
  422. stop
  423. else:
  424. message "{@servidor} {@naohabilitada}"
  425. stop
  426.  
  427. if arg 1 is "{@Taming}":
  428. if {@DComprarSkills.Taming} is true:
  429. if player's account is more than or equal to {@Tamingvalor}:
  430. subtract {@Tamingvalor} from player's account
  431. make console execute command "/addxp %player% {@Taming} {@Tamingxp}"
  432. message "{@servidor} {@comprouskill} {@Taming}"
  433. stop
  434. else:
  435. message "{@servidor} {@naotemdinheiro}"
  436. stop
  437. else:
  438. message "{@servidor} {@naohabilitada}"
  439. stop
  440.  
  441. if arg 1 is "{@Repair}":
  442. if {@DComprarSkills.Repair} is true:
  443. if player's account is more than or equal to {@Repairvalor}:
  444. subtract {@Repairvalor} from player's account
  445. make console execute command "/addxp %player% {@Repair} {@Repairxp}"
  446. message "{@servidor} {@comprouskill} {@Repair}"
  447. stop
  448. else:
  449. message "{@servidor} {@naotemdinheiro}"
  450. stop
  451. else:
  452. message "{@servidor} {@naohabilitada}"
  453. stop
  454.  
  455. if arg 1 is "{@Acrobatics}":
  456. if {@DComprarSkills.Acrobatics} is true:
  457. if player's account is more than or equal to {@Acrobaticsvalor}:
  458. subtract {@Acrobaticsvalor} from player's account
  459. make console execute command "/addxp %player% {@Acrobatics} {@Acrobaticsxp}"
  460. message "{@servidor} {@comprouskill} {@Acrobatics}"
  461. stop
  462. else:
  463. message "{@servidor} {@naotemdinheiro}"
  464. stop
  465. else:
  466. message "{@servidor} {@naohabilitada}"
  467. stop
  468.  
  469. else:
  470. message "{@servidor} {@naoexiste}" to player
  471. else:
  472. message "{@servidor} {@comandocorreto}"
  473.  
  474. command /comprarskills:
  475. trigger:
  476. open chest with 4 row named "{@titulogui}" to player
  477. if {@DComprarSkills.Mining} is true:
  478. format slot 11 of player with iron pickaxe named "{@Miningnome}" with lore "{@Miningtitulo}" to close then run [make player execute command "/comprarskill {@Mining}"]
  479. else:
  480. format slot 11 of player with iron pickaxe named "{@Miningnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Mining}"]
  481.  
  482. if {@DComprarSkills.Woodcutting} is true:
  483. format slot 12 of player with iron axe named "{@Woodcuttingnome}" with lore "{@Woodcuttingtitulo}" to close then run [make player execute command "/comprarskill {@Woodcutting}"]
  484. else:
  485. format slot 12 of player with iron axe named "{@Woodcuttingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Woodcutting}"]
  486.  
  487. if {@DComprarSkills.Herbalism} is true:
  488. format slot 13 of player with iron hoe named "{@Herbalismnome}" with lore "{@Herbalismtitulo}" to close then run [make player execute command "/comprarskill {@Herbalism}"]
  489. else:
  490. format slot 13 of player with iron hoe named "{@Herbalismnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Herbalism}"]
  491.  
  492. if {@DComprarSkills.Excavation} is true:
  493. format slot 14 of player with iron spade named "{@Excavationnome}" with lore "{@Excavationtitulo}" to close then run [make player execute command "/comprarskill {@Excavation}"]
  494. else:
  495. format slot 14 of player with iron spade named "{@Excavationnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Excavation}"]
  496.  
  497. if {@DComprarSkills.Fishing} is true:
  498. format slot 15 of player with fishing rod named "{@Fishingnome}" with lore "{@Fishingtitulo}" to close then run [make player execute command "/comprarskill {@Fishing}"]
  499. else:
  500. format slot 15 of player with fishing rod named "{@Fishingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Fishing}"]
  501.  
  502. if {@DComprarSkills.Unarmed} is true:
  503. format slot 19 of player with bucket named "{@Unarmednome}" with lore "{@Unarmedtitulo}" to close then run [make player execute command "/comprarskill {@Unarmed}"]
  504. else:
  505. format slot 19 of player with bucket named "{@Unarmednome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Unarmed}"]
  506.  
  507. if {@DComprarSkills.Archery} is true:
  508. format slot 20 of player with bow named "{@Archerynome}" with lore "{@Archerytitulo}" to close then run [make player execute command "/comprarskill {@Archery}"]
  509. else:
  510. format slot 20 of player with bow named "{@Archerynome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Archery}"]
  511.  
  512. if {@DComprarSkills.Swords} is true:
  513. format slot 21 of player with iron sword named "{@Swordsnome}" with lore "{@Swordstitulo}" to close then run [make player execute command "/comprarskill {@Swords}"]
  514. else:
  515. format slot 21 of player with iron sword named "{@Swordsnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Swords}"]
  516.  
  517. if {@DComprarSkills.Axes} is true:
  518. format slot 22 of player with iron axe named "{@Axesnome}" with lore "{@Axestitulo}" to close then run [make player execute command "/comprarskill {@Axes}"]
  519. else:
  520. format slot 22 of player with iron axe named "{@Axesnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Axes}"]
  521.  
  522. if {@DComprarSkills.Taming} is true:
  523. format slot 23 of player with bone named "{@Tamingnome}" with lore "{@Tamingtitulo}" to close then run [make player execute command "/comprarskill {@Taming}"]
  524. else:
  525. format slot 23 of player with bone named "{@Tamingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Taming}"]
  526.  
  527. if {@DComprarSkills.Repair} is true:
  528. format slot 24 of player with anvil named "{@Repairnome}" with lore "{@Repairtitulo}" to close then run [make player execute command "/comprarskill {@Repair}"]
  529. else:
  530. format slot 24 of player with anvil named "{@Repairnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Repair}"]
  531.  
  532. if {@DComprarSkills.Acrobatics} is true:
  533. format slot 25 of player with iron boots named "{@Acrobaticsnome}" with lore "{@Acrobaticstitulo}" to close then run [make player execute command "/comprarskill {@Acrobatics}"]
  534. else:
  535. format slot 25 of player with iron boots named "{@Acrobaticsnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Acrobatics}"]
  536.  
  537. format slot 0 of player with glass pane named "&eComprar Skill" to close
  538. format slot 1 of player with glass pane named "&eComprar Skill" to close
  539. format slot 2 of player with glass pane named "&eComprar Skill" to close
  540. format slot 3 of player with glass pane named "&eComprar Skill" to close
  541. format slot 4 of player with glass pane named "&eComprar Skill" to close
  542. format slot 5 of player with glass pane named "&eComprar Skill" to close
  543. format slot 6 of player with glass pane named "&eComprar Skill" to close
  544. format slot 7 of player with glass pane named "&eComprar Skill" to close
  545. format slot 8 of player with glass pane named "&eComprar Skill" to close
  546. format slot 9 of player with glass pane named "&eComprar Skill" to close
  547. format slot 17 of player with glass pane named "&eComprar Skill" to close
  548. format slot 18 of player with glass pane named "&eComprar Skill" to close
  549. format slot 26 of player with glass pane named "&eComprar Skill" to close
  550. format slot 27 of player with glass pane named "&eComprar Skill" to close
  551. format slot 28 of player with glass pane named "&eComprar Skill" to close
  552. format slot 29 of player with glass pane named "&eComprar Skill" to close
  553. format slot 30 of player with glass pane named "&eComprar Skill" to close
  554. format slot 31 of player with glass pane named "&eComprar Skill" to close
  555. format slot 32 of player with glass pane named "&eComprar Skill" to close
  556. format slot 33 of player with glass pane named "&eComprar Skill" to close
  557. format slot 34 of player with glass pane named "&eComprar Skill" to close
  558. format slot 35 of player with glass pane named "&eComprar Skill" to close
  559.  
  560. on script load:
  561. message "&3+--------------------------+" to console
  562. message " &aLigando Skript" to console
  563. message " &bSkript: &fDComprarSkills" to console
  564. message " &bVersão: &f1.0" to console
  565. message " &bAutor: &fDelavor" to console
  566. message "&3+--------------------------+" to console
  567.  
  568. on script unload:
  569. message "&3+--------------------------+" to console
  570. message " &cDesligando Skript" to console
  571. message " &bSkript: &fDComprarSkills" to console
  572. message " &bVersão: &f1.0" to console
  573. message " &bAutor: &fDelavor" to console
  574. message "&3+--------------------------+" to console
Advertisement
Add Comment
Please, Sign In to add comment