on join: wait 1 second captcha(player) function captcha(p: player): set {_gui} to a new chest inventory with 5 rows named "&6&l>> &aWeryfikacja Anti Bot &6&l<<" set slot (integers between 0 and 44) of {_gui} to red wool named "&c&lJESTEM ROBOTEM" set {_random} to random integer between 0 and 44 set slot {_random} of {_gui} to green wool named "&a&lNIE JESTEM ROBOTEM" on inventory close: if name of event-inventory is "&6&l>> &aWeryfikacja Anti Bot &6&l<<": captcha(player) on inventory click: event-inventory is not player's inventory if name of event-inventory is "&6&l>> &aWeryfikacja Anti Bot &6&l<<": if clicked slot isn't {_random}: kick player due to "&6&l>> &cNAJPRAWDOPODOBNIEJ JESTEĊš ROBOTEM! &6&l<<"