Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Release 3.9
Browse files Browse the repository at this point in the history
Optimization
  • Loading branch information
ttwizz committed May 12, 2024
1 parent bcfbc66 commit 3ef5c7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source-minified.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pcall(function()local a=script;if a then script=nil;a.Parent=nil;a=nil;getfenv().script=nil end end)local a=game:GetService("Players")local b=game:GetService("TweenService")local c=game:GetService("UserInputService")local d=game:GetService("CoreGui")local a=a.LocalPlayer;local e=TweenInfo.new(0.075)local f=TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)local g=Color3.fromRGB(120,120,120)local h=Color3.fromRGB(170,170,170)local i=Instance.new("CanvasGroup")local j=Instance.new("UICorner")local k=Instance.new("TextLabel")local l=Instance.new("UICorner")local m=Instance.new("Frame")local n=Instance.new("ScrollingFrame")local o=Instance.new("TextBox")local p=Instance.new("UIPadding")local q=Instance.new("Frame")local r=Instance.new("UIListLayout")local s=Instance.new("TextButton")local t=Instance.new("UIStroke")local u=Instance.new("UICorner")local v=Instance.new("TextButton")local w=Instance.new("UIStroke")local x=Instance.new("UICorner")local y=Instance.new("UIStroke")local function z()local a=math.random(11,22)local b={}for a=1,a do b[a]=string.char(math.random(35,91))end;return table.concat(b)end;local function A(a)while task.wait()do if a and typeof(a)=="Instance"and a.Parent then a.Name=z()else break end end end;local function B(a,c,d)if a and typeof(a)=="Instance"and c and typeof(c)=="TweenInfo"and d and type(d)=="table"then b:Create(a,c,d):Play()end end;local function b(a)if a and type(a)=="userdata"then local b,d,f,g;local function h(b)local b=b.Position-f;local b=UDim2.new(g.X.Scale,g.X.Offset+b.X,g.Y.Scale,g.Y.Offset+b.Y)B(a,e,{Position=b})end;a.InputBegan:Connect(function(d)if(d.UserInputType==Enum.UserInputType.MouseButton1 or d.UserInputType==Enum.UserInputType.Touch)and not c:GetFocusedTextBox()then b=true;f=d.Position;g=a.Position;d.Changed:Connect(function()if d.UserInputState==Enum.UserInputState.End then b=false end end)end end)a.InputChanged:Connect(function(a)if a.UserInputType==Enum.UserInputType.MouseMovement or a.UserInputType==Enum.UserInputType.Touch then d=a end end)c.InputChanged:Connect(function(a)if a==d and b then h(a)end end)end end;local c={}c.OpMode={iABC=0,iABx=1,iAsBx=2}c.SIZE_C=9;c.SIZE_B=9;c.SIZE_Bx=c.SIZE_C+c.SIZE_B;c.SIZE_A=8;c.SIZE_OP=6;c.POS_OP=0;c.POS_A=c.POS_OP+c.SIZE_OP;c.POS_C=c.POS_A+c.SIZE_A;c.POS_B=c.POS_C+c.SIZE_C;c.POS_Bx=c.POS_C;c.MAXARG_Bx=math.ldexp(1,c.SIZE_Bx)-1;c.MAXARG_sBx=math.floor(c.MAXARG_Bx/2)c.MAXARG_A=math.ldexp(1,c.SIZE_A)-1;c.MAXARG_B=math.ldexp(1,c.SIZE_B)-1;c.MAXARG_C=math.ldexp(1,c.SIZE_C)-1;function c:GET_OPCODE(a)return self.ROpCode[a.OP]end;function c:SET_OPCODE(a,b)a.OP=self.OpCode[b]end;function c:GETARG_A(a)return a.A end;function c:SETARG_A(a,b)a.A=b end;function c:GETARG_B(a)return a.B end;function c:SETARG_B(a,b)a.B=b end;function c:GETARG_C(a)return a.C end;function c:SETARG_C(a,b)a.C=b end;function c:GETARG_Bx(a)return a.Bx end;function c:SETARG_Bx(a,b)a.Bx=b end;function c:GETARG_sBx(a)return a.Bx-self.MAXARG_sBx end;function c:SETARG_sBx(a,b)a.Bx=b+self.MAXARG_sBx end;function c:CREATE_ABC(a,b,c,d)return{OP=self.OpCode[a],A=b,B=c,C=d}end;function c:CREATE_ABx(a,b,c)return{OP=self.OpCode[a],A=b,Bx=c}end;function c:CREATE_Inst(a)local b=a%64;a=(a-b)/64;local c=a%256;a=(a-c)/256;return self:CREATE_ABx(b,c,a)end;function c:Instruction(a)if a.Bx then a.C=a.Bx%512;a.B=(a.Bx-a.C)/512 end;local b=a.A*64+a.OP;local c=b%256;b=a.C*64+(b-c)/256;local d=b%256;b=a.B*128+(b-d)/256;local a=b%256;local b=(b-a)/256;return string.char(c,d,a,b)end;function c:DecodeInst(a)local b=string.byte;local c={}local d=b(a,1)local e=d%64;c.OP=e;d=b(a,2)*4+(d-e)/64;local f=d%256;c.A=f;d=b(a,3)*4+(d-f)/256;local f=d%512;c.C=f;c.B=b(a,4)*2+(d-f)/512;local a=self.OpMode[tonumber(string.sub(self.opmodes[e+1],7,7))]if a~="iABC"then c.Bx=c.B*512+c.C end;return c end;c.BITRK=math.ldexp(1,c.SIZE_B-1)function c:ISK(a)return a>=self.BITRK end;function c:INDEXK(a)return a-self.BITRK end;c.MAXINDEXRK=c.BITRK-1;function c:RKASK(a)return a+self.BITRK end;c.NO_REG=c.MAXARG_A;c.opnames={}c.OpCode={}c.ROpCode={}local e=0;for a in string.gmatch([[
pcall(function()local a=script;if a then script=nil;a.Parent=nil;a=nil;getfenv().script=nil end end)local a=game:GetService("Players")local b=game:GetService("TweenService")local c=game:GetService("UserInputService")local d=game:GetService("CoreGui")local a=a.LocalPlayer;local e=TweenInfo.new(0.075)local f=TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)local g=Color3.fromRGB(120,120,120)local h=Color3.fromRGB(170,170,170)local i=Instance.new("CanvasGroup")local j=Instance.new("UICorner")local k=Instance.new("TextLabel")local l=Instance.new("UICorner")local m=Instance.new("Frame")local n=Instance.new("ScrollingFrame")local o=Instance.new("TextBox")local p=Instance.new("UIPadding")local q=Instance.new("Frame")local r=Instance.new("UIListLayout")local s=Instance.new("TextButton")local t=Instance.new("UIStroke")local u=Instance.new("UICorner")local v=Instance.new("TextButton")local w=Instance.new("UIStroke")local x=Instance.new("UICorner")local y=Instance.new("UIStroke")local function z()local a=math.random(11,22)local b={}for a=1,a do b[a]=string.char(math.random(48,90))end;return table.concat(b)end;local function A(a)while task.wait()do if typeof(a)=="Instance"and a.Parent then a.Name=z()else break end end end;local function B(a,c,d)if typeof(a)=="Instance"and typeof(c)=="TweenInfo"and type(d)=="table"then b:Create(a,c,d):Play()end end;local function b(a)if type(a)=="userdata"then local b,d,f,g;local function h(b)local b=b.Position-f;local b=UDim2.new(g.X.Scale,g.X.Offset+b.X,g.Y.Scale,g.Y.Offset+b.Y)B(a,e,{Position=b})end;a.InputBegan:Connect(function(d)if(d.UserInputType==Enum.UserInputType.MouseButton1 or d.UserInputType==Enum.UserInputType.Touch)and not c:GetFocusedTextBox()then b=true;f=d.Position;g=a.Position;d.Changed:Connect(function()if d.UserInputState==Enum.UserInputState.End then b=false end end)end end)a.InputChanged:Connect(function(a)if a.UserInputType==Enum.UserInputType.MouseMovement or a.UserInputType==Enum.UserInputType.Touch then d=a end end)c.InputChanged:Connect(function(a)if a==d and b then h(a)end end)end end;local c={}c.OpMode={iABC=0,iABx=1,iAsBx=2}c.SIZE_C=9;c.SIZE_B=9;c.SIZE_Bx=c.SIZE_C+c.SIZE_B;c.SIZE_A=8;c.SIZE_OP=6;c.POS_OP=0;c.POS_A=c.POS_OP+c.SIZE_OP;c.POS_C=c.POS_A+c.SIZE_A;c.POS_B=c.POS_C+c.SIZE_C;c.POS_Bx=c.POS_C;c.MAXARG_Bx=math.ldexp(1,c.SIZE_Bx)-1;c.MAXARG_sBx=math.floor(c.MAXARG_Bx/2)c.MAXARG_A=math.ldexp(1,c.SIZE_A)-1;c.MAXARG_B=math.ldexp(1,c.SIZE_B)-1;c.MAXARG_C=math.ldexp(1,c.SIZE_C)-1;function c:GET_OPCODE(a)return self.ROpCode[a.OP]end;function c:SET_OPCODE(a,b)a.OP=self.OpCode[b]end;function c:GETARG_A(a)return a.A end;function c:SETARG_A(a,b)a.A=b end;function c:GETARG_B(a)return a.B end;function c:SETARG_B(a,b)a.B=b end;function c:GETARG_C(a)return a.C end;function c:SETARG_C(a,b)a.C=b end;function c:GETARG_Bx(a)return a.Bx end;function c:SETARG_Bx(a,b)a.Bx=b end;function c:GETARG_sBx(a)return a.Bx-self.MAXARG_sBx end;function c:SETARG_sBx(a,b)a.Bx=b+self.MAXARG_sBx end;function c:CREATE_ABC(a,b,c,d)return{OP=self.OpCode[a],A=b,B=c,C=d}end;function c:CREATE_ABx(a,b,c)return{OP=self.OpCode[a],A=b,Bx=c}end;function c:CREATE_Inst(a)local b=a%64;a=(a-b)/64;local c=a%256;a=(a-c)/256;return self:CREATE_ABx(b,c,a)end;function c:Instruction(a)if a.Bx then a.C=a.Bx%512;a.B=(a.Bx-a.C)/512 end;local b=a.A*64+a.OP;local c=b%256;b=a.C*64+(b-c)/256;local d=b%256;b=a.B*128+(b-d)/256;local a=b%256;local b=(b-a)/256;return string.char(c,d,a,b)end;function c:DecodeInst(a)local b=string.byte;local c={}local d=b(a,1)local e=d%64;c.OP=e;d=b(a,2)*4+(d-e)/64;local f=d%256;c.A=f;d=b(a,3)*4+(d-f)/256;local f=d%512;c.C=f;c.B=b(a,4)*2+(d-f)/512;local a=self.OpMode[tonumber(string.sub(self.opmodes[e+1],7,7))]if a~="iABC"then c.Bx=c.B*512+c.C end;return c end;c.BITRK=math.ldexp(1,c.SIZE_B-1)function c:ISK(a)return a>=self.BITRK end;function c:INDEXK(a)return a-self.BITRK end;c.MAXINDEXRK=c.BITRK-1;function c:RKASK(a)return a+self.BITRK end;c.NO_REG=c.MAXARG_A;c.opnames={}c.OpCode={}c.ROpCode={}local e=0;for a in string.gmatch([[
MOVE LOADK LOADBOOL LOADNIL GETUPVAL
GETGLOBAL GETTABLE SETGLOBAL SETUPVAL SETTABLE
NEWTABLE SELF ADD SUB MUL
Expand Down
8 changes: 4 additions & 4 deletions source.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ local function RandomString()
local Length = math.random(11, 22)
local Array = {}
for Index = 1, Length do
Array[Index] = string.char(math.random(35, 91))
Array[Index] = string.char(math.random(48, 90))
end
return table.concat(Array)
end

local function AutoRename(Object)
while task.wait() do
if Object and typeof(Object) == "Instance" and Object.Parent then
if typeof(Object) == "Instance" and Object.Parent then
Object.Name = RandomString()
else
break
Expand All @@ -90,13 +90,13 @@ local function AutoRename(Object)
end

local function Tween(Object, TweenInfo, Properties)
if Object and typeof(Object) == "Instance" and TweenInfo and typeof(TweenInfo) == "TweenInfo" and Properties and type(Properties) == "table" then
if typeof(Object) == "Instance" and typeof(TweenInfo) == "TweenInfo" and type(Properties) == "table" then
TweenService:Create(Object, TweenInfo, Properties):Play()
end
end

local function SmoothDrag(Object)
if Object and type(Object) == "userdata" then
if type(Object) == "userdata" then
local Toggle, Input, Start, StartPosition
local function Update(Key)
local Delta = Key.Position - Start
Expand Down

0 comments on commit 3ef5c7d

Please sign in to comment.