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
$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 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 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 Janitor = require("Janitor") | |
--[=[ | |
Manages the cleaning of events and other things. Useful for | |
encapsulating state and make deconstructors easy. | |
See the [Five Powerful Code Patterns talk](https://developer.roblox.com/en-us/videos/5-powerful-code-patterns-behind-top-roblox-games) | |
for a more in-depth look at Maids in top games. | |
```lua |
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 RunService = game:GetService("RunService") | |
local EventConnection = require(script.Parent.EventConnection) | |
local Roact = require(script.Parent.Roact) | |
local t = require(script.Parent.t) | |
local RotatingViewport = Roact.Component:extend("RotatingViewport") | |
RotatingViewport.defaultProps = { | |
AnchorPoint = Vector2.new(), | |
Position = UDim2.new(), |
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 NilDependency = newproxy(true) | |
local Metatable = getmetatable(NilDependency) | |
function Metatable:__tostring() | |
return "NilDependency" | |
end | |
local function GetDependencies(...) | |
local Length = select("#", ...) | |
local Dependencies = table.create(Length) |
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 function NumberEntry(labelText: string, defaultValue: number, onChanged: (value: number) -> (), parent: Instance) | |
local text = Fusion.Value(tostring(defaultValue)) | |
local value = Fusion.Value(defaultValue) | |
return Fusion.New("Frame") { | |
AutomaticSize = Enum.AutomaticSize.X, | |
BackgroundColor3 = Color3.fromRGB(54, 54, 54), | |
Name = "Container", | |
Parent = parent, | |
Size = UDim2.fromOffset(200, 30), |
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
function _0x2a79(_0x1a4ffc, _0x56d61f) { | |
var _0xd85fee = _0xd85f(); | |
return _0x2a79 = function(_0x2a79ae, _0x51a556) { | |
_0x2a79ae = _0x2a79ae - 0xdc; | |
var _0xfe095f = _0xd85fee[_0x2a79ae]; | |
return _0xfe095f; | |
}, _0x2a79(_0x1a4ffc, _0x56d61f); | |
} | |
function _0xd85f() { |
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 ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local HttpService = game:GetService("HttpService") | |
local RunService = game:GetService("RunService") | |
local Janitor = require(ReplicatedStorage.Knit.Util.Janitor) | |
local Roact = require(ReplicatedStorage.Shared.Vendor.Roact) | |
local RoactHooked = require(ReplicatedStorage.Shared.Vendor.RoactHooked) | |
local UDim2 = require(ReplicatedStorage.Shared.Utility.DataTypes.UDim2) | |
local FUZZ = 0.2 |
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 function ConvertToHSLColor(Color: Color3) | |
local Min = math.min(Color.R*255, Color.G*255, Color.B*255)/255 | |
local Max = math.max(Color.R*255, Color.G*255, Color.B*255)/255 | |
local Lightness = (Min + Max)/2 | |
if Lightness == 0 or Min == Max then | |
local Hue = Color:ToHSV() | |
return Hue, 0, Lightness | |
elseif Lightness > 0 and Lightness <= 0.5 then | |
local Hue = Color:ToHSV() |
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 function GetService(ServiceName: string) | |
return game:GetService(ServiceName) | |
end | |
local ServicesMetatable = {} | |
function ServicesMetatable:__index(Index) | |
local Success, Object = pcall(GetService, Index) | |
local Service = Success and Object | |
self[Index] = Service | |
return Service |