youMADison
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Posts posted by youMADison
-
-
I was able to resolve this issue on my own and add another:
command /kitui:
permission: kitlook
trigger:
open virtual chest with size 1 named "KITS" to player
format gui slot 0 of player with paper named "&bStarter Kit" to run:
execute player command "/kit starter"
format gui slot 1 of player with iron ingot named "&bIron Kit" to run:
if player has 10 emeralds:
if player has permission "ironkit":
remove 10 emerald from player's inventory
execute player command "/kit iron"
send "iron kit has been purchased, 10 emerald have been removed from your inventory"
else:
send "no permission"
else:
send "&cYou dont have 10 emeralds!" -
I am building a kit pvp server and i watched the video of trent on how you skript a GUI and i have done so, added the item and everything, I would like to make it so that when a player clicks on the item, it removes items from their inventory, and gives them the item/ kit, i want it to go based off of
command /kitui:
trigger:
open virtual chest inventory with size 1 named "Kit" to player
format gui slot 4 of player with paper named "&bStarter Kit" to run:
so its easier for me to understand. -
with the virtual chest bit [in trents video] how does one make it so that you run the give command rather than the weather command?
-
When i type "/prefix set (prefix) it sets it, then i type in chat and it says "{Prefix.youmadison} youMADison: poopy
help
Need help with Gui skripting with kits
in Discussion
Posted
command /kitui:
permission: kitlook
trigger:
open virtual chest with size 1 named "KITS" to player
format gui slot 0 of player with paper named "&bStarter Kit" to run:
execute player command "/kit starter"
format gui slot 1 of player with iron ingot named "&bIron Kit" to run:
if player has 10 emeralds:
if player has permission "ironkit":
remove 10 emerald from player's inventory
execute player command "/kit iron"
send "iron kit has been purchased, 10 emerald have been removed from your inventory"
else:
send "no permission"
else:
send "&cYou dont have 10 emeralds!"
format gui slot 2 of player with diamond named "&bDiamond Kit" to run:
if player has 20 emeralds:
if player has permission "diamondkit":
remove 20 emerald from player's inventory
execute player command "/kit diamond"
send "diamond kit has been purchased, 20 emerald have been removed from your inventory"
else:
send "no permission"
else:
send "&cYou dont have 20 emeralds!"
doesent work it says there is lines of blank code that cant be executed