elementgui2.sk

Created by TruestLucario

Other available versions. Ordered by newest to oldest versions:

Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.

# CREATED BY TRUESTLUCARIO, PLEASE DO NOT CLAIM THIS SKRIPT TO BE YOUR OWN.

# GUI Options;
options:
		# GUI Display;
		gui-name: Elements
		gui-color: &3
		# Items Used in GUI;
		frame: black stained glass pane
		air-block: barrier
		fire-block: netherrack
		water-block: water bucket
		earth-block: grass block
		chi-block: spectral arrow
		# Names of items used;
		air-name: Air
		fire-name: Fire
		water-name: Water
		earth-name: Earth
		chi-name: Chi
		# Item Name Colour Prefixes
		air-prefix: &f
		fire-prefix: &4
		water-prefix: &1
		earth-prefix: &2
		chi-prefix: &6
		# Selection Usage
		lore: Change your element to
		lore-color: &7

command /element [<text>]:
	aliases: /e, /elem, /el
	trigger:
		if arg-1 is not set:
			open virtual chest with size 1 named "{@gui-color}{@gui-name}" for the player
			format gui slot 2 of player with {@air-block} named "{@air-prefix}{@air-name}" with lore "{@lore-color}{@lore-choose}:" and "{@air-prefix}{@air-name}" to close then run console command "/bending choose Air %player%"
			format gui slot 3 of player with {@fire-block} named "{@fire-prefix}{@fire-name}" with lore "{@lore-color}{@lore-choose}:" and "{@fire-prefix}{@fire-name}" to close then run console command "/bending choose Fire %player%"
			format gui slot 4 of player with {@chi-block} named "{@chi-prefix}{@chi-name}" with lore "{@lore-color}{@lore-choose}:" and "{@chi-prefix}{@chi-name}" to close then run console command "/bending choose Chi %player%"
			format gui slot 5 of player with {@water-block} named "{@water-prefix}{@water-name}" with lore "{@lore-color}{@lore-choose}:" and "{@water-prefix}{@water-name}" to close then run console command "/bending choose Water %player%"
			format gui slot 6 of player with {@earth-block} named "{@earth-prefix}{@earth-name}" with lore "{@lore-color}{@lore-choose}:" and "{@earth-prefix}{@earth-name}" to close then run console command "/bending choose Earth %player%"
			format gui slot 0 and 1 and 7 and 8 of player with {@frame} named "&8"