bindKey("x","down",function()
if getElementData(localPlayer,"otwarte") then
guiSetVisible(GUIEditor.window[1],false)
showCursor(false)
setElementData(localPlayer,"otwarte",false)
else
setElementData(localPlayer,"otwarte",true)
guiSetVisible(GUIEditor.window[1],true)
showCursor(true)
end
end)
end
)