This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
false nil true true nil true nil false | |
nil nil then nil nil true else nil nil | |
true while local true if in local true | |
nil not or repeat return then else nil | |
nil until while and then do elseif nil | |
nil else elseif for return then in nil | |
true local else function break if true | |
false then while return then for false | |
nil nil do return for function nil nil | |
false nil function while not nil false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function class(inheritsFrom) | |
local c = {} | |
local c_mt = {__index = c, __tostring = function(obj) if obj.tostring then return obj:tostring() end end} | |
function c.new(...) | |
local obj = setmetatable({}, c_mt) | |
if obj.init then obj:init(...) end | |
return obj | |
end | |
function c.super() | |
return inheritsFrom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Don't forget to put a RemoteFunction called SubmitErrorFunction inside of this script object | |
--TRELLO | |
local HttpService = game:GetService("HttpService") | |
local httpEnabled = pcall(function() HttpService:GetAsync("http://httpbin.org/ip", true) end) | |
local TrelloAPI = {} | |
--GET THESE FROM TRELLO API | |
TrelloAPI.key = "KEY" | |
TrelloAPI.token = "TOKEN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dict = {} | |
function Dict.__newindex(table, key, value) | |
if value ~= nil and table.__INNER[key] == nil then | |
table.__LENGTH = table.__LENGTH + 1 | |
elseif value == nil and table.__INNER[key] ~= nil then | |
table.__LENGTH = table.__LENGTH - 1 | |
end | |
rawget(table,"__INNER")[key] = value | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Classes are simple modules placed in the SoopHierarchy folder. | |
Methods, functions, and properties are handled the same as in standard metatable- | |
based oop frameworks. | |
Class hierarchy follows the hierarchy of module objects in the hierarchy folder. | |
Single-inheritence, default constructors(:init()), etc. are handled automatically on start. | |
--]] | |
local hierarchy = script.Parent.SoopHierarchy |