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
local discord = {}
local config = assert(file.Read("discordrelay_config.json"), "Discord config file not found...")
config = assert(util.JSONToTable(config), "Invalid Discord config!")
local endpoints = endpoints or {}
endpoints.base = "https://discordapp.com/api"
endpoints.channels = endpoints.base .. "/channels"
endpoints.guilds = endpoints.base .. "/guilds"
endpoints.users = endpoints.base .. "/users"
@Direnta
Direnta / noobhax.cpp
Created August 5, 2018 23:36
Source for Noobhax
#define _CRT_SECURE_NO_WARNINGS
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include "stdafx.h"
#include <Windows.h>
#include <ShellAPI.h>
#include <iostream>
#include <string>
#include <Tlhelp32.h>
@rjeczalik
rjeczalik / how-to-find-forks-of-deleted-repo.md
Created August 26, 2019 16:39
How to find forks of a deleted repository?
@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
@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",
},
{
@stravant
stravant / GoodSignal.lua
Last active July 8, 2025 18:07
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: --
@Rerumu
Rerumu / luau_in_luau.lua
Last active October 14, 2024 09:43
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 = {}
local NUM_ZERO, NUM_ONE, NUM_SIX_FOUR
@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.
@Dekkonot
Dekkonot / roblox.xsd
Last active October 21, 2024 22:04
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>
@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?