--[[ .____ ________ ___. _____ __ | | __ _______ \_____ \\_ |___/ ____\_ __ ______ ____ _____ _/ |_ ___________ | | | | \__ \ / | \| __ \ __\ | \/ ___// ___\\__ \\ __\/ _ \_ __ \ | |___| | // __ \_/ | \ \_\ \ | | | /\___ \\ \___ / __ \| | ( <_> ) | \/ |_______ \____/(____ /\_______ /___ /__| |____//____ >\___ >____ /__| \____/|__| \/ \/ \/ \/ \/ \/ \/ \_Welcome to LuaObfuscator.com (Alpha 0.10.9) ~ Much Love, Ferib ]]-- local v0={Flags={}};local v1={accent=Color3.fromRGB(0,215,245),connections={},themeName="Default"};local function v2(v102,v103,v104) local v105=Instance.new(v102);for v436,v437 in pairs(v103 or {} ) do v105[v436]=v437;end v105.Parent=v104;return v105;end local function v3(v107,v108) v2("UICorner",{CornerRadius=UDim.new(0,v108 or 9 )},v107);return v107;end local function v4(v109,v110,v111) v2("UIStroke",{Color=v110 or Color3.fromRGB(45,56,72) ,Thickness=v111 or 1 ,Transparency=0.3},v109);end local v5={bg=Color3.fromRGB(11,15,23),panel=Color3.fromRGB(17,23,34),card=Color3.fromRGB(24,32,46),muted=Color3.fromRGB(139,154,175),white=Color3.fromRGB(236,244,255),border=Color3.fromRGB(47,60,77)};local v6={Default={accent={115,185,255},bg={17,19,27},panel={25,28,40},card={34,39,54},border={69,77,98}},AmberGlow={accent={255,180,70},bg={22,17,16},panel={31,24,22},card={44,33,29},border={83,61,48}},Amethyst={accent={192,132,252},bg={19,15,29},panel={28,22,42},card={39,31,58},border={77,60,104}},Bloom={accent={255,126,178},bg={26,17,27},panel={36,24,39},card={50,34,53},border={92,64,94}},Green={accent={91,226,166},bg={12,22,20},panel={18,32,29},card={27,45,40},border={54,82,73}},Light={accent={22,125,175},bg={219,229,239},panel={235,242,249},card={248,251,255},border={165,187,207},white={24,38,54},muted={80,102,121}},Ocean={accent={66,188,232},bg={11,24,34},panel={17,35,47},card={24,48,63},border={49,90,110}},Serenity={accent={135,176,249},bg={18,22,35},panel={27,33,49},card={38,46,65},border={71,86,113}}};local function v7(v112) return Color3.fromRGB(v112[1],v112[2],v112[3]);end local function v8(v113) local v114=v6[v113];if not v114 then return;end local v115={bg=v5.bg,panel=v5.panel,card=v5.card,border=v5.border,white=v5.white,muted=v5.muted,accent=v1.accent};local v116={};for v439,v440 in pairs(v115) do v116[v439]=(v114[v439] and v7(v114[v439])) or ((v439=="white") and Color3.fromRGB(236,244,255)) or ((v439=="muted") and Color3.fromRGB(139,154,175)) or v440 ;end if v1.root then for v670,v671 in ipairs(v1.root:GetDescendants()) do for v788,v789 in ipairs({"BackgroundColor3","TextColor3","ImageColor3","ScrollBarImageColor3","Color"}) do local v790,v791=pcall(function() return v671[v789];end);if (v790 and (typeof(v791)=="Color3")) then for v881,v882 in pairs(v115) do if (v791==v882) then pcall(function() v671[v789]=v116[v881];end);break;end end end end end end for v442,v443 in pairs(v116) do if (v442=="accent") then v1.accent=v443;else v5[v442]=v443;end end v1.themeName=v113;end local function v9(v118,v119,v120,v121,v122) local v123={BackgroundTransparency=1,Text=tostring(v119),TextColor3=v121 or v5.white ,Font=Enum.Font.Gotham,TextSize=v120 or 13 ,TextXAlignment=Enum.TextXAlignment.Left};for v444,v445 in pairs(v122 or {} ) do v123[v444]=v445;end return v2("TextLabel",v123,v118);end local function v10(v124,v125,v126) local v127={Text=v125 or "" ,AutoButtonColor=false,Font=Enum.Font.GothamMedium,TextSize=12,TextColor3=v5.white,BackgroundColor3=v5.card,BackgroundTransparency=0.32,BorderSizePixel=0};for v447,v448 in pairs(v126 or {} ) do v127[v447]=v448;end local v128=v2("TextButton",v127,v124);v3(v128,8);return v128;end local function v11(v129,v130) if (v1.toast and v1.toast.Parent) then v1.toast.Text=tostring(v129) .. " - " .. tostring(v130) ;v1.toast.Visible=true;task.delay(3.5,function() if (v1.toast and v1.toast.Parent) then v1.toast.Visible=false;end end);end end v0.Notify=function(v131,v132) v11(v132.Title or "Notice" ,v132.Content or "" );end;v0.Destroy=function(v133) if v1.root then v1.root:Destroy();v1.root=nil;end for v450,v451 in ipairs(v1.connections) do pcall(function() v451:Disconnect();end);end table.clear(v1.connections);end;v0.CreateWindow=function(v134,v135) local v136=game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui");local v137=v136:FindFirstChild("OpticalzModern");if v137 then v137:Destroy();end pcall(function() local v452=game:GetService("CoreGui"):FindFirstChild("OpticalzModern");if v452 then v452:Destroy();end end);local v138=v2("ScreenGui",{Name="OpticalzModern",ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=2147483647,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},v136);local v139=v136;local v140=pcall(function() v138.Parent=game:GetService("CoreGui");end);if (v140 and (v138.Parent==game:GetService("CoreGui"))) then v139=game:GetService("CoreGui");end local v141=false;v138.AncestryChanged:Connect(function() if (v141 or not v1.root or (v1.root~=v138)) then return;end if not v138:IsDescendantOf(game) then v141=true;task.defer(function() if (v1.root==v138) then pcall(function() v138.Parent=v139;end);end v141=false;end);end end);v1.root=v138;local v143=v3(v2("Frame",{Name="Shadow",Size=UDim2.fromOffset(722,492),Position=UDim2.new(0.5, -361,0.5, -246),BackgroundColor3=Color3.fromRGB(3,7,13),BackgroundTransparency=0.78,BorderSizePixel=0},v138),16);local v144=v3(v2("Frame",{Name="Window",Size=UDim2.fromOffset(710,480),Position=UDim2.new(0.5, -355,0.5, -240),BackgroundColor3=v5.bg,BackgroundTransparency=0.34,BorderSizePixel=0,ClipsDescendants=true},v138),14);v4(v144,v5.border,1);v1.shell=v144;v1.shadow=v143;local v147=v2("UIScale",{Scale=1},v144);local v148=v2("UIScale",{Scale=1},v143);local v149=Vector2.new(710,480);local v150=1;local v151=1;pcall(function() if getgenv then v151=tonumber(getgenv().OpticalzWindowScale) or 1 ;end end);local function v152(v454) local v455=(workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize) or Vector2.new(1920,1080) ;local v456=math.min(1.65,(v455.X-40)/v149.X ,(v455.Y-40)/v149.Y );v150=math.clamp(v454,0.75,math.max(0.75,v456));v147.Scale=v150;v148.Scale=v150;pcall(function() if getgenv then getgenv().OpticalzWindowScale=v150;end end);end v152(v151);v2("UIGradient",{Rotation=110,Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,255)),ColorSequenceKeypoint.new(1,Color3.fromRGB(198,218,235))})},v144);local v153=v2("Frame",{Size=UDim2.new(0,177,1,0),BackgroundColor3=v5.panel,BackgroundTransparency=0.43,BorderSizePixel=0},v144);v2("Frame",{Size=UDim2.new(0,1,1,0),Position=UDim2.new(1, -1,0,0),BackgroundColor3=v5.border,BackgroundTransparency=0.55,BorderSizePixel=0},v153);v9(v153,"OPTICALZ MD",18,v5.white,{Position=UDim2.fromOffset(17,24),Size=UDim2.fromOffset(156,24),Font=Enum.Font.GothamBold});v9(v153,"MURDER DUELS / V5",9,v1.accent,{Position=UDim2.fromOffset(20,51),Size=UDim2.fromOffset(150,17),Font=Enum.Font.GothamBold});v9(v153,"WORKSPACE",9,v5.muted,{Position=UDim2.fromOffset(20,92),Size=UDim2.fromOffset(135,17),Font=Enum.Font.GothamBold});local v154=v2("ScrollingFrame",{Position=UDim2.fromOffset(10,116),Size=UDim2.new(1, -20,1, -132),BackgroundTransparency=1,BorderSizePixel=0,ScrollBarThickness=0,AutomaticCanvasSize=Enum.AutomaticSize.Y,CanvasSize=UDim2.new()},v153);v2("UIListLayout",{Padding=UDim.new(0,5),SortOrder=Enum.SortOrder.LayoutOrder},v154);local v155=v2("Frame",{Position=UDim2.fromOffset(177,0),Size=UDim2.new(1, -177,0,79),BackgroundTransparency=1},v144);local v156=v9(v155,"Dashboard",20,v5.white,{Position=UDim2.fromOffset(23,18),Size=UDim2.new(1, -130,0,28),Font=Enum.Font.GothamBold});local v157=v9(v155,"Fine-tune your experience",11,v5.muted,{Position=UDim2.fromOffset(24,49),Size=UDim2.new(1, -150,0,17)});local v158=v10(v155,"−",{Position=UDim2.new(1, -73,0,20),Size=UDim2.fromOffset(26,26),TextSize=19,BackgroundColor3=v5.card});local v159=v10(v155,"×",{Position=UDim2.new(1, -39,0,20),Size=UDim2.fromOffset(26,26),TextSize=18,BackgroundColor3=v5.card});v159.MouseButton1Click:Connect(function() v144.Visible=false;v143.Visible=false;end);local v160=false;local v161=v10(v144,"◢",{AnchorPoint=Vector2.new(1,1),Position=UDim2.new(1, -5,1, -5),Size=UDim2.fromOffset(23,23),TextSize=17,BackgroundTransparency=0.5,TextColor3=v1.accent,ZIndex=8});v161.Name="ResizeGrip";local v163,v164,v165;v161.InputBegan:Connect(function(v461) if ((v461.UserInputType==Enum.UserInputType.MouseButton1) or (v461.UserInputType==Enum.UserInputType.Touch)) then v165=true;v163=v461.Position;v164=v150;end end);local v166=game:GetService("UserInputService");table.insert(v1.connections,v166.InputChanged:Connect(function(v462) if (v165 and ((v462.UserInputType==Enum.UserInputType.MouseMovement) or (v462.UserInputType==Enum.UserInputType.Touch))) then local v675=v462.Position-v163 ;v152(v164 + math.min(v675.X/v149.X ,v675.Y/v149.Y ) );end end));table.insert(v1.connections,v166.InputEnded:Connect(function(v463) if ((v463.UserInputType==Enum.UserInputType.MouseButton1) or (v463.UserInputType==Enum.UserInputType.Touch)) then v165=false;end end));v158.MouseButton1Click:Connect(function() v160= not v160;v153.Visible= not v160;if v1.content then v1.content.Visible= not v160;end v161.Visible= not v160;v144.Size=(v160 and UDim2.fromOffset(282,52)) or UDim2.fromOffset(710,480) ;v144.BackgroundTransparency=(v160 and 0.22) or 0.34 ;v143.Visible= not v160;v155.Position=(v160 and UDim2.fromOffset(0,0)) or UDim2.fromOffset(177,0) ;v155.Size=(v160 and UDim2.new(1,0,1,0)) or UDim2.new(1, -177,0,79) ;v156.Text=(v160 and "OPTICALZ MD") or v1.activeTitle or "Dashboard" ;v156.Position=(v160 and UDim2.fromOffset(15,12)) or UDim2.fromOffset(23,18) ;v156.Size=(v160 and UDim2.new(1, -100,0,28)) or UDim2.new(1, -130,0,28) ;v156.TextSize=(v160 and 15) or 20 ;v157.Visible= not v160;v158.Position=UDim2.new(1, -73,0,(v160 and 13) or 20 );v159.Position=UDim2.new(1, -39,0,(v160 and 13) or 20 );v158.Text=(v160 and "+") or "−" ;end);local v167=v2("Frame",{Position=UDim2.fromOffset(192,82),Size=UDim2.new(1, -210,1, -98),BackgroundTransparency=1},v144);v1.content=v167;v1.toast=v3(v9(v138,"",11,v5.white,{Visible=false,TextXAlignment=Enum.TextXAlignment.Center,BackgroundTransparency=0.3,BackgroundColor3=v5.card,Position=UDim2.new(0.5, -220,1, -76),Size=UDim2.fromOffset(440,35),ZIndex=10}),9);local v170,v171,v172;local v173=game:GetService("UserInputService");v155.InputBegan:Connect(function(v479) if ((v479.UserInputType==Enum.UserInputType.MouseButton1) and not v165) then v170=true;v171=v479.Position;v172=v144.Position;end end);table.insert(v1.connections,v173.InputChanged:Connect(function(v480) if (v170 and (v480.UserInputType==Enum.UserInputType.MouseMovement)) then local v679=v480.Position-v171 ;local v680=UDim2.new(v172.X.Scale,v172.X.Offset + v679.X ,v172.Y.Scale,v172.Y.Offset + v679.Y );v144.Position=v680;v143.Position=UDim2.new(v680.X.Scale,v680.X.Offset-6 ,v680.Y.Scale,v680.Y.Offset-6 );end end));table.insert(v1.connections,v173.InputEnded:Connect(function(v481) if (v481.UserInputType==Enum.UserInputType.MouseButton1) then v170=false;end end));table.insert(v1.connections,v173.InputBegan:Connect(function(v482,v483) if ( not v483 and (v482.KeyCode==Enum.KeyCode.RightShift) and v144.Parent) then v144.Visible= not v144.Visible;v143.Visible=v144.Visible and not v160 ;end end));local v174={tabs={},selected=nil};v174.CreateTab=function(v484,v485) local v486=v10(v154," " .. v485 ,{Size=UDim2.new(1,0,0,35),TextXAlignment=Enum.TextXAlignment.Left,BackgroundTransparency=1,TextColor3=v5.muted,TextSize=12});local v487=v2("ScrollingFrame",{Name=v485,Visible=false,Size=UDim2.fromScale(1,1),BackgroundTransparency=1,BorderSizePixel=0,ScrollBarThickness=3,ScrollBarImageColor3=v1.accent,AutomaticCanvasSize=Enum.AutomaticSize.Y,CanvasSize=UDim2.new(0,0,0,0)},v167);v2("UIListLayout",{Padding=UDim.new(0,9),SortOrder=Enum.SortOrder.LayoutOrder},v487);v2("UIPadding",{PaddingTop=UDim.new(0,3),PaddingBottom=UDim.new(0,10),PaddingRight=UDim.new(0,9)},v487);local v488={page=v487};v174.Select=function(v559,v560) for v685,v686 in ipairs(v559.tabs) do local v687=v686==v560 ;v686.page.Visible=v687;v686.navbtn.BackgroundTransparency=(v687 and 0) or 1 ;v686.navbtn.BackgroundColor3=(v687 and Color3.fromRGB(25,48,62)) or v5.panel ;v686.navbtn.TextColor3=(v687 and v1.accent) or v5.muted ;end v1.activeTitle=v560.name;if not v160 then v156.Text=v560.name;end v559.selected=v560;end;v488.name=v485;v488.navbtn=v486;table.insert(v484.tabs,v488);v486.MouseButton1Click:Connect(function() v174:Select(v488);end);if ( #v484.tabs==1) then v484:Select(v488);end local function v492(v564) local v565=v3(v2("Frame",{Size=UDim2.new(1, -4,0,v564 or 51 ),BackgroundColor3=v5.card,BackgroundTransparency=0.4,BorderSizePixel=0},v487),9);v4(v565,v5.border,0.7);return v565;end v488.CreateSection=function(v566,v567) local v568=v2("Frame",{Size=UDim2.new(1, -4,0,32),BackgroundTransparency=1},v487);v9(v568,string.upper(v567),10,v1.accent,{Position=UDim2.fromOffset(2,10),Size=UDim2.new(1, -5,0,18),Font=Enum.Font.GothamBold});end;v488.CreateParagraph=function(v569,v570) local v571=v492(v570.Height or 65 );v9(v571,v570.Title or "" ,13,v5.white,{Position=UDim2.fromOffset(14,9),Size=UDim2.new(1, -28,0,19),Font=Enum.Font.GothamBold});v9(v571,v570.Content or "" ,11,v5.muted,{Position=UDim2.fromOffset(14,30),Size=UDim2.new(1, -28,0,(v570.Height or 65) -35 ),TextWrapped=true,TextYAlignment=Enum.TextYAlignment.Top});end;v488.CreateToggle=function(v572,v573) local v574=v492(49);v9(v574,v573.Name,12,v5.white,{Position=UDim2.fromOffset(14,13),Size=UDim2.new(1, -94,0,22)});local v575=v3(v2("Frame",{Size=UDim2.fromOffset(42,23),Position=UDim2.new(1, -57,0,13),BackgroundColor3=v5.border},v574),12);local v576=v3(v2("Frame",{Size=UDim2.fromOffset(17,17),Position=UDim2.fromOffset(3,3),BackgroundColor3=v5.white},v575),10);local v577=v10(v574,"",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1});local v578=false;local function v579(v692) v578= not not v692;v575.BackgroundColor3=(v578 and v1.accent) or v5.border ;v576.Position=(v578 and UDim2.fromOffset(22,3)) or UDim2.fromOffset(3,3) ;if v573.Callback then v573.Callback(v578);end end v577.MouseButton1Click:Connect(function() v579( not v578);end);v579(v573.CurrentValue);local v580={Set=function(v695,v696) v579(v696);end};if v573.Flag then v0.Flags[v573.Flag]=v580;end return v580;end;v488.CreateButton=function(v581,v582) local v583=v492(47);local v584=v10(v583,v582.Name,{Position=UDim2.fromOffset(7,6),Size=UDim2.new(1, -14,1, -12),BackgroundColor3=Color3.fromRGB(32,53,68),BackgroundTransparency=0.42,TextColor3=v1.accent});v584.MouseButton1Click:Connect(function() if v582.Callback then v582.Callback();end end);return v584;end;v488.CreateSlider=function(v585,v586) local v587=v492(69);v9(v587,v586.Name,12,v5.white,{Position=UDim2.fromOffset(14,8),Size=UDim2.new(1, -98,0,20)});local v588=v9(v587,"",12,v1.accent,{Position=UDim2.new(1, -90,0,8),Size=UDim2.fromOffset(76,20),TextXAlignment=Enum.TextXAlignment.Right,Font=Enum.Font.GothamBold});local v589=v3(v2("Frame",{Position=UDim2.new(0,14,0,45),Size=UDim2.new(1, -28,0,6),BackgroundColor3=v5.border},v587),3);local v590=v3(v2("Frame",{Size=UDim2.fromScale(0,1),BackgroundColor3=v1.accent},v589),3);local v591=v10(v587,"",{Position=UDim2.new(0,9,0,32),Size=UDim2.new(1, -18,0,30),BackgroundTransparency=1});local v592,v593=v586.Range[1],v586.Range[2];local v594=v586.Increment or 1 ;local function v595(v697) v697=math.clamp(tonumber(v697) or v592 ,v592,v593);v697=(math.floor(((v697-v592)/v594) + 0.5 ) * v594) + v592 ;v697=math.clamp(v697,v592,v593);v697=tonumber(string.format("%.4f",v697));v588.Text=tostring(v697);v590.Size=UDim2.fromScale((v697-v592)/(v593-v592) ,1);if v586.Callback then v586.Callback(v697);end end local v596=false;local function v597(v700) v595(v592 + (math.clamp((v700-v589.AbsolutePosition.X)/math.max(v589.AbsoluteSize.X,1) ,0,1) * (v593-v592)) );end v591.InputBegan:Connect(function(v701) if (v701.UserInputType==Enum.UserInputType.MouseButton1) then v596=true;v597(v701.Position.X);end end);table.insert(v1.connections,v173.InputChanged:Connect(function(v702) if (v596 and (v702.UserInputType==Enum.UserInputType.MouseMovement)) then v597(v702.Position.X);end end));table.insert(v1.connections,v173.InputEnded:Connect(function(v703) if (v703.UserInputType==Enum.UserInputType.MouseButton1) then v596=false;end end));v595(v586.CurrentValue);local v598={Set=function(v704,v705) v595(v705);end};if v586.Flag then v0.Flags[v586.Flag]=v598;end return v598;end;v488.CreateDropdown=function(v599,v600) local v601=v492(55);v9(v601,v600.Name,12,v5.white,{Position=UDim2.fromOffset(14,16),Size=UDim2.new(0.48,0,0,20)});local v602=v10(v601,"",{Position=UDim2.new(0.49,0,0,10),Size=UDim2.new(0.49,0,0,34),TextColor3=v1.accent,TextSize=11});local v603=v600.Options or {} ;local v604;local v605={};local function v606(v706) v604=((type(v706)=="table") and v706[1]) or v706 ;v602.Text=tostring(v604 or "Select" ) .. " v" ;if v600.Callback then v600.Callback({v604});end end local v607=false;local v608={};local function v609() for v797,v798 in ipairs(v608) do v798:Destroy();end table.clear(v608);v601.Size=UDim2.new(1, -4,0,55);v607=false;end local function v610() if v607 then v609();return;end v607=true;local v709=math.min( #v603,18);v601.Size=UDim2.new(1, -4,0,55 + (v709 * 29) );for v799=1,v709 do local v800=v603[v799];local v801=v10(v601,tostring(v800),{Position=UDim2.fromOffset(14,52 + ((v799-1) * 29) ),Size=UDim2.new(1, -28,0,26),TextXAlignment=Enum.TextXAlignment.Left,TextColor3=v5.white,TextSize=11});table.insert(v608,v801);v801.MouseButton1Click:Connect(function() v606(v800);v609();end);end end v602.MouseButton1Click:Connect(v610);v605.Set=function(v711,v712) v606(v712);end;v605.Refresh=function(v713,v714) v609();v603=v714 or {} ;end;v606(v600.CurrentOption);if v600.Flag then v0.Flags[v600.Flag]=v605;end return v605;end;v488.CreateInput=function(v613,v614) local v615=v492(68);v9(v615,v614.Name,11,v5.muted,{Position=UDim2.fromOffset(14,6),Size=UDim2.new(1, -28,0,18)});local v616=v3(v2("TextBox",{Position=UDim2.fromOffset(12,28),Size=UDim2.new(1, -24,0,30),BackgroundColor3=v5.panel,TextColor3=v5.white,PlaceholderColor3=v5.muted,PlaceholderText=v614.PlaceholderText or "" ,Text="",TextSize=12,Font=Enum.Font.Gotham,ClearTextOnFocus=false,BorderSizePixel=0},v615),7);v616.FocusLost:Connect(function() if v614.Callback then v614.Callback(v616.Text);end end);return {Set=function(v715,v716) v616.Text=tostring(v716);end};end;v488.CreateColorPicker=function(v617,v618) local v619=v492(51);v9(v619,v618.Name,12,v5.white,{Position=UDim2.fromOffset(14,13),Size=UDim2.new(1, -100,0,22)});local v620=v10(v619,"",{Position=UDim2.new(1, -53,0,11),Size=UDim2.fromOffset(34,25),BackgroundTransparency=0,BackgroundColor3=v618.Color or v1.accent });local v621=156;local v622=v2("Frame",{Position=UDim2.new(0.5, -v621/2 ,0,54),Size=UDim2.fromOffset(v621,v621),BackgroundTransparency=1,Visible=false},v619);for v718=0,71 do local v719=v718 * 5 ;local v720=math.rad(v719-90 );local v721=(v621/2) + (math.cos(v720) * 57) ;local v722=(v621/2) + (math.sin(v720) * 57) ;local v723=v2("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromOffset(v721,v722),Size=UDim2.fromOffset(14,17),Rotation=v719,BackgroundColor3=Color3.fromHSV(v718/72 ,1,1),BorderSizePixel=0},v622);v3(v723,5);end local v623=v3(v2("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromScale(0.5,0.5),Size=UDim2.fromOffset(67,67),BackgroundColor3=v5.panel,BackgroundTransparency=0.06,BorderSizePixel=0},v622),34);local v624=v3(v2("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromScale(0.5,0.5),Size=UDim2.fromOffset(39,39),BackgroundColor3=v618.Color or v1.accent ,BorderSizePixel=0},v623),20);local v625=v10(v622,"",{Position=UDim2.fromScale(0,0),Size=UDim2.fromScale(1,1),BackgroundTransparency=1,TextTransparency=1,ZIndex=5});local v626=false;local function v627(v724) if (typeof(v724)~="Color3") then return;end v620.BackgroundColor3=v724;v624.BackgroundColor3=v724;if v618.Callback then v618.Callback(v724);end end local function v628(v727) local v728=v622.AbsolutePosition + (v622.AbsoluteSize/2) ;local v729=v727-v728 ;local v730=v729.Magnitude;if ((v730<35) or (v730>85)) then return;end local v731=(math.atan2(v729.Y,v729.X) + (math.pi/2))/(2 * math.pi) ;v627(Color3.fromHSV(v731%1 ,1,1));end local v629=false;v625.InputBegan:Connect(function(v732) if ((v732.UserInputType==Enum.UserInputType.MouseButton1) or (v732.UserInputType==Enum.UserInputType.Touch)) then v629=true;v628(Vector2.new(v732.Position.X,v732.Position.Y));end end);v625.InputEnded:Connect(function(v733) if ((v733.UserInputType==Enum.UserInputType.MouseButton1) or (v733.UserInputType==Enum.UserInputType.Touch)) then v629=false;end end);table.insert(v1.connections,v173.InputChanged:Connect(function(v734) if (v626 and v629 and ((v734.UserInputType==Enum.UserInputType.MouseMovement) or (v734.UserInputType==Enum.UserInputType.Touch))) then v628(Vector2.new(v734.Position.X,v734.Position.Y));end end));v620.MouseButton1Click:Connect(function() v626= not v626;v622.Visible=v626;v619.Size=UDim2.new(1, -4,0,(v626 and 222) or 51 );end);v627(v618.Color);local v630={Set=function(v737,v738) v627(v738);end};if v618.Flag then v0.Flags[v618.Flag]=v630;end return v630;end;return v488;end;return v174;end;local v15=game:GetService("Players");local v16=game:GetService("RunService");local v17=game:GetService("UserInputService");local v18=game:GetService("Workspace");local v19=game:GetService("Lighting");local v20=game:GetService("TweenService");local v21=game:GetService("HttpService");local v22=game:GetService("CoreGui");local v23=v15.LocalPlayer;local v24=v18.CurrentCamera;local v25=v23:GetMouse();local v26={Aimbot=false,SilentAim=false,AlwaysOn=false,AimKey=Enum.UserInputType.MouseButton2,FOV=145,Smoothness=0.1,AimPart="Head",TeamCheck=true,WallCheck=true,Prediction=true,PredMult=0.09,Sticky=true,ShowFOV=true,FOVColor=Color3.fromRGB(0,220,255),AimMethod="Camera",Triggerbot=false,TriggerDelay=0.03,TriggerFOV=32,TriggerChance=100,KnifeAura=false,KnifeRange=14,KnifeDelay=0.11,HitboxExpand=false,HitboxSize=5.5,NoRecoil=true,NoSpread=true,RapidFire=false,ESP=true,Box=true,BoxStyle="Full",Tracer=true,TracerOrigin="Bottom",Name=true,Distance=true,HealthBar=true,HealthText=true,Skeleton=true,Chams=false,ESPTeamCheck=true,MaxDist=2500,BoxColor=Color3.fromRGB(0,220,255),BoxFill=false,TracerColor=Color3.fromRGB(0,200,255),NameColor=Color3.fromRGB(255,255,255),SkelColor=Color3.fromRGB(0,230,255),ChamsColor=Color3.fromRGB(0,180,255),VisibleColor=Color3.fromRGB(80,255,140),HiddenColor=Color3.fromRGB(255,70,90),BulletTracer=true,BulletColor=Color3.fromRGB(0,255,220),BulletThick=2,BulletLife=1.2,BulletMaxDist=1500,HitMarker=true,KillFlash=true,Speed=false,WalkSpeed=28,InfJump=false,Noclip=false,Fly=false,FlySpeed=48,FullBright=false,NoFog=false,FPSBoost=false,AutoReattach=true};local v27=false;local v28=false;local v29=nil;local v30=0;local v31=0;local v32={};local v33={};local v34=0;local v35={};local v36={};local v37,v38;local v39=Drawing.new("Circle");v39.Visible=false;v39.Thickness=1.4;v39.Filled=false;v39.NumSides=72;v39.Transparency=0.85;v39.Color=v26.FOVColor;v39.Radius=v26.FOV;local v49=Drawing.new("Line");local v50=Drawing.new("Line");for v176,v177 in ipairs({v49,v50}) do v177.Thickness=2.2;v177.Color=Color3.fromRGB(255,255,255);v177.Visible=false;v177.Transparency=1;end local function v51() return v23.Character;end local function v52() local v182=v51();return v182 and v182:FindFirstChildOfClass("Humanoid") ;end local function v53() local v183=v51();return v183 and v183:FindFirstChild("HumanoidRootPart") ;end local function v54(v184) local v185=v184.Character;if not v185 then return false;end local v186=v185:FindFirstChildOfClass("Humanoid");return v186 and (v186.Health>0) ;end local function v55(v187) if (v187==v23) then return false;end if not v54(v187) then return false;end if (v26.TeamCheck or v26.ESPTeamCheck) then if (v23.Team and v187.Team and (v23.Team==v187.Team)) then return false;end end return true;end local function v56(v188,v189) if not v26.WallCheck then return true;end local v190=RaycastParams.new();v190.FilterType=Enum.RaycastFilterType.Exclude;v190.FilterDescendantsInstances={v23.Character,v189.Parent};v190.IgnoreWater=true;local v195=v18:Raycast(v188,v189.Position-v188 ,v190);return (v195==nil) or v195.Instance:IsDescendantOf(v189.Parent) ;end local function v57(v196) if ( not v26.Prediction or not v196) then return v196.Position;end local v197=v196.AssemblyLinearVelocity or Vector3.zero ;return v196.Position + (v197 * v26.PredMult) ;end local function v58(v198) local v199,v200=nil,v198 or v26.FOV ;local v201=v17:GetMouseLocation();if (v26.Sticky and v29) then local v631=v29;local v632=v631 and v631.Parent ;local v633=v632 and v15:GetPlayerFromCharacter(v632) ;if (v633 and v55(v633)) then local v804=v57(v631);local v805,v806=v24:WorldToViewportPoint(v804);if v806 then local v868=(Vector2.new(v805.X,v805.Y) -v201).Magnitude;if ((v868<((v198 or v26.FOV) * 1.35)) and v56(v24.CFrame.Position,v631)) then return v631;end end end v29=nil;end for v501,v502 in ipairs(v15:GetPlayers()) do if v55(v502) then local v739=v502.Character;local v740=v739 and (v739:FindFirstChild(v26.AimPart) or v739:FindFirstChild("HumanoidRootPart")) ;if v740 then local v832=v57(v740);local v833,v834=v24:WorldToViewportPoint(v832);if v834 then local v884=(Vector2.new(v833.X,v833.Y) -v201).Magnitude;if ((v88448) or v332:find("[^%w%s_%-]")) then return nil;end return v332;end local function v88(v333) return v78 .. "/" .. v333 .. ".json" ;end local function v89(v334) if (typeof(v334)=="Color3") then return {__kind="Color3",r=v334.R,g=v334.G,b=v334.B};elseif (typeof(v334)=="EnumItem") then return {__kind="EnumItem",enum=tostring(v334.EnumType),name=v334.Name};elseif ((type(v334)=="boolean") or (type(v334)=="number") or (type(v334)=="string")) then return v334;end return nil;end local function v90(v335) if ((type(v335)=="table") and (v335.__kind=="Color3")) then return Color3.new(v335.r,v335.g,v335.b);elseif ((type(v335)=="table") and (v335.__kind=="EnumItem")) then local v807=tostring(v335.enum):match("^Enum%.(.+)$");if (v807 and Enum[v807]) then return Enum[v807][v335.name];end return nil;end return v335;end local function v91() local v336={};if (v86() and (type(listfiles)=="function")) then local v648,v649=pcall(listfiles,v78);if (v648 and (type(v649)=="table")) then for v837,v838 in ipairs(v649) do local v839=tostring(v838):gsub("\\","/"):match("/([^/]+)%.json$");if v839 then table.insert(v336,v839);end end end end table.sort(v336);return v336;end local function v92() local v337=v91();if ( #v337==0) then v337={"(no saved configs)"};end if v80 then pcall(function() v80:Refresh(v337,true);if table.find(v337,v81) then v80:Set(v81);end end);end end v76:CreateSection("Named presets");v76:CreateParagraph({Title="Settings only",Content="Save multiple named presets and load them later. Saves toggles, sliders, dropdowns, colors and other settings."});v76:CreateInput({Name="Config name",PlaceholderText="e.g. legit, rage, esp only",RemoveTextAfterFocusLost=false,Callback=function(v338) v79=tostring(v338 or "" );end});v80=v76:CreateDropdown({Name="Saved configs",Options=(function() local v339=v91();return (( #v339>0) and v339) or {"(no saved configs)"} ;end)(),CurrentOption={(function() local v340,v341=pcall(function() if ((type(isfile)=="function") and isfile(v82) and (type(readfile)=="function")) then return v87(readfile(v82));end end);if (v340 and v341 and (type(isfile)=="function") and isfile(v88(v341))) then return v341;end return "(no saved configs)";end)()},MultipleOptions=false,Callback=function(v342) local v343=((type(v342)=="table") and v342[1]) or v342 ;if (v343 and (v343~="(no saved configs)")) then v81=v343;v79=v343;end end});v76:CreateButton({Name="Save config",Callback=function() local v344=v87(v79);if not v344 then v84("Use 1-48 letters, numbers, spaces, _ or -");return;end local v345,v346=pcall(function() assert(v86(),"Executor file functions unavailable");local v520={};for v650,v651 in pairs(v26) do v520[v650]=v89(v651);end writefile(v88(v344),v21:JSONEncode({version=1,settings=v520}));end);if v345 then v81=v344;v92();if v80 then v80:Set(v344);end v84("Saved: " .. v344 );else v84("Save failed: " .. tostring(v346) );end end});local function v93(v347) assert(v86(),"Executor file functions unavailable");assert(isfile(v88(v347)),"Config not found");local v348=v21:JSONDecode(readfile(v88(v347)));assert((type(v348)=="table") and (type(v348.settings)=="table") ,"Invalid config");for v521,v522 in pairs(v348.settings) do if (v26[v521]~=nil) then local v745=v90(v522);if ((v745~=nil) and (typeof(v745)==typeof(v26[v521]))) then v26[v521]=v745;local v841={v521};if ((v521=="BoxColor") or (v521=="TracerColor") or (v521=="NameColor")) then table.insert(v841,"C_" .. v521 );elseif ((v521=="SkelColor") or (v521=="ChamsColor") or (v521=="FOVColor") or (v521=="BulletColor") or (v521=="VisibleColor") or (v521=="HiddenColor")) then table.insert(v841,"C_" .. v521 );end for v869,v870 in ipairs(v841) do pcall(function() if (v0.Flags and v0.Flags[v870]) then v0.Flags[v870]:Set((((v521=="AimPart") or (v521=="AimMethod") or (v521=="BoxStyle") or (v521=="TracerOrigin")) and {v745}) or v745 );end end);end end end end v39.Radius=v26.FOV;v39.Color=v26.FOVColor;end v76:CreateButton({Name="Load config",Callback=function() local v353=v87(v79) or v87(v81) ;if not v353 then v84("Enter or select a config");return;end local v354,v355=pcall(v93,v353);if v354 then v81=v353;v79=v353;if v80 then v80:Set(v353);end v84("Loaded: " .. v353 );else v84("Load failed: " .. tostring(v355) );end end});v76:CreateSection("Auto-load");v76:CreateParagraph({Title="Startup preset",Content="Select a saved preset, then click Set autoload. It will load automatically whenever this script starts."});v76:CreateButton({Name="Set autoload to selected config",Callback=function() local v356=v87(v79) or v87(v81) ;if not v356 then v84("Select a saved config first");return;end local v357,v358=pcall(function() assert(v86(),"Executor file functions unavailable");assert(isfile(v88(v356)),"Save the config first");writefile(v82,v356);v83=v356;end);if v357 then v84("Autoload set: " .. v356 );else v84("Autoload failed: " .. tostring(v358) );end end});v76:CreateButton({Name="Disable autoload",Callback=function() local v359,v360=pcall(function() assert(v86(),"Executor file functions unavailable");if isfile(v82) then assert(type(delfile)=="function" ,"Executor delete function unavailable");delfile(v82);end v83=nil;end);if v359 then v84("Autoload disabled");else v84("Could not disable autoload: " .. tostring(v360) );end end});task.defer(function() local v361,v362=pcall(function() if ( not v86() or not isfile(v82)) then return;end local v523=v87(readfile(v82));if not v523 then error("Invalid autoload preset name");end v93(v523);v83=v523;v81=v523;v79=v523;if v80 then v80:Set(v523);end v84("Autoloaded: " .. v523 );end);if not v361 then v84("Autoload failed: " .. tostring(v362) );end end);v76:CreateButton({Name="Delete config",Callback=function() local v363=v87(v79) or v87(v81) ;if not v363 then v84("Enter or select a config");return;end local v364,v365=pcall(function() assert(type(delfile)=="function" ,"Executor delete function unavailable");assert(v86() and isfile(v88(v363)) ,"Config not found");delfile(v88(v363));end);if v364 then v92();if (v81==v363) then v81="default";v79="default";if v80 then v80:Set("(no saved configs)");end end v84("Deleted: " .. v363 );else v84("Delete failed: " .. tostring(v365) );end end});v76:CreateButton({Name="Refresh saved configs",Callback=function() v92();v84("Config list refreshed");end});v77:CreateSection("About OPTICALZ MD");do local v366=v77.page;local v367=v3(v2("Frame",{Size=UDim2.new(1, -4,0,242),BackgroundColor3=v5.card,BackgroundTransparency=0.35,BorderSizePixel=0},v366),11);v4(v367,v5.border,1);v9(v367,"RECENT SCRIPT UPDATES",15,v5.white,{Position=UDim2.fromOffset(15,13),Size=UDim2.new(1, -30,0,24),Font=Enum.Font.GothamBold});v9(v367,"WHAT'S NEW / V5",10,v1.accent,{Position=UDim2.fromOffset(15,39),Size=UDim2.new(1, -30,0,18),Font=Enum.Font.GothamBold});local v368=v3(v2("Frame",{Position=UDim2.fromOffset(13,66),Size=UDim2.new(1, -26,0,72),BackgroundColor3=Color3.fromRGB(17,49,61),BackgroundTransparency=0.2,BorderSizePixel=0},v367),9);v4(v368,v1.accent,1);v9(v368,"★ MAJOR UPDATE: FOV CIRCLE COLOR",13,v1.accent,{Position=UDim2.fromOffset(12,9),Size=UDim2.new(1, -24,0,21),Font=Enum.Font.GothamBold});v9(v368,"Personalize your FOV circle with vibrant color presets.",11,v5.white,{Position=UDim2.fromOffset(12,35),Size=UDim2.new(1, -24,0,29),TextWrapped=true});v9(v367,"• CUSTOMIZABLE THEMES",12,v5.white,{Position=UDim2.fromOffset(17,150),Size=UDim2.new(1, -34,0,19),Font=Enum.Font.GothamBold});v9(v367,"Switch between polished interface themes.",11,v5.muted,{Position=UDim2.fromOffset(34,169),Size=UDim2.new(1, -48,0,17)});v2("Frame",{Position=UDim2.fromOffset(17,192),Size=UDim2.new(1, -34,0,1),BackgroundColor3=v5.border,BackgroundTransparency=0.4,BorderSizePixel=0},v367);v9(v367,"• STICKY TARGET",12,v5.white,{Position=UDim2.fromOffset(17,200),Size=UDim2.new(1, -34,0,19),Font=Enum.Font.GothamBold});v9(v367,"Target-locking support for consistent tracking.",11,v5.muted,{Position=UDim2.fromOffset(34,220),Size=UDim2.new(1, -48,0,17)});end v77:CreateButton({Name="Copy Discord Invite ↗",Callback=function() local v369="https://discord.gg/Zy8WKcjSUD";local v370=false;if (type(setclipboard)=="function") then v370=pcall(function() setclipboard(v369);end);elseif (type(toclipboard)=="function") then v370=pcall(function() toclipboard(v369);end);end v0:Notify({Title="Discord",Content=(v370 and "Discord link copied!") or ("Clipboard unavailable: " .. v369) });end});v77:CreateParagraph({Title="Credits",Height=77,Content="Creator: opticalz\nDiscord: opticalz._"});local function v94(v371) local v372=v32[v371];if not v372 then return;end for v524,v525 in pairs(v372) do if ((v524=="skel") and (type(v525)=="table")) then for v808,v809 in pairs(v525) do if (v809 and v809.Remove) then pcall(function() v809:Remove();end);end end elseif (v525 and v525.Remove) then pcall(function() v525:Remove();end);end end v32[v371]=nil;end local function v95(v374) if v32[v374] then return v32[v374];end local v375={box=Drawing.new("Square"),boxOutline=Drawing.new("Square"),tracer=Drawing.new("Line"),name=Drawing.new("Text"),dist=Drawing.new("Text"),healthBar=Drawing.new("Square"),healthBg=Drawing.new("Square"),healthTxt=Drawing.new("Text"),skel={}};for v526=1,14 do v375.skel[v526]=Drawing.new("Line");v375.skel[v526].Thickness=1.4;v375.skel[v526].Color=v26.SkelColor;v375.skel[v526].Visible=false;v375.skel[v526].Transparency=0.9;end v375.box.Filled=false;v375.box.Thickness=1.5;v375.box.Color=v26.BoxColor;v375.box.Visible=false;v375.boxOutline.Filled=false;v375.boxOutline.Thickness=3;v375.boxOutline.Color=Color3.new(0,0,0);v375.boxOutline.Visible=false;v375.tracer.Thickness=1.3;v375.tracer.Color=v26.TracerColor;v375.tracer.Visible=false;v375.name.Size=14;v375.name.Center=true;v375.name.Outline=true;v375.name.Color=v26.NameColor;v375.name.Visible=false;v375.dist.Size=12;v375.dist.Center=true;v375.dist.Outline=true;v375.dist.Color=Color3.fromRGB(200,220,255);v375.dist.Visible=false;v375.healthBg.Filled=true;v375.healthBg.Color=Color3.fromRGB(20,20,20);v375.healthBg.Visible=false;v375.healthBar.Filled=true;v375.healthBar.Visible=false;v375.healthTxt.Size=11;v375.healthTxt.Center=true;v375.healthTxt.Outline=true;v375.healthTxt.Color=Color3.fromRGB(255,255,255);v375.healthTxt.Visible=false;v32[v374]=v375;return v375;end local function v96() if not v26.ESP then for v746 in pairs(v32) do v94(v746);end return;end local v411=v53();local v412=v24.ViewportSize;local v413=Vector2.new(v412.X/2 ,v412.Y);local v414=Vector2.new(v412.X/2 ,v412.Y/2 );local v415=v17:GetMouseLocation();for v533,v534 in ipairs(v15:GetPlayers()) do if not v55(v534) then v94(v534);continue;end local v535=v534.Character;local v536=v535 and v535:FindFirstChild("HumanoidRootPart") ;local v537=v535 and v535:FindFirstChildOfClass("Humanoid") ;local v538=v535 and v535:FindFirstChild("Head") ;if not (v536 and v537 and v538) then v94(v534);continue;end local v539=(v411 and (v536.Position-v411.Position).Magnitude) or 9999 ;if (v539>v26.MaxDist) then v94(v534);continue;end local v540=v95(v534);local v541,v542,v543=v60(v536.Position);local v544=v60(v538.Position + Vector3.new(0,0.4,0) );local v545=v60(v536.Position-Vector3.new(0,3,0) );if ( not v542 or (v543<0)) then for v810,v811 in pairs(v540) do if (v810=="skel") then for v887,v888 in pairs(v811) do v888.Visible=false;end elseif (v811 and (v811.Visible~=nil)) then v811.Visible=false;end end continue;end local v546=math.abs(v544.Y-v545.Y );local v547=v546 * 0.55 ;local v548=Vector2.new(v541.X-(v547/2) ,v544.Y);local v549=Vector2.new(v547,v546);if v26.Box then v540.box.Position=v548;v540.box.Size=v549;v540.box.Color=v26.BoxColor;v540.box.Visible=true;v540.boxOutline.Position=v548;v540.boxOutline.Size=v549;v540.boxOutline.Visible=true;else v540.box.Visible=false;v540.boxOutline.Visible=false;end if v26.Tracer then local v757=v413;if (v26.TracerOrigin=="Center") then v757=v414;elseif (v26.TracerOrigin=="Mouse") then v757=v415;end v540.tracer.From=v757;v540.tracer.To=Vector2.new(v541.X,v545.Y);v540.tracer.Color=v26.TracerColor;v540.tracer.Visible=true;else v540.tracer.Visible=false;end if v26.Name then v540.name.Text=v534.DisplayName or v534.Name ;v540.name.Position=Vector2.new(v541.X,v544.Y-16 );v540.name.Color=v26.NameColor;v540.name.Visible=true;else v540.name.Visible=false;end if v26.Distance then v540.dist.Text=string.format("[%d studs]",math.floor(v539));v540.dist.Position=Vector2.new(v541.X,v545.Y + 4 );v540.dist.Visible=true;else v540.dist.Visible=false;end if (v26.HealthBar or v26.HealthText) then local v774=math.clamp(v537.Health/math.max(v537.MaxHealth,1) ,0,1);local v775=v546 * v774 ;local v776=v548.X-5 ;if v26.HealthBar then v540.healthBg.Position=Vector2.new(v776,v548.Y);v540.healthBg.Size=Vector2.new(3,v546);v540.healthBg.Visible=true;v540.healthBar.Position=Vector2.new(v776,(v548.Y + v546) -v775 );v540.healthBar.Size=Vector2.new(3,v775);v540.healthBar.Color=Color3.fromRGB(255 * (1 -v774) ,255 * v774 ,40);v540.healthBar.Visible=true;else v540.healthBg.Visible=false;v540.healthBar.Visible=false;end if v26.HealthText then v540.healthTxt.Text=tostring(math.floor(v537.Health));v540.healthTxt.Position=Vector2.new(v776-10 ,v548.Y + (v546/2) );v540.healthTxt.Visible=true;else v540.healthTxt.Visible=false;end else v540.healthBg.Visible=false;v540.healthBar.Visible=false;v540.healthTxt.Visible=false;end if v26.Skeleton then local v780={{"Head","UpperTorso"},{"UpperTorso","LowerTorso"},{"UpperTorso","LeftUpperArm"},{"LeftUpperArm","LeftLowerArm"},{"LeftLowerArm","LeftHand"},{"UpperTorso","RightUpperArm"},{"RightUpperArm","RightLowerArm"},{"RightLowerArm","RightHand"},{"LowerTorso","LeftUpperLeg"},{"LeftUpperLeg","LeftLowerLeg"},{"LeftLowerLeg","LeftFoot"},{"LowerTorso","RightUpperLeg"},{"RightUpperLeg","RightLowerLeg"},{"RightLowerLeg","RightFoot"}};for v812,v813 in ipairs(v780) do local v814=v535:FindFirstChild(v813[1]);local v815=v535:FindFirstChild(v813[2]);local v816=v540.skel[v812];if (v814 and v815 and v816) then local v871,v872=v60(v814.Position);local v873,v874=v60(v815.Position);if (v872 and v874) then v816.From=v871;v816.To=v873;v816.Color=v26.SkelColor;v816.Visible=true;else v816.Visible=false;end elseif v816 then v816.Visible=false;end end else for v817,v818 in pairs(v540.skel) do v818.Visible=false;end end end end local function v97() for v550,v551 in pairs(v35) do if ( not v26.Chams or not v55(v550)) then if (v551 and v551.Parent) then v551:Destroy();end v35[v550]=nil;end end if not v26.Chams then return;end for v552,v553 in ipairs(v15:GetPlayers()) do if (v55(v553) and v553.Character) then if ( not v35[v553] or not v35[v553].Parent) then local v855=Instance.new("Highlight");v855.FillColor=v26.ChamsColor;v855.OutlineColor=Color3.new(1,1,1);v855.FillTransparency=0.55;v855.OutlineTransparency=0.2;v855.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop;v855.Parent=v553.Character;v35[v553]=v855;end end end end local function v98(v416) if not v416 then return;end local v417=v57(v416);if ((v26.AimMethod=="Camera") or v26.SilentAim) then local v653=CFrame.new(v24.CFrame.Position,v417);v24.CFrame=v24.CFrame:Lerp(v653,v26.Smoothness);else local v655=v24:WorldToViewportPoint(v417);local v656=v17:GetMouseLocation();local v657=Vector2.new(v655.X-v656.X ,v655.Y-v656.Y ) * v26.Smoothness ;mousemoverel(v657.X,v657.Y);end end local function v99() if not v26.KnifeAura then return;end local v418=tick();if ((v418-v31)0) and (v662.Unit * v26.FlySpeed)) or Vector3.zero ;end end v17.JumpRequest:Connect(function() if v26.InfJump then local v664=v52();if v664 then v664:ChangeState(Enum.HumanoidStateType.Jumping);end end end);v17.InputBegan:Connect(function(v424,v425) if v425 then return;end if ((v424.UserInputType==v26.AimKey) or (v424.UserInputType==Enum.UserInputType.MouseButton2)) then v27=true;end if (v424.UserInputType==Enum.UserInputType.MouseButton1) then v28=true;end end);v17.InputEnded:Connect(function(v426) if ((v426.UserInputType==v26.AimKey) or (v426.UserInputType==Enum.UserInputType.MouseButton2)) then v27=false;end if (v426.UserInputType==Enum.UserInputType.MouseButton1) then v28=false;end end);v16.RenderStepped:Connect(function() v39.Position=v17:GetMouseLocation();v39.Radius=v26.FOV;v39.Color=v26.FOVColor;v39.Visible=v26.ShowFOV and (v26.Aimbot or v26.SilentAim) ;if (v26.Aimbot or v26.SilentAim) then local v665=v26.AlwaysOn or v27 or (v26.SilentAim and v28) ;if v665 then local v830=v58(v26.FOV);if v830 then v98(v830);end end end if (v26.Triggerbot and (v28==false)) then local v666=v58(v26.TriggerFOV);if (v666 and ((tick() -v30)>v26.TriggerDelay)) then if (math.random(1,100)<=v26.TriggerChance) then pcall(function() mouse1click();end);v30=tick();end end end v96();v97();v99();v100();v101();end);v15.PlayerRemoving:Connect(function(v433) v94(v433);if v35[v433] then pcall(function() v35[v433]:Destroy();end);v35[v433]=nil;end v36[v433]=nil;end);v23.CharacterAdded:Connect(function() if v26.AutoReattach then task.wait(1);end end);do local v435=v1.root;if (v435 and v435.Parent) then local v668=v3(v2("Frame",{Name="ShortcutTip",AnchorPoint=Vector2.new(1,1),Position=UDim2.new(1,330,1, -22),Size=UDim2.fromOffset(305,74),BackgroundColor3=Color3.fromRGB(15,24,35),BackgroundTransparency=0.1,BorderSizePixel=0,ZIndex=30},v435),12);v4(v668,Color3.fromRGB(53,99,119),1);v9(v668,"OPTICALZ MD",13,Color3.fromRGB(245,250,255),{Position=UDim2.fromOffset(15,11),Size=UDim2.new(1, -30,0,20),Font=Enum.Font.GothamBold,ZIndex=31});v9(v668,"Press Right Shift to show or hide the UI.",11,Color3.fromRGB(157,226,238),{Position=UDim2.fromOffset(15,37),Size=UDim2.new(1, -30,0,24),TextWrapped=true,ZIndex=31});local v669=game:GetService("TweenService");v669:Create(v668,TweenInfo.new(0.4,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{Position=UDim2.new(1, -20,1, -22)}):Play();task.delay(5,function() if not v668.Parent then return;end v669:Create(v668,TweenInfo.new(0.35),{Position=UDim2.new(1,330,1, -22),BackgroundTransparency=1}):Play();task.delay(0.4,function() if v668.Parent then v668:Destroy();end end);end);end end print("[OPTICALZ MD] Executed Successfully.");print("[OPTICALZ MD] Discord: https://discord.gg/Zy8WKcjSUD");