script manager failed after mod function

  • 008cff
    25th February Member 0 Permalink

    i made this script(bottom of post), when i ran it the manager din't see scripts just said no scripts something yellow text, but when i reloaded tpt as it works for tpt = nil to go back to normal, it din't go back, does it have something to do with filesystem = nil, temp files or something, my tpt files are ok i backuped them today, but i wanted to know if theres a fix to the manager refusing to see files and saying yellow text message, or what values i should not set = nil

     

    function KILLGAME(bs)
    if bs ~= nil then
        bsod(bs) -- makes a tpt bsod screen, just blue background and a text
    end
    type = nil
    tpt = nil
    interface = nil
    string = nil
    table = nil
    renderer = nil
    sim = nil
    simulation = nil
    fileSystem = nil
    platform = nil
    event = nil
    socket = nil
    HTTPRequest = nil
    bz2 = nil
    bit = nil
    os = nil
    all = nil
    elem = nil
    dofile = nil
    gfx = nil
    ren = nil
    graphics = nil
    elements = nil
    math = nil
    pcall = nil
    setmetatable = nil

    end

     

     

    !!!!

     

    update: the scriptinfo file gets erased completely, 0 bytes

     

    update: solved by deleting io too, also din't want deletegame function anymore, but i wanted to know what caused the scriptinfo file to get deleted

    Edited 2 times by 008cff. Last: 26th February