The issue i'm having is i'm trying to code a gui to revive people but when i try to have it run a command after closing it wont close the gui or run the command, it also give no error code or anything just does nothing.
I'm currently using:
Spigot 1.15.2
Skript v2.4.1
Skbee v1.0.1
SkQuery v3.6.5
Skellett v1.9.8
TuSKe v1.8.2
If anyother information is needed to help me please ask and ill provide it
I'm currently using:
Spigot 1.15.2
Skript v2.4.1
Skbee v1.0.1
SkQuery v3.6.5
Skellett v1.9.8
TuSKe v1.8.2
Code:
on rightclick on witch:
if {%targeted entity%.lazarus} is true:
open virtual chest inventory with size 3 named "&8&lLazarus' Pit" to player
format gui slot 18 of player with black stained glass pane named " " to do nothing
format gui slot 19 of player with black stained glass pane named " " to do nothing
format gui slot 20 of player with black stained glass pane named " " to do nothing
format gui slot 21 of player with black stained glass pane named " " to do nothing
format gui slot 22 of player with black stained glass pane named " " to do nothing
format gui slot 23 of player with black stained glass pane named " " to do nothing
format gui slot 24 of player with black stained glass pane named " " to do nothing
format gui slot 25 of player with black stained glass pane named " " to do nothing
format gui slot 26 of player with barrier block named "&cClose" to close
set {_slot} to 0
loop all players:
if {dead.%loop-player%} is true:
if {_slot} < 18:
set {_p} to "%loop-player%" parsed as player
format gui slot {_slot} of player with skull of {_p} named "&6&l%loop-player%" with lore "" to close then run sender command "lazaruspit %{_p}%"
add 1 to {_slot}
If anyother information is needed to help me please ask and ill provide it