Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #================================================================================#
- # This is written by tsutitire,yeah #
- # And thank you for buy this skript. I should say it first... #
- # Please allow these rules and using, please! #
- # one. Don't give this skript for anyone! #
- # two. Don't use this skript for bad things! (I don't know that how to do it.) #
- # three. Enjoy! #
- # Oh, you are good cause you read all of this message. So I say it again, ENJOY! #
- #================================================================================#
- Variables:
- {fstpos} = 0
- {filposx} = 0
- {filposy} = 0
- {filposz} = 0
- {filposrx} = 0
- {filposrz} = 0
- {hnyrnd} = 0
- {matdng} = 0
- {radius} = 0
- {matstg} = 0
- {score} = 0
- {creep} = 0
- {times} = 0
- {playern} = 0
- {bestp} = "tsutitire"
- {bests} = 0
- {fnspos} = 0
- {creepi} = 0
- {%player%.tsutikill} = 0
- {%player%.Himakill} = 0
- {%player%.particle} = 1
- {SP} = 0
- command /setspcmd:
- permission: skript.admin
- trigger:
- set {SP} to player's location
- command /sp:
- trigger:
- teleport player to {SP}
- #Setting commands
- command /setpos <int> <int> <int> <int>:
- permission: skript.admin
- trigger:
- if arg 1 is 1:
- set {fstpos} to player's location
- if arg 1 is 2:
- set {filposx} to arg 2
- set {filposy} to arg 3
- set {filposz} to arg 4
- if arg 1 is 3:
- set {fnspos} to player's location
- command /setmat <int> <int>:
- permission: skript.admin
- trigger:
- if arg 1 is 1:
- set {radius} to arg 2
- if arg 1 is 2:
- set {creepi} to arg 2
- #starting!
- On right click on sponge:
- if {matdng} is 1:
- message "Now, a player is playing the shooting game now. pls wait!"
- if {matdng} is 0:
- set {matdng} to 1
- set {matstg} to 0
- set {score} to 0
- set {times} to 0
- set {creep} to 0
- set {playern} to player
- teleport the player to {fstpos}
- send title "5" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- send title "4" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- send title "3" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- send title "2" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- send title "1" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- send title "GO!" to the player
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 50 seconds
- message "5"
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- message "4"
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- message "3"
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- message "2"
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 1 seconds
- message "1"
- execute console command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- wait 2 seconds
- message "FINISH!"
- teleport player to {fnspos}
- #wow, this is shooting game yeah!
- every seconds:
- if {matdng} is 1:
- if {matstg} is 0:
- wait 5 seconds
- loop {creepi} times:
- set {filposrx} to random integer between 1 to {radius}
- set {hnyrnd} to random integer between 1 to 2
- if {hnyrnd} is 1:
- set {filposrx} to {filposrx} * -1
- set {filposrz} to random integer between 1 to {radius}
- set {hnyrnd} to random integer between 1 to 2
- if {hnyrnd} is 1:
- set {filposrz} to {filposrz} * -1
- set {filposrx} to {filposrx} + {filposx}
- set {filposrz} to {filposrz} + {filposz}
- execute console command "/summon creeper %{filposrx}% %{filposy}% %{filposrz}% {NoAI:1,Silent:1}"
- set {matstg} to 1
- if {matstg} is 1:
- loop {creep} times:
- set {filposrx} to random integer between 1 to {radius}
- set {hnyrnd} to random integer between 1 to 2
- if {hnyrnd} is 1:
- set {filposrx} to {filposrx} * -1
- set {filposrz} to random integer between 1 to {radius}
- set {hnyrnd} to random integer between 1 to 2
- if {hnyrnd} is 1:
- set {filposrz} to {filposrz} * -1
- set {filposrx} to {filposrx} + {filposx}
- set {filposrz} to {filposrz} + {filposz}
- execute console command "/summon creeper %{filposrx}% %{filposy}% %{filposrz}% {NoAI:1,Silent:1}"
- set {creep} to 0
- set {times} to {times} + 1
- if {times} is more than 60:
- set {score} to {score}
- set {matstg} to 2
- broadcast "%{playern}% さんが的当てゲームを %{score}% ポイントで終了しました!お疲れさまでした!"
- set {matdng} to 0
- if {score} is more than {bests}:
- set {bests} to {score}
- set {bestp} to {playern}
- broadcast "%{playern}%さんが的当てゲームでハイスコアを更新したようです! なんと%{score}% ポイント!"
- execute console command "/kill @e[type=creeper]"
- On death:
- if victim is creeper:
- set {score} to {score} + 1
- set {creep} to {creep} + 1
- #do you want to see the best player? so you should use them:
- command /rank:
- trigger:
- message "The top player is %{bestp}% and his/her score is %{bests}%! wow!"
- command /rstrank:
- permission: skript.admin
- trigger:
- set {bestp} to "tsutitire"
- set {bests} to 0
- command /pvpcount <int>:
- trigger:
- if {counted401} is 0:
- set {counted401} to 1
- broadcast "PVP開始までのカウントダウンが開始されます!"
- disable pvp
- loop all players:
- set loop-player's walk speed to 0
- set {counting402} to 0
- while {counting402} is less than arg 1:
- set {counting403} to arg 1 - {counting402}
- loop all players:
- send title "%{counting403}%" to loop-player
- wait 1 second
- execute player command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- set {counting402} to {counting402} + 1
- enable pvp
- loop all players:
- set loop-player's walk speed to 0.5
- send title "0" to loop-player
- set {counting402} to 0
- set {counting403} to 0
- permission: skript.admin
- description: "/pvpcount <waitseconds>"
- On jump:
- if {counting402} is more than 0:
- cancel event
- command /resetpvp:
- trigger:
- set {counted401} to 0
- set {counting402} to 10000000
- set {counting403} to 0
- on death:
- If victim is a player:
- If attacker is a player:
- set {%attacker%.tsutikill} to {%attacker%.tsutikill} + 20
- if {%attacker%.kc} is more than 3:
- set {%attacker%.tsutikill} to {%attacker%.tsutikill} + {%attacker%.kc} * 10
- If {%attacker%.tsutikill} is more than {%attacker%.Himakill} * 100:
- add 1 to {%attacker%.Himakill}
- set {%attacker%.tsutikill} to 0
- set {%attacker%.nname} to "%attacker's name%&7[Lv.%{%attacker%.Himakill}%]"
- set the attacker's tablist name to "%{%attacker%.nname}%"
- message "&2&l[LvUP]&a&lレベルアップしました! &7現在のレベル・&6%{%attacker%.Himakill}%" to the attacker
- If {%attacker%.Himakill} is 100:
- broadcast "&2&l[LvUP]&a&l%attacker%さんがLv100になりました!"
- If {%attacker%.Himakill} is 200:
- broadcast "&2&l[LvUP]&a&l%attacker%さんがLv200になりました!"
- If {%attacker%.Himakill} is 300:
- broadcast "&2&l[LvUP]&a&l%attacker%さんがLv300になりました!"
- command /lvu <player> <integer>:
- permission: skript.admin
- trigger:
- set {%arg-1%.Himakill} to {%arg-1%.Himakill} + arg-2
- set {%arg-1%.nname} to "%arg-1's name%&7Lv.%{%arg-1%.Himakill}%"
- message "&2&l[LvUP]&a&l%player%によってlv.%arg-2%アップしました! &r&7現在のレベル・&6%{%arg-1%.Himakill}%" to the arg-1
- If {%arg-1%.Himakill} is 100:
- broadcast "&2&l[LvUP]&a&l%arg-1%さんがLv100になりました!"
- If {%arg-1%.Himakill} is 200:
- broadcast "&2&l[LvUP]&a&l%arg-1%さんがLv200になりました!"
- If {%arg-1%.Himakill} is 300:
- broadcast "&2&l[LvUP]&a&l%arg-1%さんがLv300になりました!"
- command /lvd <player> <integer>:
- permission: skript.admin
- trigger:
- set {%arg-1%.Himakill} to {%arg-1%.Himakill} - arg-2
- set {%arg-1%.nname} to "%arg-1's name%&7Lv.%{%arg-1%.Himakill}%"
- message "&2&l[LvDW]&a&l%player%によってlv.%arg-2%ダウンしました &r&7現在のレベル・&6%{%arg-1%.Himakill}%" to the arg-1
- Variables:
- {%player%.rank} = 0
- {%player%.killc} = 0
- {%player%.rkc} = 0
- {%player%.kns} = 0
- {%player%.kc} = 0
- {%player%.dc} = 0
- on death:
- send subtitle "&7&l%victim%を倒した" to the attacker
- message "&7&l%attacker%に倒された。" to the victim
- on damage:
- damage cause is fall
- cancel event
- send "You droped from high place!"
- on death:
- victim is a player:
- attacker is a player:
- give a dirt of flame 100 to attacker
- loop {%attacker%.rank} times:
- give a dirt of flame 100 to attacker
- set {%player%.killc} to 0
- set {%attacker%.rkc} to {%attacker%.rkc} + 1
- set {%victim%.rkc} to 0
- set death message to "&c%attacker% + %attacker's tool's name% &5=> &b%victim% &7(%distance between attacker and victim%m) Consecutive kills: %{%attacker%.rkc}%"
- set {%attacker%.kc} to {%attacker%.kc} + 1
- execute console command "/effect %victim% instant_health 1 2"
- set {%victim%.dc} to {%victim%.dc} + 1
- #VIP-1
- #SVIP-2
- #UVIP-3
- #GVIP-4
- #TVIP-5
- command /setrank <player> <int>:
- permission: skript.admin
- trigger:
- set {%arg 1%.rank} to arg 2
- message "set %{%arg 1%.rank}% to %arg 2%"
- command /myrank <player>:
- trigger:
- message "%arg 1%'s rank value is %{%arg 1%.rank}%"
- On death:
- if attacker is player:
- broadcast "%{%attacker%.rank}%"
- if victim is player:
- broadcast "%{%attacker%.rank}%"
- give a dirt of flame 100 to attacker
- loop {%attacker%.rank} times:
- broadcast "%{%attacker%.rank}%"
- give a dirt of flame 100 to attacker
- if {%attacker%.rkc} is more than 10:
- set {%attacker%.kns} to {%attacker%.rkc} / 3
- broadcast "%attacker% さんに懸賞金がかかりました!現在の懸賞額は %{%attacker%.kns}%"
- if {%victim%.rkc} is more than 10:
- loop {%victim%.kns} times:
- give a dirt of flame 100 to attacker
- command /kd <player>:
- trigger:
- set {_%player%.kd} to {%arg 1%.kc} / {%arg 1%.dc}
- message "%arg 1%'s killcoount/deathcount/K:D is %{%arg 1%.kc}% / %{%arg 1%.dc}% / %{_%player%.kd}%"
- command /panp <player> <text>:
- trigger:
- if {%player%.pancool1003} is not less than 1:
- send "please wait for %{%player%.panpermit1002}% minutes"
- if {%player%.pancool1003} is less than 1:
- if {%player%.panpermit1002} is more than 0:
- broadcast "[Pan manager]||<==%arg 1%さんがPANされました!==>||"
- broadcast "[Pan manager]||<==REASON: %arg 2%==>||"
- add arg 1 to {panl::*}
- set {panvar1001} to {panvar1001} + 1
- if {%player%.panpermit1002} is more than 1:
- loop 64 times:
- give a bread to the player
- if {%player%.panpermit1002} is more than 2:
- broadcast "============================"
- broadcast "| | | | | || | | "
- broadcast "| | | | |\ | "
- broadcast "| | | | | | | | | | "
- broadcast "| | | | | | \ | "
- broadcast "| | | | | "
- broadcast "============================"
- if {%player%.panpermit1002} is more than 3:
- execute player command "/playsound minecraft:entity.enderdragon.hurt ambient @a"
- set {%player%.pancool1003} to 40 - 10*{%player%.panpermit1002}
- if {%player%.panpermit1002} is 0:
- send "You don't have any parnmition"
- if {%player%.panpermit1002} is more than 3:
- create a fake explosion at arg 1
- command /pant <text> <text>:
- trigger:
- if {%player%.pancool1003} is not less than 1:
- send "please wait for %{%player%.pancool1002}% minutes"
- if {%player%.pancool1003} is less than 1:
- if {%player%.panpermit1002} is more than 0:
- broadcast "[Pan manager]||<==%arg 1%さんがPANされました!==>||"
- broadcast "[Pan manager]||<==REASON: %arg 2%==>||"
- set {panvar1001} to {panvar1001} + 1
- if {%player%.panpermit1002} is more than 0:
- loop 64 times:
- give a bread to the player
- if {%player%.panpermit1002} is more than 1:
- broadcast "============================"
- broadcast "| | | | | || | | "
- broadcast "| | | | |\ | "
- broadcast "| | | | | | | | | | "
- broadcast "| | | | | | \ | "
- broadcast "| | | | | "
- broadcast "============================"
- if {%player%.panpermit1002} is more than 2:
- execute player command "/playsound minecraft:entity.enderdragon.hurt ambient @a"
- set {%player%.pancool1003} to 40 - 10*{%player%.panpermit1002}
- if {%player%.panpermit1002} is 0:
- send "You don't have any parnmition"
- command /gpan <player> <text>:
- trigger:
- if {%player%.panpermit1002} is more than 4:
- broadcast "============================"
- broadcast "| | | | | || | | "
- broadcast "| | | | |\ | "
- broadcast "| | | | | | | | | | "
- broadcast "| | | | | | \ | "
- broadcast "| | | | | "
- broadcast "============================"
- broadcast "[Pan manager]||<==%arg 1%さんがGPANされました!==>||"
- broadcast "[Pan manager]||<==REASON: %arg 2%==>||"
- loop 64 times:
- give a bread to arg 1
- strike lightning at arg 1
- command /panlist:
- trigger:
- set {_p.logs} to 1
- loop {panvar1001} times:
- message "&a[PANNED] %{panl::%{_p.logs}%}%"
- add 1 to {_p.logs}
- command /panmit <player> <int>:
- permission: skript.admin
- trigger:
- set {%arg 1%.panpermit1002} to arg 2
- every minutes:
- loop all players:
- set {%loop-player%.pancool1003} to {%loop-player%.pancool1003} - 1
- command /resetcool <player>:
- trigger:
- set {%arg 1%.pancool1003} to 0
- command /mypanmit <player>:
- trigger:
- send "%{%arg 1%.panpermit1002}%"
- #Particle Generator
- command /particleset:
- trigger:
- open chest inventory with 3 row named "&a&lPMENU" to player
- set {_i} to 0
- set {_glass} to white glass pane named "Hello!"
- loop 27 times:
- set slot {_i} of player's current inventory to {_glass}
- add 1 to {_i}
- set slot 1 of player's current inventory to barrier named "閉じる"
- set slot 3 of player's current inventory to stone named "SLIMEBLOCK"
- set slot 4 of player's current inventory to stone named "CRIT"
- set slot 5 of player's current inventory to stone named "BARRIER"
- set slot 6 of player's current inventory to stone named "FLAME"
- set slot 7 of player's current inventory to stone named "HUGEEXPLOSION"
- set slot 8 of player's current inventory to stone named "EXPRODE"
- set slot 9 of player's current inventory to stone named "SPIT"
- set slot 10 of player's current inventory to stone named "LARGEEXPLODE"
- set slot 11 of player's current inventory to stone named "MAGICCRIT"
- set slot 12 of player's current inventory to stone named "HEART"
- set slot 13 of player's current inventory to stone named "TOTEM"
- set slot 14 of player's current inventory to stone named "SWEEPATTACK"
- set slot 15 of player's current inventory to stone named "SPLASH"
- set slot 16 of player's current inventory to stone named "ENDROD"
- set slot 17 of player's current inventory to stone named "WITCHMAGIC"
- set slot 18 of player's current inventory to stone named "MOBSPELL"
- set slot 19 of player's current inventory to stone named "THUNDER"
- set slot 20 of player's current inventory to stone named "FIREWORKS"
- set slot 21 of player's current inventory to stone named "VILLAGER"
- set slot 22 of player's current inventory to stone named "REDSTONE"
- set slot 24 of player's current inventory to stone named "-1"
- on inventory click:
- name of clicked inventory is "&a&lPMENU"
- cancel event
- if event-item is stone named "SLIMEBLOCK":
- set {%player%.particle} to 1
- if event-item is stone named "CRIT":
- set {%player%.particle} to 2
- if event-item is stone named "BARRIER":
- set {%player%.particle} to 3
- if event-item is stone named "FLAME":
- set {%player%.particle} to 4
- if event-item is stone named "HUGEEXPLOSION":
- set {%player%.particle} to 5
- if event-item is stone named "EXPRODE":
- set {%player%.particle} to 6
- if event-item is stone named "SPIT":
- set {%player%.particle} to 7
- if event-item is stone named "LARGEEXPLODE":
- set {%player%.particle} to 8
- if event-item is stone named "MAGICCRIT":
- set {%player%.particle} to 9
- if event-item is stone named "HEART":
- set {%player%.particle} to 10
- if event-item is stone named "TOTEM":
- set {%player%.particle} to 11
- if event-item is stone named "SWEEPATTACK":
- set {%player%.particle} to 12
- if event-item is stone named "SPLASH":
- set {%player%.particle} to 13
- if event-item is stone named "ENDROD":
- set {%player%.particle} to 14
- if event-item is stone named "WITCHMAGIC":
- set {%player%.particle} to 15
- if event-item is stone named "MOBSPELL":
- set {%player%.particle} to 16
- if event-item is stone named "THUNDER":
- set {%player%.particle} to 17
- if event-item is stone named "FIREWORKS":
- set {%player%.particle} to 18
- if event-item is stone named "VILLAGER":
- set {%player%.particle} to 19
- if event-item is stone named "REDSTONE":
- set {%player%.particle} to 20
- if event-item is stone named "-1":
- set {%player%.particle} to {%player%.particle} - 1
- if event-item is barrier named "閉じる":
- close player's inventory
- if {%player%.particle} = 0:
- set {%player%.particle} to 20
- if {%player%.particle} = 21:
- set {%player%.particle} to 1
- set {%player%.particle} to {%player%.particle} + 1
- message "%{%player%.particle}%"
- on death:
- victim is a player:
- set {_particlep} to location of victim
- if {%victim%.particle} = 1:
- execute console command "/execute %victim% ~ ~ ~ particle slime ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 2:
- execute console command "/execute %victim% ~ ~ ~ particle crit ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 3:
- execute console command "/execute %victim% ~ ~ ~ particle barrier ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 4:
- execute console command "/execute %victim% ~ ~ ~ particle flame ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 5:
- execute console command "/execute %victim% ~ ~ ~ particle hugeexplosion ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 6:
- execute console command "/execute %victim% ~ ~ ~ particle explode ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 7:
- execute console command "/execute %victim% ~ ~ ~ particle spit ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 8:
- execute console command "/execute %victim% ~ ~ ~ particle largeexplode ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 9:
- execute console command "/execute %victim% ~ ~ ~ particle magicCrit ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 10:
- execute console command "/execute %victim% ~ ~ ~ particle heart ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 11:
- execute console command "/execute %victim% ~ ~ ~ particle totem ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 12:
- execute console command "/execute %victim% ~ ~ ~ particle sweepAttack ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 13:
- execute console command "/execute %victim% ~ ~ ~ particle splash ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 14:
- execute console command "/execute %victim% ~ ~ ~ particle endRod ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 15:
- execute console command "/execute %victim% ~ ~ ~ particle witchMagic ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 16:
- execute console command "/execute %victim% ~ ~ ~ particle mobSpell ~ ~ ~ 1 1 1 0 5000"
- if {%victim%.particle} = 17:
- execute console command "/execute %victim% ~ ~ ~ summon lightning_bolt"
- if {%victim%.particle} = 18:
- execute console command "/execute %victim% ~ ~ ~ summon fireworks_rocket ~ ~1 ~ {LifeTime:30,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Flight:2,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;2437522,2651799,11250603],FadeColors:[I;3887386,8073150,14602026]}]}}}}"
- if {%victim%.particle} = 19:
- execute console command "/execute %victim% ~ ~ ~ summon villager ~ ~ ~"
- if {%victim%.particle} = 20:
- execute console command "/particle blockcrack ~ ~ ~ 1 1 1 0 1000 normal @p 152"
Add Comment
Please, Sign In to add comment