Script Version (do not put latest): 2.6
Script Author: Frogleader
Minecraft Version: 1-17-1
Full Code:
Errors on Reload:
There are no errors
Console Errors: (if applicable)
There are no errors
Other Useful Info:
I cannot seem to open the GUI, even without anything and just a standard gui, without anything in it
Addons using (including versions):
SkQuery V4.1.4
Tuske V1.8.2 Pikachu Patch 3 Mh 1
Troubleshooting:
Have you tried searching the docs?
I have tried, however i cannot find a single thing which might work
Have you tried searching the Forums?
I have same issue as above
What other methods have you tried to fix it?
Updating Tuske
Script Author: Frogleader
Minecraft Version: 1-17-1
Full Code:
Code:
on join:
if {pickaxe::%player's uuid%} isn't set:
set {pickaxe::%player's uuid%} to 0
give player 1 wooden pickaxe named "&7Wooden &7Pickaxe &8[&6&l1&8]" with lore "&7Breaking Power: &a1"
command /upgrade:
trigger:
create a gui with virtual chest inventory with size 5 named "&8Upgrade":
make gui slot (all integers between 0 and 19) with gray glass pane named ""
if {pickaxe::%player's uuid%} is 0:
make gui slot 20 with wooden pickaxe of efficiency 1 named "&7Pickaxe Upgrade &8[&6&l2&8]" with lore "&7Cost: &a$150":
if {balance::%player's uuid%} > 149:
remove 150 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of wooden pickaxe of efficiency 1 named "&7Wooden &7Pickaxe &8[&6&l2&8]" with lore "&7Breaking Power: &a1"
close player's inventory
set {pickaxe::%player's uuid%} to 1
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 1:
make gui slot 20 with wooden pickaxe of efficiency 2 named "&7Pickaxe Upgrade &8[&6&l3&8]" with lore "&7Cost: &a$300":
if {balance::%player's uuid%} > 299:
remove 300 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of wooden pickaxe of efficiency 2 named "&7Wooden &7Pickaxe &8[&6&l3&8]" with lore "&7Breaking Power: &a1"
close player's inventory
set {pickaxe::%player's uuid%} to 2
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 2:
make gui slot 20 with wooden pickaxe of efficiency 3 named "&7Pickaxe Upgrade &8[&6&l4&8]" with lore "&7Cost: &a$500":
if {balance::%player's uuid%} > 499:
remove 500 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of wooden pickaxe of efficiency 3 named "&7Wooden &7Pickaxe &8[&6&l4&8]" with lore "&7Breaking Power: &a1"
close player's inventory
set {pickaxe::%player's uuid%} to 3
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 3:
make gui slot 20 with wooden pickaxe of efficiency 4 named "&7Pickaxe Upgrade &8[&6&l5&8]" with lore "&7Cost: &a$800":
if {balance::%player's uuid%} > 799:
remove 800 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of wooden pickaxe of efficiency 4 named "&7Wooden &7Pickaxe &8[&6&l5&8]" with lore "&7Breaking Power: &a1"
close player's inventory
set {pickaxe::%player's uuid%} to 4
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 4:
make gui slot 20 with wooden pickaxe of efficiency 5 named "&7Pickaxe Upgrade &8[&6&l6&8]" with lore "&7Cost: &a$1,200":
if {balance::%player's uuid%} > 1199:
remove 1200 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of wooden pickaxe of efficiency 5 named "&7Wooden &7Pickaxe &8[&6&l6&8]" with lore "&7Breaking Power: &a1"
close player's inventory
set {pickaxe::%player's uuid%} to 5
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 5:
make gui slot 20 with stone pickaxe named "&7Pickaxe Upgrade &8[&6&l7&8]" with lore "&7Cost: &a$2,000" and "&6Level Requirement: 10":
if {balance::%player's uuid%} > 1999:
if {level::%player's uuid%} > 9:
remove 2000 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of stone pickaxe named "&8Stone &7Pickaxe &8[&6&l1&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 6
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou are not a high enough level to buy this pickaxe!"
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 6:
make gui slot 20 with stone pickaxe of efficiency 1 named "&7Pickaxe Upgrade &8[&6&l8&8]" with lore "&7Cost: &a$2,500":
if {balance::%player's uuid%} > 2499:
remove 2500 from {balance::%player's uuid%}
remove 1 of wooden pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 1 named "&8Stone &7Pickaxe &8[&6&l2&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 7
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 6:
make gui slot 20 with stone pickaxe of efficiency 1 named "&7Pickaxe Upgrade &8[&6&l8&8]" with lore "&7Cost: &a$2,500":
if {balance::%player's uuid%} > 2499:
remove 2500 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 1 named "&8Stone &7Pickaxe &8[&6&l2&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 7
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 7:
make gui slot 20 with stone pickaxe of efficiency 2 named "&7Pickaxe Upgrade &8[&6&l9&8]" with lore "&7Cost: &a$3,250":
if {balance::%player's uuid%} > 3249:
remove 3250 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 2 named "&8Stone &7Pickaxe &8[&6&l3&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 8
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 8:
make gui slot 20 with stone pickaxe of efficiency 3 named "&7Pickaxe Upgrade &8[&6&l10&8]" with lore "&7Cost: &a$4,000":
if {balance::%player's uuid%} > 3999:
remove 4000 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 3 named "&8Stone &7Pickaxe &8[&6&l4&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 9
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 9:
make gui slot 20 with stone pickaxe of efficiency 4 named "&7Pickaxe Upgrade &8[&6&l11&8]" with lore "&7Cost: &a$5,000":
if {balance::%player's uuid%} > 4999:
remove 5000 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 4 named "&8Stone &7Pickaxe &8[&6&l5&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 10
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 10:
make gui slot 20 with stone pickaxe of efficiency 5 named "&7Pickaxe Upgrade &8[&6&l12&8]" with lore "&7Cost: &a$6,500":
if {balance::%player's uuid%} > 6499:
remove 6500 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 5 named "&8Stone &7Pickaxe &8[&6&l6&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 11
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 11:
make gui slot 20 with stone pickaxe of efficiency 6 named "&7Pickaxe Upgrade &8[&6&l13&8]" with lore "&7Cost: &a$8,000":
if {balance::%player's uuid%} > 7999:
remove 8000 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of stone pickaxe of efficiency 6 named "&8Stone &7Pickaxe &8[&6&l7&8]" with lore "&7Breaking Power: &a2"
close player's inventory
set {pickaxe::%player's uuid%} to 12
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 12:
make gui slot 20 with iron pickaxe named "&7Pickaxe Upgrade &8[&6&l14&8]" with lore "&7Cost: &a$10,000" and "&6Level Requirement: 25":
if {balance::%player's uuid%} > 9999:
if {level::%player's uuid%} > 24:
remove 10000 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of iron pickaxe named "&fIron &7Pickaxe &8[&6&l1&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 13
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou are not a high enough level to buy this pickaxe!"
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 13:
make gui slot 20 with iron pickaxe of efficiency 1 named "&7Pickaxe Upgrade &8[&6&l15&8]" with lore "&7Cost: &a$12,500":
if {balance::%player's uuid%} > 12499:
remove 12500 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 1 named "&fIron &7Pickaxe &8[&6&l2&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 14
if {pickaxe::%player's uuid%} is 14:
make gui slot 20 with iron pickaxe of efficiency 2 named "&7Pickaxe Upgrade &8[&6&l16&8]" with lore "&7Cost: &a$15,000":
if {balance::%player's uuid%} > 14999:
remove 15000 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 2 named "&fIron &7Pickaxe &8[&6&l3&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 15
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
if {pickaxe::%player's uuid%} is 15:
make gui slot 20 with iron pickaxe of efficiency 3 named "&7Pickaxe Upgrade &8[&6&l17&8]" with lore "&7Cost: &a$17,500":
if {balance::%player's uuid%} > 17499:
remove 17500 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 3 named "&fIron &7Pickaxe &8[&6&l4&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 16
if {pickaxe::%player's uuid%} is 16:
make gui slot 20 with iron pickaxe of efficiency 4 named "&7Pickaxe Upgrade &8[&6&l18&8]" with lore "&7Cost: &a$20,000":
if {balance::%player's uuid%} > 19999:
remove 20000 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 4 named "&fIron &7Pickaxe &8[&6&l5&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 17
if {pickaxe::%player's uuid%} is 17:
make gui slot 20 with iron pickaxe of efficiency 5 named "&7Pickaxe Upgrade &8[&6&l19&8]" with lore "&7Cost: &a$25,000":
if {balance::%player's uuid%} > 24999:
remove 25000 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 5 named "&fIron &7Pickaxe &8[&6&l6&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 18
if {pickaxe::%player's uuid%} is 18:
make gui slot 20 with iron pickaxe of efficiency 6 named "&7Pickaxe Upgrade &8[&6&l20&8]" with lore "&7Cost: &a$30,000":
if {balance::%player's uuid%} > 29999:
remove 30000 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 6 named "&fIron &7Pickaxe &8[&6&l7&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 19
if {pickaxe::%player's uuid%} is 19:
make gui slot 20 with iron pickaxe of efficiency 7 named "&7Pickaxe Upgrade &8[&6&l21&8]" with lore "&7Cost: &a$35,000":
if {balance::%player's uuid%} > 34999:
remove 35000 from {balance::%player's uuid%}
remove 1 of iron pickaxe from player's inventory
give player 1 of iron pickaxe of efficiency 7 named "&fIron &7Pickaxe &8[&6&l8&8]" with lore "&7Breaking Power: &a3"
close player's inventory
set {pickaxe::%player's uuid%} to 20
if {pickaxe::%player's uuid%} is 20:
make gui slot 20 with diamond pickaxe named "&7Pickaxe Upgrade &8[&6&l22&8]" with lore "&7Cost: &a$50,000" and "&6Level Requirement: 50":
if {balance::%player's uuid%} > 49999:
if {level::%player's uuid%} > 49:
remove 50000 from {balance::%player's uuid%}
remove 1 of stone pickaxe from player's inventory
give player 1 of diamond pickaxe named "&bDiamond &7Pickaxe &8[&6&l1&8]" with lore "&7Breaking Power: &a4"
close player's inventory
set {pickaxe::%player's uuid%} to 21
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou are not a high enough level to buy this pickaxe!"
else:
close player's inventory
send "&6&lEXP&e&lMINES &8| &cYou dont have enough money!"
make gui slot (all integers between 21 and 23) with gray glass pane named ""
make gui slot 24 with barrier named "&c&lComing Soon!"
make gui slot (all integers between 25 and 53) with gray glass pane named ""
open last created gui to player
Errors on Reload:
There are no errors
Console Errors: (if applicable)
There are no errors
Other Useful Info:
I cannot seem to open the GUI, even without anything and just a standard gui, without anything in it
Addons using (including versions):
SkQuery V4.1.4
Tuske V1.8.2 Pikachu Patch 3 Mh 1
Troubleshooting:
Have you tried searching the docs?
I have tried, however i cannot find a single thing which might work
Have you tried searching the Forums?
I have same issue as above
What other methods have you tried to fix it?
Updating Tuske