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
-- black frames not included | |
local RunService = game:GetService("RunService") | |
local Workspace = game:GetService("Workspace") | |
local Camera = Workspace.CurrentCamera | |
local Module = {} | |
Module.Position = UDim2.new(0, 0, 0, 0) |
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 Base64 = { | |
Filler = "=", | |
Indexes = {}, | |
Alphabet = { | |
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", | |
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", | |
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", | |
"n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", |
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
-- this is an old version | |
-- see: https://github.com/Reselim/Base64 | |
local FILLER_CHARACTER = 61 | |
local alphabet = {} | |
local indexes = {} | |
for index = 65, 90 do table.insert(alphabet, index) end -- A-Z | |
for index = 97, 122 do table.insert(alphabet, index) end -- a-z |
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 Roact = require("Roact") | |
local Segments = {} | |
for index = 1, 8 do | |
local X = (index - 1) % 4 | |
local Y = math.floor((index - 1) / 4) | |
table.insert(Segments, { | |
Angle = 360 / (2 ^ index), |
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
-- GENERATED MESH: https://www.roblox.com/library/2983070137/Circle | |
local NUM_POINTS = 90 | |
local Vertices = {} | |
local Faces = {} | |
for index = 1, NUM_POINTS do | |
local rotation = index / NUM_POINTS * math.pi * 2 | |
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
shared() | |
local Event = require("Event") | |
local EventTree = {} | |
EventTree.__index = EventTree | |
function EventTree.new() | |
local self = setmetatable({ | |
_downstreamEvent = Event.new(), |
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
--[[ | |
CC BY-SA 4.0 - creativecommons.org/licenses/by-sa/4.0 | |
Roact.createElement(RadialImage, { | |
Clockwise = true, | |
Progress = 0.6, | |
Image = "rbxassetid://3942975478", | |
ImageSize = Vector2.new(640, 624), |
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
shared() | |
local Roact = require("Roact") | |
local Math = require("Math") | |
local Dictionary = require("Dictionary") | |
local PIXELS_PER_STUD = 20 | |
local TRANSPARENCY = 0.25 | |
local function GridAxis(props) |
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 powersOfTwo = setmetatable({}, { | |
__index = function(self, exponent) | |
local value = 2 ^ exponent | |
self[exponent] = value | |
return value | |
end | |
}) | |
local function encodeFloat(value, mantissaBits, exponentBits) | |
if value == 0 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
const discord = require("discord.js") | |
const akairo = require("discord-akairo") | |
const jimp = require("jimp") | |
const borderSize = 0.04 | |
const prideFlags = { | |
gay: [ "#FF000E", "#FF5000", "#FAD220", "#138F3E", "#3558A0", "#880082" ], | |
bisexual: [ "#D60270", "#9B4F96", "#0038A8" ], | |
trans: [ "#5BCEFA", "#F5A9B8", "#EEEEEE", "#F5A9B8", "#5BCEFA" ], | |
nonbinary: [ "#FFF433", "#FFFFFF", "#9B59D0", "#2D2D2D" ], |
OlderNewer