Skip to content

Instantly share code, notes, and snippets.

View cameronpcampbell's full-sized avatar

Cameron Campbell cameronpcampbell

View GitHub Profile
--!strict
--> Modules -------------------------------------------------------------------------------------------
local Fusion = require(Packages.Fusion) -- Make sure to put path to Fusion here.
-------------------------------------------------------------------------------------------------------
--> Functions -----------------------------------------------------------------------------------------
local function ComputeUDim(scope: Fusion.Scope<typeof(Fusion)>, scale: Fusion.UsedAs<number>, offset: Fusion.UsedAs<number>)
@cameronpcampbell
cameronpcampbell / init.luau
Created August 22, 2024 20:47
Component Helper (Fusion)
--!strict
--> Modules -------------------------------------------------------------------------------------------
local Fusion = require(script.Parent.Fusion) -- Replace with path to fusion.
-------------------------------------------------------------------------------------------------------
--> Types ---------------------------------------------------------------------------------------------
type Scope = Fusion.Scope<typeof(Fusion)>
--[[
Copyright 2024 Cameron Campbell
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE U
-- moved to https://github.com/nightcycle/editable-clothing-util
return {}
@cameronpcampbell
cameronpcampbell / StudioColor.lua
Last active January 16, 2024 22:39
StudioColor
--!strict
--> Packages ------------------------------------------------------------------------------------------
local Fusion = require(--[[Put path to Fusion module here.]])
local Value, peek, Computed = Fusion.Value, Fusion.peek, Fusion.Computed
-------------------------------------------------------------------------------------------------------
--> Types ---------------------------------------------------------------------------------------------
@sbhadr
sbhadr / roblox_api_domain_list.txt
Last active August 26, 2024 04:09
Roblox API Domain List - (Last Updated 5/17/23)
This is a list of all known endpoints for the Roblox API.
This list is meant to be used as a educational & informative
resource to help you match thirdparty development with the functionality
that you need. It's highly advised and against the point of this list to abuse,
cheat or phish other users. Please be mindful.
[Basic]
websiteUrl - https://www.roblox.com
apiProxyUrl - https://api.roblox.com (deprecated / no longer reachable)
@mbostock
mbostock / .block
Last active April 22, 2025 01:59
Poisson-Disc II
license: gpl-3.0