Skocz do zawartości

ECO-Cbl


epitqvist
# CSH External VIP Project

Masz dosyć problemów z czynnikiem zaufania w CS2 lub notorycznymi banami?

Sprawdź CSH External VIP Project.


Więcej informacji  

Rekomendowane odpowiedzi

Autor: Nizax

Opis: Skrypt polega na przetworzeniu 9 stacków cobblestone na "Magiczne TNT" pozbawione tej siły niszczącej otoczenie. Po podpaleniu tego TNT przy pomocy zapalniczki usuwane jest TNT i na jego miejscu wybucha petarda + wypadają losowe fanty. 

 

SCR

 

 

  1. on place flower pot:
  2.         block below event-block is workbench
  3.         set {workbench.%location of block below event-block%} to true
  4.         stop
  5. on rightclick on flower pot:
  6.         tool is air
  7.         {workbench.%location of block below event-block%} is not set:
  8.                 block below event-block is workbench
  9.                 show smoke at location of event-block
  10.                 play raw sound "mob.creeper.death" at location of event-block with pitch 1 volume 1
  11.                 stop
  12.         {cobl.clickpot.%location of event-block%} is player:
  13.                 clear {cobl.clickpot.%location of event-block%}
  14.                 stop
  15.         {cobl.clickpot.%location of event-block%} is set:
  16.                 send "&cTen utylizator jest zajety przez %{cobl.clickpot.%location of event-block%}%!"
  17.                 stop
  18.         set {cobl.clickpot.%location of event-block%} to player
  19.         block below event-block is workbench
  20.         {workbench.%location of block below event-block%} is true
  21.         set {coblA.4.%player%} to number of cobblestone in player's inventory
  22.         show "s;1;i;air" with 1 row named "&5&lUtylizator bruku" to player
  23.         set {cobl.lastplace.%player%} to false
  24.         wait 2 seconds
  25.         set {cobl.lastloc.%player%} to location of event-block
  26.         stop
  27. on every 2 seconds:
  28.         loop {event.activepots::*}:
  29.                 play ender signal at location of loop-value
  30.                 play raw sound "note.bd" at location of loop-value with pitch 1 volume 1
  31.         stop
  32. on drop:
  33.         {cobl.lastloc.%player%} is set
  34.         cancel event
  35.         stop
  36. on pickup:
  37.         {cobl.lastloc.%player%} is set
  38.         cancel event
  39.         stop
  40. on click:
  41.         {cobl.lastloc.%player%} is set
  42.         clear {cobl.clickpot.%{cobl.lastloc.%player%}%}
  43.         set {coblB.4.%player%} to number of cobblestone in player's inventory
  44.         {coblB.4.%player%} is {coblA.4.%player%}:
  45.                 set {cobl.4.dontchange.%player%} to true
  46.                 clear {cobl.lastloc.%player%}
  47.         {cobl.4.dontchange.%player%} is not set:
  48.                 remove {coblB.4.%player%} from {coblA.4.%player%}
  49.         {cobl.4.dontchange.%player%} is true:
  50.                 clear {cobl.4.dontchange.%player%}
  51.                 clear {cobl.263.dontchange.%player%}
  52.                 clear {cobl.lastloc.%player%}
  53.                 stop
  54.         {coblA.4.%player%} is bigger than 575:
  55.                 remove 576 from {coblA.4.%player%}
  56.                 add 1 tnt named "&a&oMagiczne TNT" to {cobl.inv.%{cobl.lastloc.%player%}%::*}
  57.                 add {cobl.lastloc.%player%} to {event.activepots::*}
  58.                 loop all blocks around player in radius 5:
  59.                         loop-block is workbench
  60.                         clear {workbench.%location of loop-block%}
  61.         {coblA.4.%player%} is bigger than 0:
  62.                 send "[sKRIPT] [Eco-Cobl] Przydzielanie reszty cobblestone dla gracza %player%" to console
  63.                 execute console command "give %player% cobblestone %{coblA.4.%player%}%"
  64.         set {_loc} to {cobl.lastloc.%player%}
  65.         clear {coblA.4.%player%}
  66.         clear {cobl.lastloc.%player%}
  67.         wait 15 seconds
  68.         loop all blocks around location of {_loc} in radius 3:
  69.                 loop-block is flower pot
  70.                 {cobl.inv.%location of loop-block%::*} is set
  71.         wait 15 seconds
  72.         loop all blocks around location of {_loc} in radius 3:
  73.                 loop-block is flower pot
  74.                 {cobl.inv.%location of loop-block%::*} is set
  75.                 set {cobl.utylizator.done.%{_loc}%} to true
  76.                 loop {event.activepots::*}:
  77.                         loop-value is {_loc}
  78.                         remove {_loc} from {event.activepots::*}
  79.                 play raw sound "note.hat" at location of event-block with pitch 1.5 volume 1.5
  80.                 stop
  81.         stop
  82. on any movement:
  83.         {cobl.lastloc.%player%} is set
  84.         clear {cobl.clickpot.%{cobl.lastloc.%player%}%}
  85.         set {coblB.4.%player%} to number of cobblestone in player's inventory
  86.         {coblB.4.%player%} is {coblA.4.%player%}:
  87.                 set {cobl.4.dontchange.%player%} to true
  88.                 clear {cobl.lastloc.%player%}
  89.         {cobl.4.dontchange.%player%} is not set:
  90.                 remove {coblB.4.%player%} from {coblA.4.%player%}
  91.         {cobl.4.dontchange.%player%} is true:
  92.                 clear {cobl.4.dontchange.%player%}
  93.                 clear {cobl.263.dontchange.%player%}
  94.                 clear {cobl.lastloc.%player%}
  95.                 stop
  96.         {coblA.4.%player%} is bigger than 575:
  97.                 remove 576 from {coblA.4.%player%}
  98.                 add 1 tnt named "&a&oMagiczne TNT" to {cobl.inv.%{cobl.lastloc.%player%}%::*}
  99.                 add {cobl.lastloc.%player%} to {event.activepots::*}
  100.                 loop all blocks around player in radius 5:
  101.                         loop-block is workbench
  102.                         clear {workbench.%location of loop-block%}
  103.         {coblA.4.%player%} is bigger than 0:
  104.                 send "[sKRIPT] [Eco-Cobl] Przydzielanie reszty cobblestone dla gracza %player%" to console
  105.                 execute console command "give %player% cobblestone %{coblA.4.%player%}%"
  106.         set {_loc} to {cobl.lastloc.%player%}
  107.         clear {coblA.4.%player%}
  108.         clear {cobl.lastloc.%player%}
  109.         wait 15 seconds
  110.         loop all blocks around location of {_loc} in radius 3:
  111.                 loop-block is flower pot
  112.                 {cobl.inv.%location of loop-block%::*} is set
  113.         wait 15 seconds
  114.         loop all blocks around location of {_loc} in radius 3:
  115.                 loop-block is flower pot
  116.                 {cobl.inv.%location of loop-block%::*} is set
  117.                 set {cobl.utylizator.done.%{_loc}%} to true
  118.                 loop {event.activepots::*}:
  119.                         loop-value is {_loc}
  120.                         remove {_loc} from {event.activepots::*}
  121.                 play raw sound "note.hat" at location of event-block with pitch 1.5 volume 1.5
  122.                 stop
  123.         stop
  124. on break flower pot:
  125.         {cobl.inv.%location of event-block%::*} is set
  126.         {cobl.utylizator.done.%location of event-block%} is not set:
  127.                 remove location of event-block from {event.activepots::*}
  128.                 loop {cobl.inv.%location of event-block%::*}:
  129.                         loop-value is tnt named "&a&oMagiczne TNT"
  130.                         remove loop-value from {cobl.inv.%location of event-block%::*}
  131.                         chance of 75%:
  132.                                 drop 384 cobblestone
  133.                                 play raw sound "random.fizz" at location of event-block with pitch 1 volume 1
  134.                                 send "&6Cos sie chyba spalilo... ;\"
  135.                                 stop
  136.                         chance of 50%:
  137.                                 drop 192 cobblestone
  138.                                 play raw sound "random.fizz" at location of event-block with pitch 1 volume 1
  139.                                 send "&6Cos sie chyba spalilo... ;\"
  140.                                 stop
  141.                         drop 576 cobblestone
  142.                 stop
  143.         {cobl.utylizator.done.%location of event-block%} is true
  144.         clear {cobl.utylizator.done.%location of event-block%}
  145.         clear entity
  146.         loop {cobl.inv.%location of event-block%::*}:
  147.                 drop loop-value
  148.                 remove loop-value from {cobl.inv.%location of event-block%::*}
  149.                 play raw sound "random.wood_click" at location of event-block with pitch 1 volume 1
  150.         remove location of event-block from {event.activepots::*}
  151.         clear {cobl.clickpot.%location of event-block%}
  152.         stop
  153. on tool change:
  154.         tool is tnt:
  155.                 name of tool is "&a&oMagiczne TNT"
  156.                 set {cobl.tool.%player%} to true
  157.                 stop
  158.         clear {cobl.tool.%player%}
  159.         stop
  160. on place tnt:
  161.         {cobl.tool.%player%} is true
  162.         wait 1 tick
  163.         player's tool is tnt:
  164.                 set {cobl.tnt.%location of event-block%} to true
  165.                 stop
  166.         clear {cobl.tool.%player%}
  167.         set {cobl.tnt.%location of event-block%} to true
  168.         stop
  169. on pickup tnt:
  170.         name of item is "&a&oMagiczne TNT"
  171.         set {cobl.tool.%player%} to true
  172.         stop
  173. on drop:
  174.         name of tool is "&a&oMagiczne TNT"
  175.         add 1 to {cobl.droppedtnt.%player%}
  176.         stop
  177. on pickup tnt:
  178.         {cobl.dropeedtnt.%player%} is set:
  179.                 remove 1 from {cobl.dropeedtnt.%player%}
  180.                 set name of item to "&a&oMagiczne TNT"
  181.         stop
  182. on break tnt:
  183.         {cobl.tnt.%location of event-block%} is true
  184.         clear {cobl.tnt.%location of event-block%}
  185.         player's gamemode is survival or adventure
  186.         cancel event
  187.         set event-block to air
  188.         drop tnt named "&a&oMagiczne TNT"
  189.         stop
  190. on rightclick with flint'n'steel:
  191.         targeted block is water:
  192.                 cancel event
  193.                 stop
  194.         targeted block is tnt
  195.         distance between location of player and location of targeted block is smaller than 6:
  196.                 {cobl.tnt.%location of targeted block%} is true
  197.                 clear {cobl.tnt.%location of targeted block%}
  198.                 cancel event
  199.                 set targeted block to air
  200.                 pop ball colored red at location of targeted block
  201.                 chance of 10%:
  202.                         {cobl.droptnt.%player%} is 3:
  203.                                 clear {cobl.droptnt.%player%}
  204.                                 stop
  205.                         add 1 to {cobl.droptnt.%player%}
  206.                         drop slimeball
  207.                 chance of 10%:
  208.                         {cobl.droptnt.%player%} is 3:
  209.                                 clear {cobl.droptnt.%player%}
  210.                                 stop
  211.                         add 1 to {cobl.droptnt.%player%}
  212.                         drop snow block
  213.                 chance of 10%:
  214.                         {cobl.droptnt.%player%} is 3:
  215.                                 clear {cobl.droptnt.%player%}
  216.                                 stop
  217.                         add 1 to {cobl.droptnt.%player%}
  218.                         drop bed
  219.                 chance of 10%:
  220.                         {cobl.droptnt.%player%} is 3:
  221.                                 clear {cobl.droptnt.%player%}
  222.                                 stop
  223.                         add 1 to {cobl.droptnt.%player%}
  224.                         drop gold ingot
  225.                 chance of 10%:
  226.                         {cobl.droptnt.%player%} is 3:
  227.                                 clear {cobl.droptnt.%player%}
  228.                                 stop
  229.                         add 1 to {cobl.droptnt.%player%}
  230.                         drop diamond
  231.                 chance of 10%:
  232.                         {cobl.droptnt.%player%} is 3:
  233.                                 clear {cobl.droptnt.%player%}
  234.                                 stop
  235.                         add 1 to {cobl.droptnt.%player%}
  236.                         drop iron ingot
  237.                 # ---------------------------------------------------------------- #
  238.                 chance of 25%:
  239.                         {cobl.droptnt.%player%} is 3:
  240.                                 clear {cobl.droptnt.%player%}
  241.                                 stop
  242.                         add 1 to {cobl.droptnt.%player%}
  243.                         drop ender pearl
  244.                 chance of 25%:
  245.                         {cobl.droptnt.%player%} is 3:
  246.                                 clear {cobl.droptnt.%player%}
  247.                                 stop
  248.                         add 1 to {cobl.droptnt.%player%}
  249.                         drop emerald
  250.                 chance of 25%:
  251.                         {cobl.droptnt.%player%} is 3:
  252.                                 clear {cobl.droptnt.%player%}
  253.                                 stop
  254.                         add 1 to {cobl.droptnt.%player%}
  255.                         drop pumpkin
  256.                 chance of 25%:
  257.                         {cobl.droptnt.%player%} is 3:
  258.                                 clear {cobl.droptnt.%player%}
  259.                                 stop
  260.                         add 1 to {cobl.droptnt.%player%}
  261.                         drop rotten flesh
  262.                 chance of 25%:
  263.                         {cobl.droptnt.%player%} is 3:
  264.                                 clear {cobl.droptnt.%player%}
  265.                                 stop
  266.                         add 1 to {cobl.droptnt.%player%}
  267.                         drop red mushroom
  268.                 chance of 25%:
  269.                         {cobl.droptnt.%player%} is 3:
  270.                                 clear {cobl.droptnt.%player%}
  271.                                 stop
  272.                         add 1 to {cobl.droptnt.%player%}
  273.                         drop cobweb
  274.                 chance of 25%:
  275.                         {cobl.droptnt.%player%} is 3:
  276.                                 clear {cobl.droptnt.%player%}
  277.                                 stop
  278.                         add 1 to {cobl.droptnt.%player%}
  279.                         drop glowstone
  280.                 chance of 25%:
  281.                         {cobl.droptnt.%player%} is 3:
  282.                                 clear {cobl.droptnt.%player%}
  283.                                 stop
  284.                         add 1 to {cobl.droptnt.%player%}
  285.                         drop yellow flower
  286.                 chance of 25%:
  287.                         {cobl.droptnt.%player%} is 3:
  288.                                 clear {cobl.droptnt.%player%}
  289.                                 stop
  290.                         add 1 to {cobl.droptnt.%player%}
  291.                         drop 3 snowball
  292.                 chance of 25%:
  293.                         {cobl.droptnt.%player%} is 3:
  294.                                 clear {cobl.droptnt.%player%}
  295.                                 stop
  296.                         add 1 to {cobl.droptnt.%player%}
  297.                         drop stone hoe
  298.                 chance of 25%:
  299.                         {cobl.droptnt.%player%} is 3:
  300.                                 clear {cobl.droptnt.%player%}
  301.                                 stop
  302.                         add 1 to {cobl.droptnt.%player%}
  303.                         drop red flower
  304.                 chance of 25%:
  305.                         {cobl.droptnt.%player%} is 3:
  306.                                 clear {cobl.droptnt.%player%}
  307.                                 stop
  308.                         add 1 to {cobl.droptnt.%player%}
  309.                         drop sugar
  310.                 chance of 25%:
  311.                         {cobl.droptnt.%player%} is 3:
  312.                                 clear {cobl.droptnt.%player%}
  313.                                 stop
  314.                         add 1 to {cobl.droptnt.%player%}
  315.                         drop bone
  316.                 chance of 25%:
  317.                         {cobl.droptnt.%player%} is 3:
  318.                                 clear {cobl.droptnt.%player%}
  319.                                 stop
  320.                         add 1 to {cobl.droptnt.%player%}
  321.                         drop spider eye
  322.                 chance of 25%:
  323.                         {cobl.droptnt.%player%} is 3:
  324.                                 clear {cobl.droptnt.%player%}
  325.                                 stop
  326.                         add 1 to {cobl.droptnt.%player%}
  327.                         drop brown mushroom
  328.                 # -------------------------------------------------------------------- #
  329.                 chance of 40%:
  330.                         {cobl.droptnt.%player%} is 3:
  331.                                 clear {cobl.droptnt.%player%}
  332.                                 stop
  333.                         add 1 to {cobl.droptnt.%player%}
  334.                         drop eye of ender
  335.                 chance of 40%:
  336.                         {cobl.droptnt.%player%} is 3:
  337.                                 clear {cobl.droptnt.%player%}
  338.                                 stop
  339.                         add 1 to {cobl.droptnt.%player%}
  340.                         drop sulphur
  341.                 chance of 40%:
  342.                         {cobl.droptnt.%player%} is 3:
  343.                                 clear {cobl.droptnt.%player%}
  344.                                 stop
  345.                         add 1 to {cobl.droptnt.%player%}
  346.                         drop mycelium
  347.                 chance of 40%:
  348.                         {cobl.droptnt.%player%} is 3:
  349.                                 clear {cobl.droptnt.%player%}
  350.                                 stop
  351.                         add 1 to {cobl.droptnt.%player%}
  352.                         drop leather
  353.                 chance of 40%:
  354.                         {cobl.droptnt.%player%} is 3:
  355.                                 clear {cobl.droptnt.%player%}
  356.                                 stop
  357.                         add 1 to {cobl.droptnt.%player%}
  358.                         drop apple
  359.                 chance of 40%:
  360.                         {cobl.droptnt.%player%} is 3:
  361.                                 clear {cobl.droptnt.%player%}
  362.                                 stop
  363.                         add 1 to {cobl.droptnt.%player%}
  364.                         drop arrow
  365.                 chance of 40%:
  366.                         {cobl.droptnt.%player%} is 3:
  367.                                 clear {cobl.droptnt.%player%}
  368.                                 stop
  369.                         add 1 to {cobl.droptnt.%player%}
  370.                         drop string
  371.                 chance of 5%:
  372.                         {cobl.droptnt.%player%} is 3:
  373.                                 clear {cobl.droptnt.%player%}
  374.                                 stop
  375.                         add 1 to {cobl.droptnt.%player%}
  376.                         drop nether star
  377.                 chance of 5%:
  378.                         {cobl.droptnt.%player%} is 3:
  379.                                 clear {cobl.droptnt.%player%}
  380.                                 stop
  381.                         add 1 to {cobl.droptnt.%player%}
  382.                         drop tnt named "&a&oMagiczne TNT"
  383.                 clear {cobl.droptnt.%player%}
  384.                 stop

 

 

 

Odnośnik do komentarza

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  Tagi

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę. Regulamin. Polityka prywatności