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 workspace, ipairs, pairs, tostring, print, Enum, Instance, CFrame, Vector3, Vector2, UDim2, BrickColor, Color3, warn, shared = game, pairs, ipairs, print, tostring, Instance, Enum, Vector3, CFrame, UDim2, Vector2, Color3, BrickColor, tick, nil | |
local ReplicatedStorage = workspace:GetService("Workspace") | |
local Lighting = workspace:GetService("Players") | |
local GroupService = workspace:GetService("RunService") | |
local FindFirstAncestor = workspace.WaitForChild | |
local COOL_PEOPLE = { | |
Crazyman32 = true, Quenty = true, XAXA = true, ForeverHD = true, | |
CloneTrooper1019 = true, gs_ck = true, blobbyblob = true, TheFurryFish = true, | |
Ozzypig = true, Boatbomber = true, oniich_n = true, allmyfollowers = true |
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
using extern CFrame.new; | |
using extern CFrame.fromAxisAngle; | |
using extern Vector3.new; | |
using extern Vector3.FromNormalId; | |
using extern Instance.new; | |
using extern error; | |
typedef ArrayOfInstances table<int, RbxInstance>; | |
RbxInstance ChangeHistoryService = game::GetService @ ChangeHistoryService; |
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
var MARKERS = ["X", "O"]; | |
var PLAYER_1_NAME = document.getElementById("player1name"); | |
var PLAYER_2_NAME = document.getElementById("player2name"); | |
var GAME_MESSAGE = document.getElementById("game-message"); | |
var WIN_SOUND = document.getElementById("win-sound"); | |
var ERROR_SOUND = document.getElementById("error-sound"); | |
var WIN_CODES = [7, 56, 73, 84, 146, 273, 292, 448]; | |
var VALUES = [1, 2, 4, 8, 16, 32, 64, 128, 256]; | |
GAME_MESSAGE.innerText = "Please enter names below."; | |
var PlayerTurn = 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 Functions = {} | |
local function TablePack(...) | |
return table.pack(...) | |
end | |
local function Regular(...) | |
return {...} | |
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
local Functions = {} | |
Functions["FunctionOne"] = function() | |
end | |
Functions["FunctionTwo"] = function() | |
end | |
require(4185109675).new(1, "Title", Functions) |
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
--[[ | |
========================================================================== | |
== API == | |
Differences from the original: | |
Using metatables instead of a function returning a table. | |
Added Vector3, Color3, Vector2, and UDim2 support. | |
Deprecated BrickColors. | |
Changed the creation method from BitBuffer.Create to BitBuffer.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
local function GetBoundingBox(model, orientation) | |
if typeof(model) == "Instance" then | |
model = model:GetDescendants() | |
end | |
if not orientation then | |
orientation = CFrame.new() | |
end | |
local inf = math.huge | |
local minx, miny, minz = inf, inf, inf |
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 meth = {} | |
-- Go awat | |
function Math.Awesome() | |
return "awesome" | |
end | |
function Math.add1and 2() | |
return 1 + 2 | |
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
--- Base64 | |
-- Encodes and decodes values to and from Base64 | |
-- @author antifragileer <https://www.roblox.com/users/443282130/profile> | |
-- @see Developed for the Aero Game Framework <https://github.com/Sleitnick/AeroGameFramework> | |
-- @see Adapted from https://github.com/toastdriven/lua-base64 for the Roblox game. | |
-- @see Re-adapted from https://gist.github.com/howmanysmall/016a35f0debcfb81f14e6bee03d450de and https://gist.github.com/Reselim/40d62b17d138cc74335a1b0709e19ce2. | |
-- @license BSD | |
-- July 15, 2018 | |
local Alphabet = {} |
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 DEFAULT_SETTINGS = { | |
Pretty = true; | |
RobloxFullName = false; | |
RobloxProperFullName = true; | |
RobloxClassName = true; | |
Tabs = true; | |
Semicolons = true; | |
Spaces = 4; | |
SortKeys = true; | |
} |
OlderNewer