how do I fix this error: You cant make a GUI slot outside of a GUI creation or editing section.
my code:
trigger:
wait 1 tick
create a gui with virtual chest inventory with 6 rows named "&cBan Online Players":
wait 3 ticks
set {_slot} to 0
loop players in player's world:
make gui slot {_slot} with skull of loop-player:
name: "&2&l%loop-player%"
add 1 to {_slot}
if {_slot} >= 36:
stop
open the last gui for the player