Skip to content

Instantly share code, notes, and snippets.

View Gabys2005's full-sized avatar
🧩

Gabys Gabys2005

🧩
View GitHub Profile
--!strict
local run = game:GetService("RunService")
local http = game:GetService("HttpService")
local ts = game:GetService("TweenService")
local DontOffsetPartTypes = {
Part = true,
WedgePart = true,
CornerWedgePart = true
}
local adorner = {}
function adorner:Adorn(frame: Frame, surfaces: {SurfaceGui}, topmarker: Vector3 | number, totalFrameSize: UDim2)
local topMarkerY = if typeof(topmarker) == "number" then topmarker else topmarker.Y
local frames: {[Instance]: {Instance}} = {}
local sizeFrames = {}
local clipFrames = {}
local function addGuiElementToReplicate(parent: Instance, element: Instance, initial: boolean)
frames[element] = {}