Skip to content

Instantly share code, notes, and snippets.

View phoriah's full-sized avatar
:electron:
Atomic-Stepping

Euphoriah phoriah

:electron:
Atomic-Stepping
View GitHub Profile
@metatablecat
metatablecat / b64.lua
Last active June 7, 2024 02:28
The fastest luau base64 library in the west. This has been benchmarked within Roblox Luau, results may vary
local SEQ = {
[0] = "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", "0", "1", "2", "3",
"4", "5", "6", "7", "8", "9", "+", "/",
}
@TheGreatSageEqualToHeaven
TheGreatSageEqualToHeaven / main.md
Last active September 3, 2024 16:25
bypassing blocked function protections using corescripts

bypassing blocked function protections using corescripts

author: James Napora.


roblox and exploit fundamentals

  • corescripts have RobloxScript permissions on Roblox.
  • exploit function protections do not run on any threads except exploit threads.
  • roblox has several permission levels: None, Plugin, LocalUser, RobloxScript and Roblox.
  • actors on Roblox run whenever a script under it has a client run context, e.g local scripts, scripts with RunContext.Client and corescripts.
  • scripts under actors share the same global state
@RuizuKun-Dev
RuizuKun-Dev / GistUtil.lua
Created June 7, 2023 08:00
A Module for Interacting with GitHub's Gist API from within Roblox!
local HttpService = game:GetService("HttpService")
local API = "https://api.github.com/gists"
export type JSONString = string
-- Function to encode data into JSON format
-- @param data The data to be encoded
-- @return The encoded data
local function encode(data: table?): JSONString?
@Dekkonot
Dekkonot / roblox.xsd
Last active September 3, 2024 05:20
XML Schema for Roblox's XML files
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:group name="DataTypes">
<xs:choice>
<xs:element name="Axes">
<xs:complexType>
<xs:complexContent>
<xs:extension base="Axes">
<xs:attributeGroup ref="DataTypeAttributes" />
</xs:extension>
@zeux
zeux / gctracker.lua
Last active September 5, 2024 20:24
GC tracker for Luau that provides more predicatable (compared to `__gc`...) destructor invocation for dead objects. Supports ~constant time update cost by limiting the iteration count such that update can be called every frame with a small n for negligible performance cost.
--!strict
--[[
BSD Zero Clause License
Copyright (c) 2022 Arseny Kapoulkine
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
@Rerumu
Rerumu / luau_in_luau.lua
Last active May 22, 2024 14:49
Luau translated to Luau, as a Studio compatible script
This file has been truncated, but you can view the full file.
-- Roblox's Luau as a Luau script
-- Translated using https://github.com/Rerumu/Wasynth
local luau_script = [[
print("Hello, World!")
]]
local Integer = (function()
local Numeric = {}
@stravant
stravant / GoodSignal.lua
Last active September 22, 2024 17:49
Good Roblox Signal Implementation
--------------------------------------------------------------------------------
-- Batched Yield-Safe Signal Implementation --
-- This is a Signal class which has effectively identical behavior to a --
-- normal RBXScriptSignal, with the only difference being a couple extra --
-- stack frames at the bottom of the stack trace when an error is thrown. --
-- This implementation caches runner coroutines, so the ability to yield in --
-- the signal handlers comes at minimal extra cost over a naive signal --
-- implementation that either always or never spawns a thread. --
-- --
-- API: --
@Ademking
Ademking / nearest.js
Created June 14, 2020 23:23
JS: Find Nearest Color from Array
const baseColors = [
{
"hex": "#FFFFFF",
"name": "White",
},
{
"hex": "#000000",
"name": "Black",
},
{
@TehBlaxxor
TehBlaxxor / debugguide.md
Created March 16, 2020 08:55
A guide on debug functions for Roblox exploiting

Exploiting Debug Library Guide

Written by Greenman#0001

Last Updated Thursday, 05-Sep-2019 11:59:24 GMT-0400

Information

Before you continue, please understand these things:

  • This guide is written based on Synapse X's debug functions
@rjeczalik
rjeczalik / how-to-find-forks-of-deleted-repo.md
Created August 26, 2019 16:39
How to find forks of a deleted repository?