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
--// Written By: R0bl0x10501050 | |
-- -- -- -- -- -- -- -- -- -- | |
local UIS = game:GetService("UserInputService") | |
local plr = game.Players.LocalPlayer | |
UIS.InputBegan:Connect(function(input) | |
if input.UserInputType == Enum.UserInputType.Keyboard then |
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
-- Written by R0bl0x10501050 | |
local module = { | |
['new'] = function() | |
local self = setmetatable({}, { | |
__newindex = function() | |
error("Cannot set property of undefined") | |
end, | |
__index = function(tbl, k) | |
if k == "DEBUG_CHECK" then |
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
local IndexedHashmap = { | |
['new'] = function() | |
local self = setmetatable({ | |
_IndexKey = {}, | |
_KeyValue = {} | |
}, { | |
__newindex = function(t, k, v) | |
if not table.find(t._IndexKey, k) then | |
table.insert(t._IndexKey, k) | |
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
type table = {any} | |
type dict = {[string|boolean]: any} | |
local specialTags, doNotNeedClosingTag = {}, {} | |
local find | |
find = function(originalTable, findValue) | |
for index, wrappedTable in pairs(originalTable) do | |
if wrappedTable == findValue then | |
return wrappedTable |
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
-- Based on: | |
-- https://stackoverflow.com/questions/35969656/ | |
local base16 = { | |
['0'] = 'F', | |
['1'] = 'E', | |
['2'] = 'D', | |
['3'] = 'C', | |
['4'] = 'B', | |
['5'] = 'A', |
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
-- Based on: | |
-- https://stackoverflow.com/questions/35969656/ | |
local base16 = { | |
['0'] = 'F', | |
['1'] = 'E', | |
['2'] = 'D', | |
['3'] = 'C', | |
['4'] = 'B', | |
['5'] = 'A', |