So im using the skript-gui plugin and i tryed to create a GUI:
However when I open the GUI it only has one row? Help please?
Code:
command /energyShop:
aliases: /es
trigger:
create a gui with virtual chest inventory with 9 rows named "Energy Shop":
if {class::%player's uuid%} is 1:
make gui slot 10 with paper named "Movement upgrade I" with lore "&4Cost: 30 Levels":
if {energy::%player's uuid%} is greater than 300:
if {teir::%player's uuid%} = 1:
remove 30 levels from player
send "Item has been perchased for 30 levels"
add swiftness 1 to {potions::%player's uuid%}
apply infinite potion of swiftness of tier 1 to the player
make gui slot 19 with paper named "Movement upgrade II" with lore "&4Cost: 50 Levels":
if {energy::%player's uuid%} is greater than 500:
if {teir::%player's uuid%} = 2:
remove 50 levels from player
send "Item has been perchased for 50 levels"
add jump boost 1 to {potions::%player's uuid%}
apply infinite potion of jump boost of tier 1 to the player
make gui slot 28 with paper named "Movement upgrade III" with lore "&4Cost: 75 Levels":
if {energy::%player's uuid%} is greater than 750:
if {teir::%player's uuid%} = 3:
remove 75 levels from player
send "Item has been perchased for 75 levels"
add swiftness 2 to {potions::%player's uuid%}
apply infinite potion of swiftness of tier 2 to the player
make gui slot 37 with paper named "Dash rod" with lore "&4Cost: 50 Levels":
if {energy::%player's uuid%} is greater than 500:
if {teir::%player's uuid%} = 4:
remove 50 levels from player
send "Item has been perchased for 50 levels"
give player fishing rod
else:
make gui slot 10 with bedrock named "&4Movment Class item" with lore "&4You are not the correct class!"
make gui slot 19 with bedrock named "&4Movment Class item" with lore "&4You are not the correct class!"
make gui slot 28 with bedrock named "&4Movment Class item" with lore "&4You are not the correct class!"
make gui slot 37 with bedrock named "&4Movment Class item" with lore "&4You are not the correct class!"
open the last gui to player
However when I open the GUI it only has one row? Help please?