This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
local run = game:GetService("RunService") | |
local http = game:GetService("HttpService") | |
local ts = game:GetService("TweenService") | |
local DontOffsetPartTypes = { | |
Part = true, | |
WedgePart = true, | |
CornerWedgePart = true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] = {} |