auto dt teleport for nl
local main = ui.create("nazvanie")
auto_teleport = main:switch("Automatic teleport")
local need_teleport = false
function teleport()
if not auto_teleport:get() then return end
local local_player = entity.get_local_player()
local can_hit =...