Skip to content

Instantly share code, notes, and snippets.

View gaymeowing's full-sized avatar
🧙‍♀️
diverging they neurons

lynn gaymeowing

🧙‍♀️
diverging they neurons
View GitHub Profile
--!native
--!optimize 2
type vector = Vector3
-- stylua: ignore
local HEX_TO_BINARY = {
["0"] = "0000", ["1"] = "0001", ["2"] = "0010", ["3"] = "0011",
["4"] = "0100", ["5"] = "0101", ["6"] = "0110", ["7"] = "0111",
["8"] = "1000", ["9"] = "1001", ["a"] = "1010", ["b"] = "1011",
["c"] = "1100", ["d"] = "1101", ["e"] = "1110", ["f"] = "1111",
-- moved to https://github.com/nightcycle/editable-clothing-util
return {}
@cxmeel
cxmeel / MD_BUTTONS_DOCS.md
Last active July 15, 2025 21:15
Documentation for markdown buttons.

Markdown Buttons

A collection of SVG buttons for displaying custom "buttons" in Markdown content. You are free to use these buttons wherever you like. All buttons were created in Figma, with (most) icons provided by the Iconify plugin.

Sponsor on GitHub View Itch.io Store

The SVG files can be found on this gist. They have been separated in order to reduce the amount of lag when loading this README file.

@boatbomber
boatbomber / release.luau
Last active June 10, 2025 01:36
Release workflow using Lune
--[[
release.luau - A Lune script for publishing Roblox games
MPL 2.0 License
(c) 2024, Zack Ovits
usage: lune run release
--]]
-- Lune libraries
local stdio = require("@lune/stdio")
@Fizzyhex
Fizzyhex / Rating.lua
Last active May 21, 2025 08:37
⭐ Star Rating UI (Fusion v0.3 pre-release)
-- Note that the components in this script should ideally be split up into different scripts; which I didn't do here.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage.Packages.Fusion)
local Computed = Fusion.Computed
local New = Fusion.New
local Children = Fusion.Children
local ForValues = Fusion.ForValues
@Fizzyhex
Fizzyhex / spawnBall.lua
Last active January 21, 2024 17:50
⚽ Team create football - A fun script for Roblox team create
--[[
@Fizzyhex, 2023
Select the part you want to use as a ball and paste this into your command bar!
This script will then clone it and turn it into a ball.
For others to kick the ball around they'll need to run this script too. Have fun :>
----
Extra:
@MrChickenRocket
MrChickenRocket / ReplicatedFirst_KinematicObjectsClientScript.lua
Last active February 11, 2025 05:10
Kinematic animated objects for roblox. Tag anchored server objects with "Kinematic" and the motion and physics code is magic'd away.
if (script:IsDescendantOf(game.ReplicatedFirst) == false) then
error(script.Name .. "needs to be in ReplicatedFirst")
end
local CollectionService = game:GetService("CollectionService")
local kinematicObjects = {}
local function AddInstance(target)
@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 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 = {}
@ecurtiss
ecurtiss / DrawBeamCircle.lua
Last active October 27, 2024 00:30
Circular Beams in Roblox
--[[
Creates a circle out of Beams.
You can let it use a default Beam object, but you probably want to pass it
your own via the BeamObject parameter.
local BeamCircle, Attachments, Beams = DrawBeamCircle({
[REQUIRED]
CFrame = CFrame of center of circle,
Radius = Radius of circle,