Вопрос Луа скрипт [Neverlose]

Статус
В этой теме нельзя размещать новые ответы.
  • 1,237
  • 6
  • 346
Помогите пожалуйста, когда закрываю меню, то фото не закрывается вместе с меню.
Lua:
local menu_pos = Render.GetMenuPos()
local size = Vector2.new(300, 425)
local url = 'https://cdn.discordapp.com/attachments/928331208465723392/928554516016664606/romka.png'
local bytes = Http.Get(url)
local image = Render.LoadImage(bytes, size)
local switch = Menu.Switch('Top Lua', 'Буст фоточка', false, 'оо да', function(val)
local is_visible = Cheat.IsMenuVisible()

    if (val) then
        Cheat.RegisterCallback('draw', function()
            local menu_pos2 = Render.GetMenuPos()
            Render.Image(image, Vector2.new(menu_pos2.x-279, menu_pos2.y-97), size)
        Cheat.IsMenuVisible()
        end)
    else
        Cheat.RegisterCallback('draw', function()
        Render.Image(image, Vector2.new(menu_pos.x+4000, menu_pos.y+4000), size)
        end)
    end
end)
1641551314603.png
 
  • 431
  • 94
Код:
local menu_pos = Render.GetMenuPos()
local size = Vector2.new(300, 425)
local url = 'https://cdn.discordapp.com/attachments/928331208465723392/928554516016664606/romka.png'
local bytes = Http.Get(url)
local image = Render.LoadImage(bytes, size)
local switch = Menu.Switch('Top Lua', 'Буст фоточка', false, 'оо да', function(val)
local is_visible = Cheat.IsMenuVisible()
  if is_visible:Get() then
    if (val) then
        Cheat.RegisterCallback('draw', function()
            local menu_pos2 = Render.GetMenuPos()
            Render.Image(image, Vector2.new(menu_pos2.x-279, menu_pos2.y-97), size)
        end)
    else
        Cheat.RegisterCallback('draw', function()
        Render.Image(image, Vector2.new(menu_pos.x+4000, menu_pos.y+4000), size)
        end)
    end
    end
end)
 
Последнее редактирование:
  • 1
  • 0
Контакты для связи отсутствуют.
Код:
local menu_pos = Render.GetMenuPos()
local size = Vector2.new(300, 425)
local url = 'https://cdn.discordapp.com/attachments/928331208465723392/928554516016664606/romka.png'
local bytes = Http.Get(url)
local image = Render.LoadImage(bytes, size)
local switch = Menu.Switch('Top Lua', 'Буст фоточка', false, 'оо да', function(val)
local is_visible = Cheat.IsMenuVisible()
  if is_visible:Get() then
    if (val) then
        Cheat.RegisterCallback('draw', function()
            local menu_pos2 = Render.GetMenuPos()
            Render.Image(image, Vector2.new(menu_pos2.x-279, menu_pos2.y-97), size)
        end)
    else
        Cheat.RegisterCallback('draw', function()
        Render.Image(image, Vector2.new(menu_pos.x+4000, menu_pos.y+4000), size)
        end)
    end
    end
end)
Не робит
А если быть точнее то крашит при нажатии этой кнопки
1641572228919.png
 
  • 431
  • 94
Код:
local enabled = Menu.Switch("Visuals", "Enable", false)
local size = Vector2.new(300, 425)
local bytes = Http.Get('https://cdn.discordapp.com/attachments/928331208465723392/928554516016664606/romka.png')
local image = Render.LoadImage(bytes, size)
Cheat.RegisterCallback('draw', function()
    if enabled:GetBool() then
        if Cheat.IsMenuVisible() then
        Render.Image(image, Vector2.new(Render.GetMenuPos().x-279, Render.GetMenuPos().y-97), size)
  end
 end
end)
Переписал какашку , тк это треш какой-то , переписал за телефоном , проверил , ворк
 
  • 445
  • 1
  • 90
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Чё с кодом, автор скрипта жив?

trash script:
local helpers =
{
    menu_pos = function()
        return Render.GetMenuPos()
    end,
   
    image_get = function()
        bytes = Http.Get([URL]https://cdn.discordapp.com/attachments/928331208465723392/928554516016664606/romka.png[/URL])
        return Render.LoadImage(bytes, Vector2.new(300, 425))
    end,

    menu_state = function()
        return Cheat.IsMenuVisible()
    end,  
}

switch = Menu.Switch('Render image', 'lua_render1', false, '-')

render_image = function()
    if switch then
        Render.Image(helpers.image_get, Vector2.new(helpers.menu_pos2.x-279, helpers.menu_pos2.y-97), Vector2.new(300, 425))
    end
end
Cheat.RegisterCallback("draw", render_image)
 
Статус
В этой теме нельзя размещать новые ответы.
Активность
Пока что здесь никого нет
Сверху Снизу