You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, how do i hide flags like "When in main hand: xxx" on a tool(diamond sword,iron pickaxe etc)?
create a new gui with id "buyorsellironsword" with virtual chest inventory with 1 row named "Stacks" and shape "----a---x": make gui slot "a" with iron sword named "Iron Sword" with lore "Buy: 10" and "Sell: 5": create a new gui with id "buyorsellironswordSingle" with virtual chest inventory with 1 row named "Buy or Sell Iron Sword" and shape "---a-b--x": make gui slot "x" with barrier named "Return": open gui with id "buyorsellironsword" for player make gui slot "a" with lime concrete named "Buy": if player's balance >= {harga_iron_sword} * 1: remove {harga_iron_sword} from player's balance add 1 iron sword to player send "&aYou bought 1 Iron Sword!" else: send "&cYou have no balance to buy 1 Iron Sword!" make gui slot "b" with red concrete named "Sell": if player has 1 iron sword: remove 1 iron sword from player add {harga_iron_sword} / 2 to player's balance send "&aYou Sold 1 Iron Sword!" else: send "&cYou don't have any iron sword to sell!" open gui with id "buyorsellironswordSingle" for player
Also, thank you.
The text was updated successfully, but these errors were encountered:
skript-gui version 1.3
Description
Hello, how do i hide flags like "When in main hand: xxx" on a tool(diamond sword,iron pickaxe etc)?
create a new gui with id "buyorsellironsword" with virtual chest inventory with 1 row named "Stacks" and shape "----a---x": make gui slot "a" with iron sword named "Iron Sword" with lore "Buy: 10" and "Sell: 5": create a new gui with id "buyorsellironswordSingle" with virtual chest inventory with 1 row named "Buy or Sell Iron Sword" and shape "---a-b--x": make gui slot "x" with barrier named "Return": open gui with id "buyorsellironsword" for player make gui slot "a" with lime concrete named "Buy": if player's balance >= {harga_iron_sword} * 1: remove {harga_iron_sword} from player's balance add 1 iron sword to player send "&aYou bought 1 Iron Sword!" else: send "&cYou have no balance to buy 1 Iron Sword!" make gui slot "b" with red concrete named "Sell": if player has 1 iron sword: remove 1 iron sword from player add {harga_iron_sword} / 2 to player's balance send "&aYou Sold 1 Iron Sword!" else: send "&cYou don't have any iron sword to sell!" open gui with id "buyorsellironswordSingle" for player
Also, thank you.
The text was updated successfully, but these errors were encountered: