SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on join:
  2.     wait 1 tick
  3.     give chest named "&5家電ショップ" to player
  4.     if {point::%uuid of player%} is not set:
  5.         set {point::%uuid of player%} to 1
  6.         set {points::%uuid of player%} to 0
  7.         set {tensei::%uuid of player%} to 0
  8.         set {furnace::%uuid of player%} to 0
  9.         set {grandma::%uuid of player%} to 0
  10.         set {farm::%uuid of player%} to 0
  11.         set {factory::%uuid of player%} to 0
  12.         set {mine::%uuid of player%} to 0
  13.         set {miner::%uuid of player%} to 0
  14.         set {portal::%uuid of player%} to 0
  15.         set {witch::%uuid of player%} to 0
  16.         set {meteor::%uuid of player%} to 0
  17.         set {planet::%uuid of player%} to 0
  18.         set {matter::%uuid of player%} to 0
  19.     message "&a&lCookieAfker&bは_mIrAgEdayo_によって作られました。"
  20.     send "&eダウンロードしたい方はこちら &ehttps://discord.gg/SbpZx7Q"
  21.        
  22. every 1 second in "world":
  23.     loop all players:
  24.         add {point::%uuid of loop-player%} to {points::%uuid of loop-player%}
  25.         set action bar of loop-player to "&e&n所持クッキー数&a: &5&l%{points::%uuid of loop-player%}% &e&n秒間獲得クッキー数&a: &5&l%{point::%uuid of loop-player%}%"
  26.        
  27. on right click with chest:
  28.     if name of player's tool is "&5家電ショップ":
  29.         cancel event
  30.         open chest with 6 rows named "&5家電製品ショップ" to player
  31.         wait 1 tick
  32.         set slot 0 of player's current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%uuid of player%}%"
  33.         wait 5 tick
  34.         set slot 8 of player's current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%uuid of player%}%"
  35.         wait 5 tick
  36.         set slot 19 of player's current inventory to glowing furnace named "&c&l強化かまど &7値段:1000クッキー" with lore "&7通常より強化されたかまどを設置" and "&7所持数: &e%{furnace::%uuid of player%}%" and "&7秒間獲得クッキー数 +1"
  37.         wait 2 tick
  38.         set slot 21 of player's current inventory to glowing cookie named "&f&lおばあちゃん &7値段:2000クッキー" with lore "&7一番安心する味" and "&7所持数: &e%{grandma::%uuid of player%}%" and "&7秒間獲得クッキー数 +2"
  39.         wait 1 tick
  40.         set slot 23 of player's current inventory to glowing wheat named "&a&lクッキー畑 &7値段:4000クッキー" with lore "&7クッキーの種でクッキーを栽培" and "&7所持数: &e%{farm::%uuid of player%}%" and "&7秒間獲得クッキー数 +4"
  41.         wait 1 tick
  42.         set slot 25 of player's current inventory to glowing crafting table named "&e&lクッキー工場 &7値段:8000クッキー" with lore "&7最新鋭の技術を使って高速でクッキーを生産" and "&7所持数: &e%{factory::%uuid of player%}%" and "&7秒間獲得クッキー数 +8"
  43.         wait 1 tick
  44.         set slot 29 of player's current inventory to glowing wooden pickaxe named "&b&lクッキー洞窟 &7値段:16000クッキー" with lore "&7大量のクッキーが埋蔵されている洞窟" and "&7所持数: &e%{mine::%uuid of player%}%" and "&7秒間獲得クッキー数 +16"
  45.         wait 1 tick
  46.         set slot 31 of player's current inventory to glowing diamond pickaxe named "&b&lクッキー自動採掘機 &7値段:32000クッキー" with lore "&7地中のクッキーを自動で探し採掘する" and "&7所持数: &e%{miner::%uuid of player%}%" and "&7秒間獲得クッキー数 +32"
  47.         wait 1 tick
  48.         set slot 33 of player's current inventory to glowing purple stained glass pane named "&5&lクッキーポータル &7値段:64000クッキー" with lore "&7亜空間から大量のクッキーが転送される" and "&7所持数: &e%{portal::%uuid of player%}%" and "&7秒間獲得クッキー数 +64"
  49.         wait 1 tick
  50.         set slot 37 of player's current inventory to glowing brewing stand named "&5&l世界クッキー研究所 &7値段:128000クッキー" with lore "&729世紀の技術を使用してクッキー大量生産" and "&7所持数: &e%{witch::%uuid of player%}%" and "&7秒間獲得クッキー数 +128"
  51.         wait 1 tick
  52.         set slot 39 of player's current inventory to glowing obsidian named "&4&lクッキーメテオ &7値段:256000クッキー" with lore "&7巨大なメテオからクッキーを抽出" and "&7所持数: &e%{meteor::%uuid of player%}%" and "&7秒間獲得クッキー数 +256"
  53.         wait 1 tick
  54.         set slot 41 of player's current inventory to glowing grass named "&6&lクッキー星 &7値段:512000クッキー" with lore "&7全てがクッキーで出来た巨大な星で採取" and "&7所持数: &e%{planet::%uuid of player%}%" and "&7秒間獲得クッキー数 +512"
  55.         wait 1 tick
  56.         set slot 43 of player's current inventory to glowing purple dye named "&5&lクッキーマター &7値段:1024000クッキー" with lore "&7マターを使って超速度でクッキーを生成" and "&7所持数: &e%{matter::%uuid of player%}%" and "&7秒間獲得クッキー数 +1024"
  57.        
  58. on inventory click:
  59.     if name of player's current inventory contains "&5家電製品ショップ":
  60.         if clicked slot is 0:
  61.             cancel event
  62.         if clicked slot is 8:
  63.             cancel event
  64.         if clicked slot is 19:
  65.             cancel event
  66.             furnace(player)
  67.         if clicked slot is 21:
  68.             cancel event
  69.             grandma(player)
  70.         if clicked slot is 23:
  71.             cancel event
  72.             farm(player)
  73.         if clicked slot is 25:
  74.             cancel event
  75.             factory(player)
  76.         if clicked slot is 29:
  77.             cancel event
  78.             mine(player)
  79.         if clicked slot is 31:
  80.             cancel event
  81.             miner(player)
  82.         if clicked slot is 33:
  83.             cancel event
  84.             portal(player)
  85.         if clicked slot is 37:
  86.             cancel event
  87.             witch(player)
  88.         if clicked slot is 39:
  89.             cancel event
  90.             meteor(player)
  91.         if clicked slot is 41:
  92.             cancel event
  93.             planet(player)
  94.         if clicked slot is 43:
  95.             cancel event
  96.             matter(player)
  97.            
  98. function furnace(p: player):
  99.     set {_u} to uuid of {_p}
  100.     if {points::%{_u}%} >= 1000:
  101.         add 1 to {point::%{_u}%}
  102.         add 1 to {furnace::%{_u}%}
  103.         remove 1000 from {points::%{_u}%}
  104.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  105.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  106.         set slot 19 of {_p}'s current inventory to glowing furnace named "&c&l強化かまど &7値段:1000クッキー" with lore "&7通常より強化されたかまどを設置" and "&7所持数: &e%{furnace::%{_u}%}%" and "&7秒間獲得クッキー数 +1"
  107.     else:
  108.         close {_p}'s inventory
  109.         send "&cクッキーが足りません。" to {_p}
  110.    
  111. function grandma(p: player):
  112.     set {_u} to uuid of {_p}
  113.     if {points::%{_u}%} >= 2000:
  114.         add 2 to {point::%{_u}%}
  115.         add 1 to {grandma::%{_u}%}
  116.         remove 2000 from {points::%{_u}%}
  117.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  118.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  119.         set slot 21 of {_p}'s current inventory to glowing cookie named "&f&lおばあちゃん &7値段:2000クッキー" with lore "&7一番安心する味" and "&7所持数: &e%{grandma::%{_u}%}%" and "&7秒間獲得クッキー数 +2"
  120.     else:
  121.         close {_p}'s inventory
  122.         send "&cクッキーが足りません。" to {_p}
  123.    
  124. function farm(p: player):
  125.     set {_u} to uuid of {_p}
  126.     if {points::%{_u}%} >= 4000:
  127.         add 4 to {point::%{_u}%}
  128.         add 1 to {farm::%{_u}%}
  129.         remove 4000 from {points::%{_u}%}
  130.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  131.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  132.         set slot 23 of {_p}'s current inventory to glowing wheat named "&a&lクッキー畑 &7値段:4000クッキー" with lore "&7クッキーの種でクッキーを栽培" and "&7所持数: &e%{farm::%{_u}%}%" and "&7秒間獲得クッキー数 +4"
  133.     else:
  134.         close {_p}'s inventory
  135.         send "&cクッキーが足りません。" to {_p}
  136.    
  137. function factory(p: player):
  138.     set {_u} to uuid of {_p}
  139.     if {points::%{_u}%} >= 8000:
  140.         add 8 to {point::%{_u}%}
  141.         add 1 to {factory::%{_u}%}
  142.         remove 8000 from {points::%{_u}%}
  143.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  144.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  145.         set slot 25 of {_p}'s current inventory to glowing crafting table named "&e&lクッキー工場 &7値段:8000クッキー" with lore "&7最新鋭の技術を使って高速でクッキーを生産" and "&7所持数: &e%{factory::%{_u}%}%" and "&7秒間獲得クッキー数 +8"
  146.     else:
  147.         close {_p}'s inventory
  148.         send "&cクッキーが足りません。" to {_p}     
  149.    
  150. function mine(p: player):
  151.     set {_u} to uuid of {_p}
  152.     if {points::%{_u}%} >= 16000:
  153.         add 16 to {point::%{_u}%}
  154.         add 1 to {mine::%{_u}%}
  155.         remove 16000 from {points::%{_u}%}
  156.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  157.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  158.         set slot 29 of {_p}'s current inventory to glowing wooden pickaxe named "&b&lクッキー洞窟 &7値段:16000クッキー" with lore "&7大量のクッキーが埋蔵されている洞窟" and "&7所持数: &e%{mine::%{_u}%}%" and "&7秒間獲得クッキー数 +16"
  159.     else:
  160.         close {_p}'s inventory
  161.         send "&cクッキーが足りません。" to {_p}
  162.    
  163. function miner(p: player):
  164.     set {_u} to uuid of {_p}
  165.     if {points::%{_u}%} >= 32000:
  166.         add 32 to {point::%{_u}%}
  167.         add 1 to {miner::%{_u}%}
  168.         remove 32000 from {points::%{_u}%}
  169.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  170.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  171.         set slot 31 of {_p}'s current inventory to glowing diamond pickaxe named "&b&lクッキー自動採掘機 &7値段:32000クッキー" with lore "&7地中のクッキーを自動で探し採掘する" and "&7所持数: &e%{miner::%{_u}%}%" and "&7秒間獲得クッキー数 +32"
  172.     else:
  173.         close {_p}'s inventory
  174.         send "&cクッキーが足りません。" to {_p}
  175.    
  176. function portal(p: player):
  177.     set {_u} to uuid of {_p}
  178.     if {points::%{_u}%} >= 64000:
  179.         add 64 to {point::%{_u}%}
  180.         add 1 to {portal::%{_u}%}
  181.         remove 64000 from {points::%{_u}%}
  182.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  183.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  184.         set slot 33 of {_p}'s current inventory to glowing purple stained glass pane named "&5&lクッキーポータル &7値段:64000クッキー" with lore "&7亜空間から大量のクッキーが転送される" and "&7所持数: &e%{portal::%{_u}%}%" and "&7秒間獲得クッキー数 +64"
  185.     else:
  186.         close {_p}'s inventory
  187.         send "&cクッキーが足りません。" to {_p}
  188.    
  189. function witch(p: player):
  190.     set {_u} to uuid of {_p}
  191.     if {points::%{_u}%} >= 128000:
  192.         add 128 to {point::%{_u}%}
  193.         add 1 to {witch::%{_u}%}
  194.         remove 128000 from {points::%{_u}%}
  195.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  196.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  197.         set slot 37 of {_p}'s current inventory to glowing brewing stand named "&5&l世界クッキー研究所 &7値段:128000クッキー" with lore "&729世紀の技術を使用してクッキー大量生産" and "&7所持数: &e%{witch::%{_u}%}%" and "&7秒間獲得クッキー数 +128"
  198.     else:
  199.         close {_p}'s inventory
  200.         send "&cクッキーが足りません。" to {_p}
  201.    
  202. function meteor(p: player):
  203.     set {_u} to uuid of {_p}
  204.     if {points::%{_u}%} >= 256000:
  205.         add 256 to {point::%{_u}%}
  206.         add 1 to {meteor::%{_u}%}
  207.         remove 256000 from {points::%{_u}%}
  208.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  209.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  210.         set slot 39 of {_p}'s current inventory to glowing obsidian named "&4&lクッキーメテオ &7値段:256000クッキー" with lore "&7巨大なメテオからクッキーを抽出" and "&7所持数: &e%{meteor::%{_u}%}%" and "&7秒間獲得クッキー数 +256"
  211.     else:
  212.         close {_p}'s inventory
  213.         send "&cクッキーが足りません。" to {_p}
  214.    
  215. function planet(p: player):
  216.     set {_u} to uuid of {_p}
  217.     if {points::%{_u}%} >= 512000:
  218.         add 512 to {point::%{_u}%}
  219.         add 1 to {planet::%{_u}%}
  220.         remove 512000 from {points::%{_u}%}
  221.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  222.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  223.         set slot 41 of {_p}'s current inventory to glowing grass named "&6&lクッキー星 &7値段:512000クッキー" with lore "&7全てがクッキーで出来た巨大な星で採取" and "&7所持数: &e%{planet::%{_u}%}%" and "&7秒間獲得クッキー数 +512"
  224.     else:
  225.         close {_p}'s inventory
  226.         send "&cクッキーが足りません。" to {_p}
  227.    
  228. function matter(p: player):
  229.     set {_u} to uuid of {_p}
  230.     if {points::%{_u}%} >= 1024000:
  231.         add 1024 to {point::%{_u}%}
  232.         add 1 to {matter::%{_u}%}
  233.         remove 1024000 from {points::%{_u}%}
  234.         set slot 0 of {_p}'s current inventory to glowing cookie named "&aあなたの所持クッキー数: &e%{points::%{_u}%}%"
  235.         set slot 8 of {_p}'s current inventory to glowing book named "&aあなたの秒間獲得クッキー数: &e%{point::%{_u}%}%"
  236.         set slot 43 of {_p}'s current inventory to glowing purple dye named "&5&lクッキーマター &7値段:1024000クッキー" with lore "&7マターを使って超速度でクッキーを生成" and "&7所持数: &e%{matter::%{_u}%}%" and "&7秒間獲得クッキー数 +1024"
  237.     else:
  238.         close {_p}'s inventory
  239.         send "&cクッキーが足りません。" to {_p}
  240.  
  241. every seconds:
  242.     loop all players:
  243.         wipe loop-player's sidebar
  244.         set name of sidebar of loop-player to "&6&l&oCookie"
  245.         set score "&2&l&o" in sidebar of loop-player to 0
  246.         set score "&9-----&2&l&oステータス&9-----" in sidebar of loop-player to -1
  247.         set score "&e&n所持クッキー数" in sidebar of loop-player to -2
  248.         set score "&5&l%{points::%uuid of loop-player%}%" in sidebar of loop-player to -3
  249.         set score "&e&n秒間獲得クッキー数" in sidebar of loop-player to -4
  250.         set score "&5&l%{point::%uuid of loop-player%}%" in sidebar of loop-player to -5
  251.  
  252. command /cookieplus <player> <number>:
  253.     permission: mirage.skripts
  254.     trigger:
  255.         add arg-2 to {points::%uuid of arg-1%}
  256.         message "&7[&e&l❄&b&lCookieSystem&e&l❄&7] &b&l≫%arg-2%のクッキーを貰いました。"
  257.  
  258. command /cookieremove <player> <number>:
  259.     permission: mirage.skripts
  260.     trigger:
  261.         remove from arg-2 to {points::%uuid of arg-1%}
  262.         message "&7[&e&l❄&b&lCookieSystem&e&l❄&7] &b&l≫%arg-2%のクッキーを減らしました。"
  263.  
  264.         remove 128000 from {points::%{_u}%}
  265.  
  266. #PREFIX SKRIPT
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. on chat:
  276.     cancel event
  277.     if {prefix::%uuid of player%} is set:
  278.         if {suffix::%uuid of player%} is set:
  279.             broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &b≫ &a%message%"
  280.         else:
  281.             broadcast "%{prefix::%uuid of player%}%%player% &b≫ &a%message%"
  282.     else:
  283.         if {suffix::%uuid of player%} is set:
  284.             broadcast "&7%player%%{suffix::%uuid of player%}% &b≫ &a%message%"
  285.         else:
  286.             broadcast "&7%player% &b≫ &a%message%"
  287.  
  288. command /prefix [<offline player>] [<text>]:
  289.     permission: admin
  290.     permission message: あなたは権限を持っていません。
  291.     trigger:
  292.         set {prefix::%uuid of arg-1%} to colored arg-2
  293.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  294.  
  295. command /clearprefix [<offline player>]:
  296.     permission: admin
  297.     permission message: あなたは権限を持っていません。
  298.     trigger:
  299.         clear {prefix::%uuid of arg-1%}
  300.         send "&b%arg 1% の称号をリセットしました。"
  301.  
  302. command /suffix [<offline player>] [<text>]:
  303.     permission: admin
  304.     permission message: あなたは権限を持っていません。
  305.     trigger:
  306.         set {suffix::%uuid of arg-1%} to coloured arg-2
  307.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  308.  
  309. command /clearsuffix [<offline player>]:
  310.     permission: admin
  311.     permission message: あなたは権限を持っていません。
  312.     trigger:
  313.         clear {suffix::%uuid of arg-1%}
  314.         send "&b%arg 1% の称号をリセットしました。"
  315.  
  316. command /prefixhelp:
  317.     permission: skript.admin
  318.     permission message: あなたは権限を持っていません。
  319.     trigger:
  320.         send "&b&m================================="
  321.         send "&b&lPREFIX &eSKRIPT Version:0.5ii   "
  322.         send "&b&l/prefix (名前) (称号)             "
  323.         send "&b&l/clearprefix (名前)               "
  324.         send "&b&l/suffix (名前) (称号)          "
  325.         send "&b&l/clearsuffix (名前)"
  326.         send "&b&m================================="
  327.  
  328. on join:
  329.     execute console command "/tp %player% -102 4 103"
  330.  
  331. on join:
  332.     execute console command "/gamemode 2 %player%"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top