This file contains hidden or 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
$Key = "HKCU:\Software\ROBLOX Corporation\Environments\roblox-player" | |
while ($true) | |
{ | |
$CurrentValue = (Get-ItemProperty -Path $Key -Name "LaunchExp").LaunchExp | |
if ($CurrentValue -eq "InApp") | |
{ | |
#Write-Output "Value is InApp." | |
Set-ItemProperty -Path $Key -Name "LaunchExp" -Value "InBrowser" | |
} |
This file contains hidden or 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 BetterPages = {} | |
function BetterPages.new(Pages: Pages) | |
return setmetatable({Pages = Pages}, BetterPages) | |
end | |
function BetterPages.FromPcall(Success: boolean, ValueOrError: Pages | string) | |
if Success then | |
return true, setmetatable({Pages = ValueOrError}, BetterPages) | |
else |
This file contains hidden or 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
const GRAD_3 = [ | |
[1, 1, 0], | |
[-1, 1, 0], | |
[1, -1, 0], | |
[-1, -1, 0], | |
[1, 0, 1], | |
[-1, 0, 1], | |
[1, 0, -1], | |
[-1, 0, -1], | |
[0, 1, 1], |
This file contains hidden or 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 ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Llama = require(ReplicatedStorage.Shared.Vendor.Llama) | |
local Roact = require(ReplicatedStorage.Shared.Vendor.Roact) | |
local Types = require(ReplicatedStorage.Shared.Types) | |
export type IEdgeRoundedProps = { | |
-- EdgeRounded Properties | |
RoundedEdge: "Bottom" | "Left" | "Right" | "Top", | |
} & Types.IImageLabelProps |
This file contains hidden or 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 Memoize = require(script.Memoize) | |
local StringRep = require(script.StringRep) | |
--[=[ | |
A utility library for compressing strings with LZW. This was made as fast | |
as possible by using fun tricks like *lots* of memoization. | |
@class Lzw | |
]=] | |
local Lzw = {} |
This file contains hidden or 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 BoxMeta = {} | |
BoxMeta.__index = BoxMeta | |
function BoxMeta:get() | |
return self._value | |
end | |
function BoxMeta:set(v) | |
self._value = v | |
end |
This file contains hidden or 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 Workspace = game:GetService("Workspace") | |
local GuiService = game:GetService("GuiService") | |
local Fusion = require("Fusion") | |
local Janitor = require("Janitor") | |
local TopInset, BottomInset = GuiService:GetGuiInset() | |
export type Properties = { | |
Scale: number?, |
This file contains hidden or 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 Class = {} | |
Class.__index = Class | |
function Class:Destroy() | |
setmetatable(self, nil) | |
end | |
function Class:Method() | |
return 1 | |
end |
This file contains hidden or 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 EnumList = require(script.Parent.EnumList) | |
local Timer = require(script.Parent.Timer) | |
local Thread = {} | |
Thread.DelayRepeatBehavior = EnumList.new("DelayRepeatBehavior", {"Delayed", "Immediate"}) | |
function Thread.SpawnNow(func, ...) | |
local args = table.pack(...) | |
task.spawn(function() | |
func(table.unpack(args, 1, args.n)) |
This file contains hidden or 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 BindableEvent = require("BindableEvent") | |
local StringRep = require("StringRep") | |
local Symbol = require("Symbol") | |
local BasicState = {} | |
BasicState.ClassName = "BasicState" | |
BasicState.None = Symbol.new("BasicState.None") | |
BasicState.__index = BasicState | |
local BindableEvent_new = BindableEvent.new |