Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /test:
trigger:
open virtual chest inventory named "test" to player
format gui slot 0 of player with wither skeleton head named "test"
format slot 9 of player with 1 iron sword named "&aBerserk &7(Lvl %{Strength::%player%}% / 10)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Damage &a➟ &f+0.1 &eDmg|| ||&7Cost: &e7 ❂|| ||&cInfo: &7Increases dmg (ignores armor)||&cInfo: &7Only affects Axes + Swords||&cMax: &7Deal 2 extra &c❤&7's" to run [make player execute command "/purchup1"]
format slot 10 of player with 1 apple named "&aHealth &7(Lvl %{Health::%player%}% / 20)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Health &a➟ &f+0.5 &c❤ &eHp|| ||&7Cost: &e6 ❂|| ||&cInfo: &7Increases your max health||&cMax: &7Your health becomes 20 &c❤&7's" to run [make player execute command "/purchup2"]
format slot 11 of player with 1 spider eye named "&aPoison &7(Lvl %{Poison::%player%}% / 30)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Poison &a➟ &f+0.2 &eSecs|| ||&7Cost: &e4 ❂|| ||&cInfo: &7When hitting, chance ||&7 to poison the enemy||&cMax: &7Poison tick will last for 6-8 secs" to run [make player execute command "purchup3"]
format slot 12 of player with 1 ice named "&aSlowness &7(Lvl %{Slowness::%player%}% / 40)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Slowness &a➟ &f+0.2 &eSecs|| ||&7Cost: &e3 ❂|| ||&cInfo: &7When hitting, chance ||&7 to slow the enemy" to run [make player execute command "purchup4"]
format slot 13 of player with 1 wither skeleton head named "&aWither &7(Lvl %{Wither::%player%}% / 40)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Wither &a➟ &f+0.2 &eSecs|| ||&7Cost: &e2 ❂|| ||&cInfo: &7When hitting, chance ||&7 to wither the enemy" to run [make player execute command "purchup5"]
What exactly do you mean by updrade stuff? Do you mean they can move the items or that your upgrade isnt working?Oh and one more thing, People can left click in my Inventory to upgrade stuff, how do i fix?
[doublepost=1501348286,1501348255][/doublepost]Like the actual inventory of the player, as well as the gui menucode_language.skript:format slot 9 of player with 1 iron sword named "&aBerserk &7(Lvl %{Strength::%player%}% / 10)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Damage &a➟ &f+0.1 &eDmg|| ||&7Cost: &e7 ❂|| ||&cInfo: &7Increases dmg (ignores armor)||&cInfo: &7Only affects Axes + Swords||&cMax: &7Deal 2 extra &c❤&7's" to run [make player execute command "/purchup1"] format slot 10 of player with 1 apple named "&aHealth &7(Lvl %{Health::%player%}% / 20)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Health &a➟ &f+0.5 &c❤ &eHp|| ||&7Cost: &e6 ❂|| ||&cInfo: &7Increases your max health||&cMax: &7Your health becomes 20 &c❤&7's" to run [make player execute command "/purchup2"] format slot 11 of player with 1 spider eye named "&aPoison &7(Lvl %{Poison::%player%}% / 30)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Poison &a➟ &f+0.2 &eSecs|| ||&7Cost: &e4 ❂|| ||&cInfo: &7When hitting, chance ||&7 to poison the enemy||&cMax: &7Poison tick will last for 6-8 secs" to run [make player execute command "purchup3"] format slot 12 of player with 1 ice named "&aSlowness &7(Lvl %{Slowness::%player%}% / 40)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Slowness &a➟ &f+0.2 &eSecs|| ||&7Cost: &e3 ❂|| ||&cInfo: &7When hitting, chance ||&7 to slow the enemy" to run [make player execute command "purchup4"] format slot 13 of player with 1 wither skeleton head named "&aWither &7(Lvl %{Wither::%player%}% / 40)" with lore "&a▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Wither &a➟ &f+0.2 &eSecs|| ||&7Cost: &e2 ❂|| ||&cInfo: &7When hitting, chance ||&7 to wither the enemy" to run [make player execute command "purchup5"]
format gui slot 0 of player with witherskull named "test" to run player command "/command here" with right click
format gui slot 0 of player with witherskull named "test" to run player command "/different command" with left click
format slot 16 of player with 1 potion:8194 named "&cSprint &7(Lvl %{Sprint::%player%}% / 30)" with lore "||&c(!) Coming Soon (!)||&c▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Speed &a➟ &f+0.1 &eSecs|| ||&7Cost: &e4 ❂|| ||&cInfo: &7While sprinting, gain Speed I" to close then run [make player execute command "/pcs"]
Use "with no nbt". you will need SkRayFall for it though Also don;t use item numeric ID's!!!thx, and one more thing,
How do i remove potion lore?
EXAMPLE:
code_language.skript:format slot 16 of player with 1 potion:8194 named "&cSprint &7(Lvl %{Sprint::%player%}% / 30)" with lore "||&c(!) Coming Soon (!)||&c▶ &7Click to upgrade this skill || ||&eEffect:||&e◆ &7Speed &a➟ &f+0.1 &eSecs|| ||&7Cost: &e4 ❂|| ||&cInfo: &7While sprinting, gain Speed I" to close then run [make player execute command "/pcs"]
command /test:
trigger:
open virtual chest inventory named "test" to player
format gui slot 0 of player with potion of swiftness with no nbt named "test" to run player comma
not true. just use "lingering potion of swiftness"Well if you want splash and lingering potions hes gonne need numeric ids
I find it depends on how you set up the gui. with regular format slot it is glitchy. I've never had trouble with tuske formatting thoughNever did for me. Atleast not reliable :/ especially getting the item type from a potion