SHARE
TWEET

Untitled

a guest Mar 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Options:
  2. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  3. #LostOfStories - skript
  4. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  5. #Made by CREAMPAN0408(もはや製作者が俺と言っていいほど書き換えた)
  6. #version: 0.9
  7. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  8.  
  9. #Log and Permission
  10.     perm: LostOfStories.admin
  11.  
  12. #Prefix
  13.     system: &9≫
  14.     rank: &9[&cRank&aChanger&9]
  15.  
  16. #TAB
  17.     tab_top: %nl%&9- &8&lLost&2Of&6Stories &9-%nl%
  18.     tab_under: %nl%&6%number of all players%&8/&950%nl%&ePing&9: &a%ping of player%%nl%
  19.    
  20. #Death Message
  21.     pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
  22.     notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
  23.     pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
  24.     nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
  25.     otherdeathmessage: &8[&4Death&8] &c%victim%
  26. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  27.     maxlvl: 500
  28. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  29. variables:
  30.     {lvl::%player%} = 0
  31.     {xp::%player%} = 0
  32.     {sp::%player%} = 0
  33.     {str::%player%} = 0
  34.     {def::%player%} = 0
  35.     {spd::%player%} = 0
  36.     {up::%player%} = 130
  37.  #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  38. every 2 second:
  39.     loop all players:
  40.         send action bar "&2[ &6Level&9: &a%{lvl::%loop-player%}% &8&l&2]" to loop-player
  41.         wipe loop-player's sidebar
  42.         set name of sidebar of loop-player to "&9- &cLost&2Of&6Stories &9-"
  43.         set score "&8- &3&l&oステータス &8-" in sidebar of loop-player to 15
  44.         set score "&a" in sidebar of loop-player to 14
  45.         set score "&6&lLV&9: &a%{lvl::%loop-player%}%&8" in sidebar of loop-player to 13
  46.         set score "&5&lSP&9: &a%{sp::%loop-player%}%" in sidebar of loop-player to 12
  47.         set score "&2" in sidebar of loop-player to 11
  48.         set score "&cRANK&9: %{prefix::%uuid of loop-player%}%" in sidebar of loop-player to 10
  49.         set score "&9" in sidebar of loop-player to 9
  50.         set score "&8- &2&l&oニュース &8-" in sidebar of loop-player to 8
  51.         set score "&e製作中です(´・ω・`)" in sidebar of loop-player to 7
  52.         set score "&e何にも無いんです" in sidebar of loop-player to 6
  53.         set score "&e勘弁してください" in sidebar of loop-player to 5
  54.  
  55. On any movement:
  56.     if {prefix::%uuid of player%} is set:
  57.         if {suffix::%uuid of player%} is set:
  58.             set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
  59.             set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
  60.             stop
  61.         else:
  62.             set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
  63.             set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
  64.             stop
  65.     else:
  66.         if {suffix::%uuid of player%} is set:
  67.             set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
  68.             set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
  69.             stop
  70.         else:
  71.             set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
  72.             set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
  73.             stop
  74. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  75. on level change:
  76.     set {_nowlevels} to "%{lvl::%player%}%"
  77.     set {_nowsp} to "%{sp::%player%}%"
  78.     add 1 to {lvl::%player%}
  79.     add 1 to {sp::%player%}
  80.     add 130 to {up::%player%}
  81.     set {xp::%player%} to 0
  82.     message "{@system} &a&lレベルアップ"
  83. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  84. On inventory click:
  85.     if name of player's current inventory contains "&6%{nowinv::%player%}%&aのステータス":
  86.         if clicked slot is 0:
  87.             cancel event
  88.         if clicked slot is 1:
  89.             cancel event
  90.         if clicked slot is 2:
  91.             cancel event
  92.         if clicked slot is 3:
  93.             cancel event
  94.         if clicked slot is 4:
  95.             cancel event
  96.             execute player command "statuspoint"
  97.         if clicked slot is 5:
  98.             cancel event
  99.         if clicked slot is 6:
  100.             cancel event
  101.         if clicked slot is 7:
  102.             cancel event
  103.         if clicked slot is 8:
  104.             cancel event
  105.         if clicked slot is 9:
  106.             cancel event
  107.         if clicked slot is 10:
  108.             cancel event
  109.         if clicked slot is 11:
  110.             cancel event
  111.         if clicked slot is 12:
  112.             cancel event
  113.         if clicked slot is 13:
  114.             cancel event
  115.         if clicked slot is 14:
  116.             cancel event
  117.         if clicked slot is 15:
  118.             cancel event
  119.         if clicked slot is 16:
  120.             cancel event
  121.         if clicked slot is 17:
  122.             cancel event
  123.         if clicked slot is 18:
  124.             cancel event
  125.         if clicked slot is 19:
  126.             cancel event
  127.         if clicked slot is 20:
  128.             cancel event
  129.         if clicked slot is 21:
  130.             cancel event
  131.         if clicked slot is 22:
  132.             cancel event
  133.         if clicked slot is 23:
  134.             cancel event
  135.         if clicked slot is 24:
  136.             cancel event
  137.         if clicked slot is 25:
  138.             cancel event
  139.         if clicked slot is 26:
  140.             cancel event
  141.         if clicked slot is 27:
  142.             cancel event
  143.     if name of player's current inventory contains "&aステータスの&7&l振り分け":
  144.         if clicked slot is 0:
  145.             cancel event
  146.         if clicked slot is 1:
  147.             cancel event
  148.         if clicked slot is 2:
  149.             cancel event
  150.         if clicked slot is 3:
  151.             cancel event
  152.         if clicked slot is 4:
  153.             cancel event
  154.         if clicked slot is 5:
  155.             cancel event
  156.         if clicked slot is 6:
  157.             cancel event
  158.         if clicked slot is 7:
  159.             cancel event
  160.         if clicked slot is 8:
  161.             cancel event
  162.         if clicked slot is 9:
  163.             cancel event
  164.         if clicked slot is 10:
  165.             cancel event
  166.             if {sp::%player%} is less than or equal to 0:
  167.                 message "{@system} &5SP&aがありません。" to player
  168.                 stop
  169.             add 1 to {str::%player%}
  170.             remove 1 from {sp::%player%}
  171.             message "{@system} &cPower&aを上げました。" to player
  172.             stop
  173.         if clicked slot is 11:
  174.             cancel event
  175.             if {sp::%player%} is less than or equal to 0:
  176.                 message "{@system} &5SP&aがありません。" to player
  177.                 stop
  178.             add 1 to {def::%player%}
  179.             remove 1 from {sp::%player%}
  180.             message "{@system} &9Defence&aを上げました。" to player
  181.             stop          
  182.         if clicked slot is 12:
  183.             cancel event
  184.             if {sp::%player%} is less than or equal to 0:
  185.                 message "{@system} &5SP&aがありません。" to player
  186.                 stop
  187.             add 1 to {spd::%player%}
  188.             remove 1 from {sp::%player%}
  189.             message "{@system} &bSpeed&aを上げました。" to player
  190.             stop          
  191.         if clicked slot is 13:
  192.             cancel event
  193.         if clicked slot is 14:
  194.             cancel event
  195.         if clicked slot is 15:
  196.             cancel event
  197.         if clicked slot is 16:
  198.             cancel event
  199.         if clicked slot is 17:
  200.             cancel event
  201.         if clicked slot is 18:
  202.             cancel event
  203.         if clicked slot is 19:
  204.             cancel event
  205.         if clicked slot is 20:
  206.             cancel event
  207.         if clicked slot is 21:
  208.             cancel event
  209.         if clicked slot is 22:
  210.             cancel event
  211.             execute player command "status"
  212.         if clicked slot is 23:
  213.             cancel event
  214.         if clicked slot is 24:
  215.             cancel event
  216.         if clicked slot is 25:
  217.             cancel event
  218.         if clicked slot is 26:
  219.             cancel event
  220.         if clicked slot is 27:
  221.             cancel event      
  222. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  223. Command /statuspoint:
  224.     trigger:
  225.         open chest with 3 row named "&aステータスの&7&l振り分け" to player
  226.         wait 1 tick
  227.         set {_slot} to 0
  228.         set {_atk} to {str::%player%}
  229.         set {_def} to {def::%player%}
  230.         set {_spd} to {spd::%player%}
  231.         set {_sp} to {sp::%player%}
  232.         loop 27 times:
  233.             set slot {_slot} of player's current inventory to glowing blue stained glass pane named "&f"
  234.             add 1 to {_slot}
  235.         wait 1 tick
  236.         set slot 10 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{_atk}%&8]"
  237.         wait 1 tick
  238.         set slot 11 of player's current inventory to glowing blue dye named "&9Defence" with lore "&8[&a%{_def}%&8]"
  239.         wait 1 tick
  240.         set slot 12 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{_spd}%&8]"
  241.         wait 1 tick
  242.         set slot 13 of player's current inventory to air
  243.         wait 1 tick
  244.         set slot 14 of player's current inventory to air
  245.         wait 1 tick
  246.         set slot 15 of player's current inventory to air
  247.         wait 1 tick
  248.         set slot 16 of player's current inventory to glowing book named "&5SP" with lore "&8[&a%{_sp}%&8]"
  249.         wait 1 tick
  250.         set slot 22 of player's current inventory to glowing pink stained glass pane named "&aステータス"
  251. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  252. Command /status [<player>]:
  253.     trigger:
  254.         if arg-1 is set:
  255.             open chest with 3 row named "&6%arg-1%&aのステータス" to player
  256.             wait 1 tick
  257.             set {nowinv::%player%} to arg-1
  258.             set {_slot} to 0
  259.             set {_lvl} to {lvl::%arg-1%}
  260.             set {_up} to {up::%arg-1%}
  261.             set {_sp} to {sp::%arg-1%}
  262.             set {_atk} to {str::%arg-1%}
  263.             set {_def} to {def::%arg-1%}
  264.             set {_spd} to {spd::%arg-1%}
  265.             set {_rank} to {prefix::%uuid of arg-1%}
  266.             loop 27 times:
  267.                 set slot {_slot} of player's current inventory to glowing black stained glass pane named "&f"
  268.                 add 1 to {_slot}
  269.             wait 1 tick
  270.             set slot 10 of player's current inventory to glowing diamond named "&6Level" with lore "&8[&a%{_lvl}%&8]"
  271.             wait 1 tick
  272.             set slot 11 of player's current inventory to glowing slimeball named "&5SP" with lore "&8[&a%{_sp}%&8]"
  273.             wait 1 tick
  274.             set slot 12 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{_atk}%&8]"
  275.             wait 1 tick
  276.             set slot 13 of player's current inventory to glowing blue dye named "&9defense" with lore "&8[&a%{_def}%&8]"
  277.             wait 1 tick
  278.             set slot 14 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{_spd}%&8]"
  279.             wait 1 tick
  280.             set slot 15 of player's current inventory to glowing book named "&eRank" with lore "%{_rank}%"
  281.         if arg-1 isn't set:
  282.             open chest with 3 row named "&6%player%&aのステータス" to player
  283.             wait 1 tick
  284.             set {nowinv::%player%} to player
  285.             set {_slot} to 0
  286.             loop 27 times:
  287.                 set slot {_slot} of player's current inventory to glowing black stained glass pane named "&f"
  288.                 add 1 to {_slot}
  289.             wait 1 tick
  290.             set slot 4 of player's current inventory to glowing red stained glass pane named "&aステータスの&7&l振り分け"
  291.             wait 1 tick
  292.             set slot 10 of player's current inventory to glowing diamond named "&6Level" with lore "&8[&a%{lvl::%player%}%&8]"
  293.             wait 1 tick
  294.             set slot 11 of player's current inventory to glowing slimeball named "&5SP" with lore "&8[&a%{sp::%player%}%&8]"
  295.             wait 1 tick
  296.             set slot 12 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{str::%player%}%&8]"
  297.             wait 1 tick
  298.             set slot 13 of player's current inventory to glowing blue dye named "&9defense" with lore "&8[&a%{def::%player%}%&8]"
  299.             wait 1 tick
  300.             set slot 14 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{spd::%player%}%&8]"
  301.             wait 1 tick
  302.             set slot 15 of player's current inventory to glowing book named "&eRank" with lore "%{prefix::%uuid of player%}%"
  303.             stop
  304. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  305. Command /statusreset [<player>]:
  306.     permission: {@perm}
  307.     trigger:
  308.         if arg-1 isn't set:
  309.             message "{@system} &6名前&aをいれてください。" to player
  310.             stop
  311.         if level of player is more than 0:
  312.             reduce level progress of player by 10000
  313.             message "{@system} &6%arg-1%&aのステータスをリセットしました。" to player
  314.             set {lvl::%arg-1%} to 0
  315.             set {up::%arg-1%} to 130
  316.             set {sp::%arg-1%} to 0
  317.             set {str::%arg-1%} to 0
  318.             set {def::%arg-1%} to 0
  319.             set {spd::%arg-1%} to 0
  320.             command "effect %arg-1% clear"
  321.             stop
  322. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  323. command /rank [<text>] [<player>] [<text>]:
  324.     permission: {@perm}
  325.     trigger:
  326.         if arg-1 is "help":
  327.             send "&8----------------------------------"
  328.             send "              {@rank}               "
  329.             send "&a"
  330.             send "&c/rank &aprefix &6%player% &9(rank)"
  331.             send "&7- &9Prefix&aを設定します。"
  332.             send "&c/rank &asuffix &6%player% &9(rank)"
  333.             send "&7- &9Suffix&aを設定します。"
  334.             send "&c/rank &aclear &6%player% &9prefix/suffix/all"
  335.             send "&7- &9RANKを消します &a(allはprefixsuffixどっちも消します)"
  336.             send "&8----------------------------------"
  337.             stop
  338.         if arg-1 is "prefix":
  339.             if arg-2 is set:
  340.                 if arg-3 is set:
  341.                     set {prefix::%uuid of arg-2%} to colored arg-3
  342.                     message "{@system} &6%arg-2%&aの&9Prefix&aを%colored arg-3%&aに設定しました。" to player
  343.                     stop
  344.                 else:
  345.                     message "{@system} &9prefix&aを書いてください。" to player
  346.                     stop
  347.             else:
  348.                 message "{@system} &6名前を入れてください。" to player
  349.                 stop
  350.         if arg-1 is "suffix":
  351.             if arg-2 is set:
  352.                 if arg-3 is set:
  353.                     set {suffix::%uuid of arg-2%} to colored arg-3
  354.                     message "{@system} &6%arg-2%&aの&9Suffix&aを%colored arg-3%&aに設定しました。" to player
  355.                     stop
  356.                 else:
  357.                     message "{@system} &9Suffix&aを書いてください。" to player
  358.                     stop
  359.             else:
  360.                 message "{@rank} &6名前をいれてください。" to player
  361.                 stop
  362.         if arg-1 is "clear":
  363.             if arg-2 is set:
  364.                 if arg-3 is "prefix":
  365.                     clear {prefix::%uuid of arg-2%}
  366.                     message "{@system} &6%arg-2%&aの&9Prefix&aを消しました" to player
  367.                     stop
  368.                 if arg-3 is "suffix":
  369.                     clear {suffix::%uuid of arg-2%}
  370.                     message "{@system} &6%arg-2%&aの&9Suffix&aを消しました。" to player
  371.                     stop
  372.                 if arg-3 is "all":
  373.                     clear {prefix::%uuid of arg-2%}
  374.                     clear {suffix::%uuid of arg-2%}
  375.                     message "{@system} &6%arg-2%&aの&9Prefix&aと&9Suffix&aを消しました。" to player
  376.                     stop
  377.                 else:
  378.                     message "{@system} &6なにを&a消すか決めてください。" to player
  379.                     stop
  380.             else:
  381.                 message "{@system} &&名前をいれてください。" to player
  382.                 stop
  383.         else:
  384.             message "{@system} &6/rank help" to player
  385.             stop
  386. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  387. on any movement:
  388.     if {str::%player%} is greater or equal to 1:
  389.         apply strength 1 to the player for 10 seconds
  390.            
  391. on any movement:
  392.     if {str::%player%} is greater or equal to 20:
  393.         apply strength 2 to the player for 10 seconds
  394.  
  395. on any movement:
  396.     if {str::%player%} is greater or equal to 50:
  397.         apply strength 3 to the player for 10 seconds
  398.  
  399. on any movement:
  400.     if {str::%player%} is greater or equal to 100:
  401.         apply strength 4 to the player for 10 seconds
  402.  
  403. #Defense
  404.  
  405. on any movement:
  406.     if {def::%player%} is greater or equal to 1:
  407.         apply resistance 1 to the player for 10 seconds
  408.  
  409. on any movement:
  410.     if {def::%player%} is greater or equal to 20:
  411.         apply resistance 2 to the player for 10 seconds
  412.  
  413. on any movement:
  414.     if {def::%player%} is greater or equal to 50:
  415.         apply resistance 3 to the player for 10 seconds
  416.  
  417. on any movement:
  418.     if {def::%player%} is greater or equal to 100:
  419.         apply resistance 4 to the player for 10 seconds
  420.  
  421. #speed
  422. on any movement:
  423.     if {spd::%player%} is greater or equal to 1:
  424.         apply speed 1 to the player for 10 seconds
  425.  
  426. on any movement:
  427.     if {spd::%player%} is greater or equal to 100:
  428.         apply speed 2 to the player for 10 seconds
  429. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  430. On death of player:
  431.     attacker is a player:
  432.         if name of attacker's tool is set:
  433.             set the death message to "{@pvpdeathmessage}"
  434.         else:
  435.             set the death message to "{@notooldeathmessage}"
  436.         stop
  437.     attacker is an entity:
  438.         if attacker's name is set:
  439.             set the death message to "{@pvedeathmessage}"
  440.         else:
  441.             set the death message to "{@nonamepvedeathmessage}"
  442.         stop
  443.     set the death message to "{@otherdeathmessage}"
  444. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  445. command /close:
  446.     permission: skript.admin
  447.     trigger:
  448.         command "/whitelist on"
  449.         loop all players:
  450.             loop-player is not an op
  451.             kick the loop-player due to "this server is not open to pulic"
  452.         message "this server is not open to public now"
  453. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  454. command /c:
  455.     permission: {@perm}
  456.     trigger:
  457.         give command block to player
  458. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  459. on death:
  460.     wait 3 tick
  461.     if player has the permission "{@perm}":
  462.         force respawn player
  463. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
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