Guest User

DCParkour

a guest
Jul 30th, 2015
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.19 KB | None | 0 0
  1. # Skript : DCParkour
  2. # Versão : 1.0
  3. # Autor : Epiic/Junior
  4. # Forum Gamers Board (:
  5.  
  6. # #! ▬▬▬▬▬▬▬▬▬▬▬▬ CONFIGURAÇAO ▬▬▬▬▬▬▬▬▬▬▬▬ !# #
  7. options:
  8. # PREMIO PARA O GANHADOR DO EVENTO
  9. Premio: 10000
  10. # -> #!EFEITOS EDITAVEIS!# <- #
  11. #VELOCIDADE
  12. 1: Speed
  13. #SUPER PULO
  14. 2: Jump
  15. #LENTIDAO
  16. 3: Slow
  17. #NAUSEA
  18. 4: Confusion
  19. #SEGUEIRA
  20. 5: Blindness
  21. #PREFIX DO EVENTO
  22. P: &7&l[&3&lParkour&7&l]
  23.  
  24. #MENSAGEN DE SEM PERMIÇAO
  25. SPermi: &c&lVoce não tem permissao
  26. Permi: parkour.criar
  27.  
  28.  
  29. # @--------------------------------@ #
  30. #-#-# @¬¬@ #!CODIGO!# @¬¬@ #-#-#
  31. #-# @¬¬@ #!NAO MODIFQ!# @¬¬@ #-#
  32. # @--------------------------------@ #
  33. command /parkour [<text>]:
  34. trigger:
  35. if arg 1 is "setentrada":
  36. if player has permission "{@Permi}":
  37. set {Parkour.lobby} to player's location
  38. send "&f» &a&lEntrada setada !"
  39. stop
  40. else:
  41. send "{@P} {@SPermi}"
  42. if arg 1 is "setsaida":
  43. if player has permission "{@Permi}":
  44. set {Parkour.saida} to player's location
  45. send "&f» &c&lSaida setada !"
  46. stop
  47. else:
  48. send "{@P} {@SPermi}"
  49. if arg 1 is "setespec":
  50. if player has permission "{@Permi}":
  51. set {Parkour.espectador} to player's location
  52. send "&f» &c&lCamarote setada !"
  53. stop
  54. else:
  55. send "{@P} {@SPermi}"
  56. stop
  57. if arg 1 is "reload":
  58. if player has permission "{@Permi}":
  59. if {parkour.iniciando} is true:
  60. broadcast "{@P} &a&lRecarregando configuraçoes do Evento !"
  61. loop {Parkour.Players::*}:
  62. teleport player to {Parkour.saida}
  63. clear {Parkour.Players::*}
  64. loop {Parkour.Espectadores.Players::*}:
  65. teleport player to {Parkour.saida}
  66. clear {Parkour.Espectadores.Players::*}
  67. send "&f» &3Executando reload no skript.."
  68. make console execute command "skript reload dcparkour"
  69. send "&f» &aRecarregado com sucesso"
  70. stop
  71. else:
  72. send "&f» &cRecarregando o skript..."
  73. make console execute command "skript reload parkour"
  74. send "&f» &aRecarregado com sucesso !"
  75. stop
  76. else:
  77. send "{@P} {@SPermi}"
  78. if arg 1 is "?" or "help" or "ajuda":
  79. if player has permission "{@Permi}":
  80. send "&4×&6&l&m---------------&c&l&m/&5&l&m0&c&l&m\&6&l&m---------------&r&4×"
  81. send "&7>> &a/parkour setentrada - &fseta a entrada"
  82. send "&7>> &a/parkour setsaida - &fseta a saida"
  83. send "&7>> &a/parkour setespec - &fseta espectadores"
  84. send "&7>> &a/parkour fechar - &ffecha o evento"
  85. send "&7>> &a/parkour reload - &frecarrega sk"
  86. send "&7>> &a/parkour iniciar - &finicia o evento"
  87. send "&7>> &a/parkour - &fentra no evento "
  88. send "&4×&6&l&m---------------&c&l&m\&5&l&m0&c&l&m/&6&l&m---------------&r&4×"
  89. stop
  90. else:
  91. send "{@P} {@SPermi}"
  92. stop
  93. if arg 1 is "fechar":
  94. if player has permission "{@Permi}":
  95. if {Parkour.iniciando} is true:
  96. set {Parkour.iniciando} to false
  97. broadcast "{@P} &a&lEvento parkour cancelado por um &c&lAdmin."
  98. loop {Parkour.Players::*}:
  99. teleport player to {Parkour.saida}
  100. clear {Parkour.Players::*}
  101. loop {Parkour.Espectadores.Players::*}:
  102. teleport player to {Parkour.saida}
  103. clear {Parkour.Espectadores.Players::*}
  104. else:
  105. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  106. else:
  107. send "{@P} {@SPermi}"
  108. if arg 1 is "iniciar":
  109. if player has permission "{@Permi}":
  110. if {Parkour.iniciando} is true:
  111. send "&7[&4&l!&7] &6&lJa tem uma parkour em andamento"
  112. else:
  113. send "&a&oINICIANDO..."
  114. set {Parkour.iniciando} to true
  115. while {Parkour.iniciando} is true:
  116. broadcast "&6&l&m]------------------------------------["
  117. broadcast ""
  118. broadcast " {@P} &7&lEvento Parkour Rolando Galera !"
  119. broadcast " {@P} &7&lVamos todos participar ? rs"
  120. broadcast " {@P} &7&lDigite &c&o/parkour &7&lpara entrar"
  121. broadcast ""
  122. broadcast "&6&l&m]------------------------------------["
  123. wait 25 seconds
  124. else:
  125. send "{@P} {@SPermi}"
  126. if arg 1 is not set:
  127. if {Parkour.iniciando} is true:
  128. if player is equal to {Parkour.Espectadores.Players::*}:
  129. send "&7[&4&l!&7] &c&lVoce esta no camarote, saia para participar !"
  130. if player is equal to {Parkour.Players::*}:
  131. send "&7[&4&l!&7] &c&lVoce ja esta no evento"
  132. else:
  133. open chest with 2 rows named "&3&lMENU PARKOUR &a»[ON]«" to player
  134. format slot 0 of player with ladder named "&a&lEntrar no evento" with lore "&cClique" to close then run [make player execute command "/asdqweasd entrar"]
  135. format slot 1 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  136. format slot 2 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  137. format slot 3 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  138. format slot 4 of player with potato named "&2&lMapa do evento" with lore "&e&lCriado By: &5&lEpiic" to close then run [make player execute command "/asdqweasd entrar"]
  139. format slot 5 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  140. format slot 6 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  141. format slot 7 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  142. format slot 8 of player with redstone named "&a&lEspectar o evento" with lore "&cClique" to close then run [make player execute command "/asdqweasd espectar"]
  143. format slot 9 of player with player head named "&f>> &b&lINFORMAÇOES&f <<" with lore "&c- blocos&c -" to close
  144. format slot 11 of player with purple wool named "&6» &5&lLã Roxa" with lore "&f- &bGanha Speed" to close
  145. format slot 10 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  146. format slot 12 of player with cyan wool named "&6» &5&lLã Ciano" with lore "&f- &bGanha Jump" to close
  147. format slot 13 of player with blue wool named "&6» &5&lLã Azul" with lore "&f- &bGanha Slowness" to close
  148. format slot 14 of player with gray wool named "&6» &5&lLã Cinza" with lore "&f- &bGanha Nausea" to close
  149. format slot 15 of player with black wool named "&6» &5&lLã Preta" with lore "&f- &bGanha Blindness" to close
  150. format slot 16 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  151. format slot 17 of player with sponge named "&6» &5&lSponja" with lore "&f- &bGanha o Evento" to close
  152. else:
  153. if {Parkour.iniciando} is false:
  154. open chest with 2 rows named "&3&lMENU PARKOUR &c»[OFF]«" to player
  155. format slot 0 of player with ladder named "&a&lEntrar no evento" with lore "&cClique" to close then run [make player execute command "/asdqweasd entrar"]
  156. format slot 1 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  157. format slot 2 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  158. format slot 3 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  159. format slot 4 of player with potato named "&2&lMapa do evento" with lore "&e&lCriado By: &5&lEpiic" to close then run [make player execute command "/asdqweasd entrar"]
  160. format slot 5 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  161. format slot 6 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  162. format slot 7 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  163. format slot 8 of player with redstone named "&a&lEspectar o evento" with lore "&cClique" to close then run [make player execute command "/asdqweasd espectar"]
  164. format slot 9 of player with player head named "&f>> &b&lINFORMAÇOES&f <<" with lore "&c- blocos&c -" to close
  165. format slot 11 of player with purple wool named "&6» &5&lLã Roxa" with lore "&f- &bGanha Speed" to close
  166. format slot 10 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  167. format slot 12 of player with cyan wool named "&6» &5&lLã Ciano" with lore "&f- &bGanha Jump" to close
  168. format slot 13 of player with blue wool named "&6» &5&lLã Azul" with lore "&f- &bGanha Slowness" to close
  169. format slot 14 of player with gray wool named "&6» &5&lLã Cinza" with lore "&f- &bGanha Nausea" to close
  170. format slot 15 of player with black wool named "&6» &5&lLã Preta" with lore "&f- &bGanha Blindness" to close
  171. format slot 16 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  172. format slot 17 of player with sponge named "&6» &5&lSponja" with lore "&f- &bGanha o Evento" to close
  173.  
  174. command /camarote:
  175. trigger:
  176. if {Parkour.iniciando} is true:
  177. if player is equal to {Parkour.Espectadores.Players::*}:
  178. open chest with 1 rows named "&3&lPARKOUR ESPECTADOR" to player
  179. format slot 0 of player with ladder named "&a&lParticipar do Parkour" with lore "&cClique" to close then run [make player execute command "/asdqweasd participar"]
  180. format slot 1 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  181. format slot 2 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  182. format slot 3 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  183. format slot 4 of player with player head named "&4&l%player%" with lore "&3&lSEU PUTO LINDO &d&l<3" to close
  184. format slot 5 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  185. format slot 6 of player with magenta glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  186. format slot 7 of player with purple glass named "&6&lDynamic &3&lEventos" with lore "&c&lCriado By: &d&lEpiic" to close
  187. format slot 8 of player with redstone named "&a&lSair do camarote" with lore "&cClique" to close then run [make player execute command "/asdqweasd espec"]
  188. else:
  189. send "&7[&4&l!&7] &c&lVoce não esta no camarote."
  190. else:
  191. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  192.  
  193. # >>>> #! FOGOS DE ARTIFICIOS !# <<<< #
  194. command /asd221ddda13:
  195. trigger:
  196. deploy star firework colored blue at player with duration 3
  197. deploy ball firework colored white at player with duration 3
  198. deploy star firework colored red at player with duration 3
  199. deploy star firework colored brown at player with duration 3
  200. deploy star firework colored blue at player with duration 9
  201. deploy ball firework colored white at player with duration 9
  202. deploy star firework colored red at player with duration 9
  203. deploy ball firework colored black at player with duration 9
  204. deploy star firework colored white at player with duration 3
  205. deploy ball firework colored red at player with duration 3
  206. deploy star firework colored black at player with duration 3
  207. deploy ball firework colored gray at player with duration 3
  208. deploy star firework colored yellow at player with duration 3
  209. deploy ball firework colored green at player with duration 3
  210. deploy star firework colored magenta at player with duration 3
  211. deploy ball firework colored purple at player with duration 3
  212. deploy star firework colored cyan at player with duration 3
  213. deploy ball firework colored brown at player with duration 3
  214. deploy star firework colored blue at player with duration 4
  215. deploy ball firework colored white at player with duration 4
  216. deploy star firework colored red at player with duration 4
  217. deploy ball firework colored black at player with duration 4
  218. deploy star firework colored gray at player with duration 4
  219. deploy ball firework colored yellow at player with duration 4
  220. deploy star firework colored green at player with duration 4
  221. deploy ball firework colored yellow at player with duration 4
  222. deploy star firework colored green at player with duration 4
  223. deploy ball firework colored magenta at player with duration 4
  224. deploy star firework colored purple at player with duration 4
  225. deploy ball firework colored cyan at player with duration 4
  226. deploy star firework colored brown at player with duration 4
  227. deploy ball firework colored blue at player with duration 5
  228. deploy star firework colored white at player with duration 5
  229. deploy ball firework colored red at player with duration 5
  230. deploy star firework colored black at player with duration 5
  231. deploy ball firework colored gray at player with duration 5
  232. deploy star firework colored yellow at player with duration 5
  233. deploy ball firework colored green at player with duration 5
  234. deploy star firework colored magenta at player with duration 5
  235. deploy ball firework colored purple at player with duration 5
  236. deploy star firework colored cyan at player with duration 5
  237. deploy ball firework colored brown at player with duration 5
  238. deploy ball firework colored blue at player with duration 6
  239. deploy star firework colored white at player with duration 6
  240. deploy star firework colored red at player with duration 7
  241. deploy ball firework colored black at player with duration 7
  242. deploy star firework colored gray at player with duration 7
  243. deploy ball firework colored yellow at player with duration 7
  244. deploy star firework colored green at player with duration 7
  245. deploy star firework colored yellow at player with duration 8
  246. deploy ball firework colored green at player with duration 8
  247. deploy star firework colored magenta at player with duration 8
  248. deploy ball firework colored purple at player with duration 8
  249. deploy star firework colored cyan at player with duration 8
  250. deploy ball firework colored brown at player with duration 8
  251.  
  252. # #!COMANDOS EXECULTADO PELO CHEST/MENU GUI DO PARKOUR!# #
  253. # #!NAO MUDA ESSA PORRA SE NAO SABE SEU LINDU OBDIENTI!# #
  254. command /asdqweasd [<text>]:
  255. trigger:
  256. if arg 1 is "entrar":
  257. if {Parkour.iniciando} is true:
  258. if player is equal to {Parkour.Players::*}:
  259. send "&7[&4&l!&7] &c&lVoce ja esta no evento."
  260. else:
  261. send "{@P} &a&lAguarde &c3 &a&lsegundos."
  262. wait 3 second
  263. teleport player to {Parkour.lobby}
  264. send "{@P} &a» &3Entrou no evento."
  265. add player's name to {Parkour.Players::*}
  266. stop
  267. else:
  268. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  269. if arg 1 is "espectar":
  270. if {Parkour.iniciando} is true:
  271. if player is equal to {Parkour.Espectadores.Players::*}:
  272. send "&7[&4&l!&7] &c&lVoce ja esta no camarote."
  273. else:
  274. send "{@P} a&lAguarde &c3 &a&lsegundos."
  275. wait 3 second
  276. teleport player to {Parkour.espectador}
  277. send "{@P} &a» &3Entrou no camarote."
  278. add player's name to {Parkour.Espectadores.Players::*}
  279. stop
  280. else:
  281. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  282. if arg 1 is "espec":
  283. if {Parkour.iniciando} is true:
  284. if player is equal to {Parkour.Espectadores.Players::*}:
  285. send "{@P} &a&lAguarde &c3 &a&lsegundos."
  286. wait 3 second
  287. teleport player to {Parkour.saida}
  288. send "{@P} &a» &3Saio do camarote."
  289. remove player from {Parkour.Espectadores.Players::*}
  290. else:
  291. send "&7[&4&l!&7] &c&lVoce não esta no camarote."
  292. else:
  293. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  294. if arg 1 is "participar":
  295. if {Parkour.iniciando} is true:
  296. if player is equal to {Parkour.Espectadores.Players::*}:
  297. send "{@P} &a&lAguarde &c3 &a&lsegundos."
  298. wait 3 second
  299. teleport player to {Parkour.lobby}
  300. send "{@P} &a» &3Entrou no evento."
  301. wait 1 tick
  302. remove player from {Parkour.Espectadores.Players::*}
  303. add player's name to {Parkour.Players::*}
  304. stop
  305. else:
  306. send "&7[&4&l!&7] &c&lVoce não esta no camarote."
  307. else:
  308. send "&7[&4&l!&7] &6&lNenhum parkour em andamento."
  309.  
  310.  
  311. # #!VARIAVEIS NAO MODIFIQUE!# #
  312. variables:
  313. {Parkour.iniciando} = false
  314.  
  315. # #!BLOCO PARA GANHAR O EVENTO!# #
  316. on walk on a Sponge:
  317. if {Parkour.iniciando} is true:
  318. loop {Parkour.Players::*}:
  319. teleport all players to {Parkour.saida}
  320. clear {Parkour.Players::*}
  321. loop {Parkour.Espectadores.Players::*}:
  322. teleport all players to {Parkour.saida}
  323. clear {Parkour.Espectadores.Players::*}
  324. set {Parkour.iniciando} to false
  325. make console execute command "effect %player% clear"
  326. make player execute command "/asd221ddda13"
  327. send "&7&l[&4&l!&7&l] &3&lEfeitos Limpos , parabêns pela vitoria !" to player
  328. wait 2 second
  329. broadcast "{@P} &6&l%player% &a&lGanhou ! e recebeu {@Premio} reais."
  330. broadcast "{@P} &c&lEvento Fechado !"
  331. add {@Premio} to player's account
  332. stop
  333.  
  334. # #!BLOCO PARA RETIRAR OS EFFETOS @__@
  335. # #!AGUA!
  336. on walk on Water:
  337. if {Parkour.iniciando} is true:
  338. loop {Parkour.Players::*}:
  339. make console execute command "effect %player% clear"
  340. stop
  341.  
  342. # #!BLOCO PARA GANHAR O JUMP FINAL @__@
  343. # #!SOUL SAND !
  344. on walk on a Soul sand:
  345. if {Parkour.iniciando} is true:
  346. loop {Parkour.Players::*}:
  347. make console execute command "effect %player% {@2} 10 8"
  348. stop
  349.  
  350. # #!BLOCO PARA GANHAR O SPEED @__@
  351. # #!LÃ LILAS !
  352. on walk on a purple wool:
  353. if {Parkour.iniciando} is true:
  354. loop {Parkour.Players::*}:
  355. make console execute command "effect %player% {@1} 10 1"
  356. stop
  357.  
  358. # #!BLOCO PARA GANHAR O JUMP @__@
  359. # #!LÃ CIANO !
  360. on walk on a cyan wool:
  361. if {Parkour.iniciando} is true:
  362. loop {Parkour.Players::*}:
  363. make console execute command "effect %player% {@2} 15 4"
  364. stop
  365.  
  366. # #!BLOCO PARA GANHAR O SLOW @__@
  367. # #!LÃ AZUL !
  368. on walk on a blue wool:
  369. if {Parkour.iniciando} is true:
  370. loop {Parkour.Players::*}:
  371. make console execute command "effect %player% {@3} 15 4"
  372. stop
  373.  
  374. # #!BLOCO PARA GANHAR O NAUSEA @__@
  375. # #!LÃ CINZA !
  376. on walk on a gray wool:
  377. if {Parkour.iniciando} is true:
  378. loop {Parkour.Players::*}:
  379. make console execute command "effect %player% {@4} 20 1"
  380. stop
  381.  
  382. # #!BLOCO PARA GANHAR O BLINDNESS @__@
  383. # #!LÃ PRETA !
  384. on walk on a black wool:
  385. if {Parkour.iniciando} is true:
  386. loop {Parkour.Players::*}:
  387. make console execute command "effect %player% {@5} 10 4"
  388. stop
  389.  
  390. on quit:
  391. if {Parkour.iniciando} is true:
  392. loop {Parkour.Players::*}:
  393. remove player from {Parkour.Players::*}
  394. loop {Parkour.Espectadores.Players::*}:
  395. remove player from {Parkour.Espectadores.Players::*}
  396. on join:
  397. if player is equal to {Parkour.Espectadores.Players::*}:
  398. remove player from {Parkour.Espectadores.Players::*}
  399. teleport player to {Parkour.saida}
  400. if player is equal to {Parkour.Players::*}:
  401. remove player from {Parkour.Players::*}
  402. teleport player to {Parkour.saida}
  403.  
  404.  
  405. on sign change:
  406. if line 4 is "parkour":
  407. if player has permission "parkour.sign":
  408. set line 1 to "&b------✖------"
  409. set line 2 to "&3&lParkour"
  410. set line 3 to "&a&lEntrar"
  411. set line 4 to "&b------✖------"
  412. else:
  413. send "{@P} &cVoce não pode criar essa placa de evento."
  414.  
  415. on rightclick on sign:
  416. if line 3 is "&a&lEntrar":
  417. if {Parkour.iniciando} is true:
  418. if player is equal to {Parkour.Players::*}:
  419. send "&7[&4&l!&7] &c&lVoce ja esta no evento."
  420. else:
  421. send "{@P} &a&lAguarde &c3 &a&lsegundos."
  422. wait 3 second
  423. teleport player to {Parkour.lobby}
  424. send "{@P} &a» &3Entrou no evento."
  425. add player's name to {Parkour.Players::*}
  426. stop
  427.  
  428. on script load:
  429. send "&e&l]---------&bSkript&e---------[" to console
  430. send " &3Dyn Parkour + Effeitos" to console
  431. send " &3Criado por &dJunior" to console
  432. send " &3Versao: 1.0" to console
  433. send "&e&l]------------------------[" to console
  434. clear {Parkour.Players::*}
  435. clear {Parkour.Espectadores.Players::*}
  436. set {Parkour.iniciando} to false
  437.  
  438.  
  439. #- @CREDITOS -#
  440. command /parkourr:
  441. trigger:
  442. send "&6&l&m|---------------------------|"
  443. send " &c&lDesenvolvido por Junior/Epiic"
  444. send " &c&lSkype : &c&obladxbr-junior"
  445. send "&6&l&m|---------------------------|"
Advertisement
Add Comment
Please, Sign In to add comment