Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local B=1 local A=Enum.EasingStyle.Sine local x=Enum.EasingDirection.Out local J={Text="TextTransparency",Fram="BackgroundTransparency";Imag="ImageTransparency"}function RandomName()local B={"Q","W";"E","R","T";"Y","U","I","O","P","A";"S";"D","F","G";"H","J";"K";"L","Z","X","C","V";"B";"N";"N";"M"}local A=6 local x=""local J=""local L=""for A=1,A,1 do x=x..(""..B[math.random(1,#B)])end for A=1,A,1 do J=J..(""..B[math.random(1,#B)])end for A=1,A,1 do L=L..(""..B[math.random(1,#B)])end local c=x..("-"..(J..("-"..L)))return c end function GetName()if LIB==nil then pcall(function()(getgenv()).LIB=RandomName()end)return LIB else return LIB end end local L=(loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/Scripts/AkaliNotif.lua")))()local c=L.Notify if(game:GetService("CoreGui")):FindFirstChild(GetName())then c({Description="You are already got a UI, Kill the UI first",Title="Linoria Modded",Duration=5})return end local D={NatsuuRBLX,NatsuTTP}local y=game:GetService("UserInputService")local Q=game:GetService("TextService")local H=game:GetService("TweenService")local W=game:GetService("CoreGui")local T=game:GetService("RunService")local K=game:GetService("GuiService")local Z=T.RenderStepped local u=(game:GetService("Players")).LocalPlayer local m=u:GetMouse()local P=protectgui or syn and syn.protect_gui or function() end local V=Instance.new("ScreenGui")for B,A in pairs(D)do if not game.Players.LocalPlayer.Name==A then P(V)end end V.ZIndexBehavior=Enum.ZIndexBehavior.Global V.Parent=W V.Name=GetName()local S={}local Y={};(getgenv()).Toggles=S;(getgenv()).Options=Y local I={Registry={},RegistryMap={};HudRegistry={};FontColor=Color3.fromRGB(255,255,255),MainColor=Color3.fromRGB(28,28,28);BackgroundColor=Color3.fromRGB(20,20,20);AccentColor=Color3.fromRGB(0,85,255),OutlineColor=Color3.fromRGB(50,50,50),Black=Color3.new(0,0,0);OpenedFrames={},Signals={};ScreenGui=V}local t=0 local b=0 table.insert(I.Signals,Z:Connect(function(B)t=t+B if t>=.016666666666667 then t=0 b=b+.0025 if b>1 then b=0 end I.CurrentRainbowHue=b I.CurrentRainbowColor=Color3.fromHSV(b,.8,1)end end))function I.AttemptSave(B)if I.SaveManager then I.SaveManager:Save()end end function I.Create(x,B,A)local J=B if type(B)=="string"then J=Instance.new(B)end for B,A in next,A do J[B]=A end return J end function I.Stroke(A,B)local x=Instance.new("UIStroke")x.LineJoinMode=Enum.LineJoinMode.Round x.ApplyStrokeMode=Enum.ApplyStrokeMode.Contextual x.Color=I.AccentColor spawn(function()while wait()do(H:Create(x,TweenInfo.new(.2,Enum.EasingStyle.Quad),{Color=I.AccentColor})):Play()end end)return x end function I.CreateLabel(x,B,A)local J=I:Create("TextLabel",{BackgroundTransparency=1;Font=Enum.Font.Gotham,TextColor3=I.FontColor;TextSize=14;TextStrokeTransparency=0})I:AddToRegistry(J,{TextColor3="FontColor"},A)return I:Create(J,B)end function I.MakeDraggable(x,B,A)B.Active=true B.InputBegan:Connect(function(x)if x.UserInputType==Enum.UserInputType.MouseButton1 then local x=Vector2.new(m.X-B.AbsolutePosition.X,m.Y-B.AbsolutePosition.Y)if x.Y>(A or 40)then return end while y:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)do local A=UDim2.new(0,(m.X-x.X)+B.Size.X.Offset*B.AnchorPoint.X,0,(m.Y-x.Y)+B.Size.Y.Offset*B.AnchorPoint.Y);(H:Create(B,TweenInfo.new(.2,Enum.EasingStyle.Quad),{Position=A})):Play()Z:Wait()end end end)end function I.AddToolTip(x,B,A)local J,L=I:GetTextBounds(B,Enum.Font.Gotham,14)local c=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,Size=UDim2.fromOffset(J+5,L+4),ZIndex=100,Parent=I.ScreenGui,Visible=false})local D=I:CreateLabel({Position=UDim2.fromOffset(3,1),Size=UDim2.fromOffset(J,L),TextSize=14;Text=B;TextColor3=I.FontColor,TextXAlignment=Enum.TextXAlignment.Left;ZIndex=c.ZIndex+1,Parent=c})I:AddToRegistry(c,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})I:AddToRegistry(D,{TextColor3="FontColor"})local y=false A.MouseEnter:Connect(function()y=true c.Position=UDim2.fromOffset(m.X+15,m.Y+12)c.Visible=true while y do T.Heartbeat:Wait()c.Position=UDim2.fromOffset(m.X+15,m.Y+12)end end)A.MouseLeave:Connect(function()y=false c.Visible=false end)end function I.OnHighlight(L,B,A,x,J)B.MouseEnter:Connect(function()local B=I.RegistryMap[A]for x,J in next,x do A[x]=I[J]or J if B and B.Properties[x]then B.Properties[x]=J end end end)B.MouseLeave:Connect(function()local B=I.RegistryMap[A]for x,J in next,J do A[x]=I[J]or J if B and B.Properties[x]then B.Properties[x]=J end end end)end function I.MouseIsOverOpenedFrame(B)for B,A in next,I.OpenedFrames do local x,J=B.AbsolutePosition,B.AbsoluteSize if m.X>=x.X and(m.X<=x.X+J.X and(m.Y>=x.Y and m.Y<=x.Y+J.Y))then return true end end end function I.IsMouseOverFrame(A,B)local x,J=B.AbsolutePosition,B.AbsoluteSize if m.X>=x.X and(m.X<=x.X+J.X and(m.Y>=x.Y and m.Y<=x.Y+J.Y))then return true end end function I.MapValue(c,B,A,x,J,L)return(1-(B-A)/(x-A))*J+((B-A)/(x-A))*L end function I.GetTextBounds(L,B,A,x,J)local c=Q:GetTextSize(B,x,A,J or Vector2.new(1920,1080))return c.X,c.Y end function I.GetDarkerColor(A,B)local x,J,L=Color3.toHSV(B)return Color3.fromHSV(x,J,L/1.5)end I.AccentColorDark=I:GetDarkerColor(I.AccentColor)function I.AddToRegistry(J,B,A,x)local L=#I.Registry+1 local c={Instance=B,Properties=A,Idx=L}table.insert(I.Registry,c)I.RegistryMap[B]=c if x then table.insert(I.HudRegistry,c)end end function I.RemoveFromRegistry(A,B)local x=I.RegistryMap[B]if x then for B=#I.Registry,1,-1 do if I.Registry[B]==x then table.remove(I.Registry,B)end end for B=#I.HudRegistry,1,-1 do if I.HudRegistry[B]==x then table.remove(I.HudRegistry,B)end end I.RegistryMap[B]=nil end end function I.UpdateColorsUsingRegistry(B)for B,A in next,I.Registry do for B,x in next,A.Properties do if type(x)=="string"then A.Instance[B]=I[x]elseif type(x)=="function"then A.Instance[B]=x()end end end end function I.GiveSignal(A,B)table.insert(I.Signals,B)end function I.Unload(B)for B=#I.Signals,1,-1 do local A=table.remove(I.Signals,B)A:Disconnect()end if I.OnUnload then I.OnUnload()end for B,A in pairs(S)do A:SetValue(false)end;(getgenv()).FIRSTTAB=false V:Destroy()end function I.OnUnload(A,B)I.OnUnload=B end I:GiveSignal(V.DescendantRemoving:Connect(function(B)if I.RegistryMap[B]then I:RemoveFromRegistry(B)end end))local h={}do local B={}function B.AddColorPicker(x,B,A)local J=x.TextLabel local L=x.Container local c={Value=A.Default;Type="ColorPicker",Title=type(A.Title)=="string"and A.Title or"Color picker"}function c.SetHSVFromRGB(A,B)local x,J,L=Color3.toHSV(B)c.Hue=x c.Sat=J c.Vib=L end c:SetHSVFromRGB(c.Value)local D=I:Create("Frame",{BackgroundColor3=c.Value,BorderColor3=I:GetDarkerColor(c.Value);BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(0,28,0,14);ZIndex=6,Parent=J})local Q=0 for B,A in next,L:GetChildren()do if not A:IsA("UIListLayout")then Q=Q+A.Size.Y.Offset end end local H=I:Create("Frame",{Name="Color";BackgroundColor3=Color3.new(1,1,1),BorderColor3=Color3.new(0,0,0);Position=UDim2.new(0,4,0,(20+Q)+1);Size=UDim2.new(1,-13,0,253);Visible=false,ZIndex=15,Parent=L.Parent})local W=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset,Size=UDim2.new(1,0,1,0),ZIndex=16;Parent=H})local T=I:Create("Frame",{BackgroundColor3=I.AccentColor,BorderSizePixel=0,Size=UDim2.new(1,0,0,2),ZIndex=17,Parent=W})local K=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Position=UDim2.new(0,4,0,25),Size=UDim2.new(0,200,0,200);ZIndex=17,Parent=W})local u=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0),ZIndex=18,Parent=K})local P=I:Create("ImageLabel",{BorderSizePixel=0;Size=UDim2.new(1,0,1,0);ZIndex=18;Image="rbxassetid://4155801252";Parent=u})local V=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Position=UDim2.new(0,208,0,25),Size=UDim2.new(0,15,0,200);ZIndex=17,Parent=W})local S=I:Create("Frame",{BackgroundColor3=Color3.new(1,1,1),BorderSizePixel=0;Size=UDim2.new(1,0,1,0);ZIndex=18,Parent=V})local t=I:GetTextBounds("Hex color",Enum.Font.Gotham,16)+3 local b=I:GetTextBounds("255, 255, 255",Enum.Font.Gotham,16)+3 local h=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Position=UDim2.fromOffset(4,228);Size=UDim2.new(.5,-6,0,20),ZIndex=18,Parent=W})local k=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0),ZIndex=18;Parent=h})I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));ColorSequenceKeypoint.new(1,Color3.fromRGB(212,212,212))});Rotation=90,Parent=k})local l=I:Create("TextBox",{BackgroundTransparency=1,Position=UDim2.new(0,5,0,0);Size=UDim2.new(1,-5,1,0),Font=Enum.Font.Gotham,PlaceholderColor3=Color3.fromRGB(190,190,190),PlaceholderText="Hex color",Text="#FFFFFF";TextColor3=I.FontColor,TextSize=14;TextStrokeTransparency=0;TextXAlignment=Enum.TextXAlignment.Left,ZIndex=20,Parent=k})local a=I:Create(h:Clone(),{Position=UDim2.new(.5,2,0,228);Size=UDim2.new(.5,-6,0,20);Parent=W})local s=I:Create(a.Frame:FindFirstChild("TextBox"),{Text="255, 255, 255",PlaceholderText="RGB color",TextColor3=I.FontColor})local N=I:CreateLabel({Size=UDim2.new(1,0,0,14),Position=UDim2.fromOffset(5,5),TextXAlignment=Enum.TextXAlignment.Left;TextSize=14,Text=c.Title;TextWrapped=false;ZIndex=16,Parent=W})I:AddToRegistry(W,{BackgroundColor3="BackgroundColor",BorderColor3="OutlineColor"})I:AddToRegistry(T,{BackgroundColor3="AccentColor"})I:AddToRegistry(u,{BackgroundColor3="BackgroundColor";BorderColor3="OutlineColor"})I:AddToRegistry(k,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})I:AddToRegistry(a.Frame,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})I:AddToRegistry(s,{TextColor3="FontColor"})I:AddToRegistry(l,{TextColor3="FontColor"})local C={}for B=0,1,.1 do table.insert(C,ColorSequenceKeypoint.new(B,Color3.fromHSV(B,1,1)))end local v=I:Create("UIGradient",{Color=ColorSequence.new(C);Rotation=90;Parent=S})l.FocusLost:Connect(function(B)if B then local B,A=pcall(Color3.fromHex,l.Text)if B and typeof(A)=="Color3"then c.Hue,c.Sat,c.Vib=Color3.toHSV(A)end end c:Display()end)s.FocusLost:Connect(function(B)if B then local B,A,x=s.Text:match("(%d+),%s*(%d+),%s*(%d+)")if B and(A and x)then c.Hue,c.Sat,c.Vib=Color3.toHSV(Color3.fromRGB(B,A,x))end end c:Display()end)function c.Display(B)c.Value=Color3.fromHSV(c.Hue,c.Sat,c.Vib)P.BackgroundColor3=Color3.fromHSV(c.Hue,1,1)I:Create(D,{BackgroundColor3=c.Value;BorderColor3=I:GetDarkerColor(c.Value)})l.Text="#"..c.Value:ToHex()s.Text=table.concat({math.floor(c.Value.R*255);math.floor(c.Value.G*255),math.floor(c.Value.B*255)},", ")if c.Changed then c.Changed(c.Value)end end function c.OnChanged(A,B)c.Changed=B B(c.Value)end function c.Show(B)for B,A in next,I.OpenedFrames do if B.Name=="Color"then B.Visible=false I.OpenedFrames[B]=nil end end H.Visible=true I.OpenedFrames[H]=true end function c.Hide(B)H.Visible=false I.OpenedFrames[H]=nil end function c.SetValue(A,B)local x=Color3.fromHSV(B[1],B[2],B[3])c:SetHSVFromRGB(x)c:Display()end function c.SetValueRGB(A,B)c:SetHSVFromRGB(B)c:Display()end P.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then while y:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)do local B=P.AbsolutePosition.X local A=B+P.AbsoluteSize.X local x=math.clamp(m.X,B,A)local J=P.AbsolutePosition.Y local L=J+P.AbsoluteSize.Y local D=math.clamp(m.Y,J,L)c.Sat=(x-B)/(A-B)c.Vib=1-(D-J)/(L-J)c:Display()Z:Wait()end I:AttemptSave()end end)S.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then while y:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)do local B=S.AbsolutePosition.Y local A=B+S.AbsoluteSize.Y local x=math.clamp(m.Y,B,A)c.Hue=(x-B)/(A-B)c:Display()Z:Wait()end I:AttemptSave()end end)D.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then if H.Visible then c:Hide()else c:Show()end end end)I:GiveSignal(y.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then local B,A=H.AbsolutePosition,H.AbsoluteSize if m.X<B.X or m.X>B.X+A.X or m.Y<(B.Y-20)-1 or m.Y>B.Y+A.Y then c:Hide()end end end))c:Display()c.DisplayFrame=D Y[B]=c return x end function B.AddKeyPicker(x,B,A)local J=x local L=x.TextLabel local c=x.Container local D={Value=A.Default,Toggled=false;Mode=A.Mode or"Toggle",Type="KeyPicker";SyncToggleState=A.SyncToggleState or false}if D.SyncToggleState then A.Modes={"Toggle"}A.Mode="Toggle"end local Q=0 for B,A in next,c:GetChildren()do if not A:IsA("UIListLayout")then Q=Q+A.Size.Y.Offset end end local H=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Size=UDim2.new(0,28,0,15);ZIndex=6,Parent=L})local W=I:Create("Frame",{BackgroundColor3=I.BackgroundColor,BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset,Size=UDim2.new(1,0,1,0);ZIndex=7;Parent=H})local T=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=H})local K=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=W})I:AddToRegistry(W,{BackgroundColor3="BackgroundColor";BorderColor3="OutlineColor"})local Z=I:CreateLabel({Size=UDim2.new(1,0,1,0);TextSize=13;Text=A.Default;TextWrapped=true,ZIndex=8;Parent=W})local u=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Position=UDim2.new(1,0,0,Q+1),Size=UDim2.new(0,60,0,47);Visible=false;ZIndex=14,Parent=c.Parent})local P=I:Create("Frame",{BackgroundColor3=I.BackgroundColor,BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0),ZIndex=15;Parent=u})I:AddToRegistry(P,{BackgroundColor3="BackgroundColor",BorderColor3="OutlineColor"})I:Create("UIListLayout",{FillDirection=Enum.FillDirection.Vertical,SortOrder=Enum.SortOrder.LayoutOrder,Parent=P})local V=I:CreateLabel({TextXAlignment=Enum.TextXAlignment.Left;Size=UDim2.new(1,0,0,18);TextSize=13,Visible=false;ZIndex=110;Parent=I.KeybindContainer},true)local S=A.Modes or{"Always";"Toggle";"Hold"}local t={}for B,A in next,S do local x={}local J=I:CreateLabel({Size=UDim2.new(1,0,0,15),TextSize=13,Text=A,ZIndex=16,Parent=P})function x.Select(B)for B,A in next,t do A:Deselect()end D.Mode=A J.TextColor3=I.AccentColor I.RegistryMap[J].Properties.TextColor3="AccentColor"u.Visible=false end function x.Deselect(B)D.Mode=nil J.TextColor3=I.FontColor I.RegistryMap[J].Properties.TextColor3="FontColor"end J.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then x:Select()I:AttemptSave()end end)if A==D.Mode then x:Select()end t[A]=x end function D.Update(B)if A.NoUI then return end local x=D:GetState()V.Text=string.format("[%s] %s (%s)",D.Value,A.Text,D.Mode)V.Visible=true V.TextColor3=x and I.AccentColor or I.FontColor I.RegistryMap[V].Properties.TextColor3=x and"AccentColor"or"FontColor"local J=0 local L=0 for B,A in next,I.KeybindContainer:GetChildren()do if A:IsA("TextLabel")and A.Visible then J=J+18 if A.TextBounds.X>L then L=A.TextBounds.X end end end I.KeybindFrame.Size=UDim2.new(0,math.max(L+10,210),0,J+23)end function D.GetState(B)if D.Mode=="Always"then return true elseif D.Mode=="Hold"then local B=D.Value if B=="MB1"or B=="MB2"then return B=="MB1"and y:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)or B=="MB2"and y:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)else return y:IsKeyDown(Enum.KeyCode[D.Value])end else return D.Toggled end end function D.SetValue(A,B)local x,J=B[1],B[2]Z.Text=x D.Value=x t[J]:Select()D:Update()end function D.OnClick(A,B)D.Clicked=B end if J.Addons then table.insert(J.Addons,D)end function D.DoClick(B)if J.Type=="Toggle"and D.SyncToggleState then J:SetValue(not J.Value)end if D.Clicked then D.Clicked()end end local b=false H.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then b=true Z.Text=""local B local A=""task.spawn(function()while not B do if A=="..."then A=""end A=A.."."Z.Text=A wait(.4)end end)wait(.2)local x x=y.InputBegan:Connect(function(A)local J if A.UserInputType==Enum.UserInputType.Keyboard then J=A.KeyCode.Name elseif A.UserInputType==Enum.UserInputType.MouseButton1 then J="MB1"elseif A.UserInputType==Enum.UserInputType.MouseButton2 then J="MB2"end B=true b=false Z.Text=J D.Value=J I:AttemptSave()x:Disconnect()end)elseif B.UserInputType==Enum.UserInputType.MouseButton2 and not I:MouseIsOverOpenedFrame()then u.Visible=true end end)I:GiveSignal(y.InputBegan:Connect(function(B)if not b then if D.Mode=="Toggle"then local A=D.Value if A=="MB1"or A=="MB2"then if A=="MB1"and B.UserInputType==Enum.UserInputType.MouseButton1 or A=="MB2"and B.UserInputType==Enum.UserInputType.MouseButton2 then D.Toggled=not D.Toggled D:DoClick()end elseif B.UserInputType==Enum.UserInputType.Keyboard then if B.KeyCode.Name==A then D.Toggled=not D.Toggled D:DoClick()end end end D:Update()end if B.UserInputType==Enum.UserInputType.MouseButton1 then local B,A=u.AbsolutePosition,u.AbsoluteSize if m.X<B.X or m.X>B.X+A.X or m.Y<(B.Y-20)-1 or m.Y>B.Y+A.Y then u.Visible=false end end end))I:GiveSignal(y.InputEnded:Connect(function(B)if not b then D:Update()end end))D:Update()Y[B]=D return x end h.__index=B h.__namecall=function(A,x,...)return B[x](...)end end local k={}do local B={}function B.AddBlank(A,B)local x=A local J=x.Container I:Create("Frame",{BackgroundTransparency=1;Size=UDim2.new(1,0,0,B);ZIndex=1,Parent=J})end function B.AddLabel(x,B,A)local J={}local L=x local c=L.Container local D=I:CreateLabel({Size=UDim2.new(1,-4,0,15),TextSize=14;Text=B,TextWrapped=A or false,RichText=true;TextXAlignment=Enum.TextXAlignment.Left,ZIndex=5,Parent=c})if A then local A=select(2,I:GetTextBounds(B,Enum.Font.Gotham,14,Vector2.new(D.AbsoluteSize.X,math.huge)))D.Size=UDim2.new(1,-4,0,A)else I:Create("UIListLayout",{Padding=UDim.new(0,4);FillDirection=Enum.FillDirection.Horizontal,HorizontalAlignment=Enum.HorizontalAlignment.Right;SortOrder=Enum.SortOrder.LayoutOrder;Parent=D})end J.TextLabel=D J.Container=c function J.SetText(x,B)D.Text=B if A then local A=select(2,I:GetTextBounds(B,Enum.Font.Gotham,14,Vector2.new(D.AbsoluteSize.X,math.huge)))D.Size=UDim2.new(1,-4,0,A)end L:Resize()end if not A then setmetatable(J,h)end L:AddBlank(5)L:Resize()return J end function B.AddButton(x,B,A)local J={}local L=x local c=L.Container local D=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Size=UDim2.new(1,-4,0,20);ZIndex=5;Parent=c})I:AddToRegistry(D,{BorderColor3="Black"})local y=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=6;Parent=D})local Q=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=D})local H=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=y})I:AddToRegistry(y,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.fromRGB(212,212,212))}),Rotation=90;Parent=y})local W=I:CreateLabel({Size=UDim2.new(1,0,1,0),TextSize=14;Text=B,ZIndex=6,Parent=y})I:OnHighlight(D,D,{BorderColor3="AccentColor"},{BorderColor3="Black"})D.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then A()end end)function J.AddTooltip(A,B)if type(B)=="string"then I:AddToolTip(B,D)end return J end function J.AddButton(x,B,A)local J={}D.Size=UDim2.new(.5,-2,0,20)local L=D:Clone()local c=L.Frame local y=c:FindFirstChildWhichIsA("TextLabel")L.Position=UDim2.new(1,2,0,0)L.Size=UDim2.fromOffset(D.AbsoluteSize.X-2,D.AbsoluteSize.Y)L.Parent=D y.Text=B I:AddToRegistry(c,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})I:OnHighlight(L,L,{BorderColor3="AccentColor"},{BorderColor3="Black"})I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));ColorSequenceKeypoint.new(1,Color3.fromRGB(212,212,212))}),Rotation=90;Parent=c})L.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then A()end end)function J.AddTooltip(A,B)if type(B)=="string"then I:AddToolTip(B,L)end return J end return J end L:AddBlank(5)L:Resize()return J end function B.AddDivider(B)local A=B local x=B.Container local J={Type="Divider"}A:AddBlank(2)local L=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Size=UDim2.new(1,-4,0,5),ZIndex=5,Parent=x})local c=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset,Size=UDim2.new(1,0,1,0),ZIndex=6,Parent=L})I:AddToRegistry(L,{BorderColor3="Black"})I:AddToRegistry(c,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})A:AddBlank(9)A:Resize()end function B.AddInput(x,B,A)local J={Value=A.Default or"",Numeric=A.Numeric or false,Finished=A.Finished or false;Type="Input"}local L=x local c=L.Container local D=I:CreateLabel({Size=UDim2.new(1,0,0,15);TextSize=14;Text=A.Text,TextXAlignment=Enum.TextXAlignment.Left;ZIndex=5;Parent=c})L:AddBlank(1)local y=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Size=UDim2.new(1,-4,0,20),ZIndex=5;Parent=c})local H=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0),ZIndex=6;Parent=y})local W=I:Create("UICorner",{CornerRadius=UDim.new(0,4);Parent=y})local T=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=H})I:AddToRegistry(H,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})I:OnHighlight(y,y,{BorderColor3="AccentColor"},{BorderColor3="Black"})if type(A.Tooltip)=="string"then I:AddToolTip(A.Tooltip,y)end I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.fromRGB(212,212,212))}),Rotation=90;Parent=H})local K=I:Create("Frame",{BackgroundTransparency=1;ClipsDescendants=true;Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-5,1,0),ZIndex=7;Parent=H})local Z=I:Create("TextBox",{BackgroundTransparency=1;Position=UDim2.fromOffset(0,0);Size=UDim2.fromScale(5,1),Font=Enum.Font.Gotham,PlaceholderColor3=Color3.fromRGB(190,190,190);PlaceholderText=A.Placeholder or"",Text=A.Default or"";TextColor3=I.FontColor;TextSize=14;TextStrokeTransparency=0,TextXAlignment=Enum.TextXAlignment.Left;ZIndex=7,Parent=K})function J.SetValue(x,B)if A.MaxLength and#B>A.MaxLength then B=B:sub(1,A.MaxLength)end if J.Numeric then if not tonumber(B)and B:len()>0 then B=J.Value end end J.Value=B Z.Text=B if J.Changed then J.Changed(J.Value)end end if J.Finished then Z.FocusLost:Connect(function(B)if not B then return end J:SetValue(Z.Text)I:AttemptSave()end)else(Z:GetPropertyChangedSignal("Text")):Connect(function()J:SetValue(Z.Text)I:AttemptSave()end)end local function u()local B=5 local A=K.AbsoluteSize.X if not Z:IsFocused()or Z.TextBounds.X<=A-2*B then Z.Position=UDim2.new(0,B,0,0)else local x=Z.CursorPosition if x~=-1 then local J=string.sub(Z.Text,1,x-1)local L=(Q:GetTextSize(J,Z.TextSize,Z.Font,Vector2.new(math.huge,math.huge))).X local c=Z.Position.X.Offset+L if c<B then Z.Position=UDim2.fromOffset(B-L,0)elseif c>(A-B)-1 then Z.Position=UDim2.fromOffset(((A-L)-B)-1,0)end end end end task.spawn(u);(Z:GetPropertyChangedSignal("Text")):Connect(u);(Z:GetPropertyChangedSignal("CursorPosition")):Connect(u)Z.FocusLost:Connect(u)Z.Focused:Connect(u)I:AddToRegistry(Z,{TextColor3="FontColor"})function J.OnChanged(A,B)J.Changed=B B(J.Value)end L:AddBlank(5)L:Resize()Y[B]=J return J end function B.AddToggle(L,B,J)local c={Value=J.Default or false;Type="Toggle",Addons={}}local D=L local y=D.Container local Q=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Size=UDim2.new(0,13,0,13),ZIndex=5,Parent=y})I:AddToRegistry(Q,{BorderColor3="Black"})local W=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=6,Parent=Q})local T=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=Q})local K=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=W})I:AddToRegistry(W,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})local Z=I:CreateLabel({Size=UDim2.new(0,216,1,0),Position=UDim2.new(1,6,0,0);TextSize=14,Text=J.Text,TextXAlignment=Enum.TextXAlignment.Left;ZIndex=6,Parent=W})I:Create("UIListLayout",{Padding=UDim.new(0,4);FillDirection=Enum.FillDirection.Horizontal,HorizontalAlignment=Enum.HorizontalAlignment.Right;SortOrder=Enum.SortOrder.LayoutOrder;Parent=Z})local u=I:Create("Frame",{BackgroundTransparency=1;Size=UDim2.new(0,170,1,0),ZIndex=8,Parent=Q})I:OnHighlight(u,Q,{BorderColor3="AccentColor"},{BorderColor3="Black"})function c.UpdateColors(B)c:Display()end if type(J.Tooltip)=="string"then I:AddToolTip(J.Tooltip,u)end function c.Display(B)wait(.2);(H:Create(W,TweenInfo.new(.15,A,x),{BackgroundColor3=c.Value and I.AccentColor or I.MainColor})):Play();(H:Create(W,TweenInfo.new(.15,A,x),{BorderColor3=c.Value and I.AccentColorDark or I.OutlineColor})):Play()I.RegistryMap[W].Properties.BackgroundColor3=c.Value and"AccentColor"or"MainColor"I.RegistryMap[W].Properties.BorderColor3=c.Value and"AccentColorDark"or"OutlineColor"end function c.OnChanged(A,B)c.Changed=B B(c.Value)end function c.SetValue(A,B)B=not(not B)c.Value=B c:Display()for A,x in next,c.Addons do if x.Type=="KeyPicker"and x.SyncToggleState then x.Toggled=B x:Update()end end if c.Changed then c.Changed(c.Value)end end u.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then c:SetValue(not c.Value)I:AttemptSave()end end)c:Display()D:AddBlank(J.BlankSize or 7)D:Resize()c.TextLabel=Z c.Container=y setmetatable(c,h)S[B]=c return c end function B.AddSlider(L,B,J)assert(J.Default and(J.Text and(J.Min and(J.Max and J.Rounding))),"Bad Slider Data")local c={Value=J.Default,Min=J.Min;Max=J.Max;Rounding=J.Rounding,MaxSize=232;Type="Slider"}local D=L local Q=D.Container if not J.Compact then I:CreateLabel({Size=UDim2.new(1,0,0,10);TextSize=14;Text=J.Text;TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Bottom,ZIndex=5,Parent=Q})D:AddBlank(3)end local W=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Size=UDim2.new(1,-4,0,13),ZIndex=5;Parent=Q})I:AddToRegistry(W,{BorderColor3="Black"})local T=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=6,Parent=W})local K=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=W})I:AddToRegistry(T,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})local u=I:Create("Frame",{BackgroundColor3=I.AccentColor;BorderColor3=I.AccentColorDark,Size=UDim2.new(0,0,1,0),ZIndex=7;Parent=T})I:AddToRegistry(u,{BackgroundColor3="AccentColor";BorderColor3="AccentColorDark"})local P=I:Create("Frame",{BackgroundColor3=I.AccentColor,BorderSizePixel=0;Position=UDim2.new(1,0,0,0);Size=UDim2.new(0,1,1,0);ZIndex=8;Parent=u})I:AddToRegistry(P,{BackgroundColor3="AccentColor"})local V=I:CreateLabel({Size=UDim2.new(1,0,1,0);TextSize=14,Text="Infinite",ZIndex=9;Parent=T})I:OnHighlight(W,W,{BorderColor3="AccentColor"},{BorderColor3="Black"})if type(J.Tooltip)=="string"then I:AddToolTip(J.Tooltip,W)end function c.UpdateColors(B)u.BackgroundColor3=I.AccentColor u.BorderColor3=I.AccentColorDark end function c.Display(B)local L=J.Suffix or""if J.Compact then V.Text=J.Text..(": "..(c.Value..L))elseif J.HideMax then V.Text=string.format("%s",c.Value..L)else V.Text=string.format("%s/%s",c.Value..L,c.Max..L)end local D=math.ceil(I:MapValue(c.Value,c.Min,c.Max,0,c.MaxSize));(H:Create(u,TweenInfo.new(.15,A,x),{Size=UDim2.new(0,D,1,0)})):Play()P.Visible=not(D==c.MaxSize or D==0)end function c.OnChanged(A,B)c.Changed=B B(c.Value)end local function S(B)if c.Rounding==0 then return math.floor(B)end local A=B..""local x=A:find("%.")return x and tonumber(A:sub(1,x+c.Rounding))or B end function c.GetValueFromXOffset(A,B)return S(I:MapValue(B,0,c.MaxSize,c.Min,c.Max))end function c.SetValue(A,B)local x=tonumber(B)if not x then return end x=math.clamp(x,c.Min,c.Max)c.Value=x c:Display()if c.Changed then c.Changed(c.Value)end end T.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then local B=m.X local A=u.Size.X.Offset local x=B-(u.AbsolutePosition.X+A)while y:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)do local J=m.X local L=math.clamp((A+(J-B))+x,0,c.MaxSize)local D=c:GetValueFromXOffset(L)local y=c.Value c.Value=D c:Display()if D~=y and c.Changed then c.Changed(c.Value)end Z:Wait()end I:AttemptSave()end end)c:Display()D:AddBlank(J.BlankSize or 6)D:Resize()Y[B]=c return c end function B.AddDropdown(x,B,A)assert(A.Text and A.Values,"Bad Dropdown Data")local J={Values=A.Values,Value=A.Multi and{},Multi=A.Multi,Type="Dropdown"}local L=x local c=L.Container local D=0 if not A.Compact then local B=I:CreateLabel({Size=UDim2.new(1,0,0,10),TextSize=14;Text=A.Text;TextXAlignment=Enum.TextXAlignment.Left;TextYAlignment=Enum.TextYAlignment.Bottom,ZIndex=5,Parent=c})L:AddBlank(3)end for B,A in next,c:GetChildren()do if not A:IsA("UIListLayout")then D=D+A.Size.Y.Offset end end local Q=I:Create("Frame",{BorderColor3=Color3.new(0,0,0);Size=UDim2.new(1,-4,0,20),ZIndex=5,Parent=c})I:AddToRegistry(Q,{BorderColor3="Black"})local H=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=6,Parent=Q})local W=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=Q})local T=I:Create("UICorner",{CornerRadius=UDim.new(0,4);Parent=H})I:AddToRegistry(H,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));ColorSequenceKeypoint.new(1,Color3.fromRGB(212,212,212))});Rotation=90,Parent=H})local K=I:Create("ImageLabel",{AnchorPoint=Vector2.new(0,.5);BackgroundTransparency=1,Position=UDim2.new(1,-16,.5,0),Size=UDim2.new(0,12,0,12);Image="http://www.roblox.com/asset/?id=6282522798";ZIndex=7;Parent=H})local Z=I:CreateLabel({Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-5,1,0);TextSize=14;Text="--";TextXAlignment=Enum.TextXAlignment.Left,TextWrapped=true,ZIndex=7;Parent=H})I:OnHighlight(Q,Q,{BorderColor3="AccentColor"},{BorderColor3="Black"})if type(A.Tooltip)=="string"then I:AddToolTip(A.Tooltip,Q)end local u=8 local P=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Position=UDim2.new(0,4,0,((20+D)+1)+20),Size=UDim2.new(1,-8,0,u*20+2);ZIndex=20,Visible=false;Parent=c.Parent})local V=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Inset,BorderSizePixel=0,Size=UDim2.new(1,0,1,0),ZIndex=21;Parent=P})I:AddToRegistry(V,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"})local S=I:Create("ScrollingFrame",{BackgroundTransparency=1;CanvasSize=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0),ZIndex=21;Parent=V,TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png";BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ScrollBarThickness=3;ScrollBarImageColor3=I.AccentColor})local t=I:Create("UICorner",{CornerRadius=UDim.new(0,4);Parent=S})I:AddToRegistry(S,{ScrollBarImageColor3="AccentColor"})I:Create("UIListLayout",{Padding=UDim.new(0,0);FillDirection=Enum.FillDirection.Vertical;SortOrder=Enum.SortOrder.LayoutOrder,Parent=S})function J.Display(B)local x=J.Values local L=""if A.Multi then for B,A in next,x do if J.Value[A]then L=L..(A..", ")end end L=L:sub(1,#L-2)else L=J.Value or""end Z.Text=L==""and"--"or L end function J.GetActiveValues(B)if A.Multi then local B={}for A,x in next,J.Value do table.insert(B,A)end return B else return J.Value and 1 or 0 end end function J.SetValues(B)local x=J.Values local L={}for B,A in next,S:GetChildren()do if not A:IsA("UIListLayout")then A:Destroy()end end local c=0 for B,x in next,x do local D={}c=c+1 local y=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,BorderMode=Enum.BorderMode.Middle;Size=UDim2.new(1,-1,0,20);ZIndex=23,Active=true;Parent=S})I:AddToRegistry(y,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})local Q=I:CreateLabel({Size=UDim2.new(1,-6,1,0),Position=UDim2.new(0,6,0,0),TextSize=14,Text=x;TextXAlignment=Enum.TextXAlignment.Left;ZIndex=25,Parent=y})I:OnHighlight(y,y,{BorderColor3="AccentColor";ZIndex=24},{BorderColor3="OutlineColor",ZIndex=23})local H if A.Multi then H=J.Value[x]else H=J.Value==x end function D.UpdateButton(B)if A.Multi then H=J.Value[x]else H=J.Value==x end Q.TextColor3=H and I.AccentColor or I.FontColor I.RegistryMap[Q].Properties.TextColor3=H and"AccentColor"or"FontColor"end Q.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then local B=not H if J:GetActiveValues()==1 and(not B and not A.AllowNull)then else if A.Multi then H=B if H then J.Value[x]=true else J.Value[x]=nil end else H=B if H then J.Value=x else J.Value=nil end for B,A in next,L do A:UpdateButton()end end D:UpdateButton()J:Display()if J.Changed then J.Changed(J.Value)end I:AttemptSave()end end end)D:UpdateButton()J:Display()L[y]=D end local D=math.clamp(c*20,0,u*20)+1 P.Size=UDim2.new(1,-8,0,D)S.CanvasSize=UDim2.new(0,0,0,c*20+1)end function J.OpenDropdown(B)P.Visible=true I.OpenedFrames[P]=true K.Rotation=180 end function J.CloseDropdown(B)P.Visible=false I.OpenedFrames[P]=nil K.Rotation=0 end function J.OnChanged(A,B)J.Changed=B B(J.Value)end function J.SetValue(A,B)if J.Multi then local A={}for B,x in next,B do if table.find(J.Values,B)then A[B]=true end end J.Value=A else if not B then J.Value=nil elseif table.find(J.Values,B)then J.Value=B end end J:SetValues()J:Display()if J.Changed then J.Changed(J.Value)end end Q.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then if P.Visible then J:CloseDropdown()else J:OpenDropdown()end end end)y.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then local B,A=P.AbsolutePosition,P.AbsoluteSize if m.X<B.X or m.X>B.X+A.X or m.Y<(B.Y-20)-1 or m.Y>B.Y+A.Y then J:CloseDropdown()end end end)J:SetValues()J:Display()if type(A.Default)=="string"then A.Default=table.find(J.Values,A.Default)end if A.Default then if A.Multi then J.Value[J.Values[A.Default]]=true else J.Value=J.Values[A.Default]end J:SetValues()J:Display()end L:AddBlank(A.BlankSize or 5)L:Resize()Y[B]=J return J end k.__index=B k.__namecall=function(A,x,...)return B[x](...)end end do I.NotificationArea=I:Create("Frame",{BackgroundTransparency=1;Position=UDim2.new(0,0,0,40),Size=UDim2.new(0,300,0,200),ZIndex=100,Parent=V})I:Create("UIListLayout",{Padding=UDim.new(0,4),FillDirection=Enum.FillDirection.Vertical,SortOrder=Enum.SortOrder.LayoutOrder;Parent=I.NotificationArea})local B=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Position=UDim2.new(0,100,0,-25),Size=UDim2.new(0,213,0,20),ZIndex=200;Visible=false;Parent=V})local A=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.AccentColor;BorderMode=Enum.BorderMode.Inset,Size=UDim2.new(1,0,1,0);ZIndex=201,Parent=B})I:AddToRegistry(A,{BorderColor3="AccentColor"})local x=I:Create("Frame",{BackgroundColor3=Color3.new(1,1,1),BorderSizePixel=0;Position=UDim2.new(0,1,0,1);Size=UDim2.new(1,-2,1,-2);ZIndex=202,Parent=A})local J=I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,I:GetDarkerColor(I.MainColor));ColorSequenceKeypoint.new(1,I.MainColor)}),Rotation=-90;Parent=x})I:AddToRegistry(J,{Color=function()return ColorSequence.new({ColorSequenceKeypoint.new(0,I:GetDarkerColor(I.MainColor));ColorSequenceKeypoint.new(1,I.MainColor)})end})local L=I:CreateLabel({Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-4,1,0),TextSize=14,TextXAlignment=Enum.TextXAlignment.Left,ZIndex=203;Parent=x})I.Watermark=B I.WatermarkText=L I:MakeDraggable(I.Watermark)local c=I:Create("Frame",{AnchorPoint=Vector2.new(0,.5);BorderColor3=Color3.new(0,0,0);Position=UDim2.new(0,10,.5,0);Size=UDim2.new(0,210,0,20),Visible=false;ZIndex=100;Parent=V})local D=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset,Size=UDim2.new(1,0,1,0);ZIndex=101;Parent=c})I:AddToRegistry(D,{BackgroundColor3="MainColor",BorderColor3="OutlineColor"},true)local y=I:Create("Frame",{BackgroundColor3=I.AccentColor,BorderSizePixel=0,Size=UDim2.new(1,0,0,2);ZIndex=102;Parent=D})I:AddToRegistry(y,{BackgroundColor3="AccentColor"},true)local Q=I:CreateLabel({Size=UDim2.new(1,0,0,20),Position=UDim2.fromOffset(5,2),TextXAlignment=Enum.TextXAlignment.Left;Text="Keybinds",ZIndex=104,Parent=D})local H=I:Create("Frame",{BackgroundTransparency=1,Size=UDim2.new(1,0,1,-20),Position=UDim2.new(0,0,0,20),ZIndex=1,Parent=D})I:Create("UIListLayout",{FillDirection=Enum.FillDirection.Vertical,SortOrder=Enum.SortOrder.LayoutOrder,Parent=H})I:Create("UIPadding",{PaddingLeft=UDim.new(0,5),Parent=H})I.KeybindFrame=c I.KeybindContainer=H I:MakeDraggable(c)end function I.SetWatermarkVisibility(A,B)I.Watermark.Visible=B end function I.SetWatermark(A,B)local x,J=I:GetTextBounds(B,Enum.Font.Gotham,14)I.Watermark.Size=UDim2.new(0,x+15,0,J*1.5+3)I:SetWatermarkVisibility(true)I.WatermarkText.Text=B end function I.Notify(x,B,A)local J,L=I:GetTextBounds(B,Enum.Font.Gotham,14)L=L+7 local c=I:Create("Frame",{BorderColor3=Color3.new(0,0,0),Position=UDim2.new(0,100,0,10);Size=UDim2.new(0,0,0,L),ClipsDescendants=true,ZIndex=100,Parent=I.NotificationArea})local D=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor;BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=101;Parent=c})I:AddToRegistry(D,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"},true)local y=I:Create("Frame",{BackgroundColor3=Color3.new(1,1,1);BorderSizePixel=0;Position=UDim2.new(0,1,0,1),Size=UDim2.new(1,-2,1,-2);ZIndex=102,Parent=D})local Q=I:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,I:GetDarkerColor(I.MainColor)),ColorSequenceKeypoint.new(1,I.MainColor)}),Rotation=-90;Parent=y})I:AddToRegistry(Q,{Color=function()return ColorSequence.new({ColorSequenceKeypoint.new(0,I:GetDarkerColor(I.MainColor));ColorSequenceKeypoint.new(1,I.MainColor)})end})local H=I:CreateLabel({Position=UDim2.new(0,4,0,0),Size=UDim2.new(1,-4,1,0),Text=B;TextXAlignment=Enum.TextXAlignment.Left,TextSize=14;ZIndex=103,Parent=y})local W=I:Create("Frame",{BackgroundColor3=I.AccentColor;BorderSizePixel=0,Position=UDim2.new(0,-1,0,-1),Size=UDim2.new(0,3,1,2);ZIndex=104,Parent=c})I:AddToRegistry(W,{BackgroundColor3="AccentColor"},true)pcall(c.TweenSize,c,UDim2.new(0,(J+8)+4,0,L),"Out","Quad",.4,true)task.spawn(function()wait(A or 5)pcall(c.TweenSize,c,UDim2.new(0,0,0,L),"Out","Quad",.4,true)wait(.4)c:Destroy()end)end function I.CreateWindow(B,...)local J={...}local L={AnchorPoint=Vector2.zero}if type(...)=="table"then L=...else L.Title=J[1]L.AutoShow=J[2]or false end if type(L.Title)~="string"then L.Title="No title"end if typeof(L.Position)~="UDim2"then L.Position=UDim2.fromOffset(175,50)end if typeof(L.Size)~="UDim2"then L.Size=UDim2.fromOffset(550,600)end if L.Center then L.AnchorPoint=Vector2.new(.5,.5)L.Position=UDim2.fromScale(.5,.5)end local c={Tabs={}}local D=I:Create("Frame",{AnchorPoint=L.AnchorPoint;BackgroundColor3=Color3.new(0,0,0),BorderSizePixel=0;Position=L.Position,Size=UDim2.fromOffset(0,0),Visible=false;ZIndex=1,Parent=V})local Q=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=D})local W=I:Stroke(1)W.Parent=D I:MakeDraggable(D,25)local T=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.AccentColor;BorderMode=Enum.BorderMode.Inset,Position=UDim2.new(0,1,0,1);Size=UDim2.new(1,-2,1,-2),ZIndex=1,Parent=D});(H:Create(D,TweenInfo.new(.7,A,x),{Size=L.Size})):Play()repeat wait()until D.Size==L.Size local K=I:Create("UICorner",{CornerRadius=UDim.new(0,6),Parent=T})I:AddToRegistry(T,{BackgroundColor3="MainColor",BorderColor3="AccentColor"})local u=I:CreateLabel({Position=UDim2.new(0,7,0,0),Size=UDim2.new(0,0,0,25),Text=L.Title or"";TextXAlignment=Enum.TextXAlignment.Left;ZIndex=1;Parent=T})local P=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=I.OutlineColor;Position=UDim2.new(0,8,0,25),Size=UDim2.new(1,-16,1,-33);ZIndex=1;Parent=T})I:AddToRegistry(P,{BackgroundColor3="BackgroundColor";BorderColor3="OutlineColor"})local S=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=Color3.new(0,0,0);BorderMode=Enum.BorderMode.Inset,Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0);ZIndex=1;Parent=P})I:AddToRegistry(S,{BackgroundColor3="BackgroundColor"})local t=I:Create("Frame",{BackgroundTransparency=1;Position=UDim2.new(0,8,0,8);Size=UDim2.new(1,-16,0,21);ZIndex=1,Parent=S})I:Create("UIListLayout",{Padding=UDim.new(0,4),FillDirection=Enum.FillDirection.Horizontal,SortOrder=Enum.SortOrder.LayoutOrder;Parent=t})local b=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=I.OutlineColor,Position=UDim2.new(0,8,0,25),Size=UDim2.new(1,-16,1,-30),ZIndex=2;Parent=S})local h=I:Stroke(1)h.Transparency=.4 h.Parent=b local l=I:Create("UICorner",{CornerRadius=UDim.new(0,4);Parent=b})I:AddToRegistry(b,{BackgroundColor3="MainColor";BorderColor3="OutlineColor"})function c.SetWindowTitle(A,B)u.Text=B end function c.AddTab(J,B)local L={Groupboxes={};Tabboxes={}}local D=I:GetTextBounds(B,Enum.Font.Gotham,16)local y=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor,Size=UDim2.new(0,(D+8)+4,1,0),ZIndex=3,Parent=t})local Q=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderColor3=I.OutlineColor,BorderSizePixel=0,Position=UDim2.new(0,0,.9,0);Size=UDim2.new(1,0,0,3),ZIndex=3,Parent=y})local W=I:Create("UICorner",{CornerRadius=UDim.new(0,4),Parent=y})local T=I:Stroke(1)T.Transparency=.4 T.Parent=y I:AddToRegistry(y,{BackgroundColor3="BackgroundColor";BorderColor3="OutlineColor"})local K=I:CreateLabel({Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,-1);Text=B;ZIndex=3,Parent=y})local Z=I:Create("Frame",{BackgroundColor3=I.MainColor,BorderSizePixel=0,Position=UDim2.new(0,0,1,0);Size=UDim2.new(1,0,0,1);BackgroundTransparency=1,ZIndex=3;Parent=y})I:AddToRegistry(Z,{BackgroundColor3="MainColor"})local u=I:Create("Frame",{Name="TabFrame",BackgroundTransparency=1,Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0),Visible=false;ZIndex=2;Parent=b,BackgroundColor3=I.MainColor})if not FIRSTTAB then(getgenv()).FIRSTTAB=true u.Visible=true end local m=I:Create("Frame",{BackgroundTransparency=1,Position=UDim2.new(0,8,0,8),Size=UDim2.new(.5,-12,0,507);ZIndex=2,Parent=u})local P=I:Create("Frame",{BackgroundTransparency=1,Position=UDim2.new(.5,4,0,8);Size=UDim2.new(.5,-12,0,507);ZIndex=2;Parent=u})I:Create("UIListLayout",{Padding=UDim.new(0,8);FillDirection=Enum.FillDirection.Vertical;SortOrder=Enum.SortOrder.LayoutOrder;Parent=m})I:Create("UIListLayout",{Padding=UDim.new(0,8);FillDirection=Enum.FillDirection.Vertical,SortOrder=Enum.SortOrder.LayoutOrder;Parent=P})function L.ShowTab(B)for B,A in next,c.Tabs do A:HideTab()end Z.BackgroundTransparency=0;(H:Create(y,TweenInfo.new(.25,A,x),{BackgroundColor3=I.BackgroundColor})):Play()I.RegistryMap[y].Properties.BackgroundColor3="MainColor"u.Visible=true end function L.HideTab(B)Z.BackgroundTransparency=1;(H:Create(y,TweenInfo.new(.25,A,x),{BackgroundColor3=I.MainColor})):Play()I.RegistryMap[y].Properties.BackgroundColor3="BackgroundColor"u.Visible=false end function L.AddGroupbox(A,B)local x={}local J=I:Create("Frame",{BackgroundColor3=I.BackgroundColor,BorderColor3=I.OutlineColor;Size=UDim2.new(1,0,0,507),ZIndex=2,Parent=B.Side==1 and m or P})I:AddToRegistry(J,{BackgroundColor3="BackgroundColor",BorderColor3="OutlineColor"})local c=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=Color3.new(0,0,0),BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0),ZIndex=4;Parent=J})I:AddToRegistry(c,{BackgroundColor3="BackgroundColor"})local D=I:Create("Frame",{BackgroundColor3=I.AccentColor,BorderSizePixel=0,Size=UDim2.new(1,0,0,2),ZIndex=5;Parent=c})I:AddToRegistry(D,{BackgroundColor3="AccentColor"})local y=I:CreateLabel({Size=UDim2.new(1,0,0,18),Position=UDim2.new(0,4,0,2);TextSize=14,Text=B.Name,TextXAlignment=Enum.TextXAlignment.Left,ZIndex=5;Parent=c})local Q=I:Create("Frame",{BackgroundTransparency=1,Position=UDim2.new(0,4,0,20);Size=UDim2.new(1,-4,1,-20),ZIndex=1;Parent=c})I:Create("UIListLayout",{FillDirection=Enum.FillDirection.Vertical;SortOrder=Enum.SortOrder.LayoutOrder,Parent=Q})function x.Resize(B)local A=0 for B,x in next,x.Container:GetChildren()do if not x:IsA("UIListLayout")then A=A+x.Size.Y.Offset end end J.Size=UDim2.new(1,0,0,(20+A)+2)end x.Container=Q setmetatable(x,k)x:AddBlank(3)x:Resize()L.Groupboxes[B.Name]=x return x end function L.AddLeftGroupbox(A,B)return L:AddGroupbox({Side=1,Name=B})end function L.AddRightGroupbox(A,B)return L:AddGroupbox({Side=2,Name=B})end function L.AddTabbox(A,B)local x={Tabs={}}local J=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=I.OutlineColor;Size=UDim2.new(1,0,0,0),ZIndex=2;Parent=B.Side==1 and m or P})I:AddToRegistry(J,{BackgroundColor3="BackgroundColor",BorderColor3="OutlineColor"})local c=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderColor3=Color3.new(0,0,0);BorderMode=Enum.BorderMode.Inset;Size=UDim2.new(1,0,1,0);ZIndex=4,Parent=J})I:AddToRegistry(c,{BackgroundColor3="BackgroundColor"})local D=I:Create("Frame",{BackgroundColor3=I.AccentColor;BorderSizePixel=0,Size=UDim2.new(1,0,0,2);ZIndex=10,Parent=c})I:AddToRegistry(D,{BackgroundColor3="AccentColor"})local y=I:Create("Frame",{BackgroundTransparency=1;Position=UDim2.new(0,0,0,1);Size=UDim2.new(1,0,0,18);ZIndex=5;Parent=c})I:Create("UIListLayout",{FillDirection=Enum.FillDirection.Horizontal;HorizontalAlignment=Enum.HorizontalAlignment.Left;SortOrder=Enum.SortOrder.LayoutOrder;Parent=y})function x.AddTab(A,B)local L={}local D=I:Create("Frame",{BackgroundColor3=I.MainColor;BorderColor3=Color3.new(0,0,0),Size=UDim2.new(.5,0,1,0),ZIndex=6;Parent=y})I:AddToRegistry(D,{BackgroundColor3="MainColor"})local Q=I:CreateLabel({Size=UDim2.new(1,0,1,0),TextSize=14;Text=B;TextXAlignment=Enum.TextXAlignment.Center;ZIndex=7;Parent=D})local H=I:Create("Frame",{BackgroundColor3=I.BackgroundColor;BorderSizePixel=0;Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,1),Visible=false;ZIndex=9;Parent=D})I:AddToRegistry(H,{BackgroundColor3="BackgroundColor"})local W=I:Create("Frame",{Position=UDim2.new(0,4,0,20);Size=UDim2.new(1,-4,1,-20);ZIndex=1;Visible=false;Parent=c})I:Create("UIListLayout",{FillDirection=Enum.FillDirection.Vertical,SortOrder=Enum.SortOrder.LayoutOrder;Parent=W})function L.Show(B)for B,A in next,x.Tabs do A:Hide()end W.Visible=true H.Visible=true D.BackgroundColor3=I.BackgroundColor I.RegistryMap[D].Properties.BackgroundColor3="BackgroundColor"end function L.Hide(B)W.Visible=false H.Visible=false D.BackgroundColor3=I.MainColor I.RegistryMap[D].Properties.BackgroundColor3="MainColor"end function L.Resize(B)local A=0 for B,x in next,x.Tabs do A=A+1 end for B,x in next,y:GetChildren()do if not x:IsA("UIListLayout")then x.Size=UDim2.new(1/A,0,1,0)end end local c=0 for B,A in next,L.Container:GetChildren()do if not A:IsA("UIListLayout")then c=c+A.Size.Y.Offset end end if J.Size.Y.Offset<(20+c)+2 then J.Size=UDim2.new(1,0,0,(20+c)+2)end end D.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 and not I:MouseIsOverOpenedFrame()then L:Show()end end)L.Container=W x.Tabs[B]=L setmetatable(L,k)L:AddBlank(3)L:Resize()if#y:GetChildren()==2 then L:Show()end return L end L.Tabboxes[B.Name or""]=x return x end function L.AddLeftTabbox(A,B)return L:AddTabbox({Name=B,Side=1})end function L.AddRightTabbox(A,B)return L:AddTabbox({Name=B;Side=2})end y.InputBegan:Connect(function(B)if B.UserInputType==Enum.UserInputType.MouseButton1 then L:ShowTab()end end)if#b:GetChildren()==1 then L:ShowTab()end c.Tabs[B]=L return L end local a=I:Create("TextButton",{BackgroundTransparency=1;Size=UDim2.new(0,0,0,0),Visible=true;Text="",Modal=false;Parent=V})function I.Toggle()D.Visible=not D.Visible a.Modal=D.Visible local B=m.Icon local A=y.MouseIconEnabled local x=Drawing.new("Triangle")x.Thickness=1 x.Filled=true while D.Visible and V.Parent do local B=y:GetMouseLocation()x.Color=I.AccentColor x.PointA=Vector2.new(B.X,B.Y)x.PointB=Vector2.new(B.X,B.Y)+Vector2.new(6,14)x.PointC=Vector2.new(B.X,B.Y)+Vector2.new(-6,14)x.Visible=not y.MouseIconEnabled Z:Wait()end x:Remove()end I:GiveSignal(y.InputBegan:Connect(function(B,A)if type(I.ToggleKeybind)=="table"and I.ToggleKeybind.Type=="KeyPicker"then if B.UserInputType==Enum.UserInputType.Keyboard and B.KeyCode.Name==I.ToggleKeybind.Value then task.spawn(I.Toggle)end elseif B.KeyCode==Enum.KeyCode.RightControl or B.KeyCode==Enum.KeyCode.RightShift and not A then task.spawn(I.Toggle)end if B:IsModifierKeyDown(Enum.ModifierKey.Ctrl)and D.Visible then local A=nil for B,x in next,Y do if x.Type=="ColorPicker"then local B=x.DisplayFrame local J=B and B:findFirstAncestor("TabFrame")if J.Visible and I:IsMouseOverFrame(x.DisplayFrame)then A=x break end end end if not A then return end if B.KeyCode==Enum.KeyCode.C then I.ColorClipboard=A.Value elseif B.KeyCode==Enum.KeyCode.V and I.ColorClipboard then A:SetValueRGB(I.ColorClipboard)end end end))if L.AutoShow then task.spawn(I.Toggle)end c.Holder=D return c end return I
Add Comment
Please, Sign In to add comment