coreGuiUtil
A simple utility module for working with CoreGui's API.
Functions
setCorePromise
coreGuiUtil.
setCorePromise
(
coreGuiName:
string
,
...:
any
) →
Promise
<
>
Returns a promise which is resolved once StarterGui:SetCore has successfully executed.
coreGuiUtil.setCorePromise("AvatarContextMenuTheme", {
BackgroundImage = "",
BackgroundTransparency = 0.5,
BackgroundColor = Color3.fromRGB(111, 145, 242),
NameTagColor = Color3.fromRGB(0, 0, 200),
NameUnderlineColor = Color3.fromRGB(213, 233, 255),
ButtonFrameColor = Color3.fromRGB(15, 24, 65),
ButtonFrameTransparency = 0.2,
ButtonUnderlineColor = Color3.fromRGB(213, 233, 255),
Font = Enum.Font.SciFi
}):andThen(function()
print("Successfully set core AvatarContextMenuTheme")
end)