Skip to content

Loadstring with documentation

Latest
Compare
Choose a tag to compare
@scotdotwtf scotdotwtf released this 07 Jul 06:28
· 18 commits to main since this release
    :::::::::: ::::::::::: ::::    :::     :::     :::          :::   ::::::::  
    :+:            :+:     :+:+:   :+:   :+: :+:   :+:        :+:+:  :+:    :+: 
    +:+            +:+     :+:+:+  +:+  +:+   +:+  +:+          +:+  +:+        
    :#::+::#       +#+     +#+ +:+ +#+ +#++:++#++: +#+          +#+  +#++:++#+  
    +#+            +#+     +#+  +#+#+# +#+     +#+ +#+          +#+  +#+    +#+ 
    #+#            #+#     #+#   #+#+# #+#     #+# #+#          #+#  #+#    #+# 
    ###        ########### ###    #### ###     ### ########## ####### ########  

    @scotdotwtf, @colastee, made with love <3

script

loadstring(game:HttpGet("https://raw.githubusercontent.com/scotdotwtf/Final16/main/loader.lua"))()

documentation

  • Final16 has a simple module based loading system that allows you to choose what you want to load and not to load.

  • To specify what modules you want to load, simply specify getgenv().modules = {} with the modules you would like to load.

  • Modules can be found here: https://github.com/scotdotwtf/Final16/tree/main/modules

  • Here's an example of loading only the camera and graphics module:

getgenv().modules = {"camera.lua", "graphics.lua"}
loadstring(game:HttpGet("https://raw.githubusercontent.com/scotdotwtf/Final16/main/loader.lua"))()
  • The cool thing with final 16 is that it loads all module even if you don't specify it. Here's how I did it:

-- * LINE 16, scotdotwtf/Final16/loader.lua
modules == nil then
    getgenv().modules = { --> modules }
end

contribute

Want to contribute? Simply make a pull request with your module, fix, or other addon and I will merge or communicate.