SHARE
TWEET

Untitled

a guest Mar 20th, 2017 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Mythology skript by HeyImHungry / @HeyImHungry_ / /u/HungryGamesYT
  2. #Inspiration from /u/DaPenguin19
  3. #Feel free to edit - Give credit though.
  4.  
  5.  
  6. options:
  7.     P: &7[&2Mythology&7] &r
  8.    
  9. command /mythgods [<text>]:
  10.     trigger:
  11.         if arg-1 is "set":
  12.             if command sender is an op:
  13.                 remove speed from all players
  14.                 remove slowness from all players
  15.                 remove strength from all players
  16.                 remove jump boost from all players
  17.                 delete {dealmoremelee::*}
  18.                 delete {deallessmelee::*}
  19.                 delete {dealmoreranged::*}
  20.                 delete {deallessranged::*}
  21.                 delete {takemoremelee::*}
  22.                 delete {takelessmelee::*}
  23.                 delete {takemoreranged::*}
  24.                 delete {takelessranged::*}
  25.                 delete {god::*}
  26.                 add "Zeus" to {god::*}
  27.                 execute console command "/scoreboard teams add zeus"
  28.                 execute console command "/scoreboard teams option zeus color yellow"
  29.                 add "Poseidon" to {god::*}
  30.                 execute console command "/scoreboard teams add poseidon"
  31.                 execute console command "/scoreboard teams option poseidon color dark_blue"
  32.                 add "Hades" to {god::*}
  33.                 execute console command "/scoreboard teams add hades"
  34.                 execute console command "/scoreboard teams option hades color black"
  35.                 add "Ares" to {god::*}
  36.                 execute console command "/scoreboard teams add ares"
  37.                 execute console command "/scoreboard teams option ares color dark_red"
  38.                 add "Apollo" to {god::*}
  39.                 execute console command "/scoreboard teams add apollo"
  40.                 execute console command "/scoreboard teams option apollo color aqua"
  41.                 add "Athena" to {god::*}
  42.                 execute console command "/scoreboard teams add athena"
  43.                 execute console command "/scoreboard teams option athena color white"
  44.                 add "Hephaestus" to {god::*}
  45.                 execute console command "/scoreboard teams add hephaestus"
  46.                 execute console command "/scoreboard teams option hephaestus color red"
  47.                 add "Artemis" to {god::*}
  48.                 execute console command "/scoreboard teams add artemis"
  49.                 execute console command "/scoreboard teams option artemis color dark_aqua"
  50.                 add "Aphrodite" to {god::*}
  51.                 execute console command "/scoreboard teams add aphrodite"
  52.                 execute console command "/scoreboard teams option aphrodite color light_purple"
  53.                 add "Hermes" to {god::*}
  54.                 execute console command "/scoreboard teams add hermes"
  55.                 execute console command "/scoreboard teams option hermes color blue"
  56.                 add "Demeter" to {god::*}
  57.                 execute console command "/scoreboard teams add demeter"
  58.                 execute console command "/scoreboard teams option demeter color dark_green"
  59.                 add "Hecate" to {god::*}
  60.                 execute console command "/scoreboard teams add hecate"
  61.                 execute console command "/scoreboard teams option hecate color dark_purple"
  62.                 add "Tyche" to {god::*}
  63.                 execute console command "/scoreboard teams add tyche"
  64.                 execute console command "/scoreboard teams option tyche color gold"
  65.                 add "Hypnos" to {god::*}
  66.                 execute console command "/scoreboard teams add hypnos"
  67.                 execute console command "/scoreboard teams option hypnos color dark_gray"
  68.                 add "Dionysus" to {god::*}
  69.                 execute console command "/scoreboard teams add dionysus"
  70.                 execute console command "/scoreboard teams option dionysus color green"
  71.                 add "Chronos" to {god::*}
  72.                 execute console command "/scoreboard teams add chronos"
  73.                 execute console command "/scoreboard teams option chronos color gray"
  74.                
  75.                 loop all players:
  76.                     set {god::%loop-player%} to a random element of {god::*}
  77.                     send "{@P}&3You are &6%{god::%loop-player%}%&3. Use /mythgods <God> to check its abilities." to loop-player
  78.                    
  79.                     if {god::%loop-player%} is "Zeus":
  80.                         execute console command "/scoreboard teams join zeus loop-player"
  81.                         on shoot:
  82.                             projectile is a arrow
  83.                             strike lightning at the targeted block
  84.                         set {takemoremelee::%loop-player%} to true
  85.                         set {dealmoreranged::%loop-player%} to true
  86.                        
  87.                     else if {god::%loop-player%} is "Poseidon":
  88.                         execute console command "/scoreboard teams join poseidon loop-player"
  89.                         on walk on water:
  90.                         push the player forwards with force 0.25
  91.                         block below the player is water:
  92.                             player is sneaking:
  93.                                 push the player upwards with force 0.25
  94.                         set {takelessmelee::%loop-player%} to true
  95.                         set {deallessmelee::%loop-player%} to true
  96.                        
  97.                     else if {god::%loop-player%} is "Hades":
  98.                         execute console command "/scoreboard teams join hades loop-player"
  99.                         set {dealmoremelee::%loop-player%} to true
  100.                         apply slowness 1 to {_arg2} for 999 days
  101.                         on craft of iron helmet:
  102.                             cancel event
  103.                             drop 1 diamond helmet named "The Helm of Darkness"
  104.                        
  105.                     else if {god::%loop-player%} is "Ares":
  106.                         execute console command "/scoreboard teams join ares loop-player"
  107.                         On rightclick:
  108.                             player is holding a iron axe:
  109.                                 apply strength 1 to {_arg2} for 3 seconds
  110.                                 apply speed 1 to {_arg2} for 10 seconds
  111.                         set {deallessranged::%loop-player%} to true
  112.                         set {takemoreranged::%loop-player%} to true
  113.                         set {dealmoremelee::%loop-player%} to true
  114.                        
  115.                     else if {god::%loop-player%} is "Apollo":
  116.                         execute console command "/scoreboard teams join apollo loop-player"
  117.                         on rightclick on noteblock:
  118.                             apply strength 1 to {_arg2} for 5 seconds
  119.                         set {dealmoreranged::%loop-player%} to true
  120.                         set {takemoremelee::%loop-player%} to true
  121.                        
  122.                     else if {god::%loop-player%} is "Athena":
  123.                         execute console command "/scoreboard teams join athena loop-player"
  124.                         set {deallessmelee::%loop-player%} to true
  125.                         set {takelessmelee::%loop-player%} to true
  126.                         on mine of sugarcane:
  127.                             set block to air
  128.                             cancel the event
  129.                             drop 1 book
  130.                             drop 10 384
  131.                        
  132.                     else if {god::%loop-player%} is "Hephaestus":
  133.                         execute console command "/scoreboard teams join hephaestus loop-player"
  134.                         set {flamebody} to 5
  135.                         set {takemoremelee::%loop-player%} to true
  136.                         apply slowness 1 to {_arg2} for 999 days
  137.                         on shoot:
  138.                             projectile is a arrow
  139.                             set targeted block to fire
  140.                         on damage:
  141.                             if damage is caused by attack or contact:
  142.                                 attacker is player
  143.                                 chance of {flamebody}%
  144.                                 set attacker on fire
  145.                        
  146.                     else if {god::%loop-player%} is "Artemis":
  147.                         execute console command "/scoreboard teams join artemis loop-player"
  148.                         if time is 18000:
  149.                             drop spawn_egg:95 at player
  150.                             drop 5 bones at player
  151.                         set {takelessranged::%loop-player%} to true
  152.                         set {dealmoreranged::%loop-player%} to true
  153.                        
  154.                     else if {god::%loop-player%} is "Aphrodite":
  155.                         execute console command "/scoreboard teams join aphrodite loop-player"
  156.                         set {charm} to 5
  157.                         set {dealmoreranged::%{_arg2}%} to true
  158.                         on damage:
  159.                             if damage is caused by attack or contact:
  160.                                 chance of {charm}%
  161.                                 cancel the event
  162.                         apply speed 1 to {_arg2} for 999 days
  163.                        
  164.                     else if {god::%loop-player%} is "Hermes":
  165.                         execute console command "/scoreboard teams join hermes loop-player"
  166.                         on damage:
  167.                             damage cause is fall:
  168.                                 cancel the event
  169.                         set {takelessmelee::%loop-player%} to true
  170.                         set {takemoreranged::%loop-player%} to true
  171.                         apply speed 1 to {_arg2} for 999 days
  172.                         apply jump boost 1 to {_arg2} for 999 days
  173.                        
  174.                     else if {god::%loop-player%} is "Demeter":
  175.                         execute console command "/scoreboard teams join demeter loop-player"
  176.                         set {growth} to 5
  177.                         on consume of golden apple:
  178.                             chance of {growth}%
  179.                             set the player's health to 10
  180.                             set the player's max health to 15
  181.                         set {dealmoreranged::%loop-player%} to true
  182.                         set {takemoremelee::%loop-player%} to true
  183.                        
  184.                     else if {god::%loop-player%} is "Hecate":
  185.                         execute console command "/scoreboard teams join hecate loop-player"
  186.                         on sneak toggle:
  187.                             player is sneaking
  188.                             apply invisibility 1 to loop-player for 999 days
  189.                         else:
  190.                             remove invisibility from player
  191.                         set {dealmoreranged::%loop-player%} to true
  192.                         set {takemoremelee::%loop-player%} to true
  193.                        
  194.                     else if {god::%loop-player%} is "Tyche":
  195.                         execute console command "/scoreboard teams join tyche loop-player"
  196.                         set {DoubleDropChance} to 25
  197.                         set {sift} to 0.05
  198.                         on mine of diamond ore:
  199.                             chance of {DoubleDropChance}%
  200.                             drop 1 diamond
  201.                         on mine of gold ore:
  202.                             cancel the event
  203.                             drop 1 gold ingot
  204.                             chance of {DoubleDropChance}%
  205.                             drop 1 gold ingot
  206.                         on mine of iron ore:
  207.                             cancel the event
  208.                             drop 1 iron ingot
  209.                             chance of {DoubleDropChance}%
  210.                             drop 1 iron ingot
  211.                         on mine of gravel:
  212.                             chance of {sift}%
  213.                             drop 1 diamond
  214.                             drop 1 gold ingot
  215.                         set {takemoremelee::%loop-player%} to true
  216.                        
  217.                     else if {god::%loop-player%} is "Hypnos":
  218.                         execute console command "/scoreboard teams join hypnos loop-player"
  219.                         if time is day:
  220.                             apply weakness 1 to loop-player for 999 days
  221.                         else:
  222.                             apply speed 1 to {_arg2} for 999 days
  223.                             apply strength 1 to {_arg2} for 999 days
  224.                        
  225.                     else if {god::%loop-player%} is "Dionysus":
  226.                         execute console command "/scoreboard teams join dionysus loop-player"
  227.                         set {takemoreranged::%loop-player%} to true
  228.                         on consume of water bottle:
  229.                             apply strength 1 to loop-player for 5 seconds
  230.                        
  231.                     else if {god::%loop-player%} is "Chronos":
  232.                         execute console command "/scoreboard teams join chronos loop-player"
  233.                         set {dealmoremelee::%loop-player%} to true
  234.                         set {takemoreranged::%loop-player%} to true
  235.                         apply slowness 1 to loop-player for 999 days
  236.                         on rightclick with clock:
  237.                             if time is day:
  238.                                 execute console command "/time set night"
  239.                             if time is night:
  240.                                 execute console command "/time set day"
  241.                                
  242.             else:
  243.                 send "&cYou do not have the required permission to run this command."
  244.                
  245.         else if arg-1 is "reset" or "clear":
  246.             if command sender is an op:
  247.                 clear effects from all players
  248.                 delete {dealmoremelee::*}
  249.                 delete {deallessmelee::*}
  250.                 delete {dealmoreranged::*}
  251.                 delete {deallessranged::*}
  252.                 delete {takemoremelee::*}
  253.                 delete {takelessmelee::*}
  254.                 delete {takemoreranged::*}
  255.                 delete {takelessranged::*}
  256.                 delete {god::*}
  257.                 execute console command "/scoreboard teams remove zeus"
  258.                 execute console command "/scoreboard teams remove poseidon"
  259.                 execute console command "/scoreboard teams remove hades"
  260.                 execute console command "/scoreboard teams remove ares"
  261.                 execute console command "/scoreboard teams remove apollo"
  262.                 execute console command "/scoreboard teams remove athena"
  263.                 execute console command "/scoreboard teams remove hepaestus"
  264.                 execute console command "/scoreboard teams remove artemis"
  265.                 execute console command "/scoreboard teams remove aphrodite"
  266.                 execute console command "/scoreboard teams remove hermes"
  267.                 execute console command "/scoreboard teams remove demeter"
  268.                 execute console command "/scoreboard teams remove hecate"
  269.                 execute console command "/scoreboard teams remove tyche"
  270.                 execute console command "/scoreboard teams remove hypnos"
  271.                 execute console command "/scoreboard teams remove dionysus"
  272.                 execute console command "/scoreboard teams remove chronos"
  273.                
  274.                 broadcast "{@P}&3Reset all gods."
  275.                
  276.         else if arg-1 is "zeus":
  277.             send "{@P}&3About &6Zeus&3:" to command sender
  278.             send "{@P}&6Takes more melee damage" to command sender
  279.             send "{@P}&6Deals more ranged damage" to command sender
  280.             send " " to command sender
  281.             send "{@P}&6Ability: Lightning Strike - Call down lightning wherever you shoot an arrow." to command sender
  282.            
  283.         else if arg-1 is "poseidon":
  284.             send "{@P}&3About &6Poseidon&3:" to command sender
  285.             send "{@P}&6Deals less melee damage" to command sender
  286.             send "{@P}&6Takes less melee damage" to command sender
  287.             send " " to command sender
  288.             send "{@P}&6Ability: Dive - Swim super fast in water and dive like a dolphin." to command sender
  289.            
  290.         else if arg-1 is "hades":
  291.             send "{@P}&3About &6Hades&3:" to command sender
  292.             send "{@P}&6Takes less melee damage" to command sender
  293.             send "{@P}&6Deals less melee damage" to command sender
  294.             send " " to command sender
  295.             send "{@P}&6Ability: Summon - When you shoot someone there is a 50% chance to spawn a zombie at thier position." to command sender
  296.            
  297.         else if arg-1 is "ares":
  298.             send "{@P}&3About &6Ares&3:" to command sender
  299.             send "{@P}&6Deals more melee damage" to command sender
  300.             send "{@P}&6Deals less ranged damage" to command sender
  301.             send "{@P}&6Takes more ranged damage" to command sender
  302.             send " " to command sender
  303.             send "{@P}&6Ability: Charge - On right click with an Iron Axe, you get 10s of speed 1 and 3s of strength 1." to command sender
  304.            
  305.         else if arg-1 is "apollo":
  306.             send "{@P}&3About &6Apollo&3:" to command sender
  307.             send "{@P}&6Deals more ranged damage" to command sender
  308.             send "{@P}&6Takes more melee damage" to command sender
  309.             send " " to command sender
  310.             send "{@P}&6Ability: Harp - When playing a note on a noteblock, you get 5s of strength 1." to command sender
  311.            
  312.         else if arg-1 is "athena":
  313.             send "{@P}&3About &6Athena&3:" to command sender
  314.             send "{@P}&6Takes more melee damage" to command sender
  315.             send "{@P}&6Deals more ranged damage" to command sender
  316.             send " " to command sender
  317.             send "{@P}&6Ability: Knowledge - Breaking sugarcane gives you a book and 10 xp bottles(Easier enchanting)." to command sender
  318.            
  319.         else if arg-1 is "hephaestus":
  320.             send "{@P}&3About &6Hephaestus&3:" to command sender
  321.             send "{@P}&6Takes more melee damage." to command sender
  322.             send "{@P}&6Permanent weakness 1 when in water." to command sender
  323.             send " " to command sender
  324.             send "{@P}&6Ability: Flame Body - 5% chance to set attacker on fire when hit in melee, also sets ground on fire when shooting an arrow." to command sender
  325.            
  326.         else if arg-1 is "artemis":
  327.             send "{@P}&3About &6Artemis&3:" to command sender
  328.             send "{@P}&6Takes less ranged damage." to command sender
  329.             send "{@P}&6Deals more ranged damage." to command sender
  330.             send " " to command sender
  331.             send "{@P}&6Ability: The Hunt - Each night you gain a wolf spawn egg and 12 bones." to command sender
  332.            
  333.         else if arg-1 is "aphrodite":
  334.             send "{@P}&3About &6Aphrodite&3:" to command sender
  335.             send "{@P}&6Deals more ranged damage." to command sender
  336.             send " " to command sender
  337.             send "{@P}&6Ability: Charm - When being attacked there 5% chance to not take damage." to command sender
  338.            
  339.         else if arg-1 is "hermes":
  340.             send "{@P}&3About &6Hermes&3:" to command sender
  341.             send "{@P}&6Takes less melee damage." to command sender
  342.             send "{@P}&6Takes more ranged damage." to command sender
  343.             send " " to command sender
  344.             send "{@P}&6Ability: Flight - Permanent Jump Boost 1 and no fall damage." to command sender
  345.            
  346.         else if arg-1 is "demeter":
  347.             send "{@P}&3About &6Demeter&3:" to command sender
  348.             send "{@P}&6Takes more melee damage." to command sender
  349.             send "{@P}&6Deals more ranged damage." to command sender
  350.             send " " to command sender
  351.             send "{@P}&6Ability: Growth - When eating a golden apple there is a 5% chance to heal to full with 5 potential hearts." to command sender
  352.            
  353.         else if arg-1 is "hecate":
  354.             send "{@P}&3About &6Hecate&3:" to command sender
  355.             send "{@P}&6Deals less ranged damage." to command sender
  356.             send " " to command sender
  357.             send "{@P}&6Ability: Invisibility - Invisible when sneaking." to command sender
  358.            
  359.            
  360.         else if arg-1 is "tyche":
  361.             send "{@P}&3About &6Tyche&3:" to command sender
  362.             send "{@P}&6Takes more melee damage." to command sender
  363.             send "{@P}&6Ores are cutclean." to command sender
  364.             send " " to command sender
  365.             send "{@P}&6Ability: Luck - 0.05% chance to find a Diamond and Gold Ingot when mining gravel and Diamond/Gold has a 25% to give double drops." to command sender
  366.            
  367.         else if arg-1 is "hypnos":
  368.             send "{@P}&3About &6Hypnos&3:" to command sender
  369.             send "{@P}&6Permanent weakness 1 during day time." to command sender
  370.             send " " to command sender
  371.             send "{@P}&6Ability: Night Hunter - Permanent strength 1 and speed 1 during night time." to command sender
  372.            
  373.         else if arg-1 is "dionysus":
  374.             send "{@P}&3About &6Dionysus&3:" to command sender
  375.             send "{@P}&6Takes more ranged damage." to command sender
  376.             send " " to command sender
  377.             send "{@P}&6Ability: Wine Drink - When you drink from a bottle of water, you get 5s of strength 1." to command sender
  378.            
  379.         else if arg-1 is "chronos":
  380.             send "{@P}&3About &6Chronos&3:" to command sender
  381.             send "{@P}&6Deals more melee damage." to command sender
  382.             send "{@P}&6Takes more ranged damage." to command sender
  383.             send " " to command sender
  384.             send "{@P}&6Ability: Timelord - Change between day and night with a clock." to command sender
  385.            
  386.         else if arg-1 is "list":
  387.             send "{@P}&3List of Gods:" to command sender
  388.             send "{@P}&6Zeus" to command sender
  389.             send "{@P}&6Poseidon" to command sender
  390.             send "{@P}&6Hades" to command sender
  391.             send "{@P}&6Ares" to command sender
  392.             send "{@P}&6Apollo" to command sender
  393.             send "{@P}&6Athena" to command sender
  394.             send "{@P}&6Hephaestus" to command sender
  395.             send "{@P}&6Artemis" to command sender
  396.             send "{@P}&6Aphrodite" to command sender
  397.             send "{@P}&6Hermes" to command sender
  398.             send "{@P}&6Demeter" to command sender
  399.             send "{@P}&6Hecate" to command sender
  400.             send "{@P}&6Tyche" to command sender
  401.             send "{@P}&6Hypnos" to command sender
  402.             send "{@P}&6Dionysus" to command sender
  403.             send "{@P}&6Chronos" to command sender
  404.            
  405. on command "/team color":
  406.     cancel the event
  407. on command "/team colour":
  408.     cancel the event
  409. on command "/permaday on":
  410.     cancel the event
  411. on command "/startvote permaday":
  412.     cancel the event
  413.    
  414. on damage:
  415.     if damage is caused by attack or contact:
  416.         if {takemoremelee::%victim%} is true:
  417.             if {dealmoremelee::%attacker%} is true:
  418.                 set {_damage} to damage
  419.                 set damage to ({_damage}*1.4)
  420.             else if {deallessmelee::%attacker%} is not set:
  421.                 set {_damage} to damage
  422.                 set damage to ({_damage}*1.2)
  423.         else if {takelessmelee::%victim%} is true:
  424.             if {deallessmelee::%attacker%} is true:
  425.                 set {_damage} to damage
  426.                 set damage to ({_damage}*0.6)
  427.             else if {dealmoremelee::%attacker%} is not set:
  428.                 set {_damage} to damage
  429.                 set damage to ({_damage}*0.8)
  430.         else:
  431.             if {dealmoremelee::%attacker%} is true:
  432.                 set {_damage} to damage
  433.                 set damage to ({_damage}*1.2)
  434.             else if {deallessmelee::%attacker%} is true:
  435.                 set {_damage} to damage
  436.                 set damage to ({_damage}*0.8)
  437.     else if damage is caused by projectile:
  438.         if projectile is an arrow:
  439.             if {takemoreranged::%victim%} is true:
  440.                 if {dealmoreranged::%attacker%} is true:
  441.                     set {_damage} to damage
  442.                     set damage to ({_damage}*1.4)
  443.                 else if {deallessranged::%attacker%} is not set:
  444.                     set {_damage} to damage
  445.                     set damage to ({_damage}*1.2)
  446.             else if {takelessranged::%victim%} is true:
  447.                 if {deallessranged::%attacker%} is true:
  448.                     set {_damage} to damage
  449.                     set damage to ({_damage}*0.6)
  450.                 else if {dealmoreranged::%attacker%} is not set:
  451.                     set {_damage} to damage
  452.                     set damage to ({_damage}*0.8)
  453.             else:
  454.                 if {dealmoreranged::%attacker%} is true:
  455.                     set {_damage} to damage
  456.                     set damage to ({_damage}*1.2)
  457.                 else if {deallessranged::%attacker%} is true:
  458.                     set {_damage} to damage
  459.                     set damage to ({_damage}*0.8)
RAW Paste Data
Top