Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {bs.%player%.strength} = 0 #筋力
- {bs.%player%.intellect} = 0 #知力
- {bs.%player%.spell} = 0 #魔力
- {bs.%player%.dexterity} = 0 #器用さ
- {bs.%player%.bravery} = 0 #勇気
- {bs.%player%} = 0
- on first join:
- set {bs.%player%} to 0
- On SkillAPI level up:
- add 1 to {bs.%player%}
- command /bpskill [<text>] [<text>] [<text>]:
- trigger:
- if arg-1 is "bp":
- if arg-2 is not set:
- if arg-3 is not set:
- open chest with 1 rows named "&a残り&cBP &7: &e%{bs.%player%}%" to player
- Format slot 0 of player with iron sword named "&c筋力" with lore "&6Click!!" to run [execute player command "bpskill up 筋力"]
- Format slot 1 of player with iron sword named "&c知力" with lore "&6Click!!" to run [execute player command "bpskill up 知力"]
- Format slot 2 of player with iron sword named "&c魔力" with lore "&6Click!!" to run [execute player command "bpskill up 魔力"]
- Format slot 3 of player with iron sword named "&c器用さ" with lore "&6Click!!" to run [execute player command "bpskill up 器用さ"]
- Format slot 4 of player with iron sword named "&c勇気" with lore "&6Click!!" to run [execute player command "bpskill up 勇気"]
- if arg-1 is "up":
- if arg-3 is not set:
- if {bs.%player%} is more than 1:
- if arg-2 is "筋力":
- add 1 to {bs.%player%.strength}
- remove 1 from {bs.%player%}
- send "BPを筋力に振りました" to player
- if arg-2 is "知力":
- add 1 to {bs.%player%.intellect}
- remove 1 from {bs.%player%}
- send "BPを知力に振りました" to player
- if arg-2 is "魔力":
- add 1 to {bs.%player%.spell}
- remove 1 from {bs.%player%}
- send "BPを魔力に振りました" to player
- if arg-2 is "器用さ":
- add 1 to {bs.%player%.dexterity}
- remove 1 from {bs.%player%}
- send "BPを器用さに振りました" to player
- if arg-2 is "勇気":
- add 1 to {bs.%player%.bravery}
- remove 1 from {bs.%player%}
- send "BPを勇気に振りました" to player
- if {bs.%player%} is 0:
- send "&cBPが足りません!"
- if arg-1 is "reset":
- if arg-2 is not set:
- if arg-3 is not set:
- add {bs.%player%.strength} to {bs.%player%}
- add {bs.%player%.intellect} to {bs.%player%}
- add {bs.%player%.spell} to {bs.%player%}
- add {bs.%player%.dexterity} to {bs.%player%}
- add {bs.%player%.bravery} to {bs.%player%}
- set {bs.%player%.strength} to 0
- set {bs.%player%.intellect} to 0
- set {bs.%player%.spell} to 0
- set {bs.%player%.dexterity} to 0
- set {bs.%player%.bravery} to 0
- if arg-1 is "stats":
- if arg-2 is not set:
- if arg-3 is not set:
- send "&a---------------[ &cBP &a]---------------" to player
- send "&c筋力 &7: &e%{bs.%player%.strength}%" to player
- send "&f知力 &7: &e%{bs.%player%.intellect}%" to player
- send "&d魔力 &7: &e%{bs.%player%.spell}%" to player
- send "&a器用さ &7: &e%{bs.%player%.dexterity}%" to player
- send "&6勇気 &7: &e%{bs.%player%.bravery}%" to player
- send "&a---------------[ &cBP &a]---------------" to player
- if arg-1 is "add":
- if arg-2 is player:
- if arg-3 is number:
- if player has permission "skript.bp.add":
- add arg-3 to {bs.%arg 2%}
- if arg-1 is "remove":
- if arg-2 is player:
- if arg-3 is number:
- if player has permission "skript.bp.remove":
- remove arg-3 from {bs.%arg 2%}
- command /menuskill [<text>]:
- trigger:
- if arg 1 is "meiji":
- open chest with 3 rows named "&aMeijiSkill" to player
- Format slot 0 of player with {skill1.%player%} named "%{skill1n.%player%}%" with lore "" to close
- Format slot 9 of player with iron sword named "&cSkill1" with lore "&7Skill1" to close
- Format slot 18 of player with {skill1.%player%} named "%{skill1n.%player%}%" with lore "" to close
- Format slot 1 of player with {skill2.%player%} named "%{skill2n.%player%}%" with lore "" to close
- Format slot 10 of player with iron sword named "&cSkill2" with lore "&7Skill2" to close
- Format slot 19 of player with {skill2.%player%} named "%{skill2n.%player%}%" with lore "" to close
- Format slot 2 of player with {skill3.%player%} named "%{skill3n.%player%}%" with lore "" to close
- Format slot 11 of player with iron sword named "&cSkill3" with lore "&7Skill3" to close
- Format slot 20 of player with {skill3.%player%} named "%{skill3n.%player%}%" with lore "" to close
- Format slot 3 of player with {skill4.%player%} named "%{skill4n.%player%}%" with lore "" to close
- Format slot 12 of player with iron sword named "&cSkill4" with lore "&7Skill4" to close
- Format slot 21 of player with {skill4.%player%} named "%{skill4n.%player%}%" with lore "" to close
- Format slot 4 of player with {skill5.%player%} named "%{skill5n.%player%}%" with lore "" to close
- Format slot 13 of player with iron sword named "&cSkill5" with lore "&7Skill5" to close
- Format slot 22 of player with {skill5.%player%} named "%{skill5n.%player%}%" with lore "" to close
- Format slot 5 of player with {skill6.%player%} named "%{skill6n.%player%}%" with lore "" to close
- Format slot 14 of player with iron sword named "&cSkill6" with lore "&7Skill6" to close
- Format slot 23 of player with {skill6.%player%} named "%{skill6n.%player%}%" with lore "" to close
- Format slot 6 of player with {skill7.%player%} named "%{skill7n.%player%}%" with lore "" to close
- Format slot 15 of player with iron sword named "&cSkill7" with lore "&7Skill7" to close
- Format slot 24 of player with {skill7.%player%} named "%{skill7n.%player%}%" with lore "" to close
- Format slot 7 of player with {skill8.%player%} named "%{skill8n.%player%}%" with lore "" to close
- Format slot 16 of player with iron sword named "&cSkill8" with lore "&7Skill8" to close
- Format slot 25 of player with {skill8.%player%} named "%{skill8n.%player%}%" with lore "" to close
- Format slot 8 of player with {skill9.%player%} named "%{skill9n.%player%}%" with lore "" to close
- Format slot 17 of player with iron sword named "&cSkill9" with lore "&7Skill9" to close
- Format slot 26 of player with {skill9.%player%} named "%{skill9n.%player%}%" with lore "" to close
- if arg 1 is "GUN":
- open chest with 3 rows named "&aGunSkill" to player
- Format slot 0 of player with {skillg1.%player%} named "%{skillg1n.%player%}%" with lore "" to close
- Format slot 9 of player with iron sword named "&cSkill1" with lore "&7Skill1" to close
- Format slot 18 of player with {skillg1.%player%} named "%{skillg1n.%player%}%" with lore "" to close
- Format slot 1 of player with {skillg2.%player%} named "%{skillg2n.%player%}%" with lore "" to close
- Format slot 10 of player with iron sword named "&cSkill2" with lore "&7Skill2" to close
- Format slot 19 of player with {skillg2.%player%} named "%{skillg2n.%player%}%" with lore "" to close
- Format slot 2 of player with {skillg3.%player%} named "%{skillg3n.%player%}%" with lore "" to close
- Format slot 11 of player with iron sword named "&cSkill3" with lore "&7Skill3" to close
- Format slot 20 of player with {skillg3.%player%} named "%{skillg3n.%player%}%" with lore "" to close
- Format slot 3 of player with {skillg4.%player%} named "%{skillg4n.%player%}%" with lore "" to close
- Format slot 12 of player with iron sword named "&cSkill4" with lore "&7Skill4" to close
- Format slot 21 of player with {skillg4.%player%} named "%{skillg4n.%player%}%" with lore "" to close
- Format slot 4 of player with {skillg5.%player%} named "%{skillg5n.%player%}%" with lore "" to close
- Format slot 13 of player with iron sword named "&cSkill5" with lore "&7Skill5" to close
- Format slot 22 of player with {skillg5.%player%} named "%{skillg5n.%player%}%" with lore "" to close
- Format slot 5 of player with {skillg6.%player%} named "%{skillg6n.%player%}%" with lore "" to close
- Format slot 14 of player with iron sword named "&cSkill6" with lore "&7Skill6" to close
- Format slot 23 of player with {skillg6.%player%} named "%{skillg6n.%player%}%" with lore "" to close
- Format slot 6 of player with {skillg7.%player%} named "%{skillg7n.%player%}%" with lore "" to close
- Format slot 15 of player with iron sword named "&cSkill7" with lore "&7Skill7" to close
- Format slot 24 of player with {skillg7.%player%} named "%{skillg7n.%player%}%" with lore "" to close
- Format slot 7 of player with {skillg8.%player%} named "%{skillg8n.%player%}%" with lore "" to close
- Format slot 16 of player with iron sword named "&cSkill8" with lore "&7Skill8" to close
- Format slot 25 of player with {skillg8.%player%} named "%{skillg8n.%player%}%" with lore "" to close
- Format slot 8 of player with {skillg9.%player%} named "%{skillg9n.%player%}%" with lore "" to close
- Format slot 17 of player with iron sword named "&cSkill9" with lore "&7Skill9" to close
- Format slot 26 of player with {skillg9.%player%} named "%{skillg9n.%player%}%" with lore "" to close
- if arg 1 is "sword":
- open chest with 3 rows named "&aSwordSkill" to player
- Format slot 0 of player with {skills1.%player%} named "%{skills1n.%player%}%" with lore "" to close
- Format slot 9 of player with iron sword named "&cSkill1" with lore "&7Skill1" to close
- Format slot 18 of player with {skills1.%player%} named "%{skills1n.%player%}%" with lore "" to close
- Format slot 1 of player with {skills2.%player%} named "%{skills2n.%player%}%" with lore "" to close
- Format slot 10 of player with iron sword named "&cSkill2" with lore "&7Skill2" to close
- Format slot 19 of player with {skills2.%player%} named "%{skills2n.%player%}%" with lore "" to close
- Format slot 2 of player with {skills3.%player%} named "%{skills3n.%player%}%" with lore "" to close
- Format slot 11 of player with iron sword named "&cSkill3" with lore "&7Skill3" to close
- Format slot 20 of player with {skills3.%player%} named "%{skills3n.%player%}%" with lore "" to close
- Format slot 3 of player with {skills4.%player%} named "%{skills4n.%player%}%" with lore "" to close
- Format slot 12 of player with iron sword named "&cSkill4" with lore "&7Skill4" to close
- Format slot 21 of player with {skills4.%player%} named "%{skills4n.%player%}%" with lore "" to close
- Format slot 4 of player with {skills5.%player%} named "%{skills5n.%player%}%" with lore "" to close
- Format slot 13 of player with iron sword named "&cSkill5" with lore "&7Skill5" to close
- Format slot 22 of player with {skills5.%player%} named "%{skills5n.%player%}%" with lore "" to close
- Format slot 5 of player with {skills6.%player%} named "%{skills6n.%player%}%" with lore "" to close
- Format slot 14 of player with iron sword named "&cSkill6" with lore "&7Skill6" to close
- Format slot 23 of player with {skills6.%player%} named "%{skills6n.%player%}%" with lore "" to close
- Format slot 6 of player with {skills7.%player%} named "%{skills7n.%player%}%" with lore "" to close
- Format slot 15 of player with iron sword named "&cSkill7" with lore "&7Skill7" to close
- Format slot 24 of player with {skills7.%player%} named "%{skills7n.%player%}%" with lore "" to close
- Format slot 7 of player with {skills8.%player%} named "%{skills8n.%player%}%" with lore "" to close
- Format slot 16 of player with iron sword named "&cSkill8" with lore "&7Skill8" to close
- Format slot 25 of player with {skills8.%player%} named "%{skills8n.%player%}%" with lore "" to close
- Format slot 8 of player with {skills9.%player%} named "%{skills9n.%player%}%" with lore "" to close
- Format slot 17 of player with iron sword named "&cSkill9" with lore "&7Skill9" to close
- Format slot 26 of player with {skills9.%player%} named "%{skills9n.%player%}%" with lore "" to close
- command /menuskillset [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is "meiji":
- if arg 2 is "true":
- if arg 3 is "1":
- set {skill1.%player%} to lime stained glass pane
- set {skill1n.%player%} to "&a解放済み"
- if arg 3 is "2":
- set {skill2.%player%} to lime stained glass pane
- set {skill2n.%player%} to "&a解放済み"
- if arg 3 is "3":
- set {skill3.%player%} to lime stained glass pane
- set {skill3n.%player%} to "&a解放済み"
- if arg 3 is "4":
- set {skill4.%player%} to lime stained glass pane
- set {skill4n.%player%} to "&a解放済み"
- if arg 3 is "5":
- set {skill5.%player%} to lime stained glass pane
- set {skill5n.%player%} to "&a解放済み"
- if arg 3 is "6":
- set {skill6.%player%} to lime stained glass pane
- set {skill6n.%player%} to "&a解放済み"
- if arg 3 is "7":
- set {skill7.%player%} to lime stained glass pane
- set {skill7n.%player%} to "&a解放済み"
- if arg 3 is "8":
- set {skill8.%player%} to lime stained glass pane
- set {skill8n.%player%} to "&a解放済み"
- if arg 3 is "9":
- set {skill9.%player%} to lime stained glass pane
- set {skill9n.%player%} to "&a解放済み"
- if arg 2 is "false":
- if arg 3 is "1":
- set {skill1.%player%} to red stained glass pane
- set {skill1n.%player%} to "&c未開放"
- if arg 3 is "2":
- set {skill2.%player%} to red stained glass pane
- set {skill2n.%player%} to "&c未開放"
- if arg 3 is "3":
- set {skill3.%player%} to red stained glass pane
- set {skill3n.%player%} to "&c未開放"
- if arg 3 is "4":
- set {skill4.%player%} to red stained glass pane
- set {skill4n.%player%} to "&c未開放"
- if arg 3 is "5":
- set {skill5.%player%} to red stained glass pane
- set {skill5n.%player%} to "&c未開放"
- if arg 3 is "6":
- set {skill6.%player%} to red stained glass pane
- set {skill6n.%player%} to "&c未開放"
- if arg 3 is "7":
- set {skill7.%player%} to red stained glass pane
- set {skill7n.%player%} to "&c未開放"
- if arg 3 is "8":
- set {skill8.%player%} to red stained glass pane
- set {skill8n.%player%} to "&c未開放"
- if arg 3 is "9":
- set {skill9.%player%} to red stained glass pane
- set {skill9n.%player%} to "&c未開放"
- if arg 1 is "GUN":
- if arg 2 is "true":
- if arg 3 is "1":
- set {skillg1.%player%} to lime stained glass pane
- set {skillg1n.%player%} to "&a解放済み"
- if arg 3 is "2":
- set {skillg2.%player%} to lime stained glass pane
- set {skillg2n.%player%} to "&a解放済み"
- if arg 3 is "3":
- set {skillg3.%player%} to lime stained glass pane
- set {skillg3n.%player%} to "&a解放済み"
- if arg 3 is "4":
- set {skillg4.%player%} to lime stained glass pane
- set {skillg4n.%player%} to "&a解放済み"
- if arg 3 is "5":
- set {skillg5.%player%} to lime stained glass pane
- set {skillg5n.%player%} to "&a解放済み"
- if arg 3 is "6":
- set {skillg6.%player%} to lime stained glass pane
- set {skillg6n.%player%} to "&a解放済み"
- if arg 3 is "7":
- set {skillg7.%player%} to lime stained glass pane
- set {skillg7n.%player%} to "&a解放済み"
- if arg 3 is "8":
- set {skillg8.%player%} to lime stained glass pane
- set {skillg8n.%player%} to "&a解放済み"
- if arg 3 is "9":
- set {skillg9.%player%} to lime stained glass pane
- set {skillg9n.%player%} to "&a解放済み"
- if arg 2 is "false":
- if arg 3 is "1":
- set {skillg1.%player%} to red stained glass pane
- set {skillg1n.%player%} to "&c未開放"
- if arg 3 is "2":
- set {skillg2.%player%} to red stained glass pane
- set {skillg2n.%player%} to "&c未開放"
- if arg 3 is "3":
- set {skillg3.%player%} to red stained glass pane
- set {skillg3n.%player%} to "&c未開放"
- if arg 3 is "4":
- set {skillg4.%player%} to red stained glass pane
- set {skillg4n.%player%} to "&c未開放"
- if arg 3 is "5":
- set {skillg5.%player%} to red stained glass pane
- set {skillg5n.%player%} to "&c未開放"
- if arg 3 is "6":
- set {skillg6.%player%} to red stained glass pane
- set {skillg6n.%player%} to "&c未開放"
- if arg 3 is "7":
- set {skillg7.%player%} to red stained glass pane
- set {skillg7n.%player%} to "&c未開放"
- if arg 3 is "8":
- set {skillg8.%player%} to red stained glass pane
- set {skillg8n.%player%} to "&c未開放"
- if arg 3 is "9":
- set {skillg9.%player%} to red stained glass pane
- set {skillg9n.%player%} to "&c未開放"
- if arg 1 is "sword":
- if arg 2 is "true":
- if arg 3 is "1":
- set {skills1.%player%} to lime stained glass pane
- set {skills1n.%player%} to "&a解放済み"
- if arg 3 is "2":
- set {skills2.%player%} to lime stained glass pane
- set {skills2n.%player%} to "&a解放済み"
- if arg 3 is "3":
- set {skills3.%player%} to lime stained glass pane
- set {skills3n.%player%} to "&a解放済み"
- if arg 3 is "4":
- set {skills4.%player%} to lime stained glass pane
- set {skills4n.%player%} to "&a解放済み"
- if arg 3 is "5":
- set {skills5.%player%} to lime stained glass pane
- set {skills5n.%player%} to "&a解放済み"
- if arg 3 is "6":
- set {skills6.%player%} to lime stained glass pane
- set {skills6n.%player%} to "&a解放済み"
- if arg 3 is "7":
- set {skills7.%player%} to lime stained glass pane
- set {skills7n.%player%} to "&a解放済み"
- if arg 3 is "8":
- set {skills8.%player%} to lime stained glass pane
- set {skills8n.%player%} to "&a解放済み"
- if arg 3 is "9":
- set {skills9.%player%} to lime stained glass pane
- set {skills9n.%player%} to "&a解放済み"
- if arg 2 is "false":
- if arg 3 is "1":
- set {skills1.%player%} to red stained glass pane
- set {skills1n.%player%} to "&c未開放"
- if arg 3 is "2":
- set {skills2.%player%} to red stained glass pane
- set {skills2n.%player%} to "&c未開放"
- if arg 3 is "3":
- set {skills3.%player%} to red stained glass pane
- set {skill3sn.%player%} to "&c未開放"
- if arg 3 is "4":
- set {skills4.%player%} to red stained glass pane
- set {skills4n.%player%} to "&c未開放"
- if arg 3 is "5":
- set {skills5.%player%} to red stained glass pane
- set {skills5n.%player%} to "&c未開放"
- if arg 3 is "6":
- set {skills6.%player%} to red stained glass pane
- set {skills6n.%player%} to "&c未開放"
- if arg 3 is "7":
- set {skills7.%player%} to red stained glass pane
- set {skills7n.%player%} to "&c未開放"
- if arg 3 is "8":
- set {skills8.%player%} to red stained glass pane
- set {skills8n.%player%} to "&c未開放"
- if arg 3 is "9":
- set {skills9.%player%} to red stained glass pane
- set {skills9n.%player%} to "&c未開放"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement