levels.sk
on right click on villager:
set {_name} to the name of the entity
apply potion of slowness 100 to entity for 1000000 seconds
apply potion of jump boost -100 to entity for 1000000 seconds
if {_name} is "Armor":
broadcast "&2yay"
openArmor(player)
# Swords : {%{_p}%.swLV}
# Blocks : {%{_p}%.blLV}
# Helmet : {%{_p}%.hlLV}
# Chestplate : {%{_p}%.chLV}
# Leggings : {%{_p}%.lgLV}
command /sethel <player> <integer>:
trigger:
broadcast "%arg 1% %arg 2%"
set {%arg 1%.hlLV} to %arg 2%
function openArmor(p: player):
open chest with 4 rows named "Armor" to {_p}
# Create Showers
format gui slot 0 of {_p} with leather helmet named "Helmets" to close
format gui slot 9 of {_p} with leather chestplate named "Chestplates" to close
format gui slot 18 of {_p} with leather leggings named "Leggings" to close
format gui slot 27 of {_p} with leather boots named "Boots" to close
# Show Defaults
format gui slot 1 of {_p} with barrier named "No Helmet" with lore "&5Default" to close
format gui slot 2 of {_p} with bedrock named "&c&lNOT UNLOCKED!" lored "&7Unlock at: [5]" to close
format gui slot 3 of {_p} with bedrock named "&c&lNOT UNLOCKED!" lored "&7Unlock at: [&325&7]" to close
format gui slot 4 of {_p} with bedrock named "&c&lNOT UNLOCKED!" lored "&7Unlock at: [&e50&7]" to close
format gui slot 5 of {_p} with bedrock named "&c&lNOT UNLOCKED!" lored "&7Unlock at: [&c&470&7]" to close
# Config New Slots
if {%{_p}%.pvpLV} is greater than or equal to 5:
format gui slot 2 of {_p} with leather helmet named "&bLeather Helmet" to close then run "/sethel %{_p}% 2"
if {%{_p}%.pvpLV} is greater than or equal to 25:
format gui slot 3 of {_p} with chain helmet named "&bChain Helmet" to close then run "/sethel %{_p}% 3"
if {%{_p}%.pvpLV} is greater than or equal to 50:
format gui slot 4 of {_p} with iron helmet named "&bChain Helmet" to close then run "/sethel %{_p}% 4"
if {%{_p}%.pvpLV} is greater than or equal to 75:
format gui slot 3 of {_p} with diamond helmet named "&bDiamond Helmet" to close then run "/sethel %{_p}% 5"
Public Last updated: 2020-04-24 06:52:34 PM