Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Cookie Clicker
- # By pewax
- #
- variables:
- {cookies.%player%} = 0
- {multiplyer.%player%} = 1
- {cookie.leaderboard::%player%} = 0
- {cursor's.%player%} = 0
- {cursor.price.%player%} = 15
- {grandma's.%player%} = 0
- {grandma.price.%player%} = 100
- {farm's.%player%} = 0
- {farm.price.%player%} = 1100
- {mine's.%player%} = 0
- {mine.price.%player%} = 12000
- {factory's.%player%} = 0
- {factory.price.%player%} = 130000
- {bank's.%player%} = 0
- {bank.price.%player%} = 1400000
- {temple's.%player%} = 0
- {temple.price.%player%} = 20000000
- {wizardtower's.%player%} = 0
- {wizardtower.price.%player%} = 330000000
- {shipment's.%player%} = 0
- {shipment.price.%player%} = 5100000000
- {alchemylab's.%player%} = 0
- {alchemylab.price.%player%} = 75000000000
- {portal's.%player%} = 0
- {portal.price.%player%} = 1000000000000
- {timemachine's.%player%} = 0
- {timemachine.price.%player%} = 14000000000000
- {antimatter-condenser's.%player%} = 0
- {antimatter-condenser.price.%player%} = 170000000000000
- {prism's.%player%} = 0
- {prism.price.%player%} = 2100000000000000
- every 3 ticks:
- loop all players:
- set {cookie.leaderboard::%loop-player%} to {cookies.%loop-player%}
- command /cookie [<text>]:
- executable by: players
- trigger:
- if arg-1 is set:
- if arg-1 is "reset":
- set {cookies.%player%} to 0
- set {multiplyer.%player%} to 1
- set {cursor's.%player%} to 0
- set {cursor.price.%player%} to 15
- set {grandma's.%player%} to 0
- set {grandma.price.%player%} to 100
- else if arg-1 is "cursor":
- if {cookies.%player%} >= {cursor.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {cursor.price.%player%} from {cookies.%player%}
- add 0.1 to {multiplyer.%player%}
- add 1 to {cursor's.%player%}
- set {cursor.price.%player%} to {cursor.price.%player%} + ({cursor.price.%player%} * 0.15)
- set {cursor.price.%player%} to round({cursor.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 0 of player with arrow named "&f&lCursor" with lore "&cCost: %{cursor.price.%event-player%}% Cookies||&6Owned: %{cursor's.%event-player%}%||&8+0.1 Every Click" to run [make event-player execute "/cookie cursor"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "grandma":
- if {cookies.%player%} >= {grandma.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {grandma.price.%player%} from {cookies.%player%}
- add 1 to {multiplyer.%player%}
- add 1 to {grandma's.%player%}
- set {grandma.price.%player%} to {grandma.price.%player%} + ({grandma.price.%player%} * 0.15)
- set {grandma.price.%player%} to round({grandma.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 1 of player with cake_item named "&6&lGrandma" with lore "&cCost: %{grandma.price.%event-player%}% Cookies||&6Owned: %{grandma's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie grandma"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "farm":
- if {cookies.%player%} >= {farm.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {farm.price.%player%} from {cookies.%player%}
- add 8 to {multiplyer.%player%}
- add 1 to {farm's.%player%}
- set {farm.price.%player%} to {farm.price.%player%} + ({farm.price.%player%} * 0.15)
- set {farm.price.%player%} to round({farm.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 2 of player with cake_item named "&6&lfarm" with lore "&cCost: %{farm.price.%event-player%}% Cookies||&6Owned: %{farm's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie farm"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "mine":
- if {cookies.%player%} >= {mine.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {mine.price.%player%} from {cookies.%player%}
- add 47 to {multiplyer.%player%}
- add 1 to {mine's.%player%}
- set {mine.price.%player%} to {mine.price.%player%} + ({mine.price.%player%} * 0.15)
- set {mine.price.%player%} to round({mine.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 3 of player with cake_item named "&6&lmine" with lore "&cCost: %{mine.price.%event-player%}% Cookies||&6Owned: %{mine's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie mine"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "factory":
- if {cookies.%player%} >= {factory.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {factory.price.%player%} from {cookies.%player%}
- add 260 to {multiplyer.%player%}
- add 1 to {factory's.%player%}
- set {factory.price.%player%} to {factory.price.%player%} + ({factory.price.%player%} * 0.15)
- set {factory.price.%player%} to round({factory.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 4 of player with cake_item named "&6&lfactory" with lore "&cCost: %{factory.price.%event-player%}% Cookies||&6Owned: %{factory's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie factory"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "bank":
- if {cookies.%player%} >= {bank.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {bank.price.%player%} from {cookies.%player%}
- add 1400 to {multiplyer.%player%}
- add 1 to {bank's.%player%}
- set {bank.price.%player%} to {bank.price.%player%} + ({bank.price.%player%} * 0.15)
- set {bank.price.%player%} to round({bank.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 5 of player with cake_item named "&6&lbank" with lore "&cCost: %{bank.price.%event-player%}% Cookies||&6Owned: %{bank's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie bank"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "temple":
- if {cookies.%player%} >= {temple.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {temple.price.%player%} from {cookies.%player%}
- add 7800 to {multiplyer.%player%}
- add 1 to {temple's.%player%}
- set {temple.price.%player%} to {temple.price.%player%} + ({temple.price.%player%} * 0.15)
- set {temple.price.%player%} to round({temple.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 6 of player with cake_item named "&6<emple" with lore "&cCost: %{temple.price.%event-player%}% Cookies||&6Owned: %{temple's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie temple"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "wizardtower":
- if {cookies.%player%} >= {wizardtower.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {wizardtower.price.%player%} from {cookies.%player%}
- add 44000 to {multiplyer.%player%}
- add 1 to {wizardtower's.%player%}
- set {wizardtower.price.%player%} to {wizardtower.price.%player%} + ({wizardtower.price.%player%} * 0.15)
- set {wizardtower.price.%player%} to round({wizardtower.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 7 of player with cake_item named "&6&lwizardtower" with lore "&cCost: %{wizardtower.price.%event-player%}% Cookies||&6Owned: %{wizardtower's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie wizardtower"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "shipment":
- if {cookies.%player%} >= {shipment.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {shipment.price.%player%} from {cookies.%player%}
- add 260000 to {multiplyer.%player%}
- add 1 to {shipment's.%player%}
- set {shipment.price.%player%} to {shipment.price.%player%} + ({shipment.price.%player%} * 0.15)
- set {shipment.price.%player%} to round({shipment.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 8 of player with cake_item named "&6&lshipment" with lore "&cCost: %{shipment.price.%event-player%}% Cookies||&6Owned: %{shipment's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie shipment"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "alchemylab":
- if {cookies.%player%} >= {alchemylab.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {alchemylab.price.%player%} from {cookies.%player%}
- add 1600000 to {multiplyer.%player%}
- add 1 to {alchemylab's.%player%}
- set {alchemylab.price.%player%} to {alchemylab.price.%player%} + ({alchemylab.price.%player%} * 0.15)
- set {alchemylab.price.%player%} to round({alchemylab.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 9 of player with cake_item named "&6&lalchemylab" with lore "&cCost: %{alchemylab.price.%event-player%}% Cookies||&6Owned: %{alchemylab's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie alchemylab"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "portal":
- if {cookies.%player%} >= {portal.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {portal.price.%player%} from {cookies.%player%}
- add 10000000 to {multiplyer.%player%}
- add 1 to {portal's.%player%}
- set {portal.price.%player%} to {portal.price.%player%} + ({portal.price.%player%} * 0.15)
- set {portal.price.%player%} to round({portal.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 10 of player with cake_item named "&6&lportal" with lore "&cCost: %{portal.price.%event-player%}% Cookies||&6Owned: %{portal's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie portal"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "timemachine":
- if {cookies.%player%} >= {timemachine.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {timemachine.price.%player%} from {cookies.%player%}
- add 65000000 to {multiplyer.%player%}
- add 1 to {timemachine's.%player%}
- set {timemachine.price.%player%} to {timemachine.price.%player%} + ({timemachine.price.%player%} * 0.15)
- set {timemachine.price.%player%} to round({timemachine.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 11 of player with cake_item named "&6<imemachine" with lore "&cCost: %{timemachine.price.%event-player%}% Cookies||&6Owned: %{timemachine's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie timemachine"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "antimatter-condenser":
- if {cookies.%player%} >= {antimatter-condenser.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {antimatter-condenser.price.%player%} from {cookies.%player%}
- add 430000000 to {multiplyer.%player%}
- add 1 to {antimatter-condenser's.%player%}
- set {antimatter-condenser.price.%player%} to {antimatter-condenser.price.%player%} + ({antimatter-condenser.price.%player%} * 0.15)
- set {antimatter-condenser.price.%player%} to round({antimatter-condenser.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 12 of player with cake_item named "&6&lantimatter-condenser" with lore "&cCost: %{antimatter-condenser.price.%event-player%}% Cookies||&6Owned: %{antimatter-condenser's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie antimatter-condenser"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "prism":
- if {cookies.%player%} >= {prism.price.%player%}:
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- remove {prism.price.%player%} from {cookies.%player%}
- add 2900000000 to {multiplyer.%player%}
- add 1 to {prism's.%player%}
- set {prism.price.%player%} to {prism.price.%player%} + ({prism.price.%player%} * 0.15)
- set {prism.price.%player%} to round({prism.price.%player%})
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- format slot 13 of player with cake_item named "&6&lprism" with lore "&cCost: %{prism.price.%event-player%}% Cookies||&6Owned: %{prism's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie prism"]
- else:
- send "&c&lYou need more cookies for this!"
- else if arg-1 is "leaderboard":
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- set {_6th.point} to 0
- set {_7th.point} to 0
- set {_8th.point} to 0
- set {_9th.point} to 0
- set {_10th.point} to 0
- loop {cookie.leaderboard::*}:
- if loop-value is more than {_1st.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- else if loop-value is more than {_6th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to loop-index
- set {_6th.point} to loop-value
- else if loop-value is more than {_7th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to loop-index
- set {_7th.point} to loop-value
- else if loop-value is more than {_8th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to loop-index
- set {_8th.point} to loop-value
- else if loop-value is more than {_9th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to loop-index
- set {_9th.point} to loop-value
- else if loop-value is more than {_10th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- else if loop-value is more than {_11th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- else if loop-value is more than {_12th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- else if loop-value is more than {_13th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- else if loop-value is more than {_14th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- else if loop-value is more than {_15th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- send "&9&l======= &f&6&lTop Clickers &9&l======="
- send "&e1st : &7%{_1st}% - &c%{_1st.point}% &7cookies"
- send "&72nd : &7%{_2nd}% - &c%{_2nd.point}% &7cookies"
- send "&63rd : &7%{_3rd}% - &c%{_3rd.point}% &7cookies"
- send "&r4th : &7%{_4th}% - &c%{_4th.point}% &7cookies"
- send "&r5th : &7%{_5th}% - &c%{_5th.point}% &7cookies"
- send "&r6th : &7%{_6th}% - &c%{_6th.point}% &7cookies"
- send "&r7th : &7%{_7th}% - &c%{_7th.point}% &7cookies"
- send "&r8th : &7%{_8th}% - &c%{_8th.point}% &7cookies"
- send "&r9th : &7%{_9th}% - &c%{_9th.point}% &7cookies"
- send "&r10th : &7%{_10th}% - &c%{_10th.point}% &7cookies"
- #send "&r11th : &7%{_11th}% - &c%{_11th.point}% &7cookies"
- #send "&r12th : &7%{_12th}% - &c%{_12th.point}% &7cookies"
- #send "&r13th : &7%{_13th}% - &c%{_13th.point}% &7cookies"
- #send "&r14th : &7%{_14th}% - &c%{_14th.point}% &7cookies"
- #send "&r15th : &7%{_15th}% - &c%{_15th.point}% &7cookies"
- send "&9&l======= &f&6&lTop Clickers &9&l======="
- else:
- send "&cSorry that is not a valid cookie clicker command!" to player
- else:
- set {_cookie} to a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%player%}%&7>>"
- give {_cookie} to the player
- on rightclick:
- if event-player is holding a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>":
- cancel event
- remove a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" from event-player
- add {multiplyer.%event-player%} to {cookies.%event-player%}
- give a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%event-player%}%&7>>" to event-player
- else:
- stop
- on leftclick:
- if player is holding a cookie named "&6&lCookie Clicker &7<<&e%{cookies.%player%}%&7>>":
- cancel event
- open chest with 4 rows named "Cookie Clicker" to player
- set {_cookieplayer} to "%player%" parsed as player
- wait 3 ticks
- format slot 0 of player with arrow named "&f&lCursor" with lore "&cCost: %{cursor.price.%event-player%}% Cookies||&6Owned: %{cursor's.%event-player%}%||&8+0.1 Every Click" to run [make event-player execute "/cookie cursor"]
- format slot 1 of player with cake_item named "&6&lGrandma" with lore "&cCost: %{grandma.price.%event-player%}% Cookies||&6Owned: %{grandma's.%event-player%}%||&8+1 Every Click" to run [make event-player execute "/cookie grandma"]
- format slot 2 of player with golden_hoe named "&6&lFarm" with lore "&cCost: %{farm.price.%event-player%}% Cookies||&6Owned: %{farm's.%event-player%}%||&8+8 Every Click" to run [make event-player execute "/cookie farm"]
- format slot 3 of player with stone_pickaxe named "&6&lMine" with lore "&cCost: %{mine.price.%event-player%}% Cookies||&6Owned: %{mine's.%event-player%}%||&8+47 Every Click" to run [make event-player execute "/cookie mine"]
- format slot 4 of player with piston_base named "&6&lFactory" with lore "&cCost: %{factory.price.%event-player%}% Cookies||&6Owned: %{factory's.%event-player%}%||&8+260 Every Click" to run [make event-player execute "/cookie factory"]
- format slot 5 of player with diamond named "&6&lBank" with lore "&cCost: %{bank.price.%event-player%}% Cookies||&6Owned: %{bank's.%event-player%}%||&8+1400 Every Click" to run [make event-player execute "/cookie bank"]
- format slot 6 of player with cracked_stone_brick named "&6&lTemple" with lore "&cCost: %{temple.price.%event-player%}% Cookies||&6Owned: %{temple's.%event-player%}%||&8+7800 Every Click" to run [make event-player execute "/cookie temple"]
- format slot 7 of player with blaze_rod named "&6&lWizard Tower" with lore "&cCost: %{wizardtower.price.%event-player%}% Cookies||&6Owned: %{wizardtower's.%event-player%}%||&8+44000 Every Click" to run [make event-player execute "/cookie wizardtower"]
- format slot 8 of player with blaze_powder named "&6&lShipment" with lore "&cCost: %{shipment.price.%event-player%}% Cookies||&6Owned: %{shipment's.%event-player%}%||&8+260000 Every Click" to run [make event-player execute "/cookie shipment"]
- format slot 9 of player with glass_bottle named "&6&lAlchemy Lab" with lore "&cCost: %{alchemylab.price.%event-player%}% Cookies||&6Owned: %{alchemylab's.%event-player%}%||&8+1.6 Million Every Click" to run [make event-player execute "/cookie alchemylab"]
- format slot 10 of player with ender_portal_frame named "&6&lPortal" with lore "&cCost: %{portal.price.%event-player%}% Cookies||&6Owned: %{portal's.%event-player%}%||&8+10 Million Every Click" to run [make event-player execute "/cookie portal"]
- format slot 11 of player with clock named "&6&lTime Machine" with lore "&cCost: %{timemachine.price.%event-player%}% Cookies||&6Owned: %{timemachine's.%event-player%}%||&8+65 Million Every Click" to run [make event-player execute "/cookie timemachine"]
- format slot 12 of player with daylight_sensor named "&6&lAnti-Matter Condenser" with lore "&cCost: %{antimatter-condenser.price.%event-player%}% Cookies||&6Owned: %{antimatter-condenser's.%event-player%}%||&8+430 Million Every Click" to run [make event-player execute "/cookie antimatter-condenser"]
- format slot 13 of player with prismarine_shard named "&6&lPrism" with lore "&cCost: %{prism.price.%event-player%}% Cookies||&6Owned: %{prism's.%event-player%}%||&8+2.9 Billion Every Click" to run [make event-player execute "/cookie prism"]
- format slot 27 of player with ender_pearl named "&f&lLeaderboard" with lore "&cClick for the top 10 cookie clickers!" to run [make event-player execute "/cookie leaderboard"]
- format slot 31 of player with skull of {_cookieplayer} named "&e&lYour Stats" with lore "&cCookies: %{cookies.%event-player%}%||&6Cookies Per Click: %{multiplyer.%event-player%}%" to close
- format slot 35 of player with book named "&6&lAchievements" with lore "&cClick for achievements!||&d&lCOMING SOON!" to close #to run [make event-player execute "/cookie achievements"]
Advertisement
Add Comment
Please, Sign In to add comment