local a=game:GetService("Players")local b=game:GetService("RunService")local c=game:GetService("UserInputService")local d=game:GetService("TweenService")local e=game:GetService("Lighting")local f=a.LocalPlayer;local g=workspace.CurrentCamera;local h=false;local i=Color3.fromRGB(255,255,0)local j=0.2;local k=NumberRange.new(0.5,1)local l=1;local m=false;local n=50;local o=Color3.fromRGB(255,0,0)local p=0.5;local q=false;local r=10;local s=false;local t=Color3.fromRGB(0,255,255)local u=2;local v=false;local w=50;local x=false;local y=false;local z=Color3.fromRGB(255,255,0)local A=false;local B=Color3.fromRGB(0,255,0)local C=false;local D=false;local E;local F,G=pcall(function()E=loadstring(game:HttpGet('https://sirius.menu/rayfield'))()end)if not F then warn("Failed to load Rayfield library: "..tostring(G))game:GetService("StarterGui"):SetCore("SendNotification",{Title="Script Error",Text="Failed to load GUI library. Some features may not work.",Duration=5})return end;local H=E:CreateWindow({Name="B0hn Client V1.3 ",LoadingTitle="Loading......",LoadingSubtitle="by Ke4wik",ConfigurationSaving={Enabled=true,FolderName="StealBrainrot",FileName="Config"},Discord={Enabled=false},KeySystem=false})E:Notify({Title="Theme Updated",Content="GUI theme changed to dark with blue accents.",Duration=3})local I=H:CreateTab("Aimbot Control",4483362458)local J=I:CreateToggle({Name="Enable Aimbot",CurrentValue=false,Flag="AimbotEnabled",Callback=function(K)h=K end})local L=I:CreateToggle({Name="Auto-Fire",CurrentValue=false,Flag="AutoFireEnabled",Callback=function(K)x=K end})local M=H:CreateTab("Hit Effects",4483362458)local N=M:CreateColorPicker({Name="Hit Particle Color",Color=i,Flag="HitParticleColor",Callback=function(K)i=K end})local O=M:CreateSlider({Name="Hit Particle Size",Range={0.1,1},Increment=0.1,CurrentValue=j,Flag="HitParticleSize",Callback=function(K)j=K end})local P=M:CreateSlider({Name="Hit Particle Lifetime (Seconds)",Range={0.5,3},Increment=0.1,CurrentValue=k.Min,Flag="HitParticleLifetime",Callback=function(K)k=NumberRange.new(K,K+0.5)end})local Q=M:CreateSlider({Name="Hit Sound Volume",Range={0,2},Increment=0.1,CurrentValue=l,Flag="HitSoundVolume",Callback=function(K)l=K end})local R=H:CreateTab("ESP - See Players",4483362458)local S=R:CreateToggle({Name="Player ESP",CurrentValue=false,Flag="ESPEnabled",Callback=function(K)_G.ESPEnabled=K;if K then for T,U in pairs(a:GetPlayers())do if U~=f and U.Character then pcall(function()local V=Instance.new("Highlight")V.Parent=U.Character;V.FillColor=o;V.OutlineColor=Color3.fromRGB(255,255,255)V.FillTransparency=p;V.OutlineTransparency=0;V.Name="ESPHighlight"end)end end;_G.ESPConnection=a.PlayerAdded:Connect(function(U)if _G.ESPEnabled and U~=f then U.CharacterAdded:Connect(function(W)pcall(function()local V=Instance.new("Highlight")V.Parent=W;V.Name="ESPHighlight"V.FillColor=o;V.OutlineColor=Color3.fromRGB(255,255,255)V.FillTransparency=p;V.OutlineTransparency=0 end)end)end end)_G.ESPUpdateConnection=b.Heartbeat:Connect(function()if _G.ESPEnabled then for T,U in pairs(a:GetPlayers())do if U~=f and U.Character then pcall(function()if not U.Character:FindFirstChild("ESPHighlight")then local V=Instance.new("Highlight")V.Parent=U.Character;V.Name="ESPHighlight"V.FillColor=o;V.OutlineColor=Color3.fromRGB(255,255,255)V.FillTransparency=p;V.OutlineTransparency=0 else local V=U.Character.ESPHighlight;V.FillColor=o;V.FillTransparency=p end end)end end end end)else if _G.ESPConnection then _G.ESPConnection:Disconnect()_G.ESPConnection=nil end;if _G.ESPUpdateConnection then _G.ESPUpdateConnection:Disconnect()_G.ESPUpdateConnection=nil end;for T,U in pairs(a:GetPlayers())do if U.Character and U.Character:FindFirstChild("ESPHighlight")then pcall(function()U.Character.ESPHighlight:Destroy()end)end end end end})local X=R:CreateColorPicker({Name="ESP Highlight Color",Color=o,Flag="ESPHighlightColor",Callback=function(K)o=K;if _G.ESPEnabled then for T,U in pairs(a:GetPlayers())do if U~=f and U.Character and U.Character:FindFirstChild("ESPHighlight")then pcall(function()U.Character.ESPHighlight.FillColor=o end)end end end end})local Y=R:CreateSlider({Name="ESP Highlight Transparency",Range={0,1},Increment=0.1,CurrentValue=p,Flag="ESPHighlightTransparency",Callback=function(K)p=K;if _G.ESPEnabled then for T,U in pairs(a:GetPlayers())do if U~=f and U.Character and U.Character:FindFirstChild("ESPHighlight")then pcall(function()U.Character.ESPHighlight.FillTransparency=p end)end end end end})local Z=H:CreateTab("Gravity Control",4483362458)local _=Z:CreateSlider({Name="Set Gravity (Default 196.2)",Range={0,500},Increment=1,Suffix=" Studs/s²",CurrentValue=196.2,Flag="GravityValue",Callback=function(K)pcall(function()workspace.Gravity=K end)end})local a0=Z:CreateToggle({Name="Low Gravity Mode",CurrentValue=false,Flag="LowGrav",Callback=function(K)pcall(function()if K then workspace.Gravity=50 else workspace.Gravity=196.2 end end)end})local a1=H:CreateTab("Speed Control",4483362458)local a2=a1:CreateToggle({Name="Speed Boost (Speed Coil)",CurrentValue=false,Flag="SpeedEnabled",Callback=function(K)_G.SpeedEnabled=K;if not K and f.Character and f.Character:FindFirstChild("Humanoid")then pcall(function()f.Character.Humanoid.WalkSpeed=16 end)end end})local a3=H:CreateTab("Noclip & Movement",4483362458)local a4=a3:CreateToggle({Name="Noclip (Clip Through Walls)",CurrentValue=false,Flag="NoclipEnabled",Callback=function(K)_G.NoclipEnabled=K end})local a5=a3:CreateToggle({Name="Fly Mode",CurrentValue=false,Flag="FlyEnabled",Callback=function(K)m=K;if not K and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then pcall(function()local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("FlyBodyVelocity")then a6.FlyBodyVelocity:Destroy()end;if a6:FindFirstChild("FlyBodyGyro")then a6.FlyBodyGyro:Destroy()end end)end end})local a7=a3:CreateSlider({Name="Fly Speed",Range={10,200},Increment=10,Suffix=" Studs/s",CurrentValue=n,Flag="FlySpeed",Callback=function(K)n=K end})local a8=H:CreateTab("Visuals",4483362458)local a9=a8:CreateToggle({Name="Enable Trail",CurrentValue=false,Flag="TrailEnabled",Callback=function(K)s=K;if not K and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then pcall(function()local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("PlayerTrail")then a6.PlayerTrail:Destroy()end end)end end})local aa=a8:CreateColorPicker({Name="Trail Color",Color=t,Flag="TrailColor",Callback=function(K)t=K;if s and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("PlayerTrail")then a6.PlayerTrail.Color=ColorSequence.new(t)end end end})local ab=a8:CreateSlider({Name="Trail Lifetime (Seconds)",Range={0.5,5},Increment=0.1,CurrentValue=u,Flag="TrailLifetime",Callback=function(K)u=K;if s and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("PlayerTrail")then a6.PlayerTrail.Lifetime=u end end end})local ac=a8:CreateToggle({Name="Enable Spin",CurrentValue=false,Flag="SpinEnabled",Callback=function(K)v=K;if not K and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then pcall(function()local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("SpinBodyAngularVelocity")then a6.SpinBodyAngularVelocity:Destroy()end end)end end})local ad=a8:CreateSlider({Name="Spin Speed (Degrees/s)",Range={10,360},Increment=10,CurrentValue=w,Flag="SpinSpeed",Callback=function(K)w=K;if v and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("SpinBodyAngularVelocity")then a6.SpinBodyAngularVelocity.AngularVelocity=Vector3.new(0,math.rad(w),0)end end end})local ae=a8:CreateToggle({Name="Enable Glow",CurrentValue=false,Flag="GlowEnabled",Callback=function(K)y=K;if not K and f.Character then pcall(function()for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and af:FindFirstChild("GlowEffect")then af.GlowEffect:Destroy()end end end)end end})local ag=a8:CreateColorPicker({Name="Glow Color",Color=z,Flag="GlowColor",Callback=function(K)z=K;if y and f.Character then for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and af:FindFirstChild("GlowEffect")then af.GlowEffect.Color=z end end end end})local ah=a8:CreateToggle({Name="Enable Particle Aura",CurrentValue=false,Flag="ParticleAuraEnabled",Callback=function(K)A=K;if not K and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then pcall(function()local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("ParticleAura")then a6.ParticleAura:Destroy()end end)end end})local ai=a8:CreateColorPicker({Name="Particle Aura Color",Color=B,Flag="ParticleAuraColor",Callback=function(K)B=K;if A and f.Character and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("ParticleAura")then a6.ParticleAura.Color=ColorSequence.new(B)end end end})local aj=a8:CreateToggle({Name="Enable Rainbow Cycle",CurrentValue=false,Flag="RainbowCycleEnabled",Callback=function(K)C=K end})local ak=a8:CreateToggle({Name="Enable Sparkle Burst",CurrentValue=false,Flag="SparkleBurstEnabled",Callback=function(K)D=K;if not K and f.Character then pcall(function()for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and af:FindFirstChild("SparkleBurst")then af.SparkleBurst:Destroy()end end end)end end})local al=H:CreateTab("Extras",4483362458)local am=al:CreateToggle({Name="Fullbright (Bright Lighting)",CurrentValue=false,Flag="FullbrightEnabled",Callback=function(K)if K then local an=e.Brightness;local ao=e.FogEnd;local ap=e.GlobalShadows;local aq=e.Ambient;local ar=e.ColorShift_Bottom;local as=e.ColorShift_Top;local at=e.OutdoorAmbient;e.Brightness=2;e.FogEnd=100000;e.GlobalShadows=false;e.Ambient=Color3.fromRGB(255,255,255)e.ColorShift_Bottom=Color3.fromRGB(0,0,0)e.ColorShift_Top=Color3.fromRGB(0,0,0)e.OutdoorAmbient=Color3.fromRGB(127,127,127)_G.FullbrightData={origBrightness=an,origFogEnd=ao,origGlobalShadows=ap,origAmbient=aq,origColorShift=ar,origColorShiftTop=as,origOutdoorAmbient=at}else if _G.FullbrightData then e.Brightness=_G.FullbrightData.origBrightness;e.FogEnd=_G.FullbrightData.origFogEnd;e.GlobalShadows=_G.FullbrightData.origGlobalShadows;e.Ambient=_G.FullbrightData.origAmbient;e.ColorShift_Bottom=_G.FullbrightData.origColorShift;e.ColorShift_Top=_G.FullbrightData.origColorShiftTop;e.OutdoorAmbient=_G.FullbrightData.origOutdoorAmbient end end end})local function au(av)if not av then return end;local aw=Instance.new("ParticleEmitter")aw.Parent=av;aw.Texture="rbxasset://textures/particles/sparkles_main.dds"aw.Color=ColorSequence.new(i)aw.Size=NumberSequence.new(j)aw.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})aw.Lifetime=k;aw.Rate=50;aw.Speed=NumberRange.new(5,10)aw.SpreadAngle=Vector2.new(360,360)aw.Enabled=true;game:GetService("Debris"):AddItem(aw,k.Max)local ax=Instance.new("Sound")ax.Parent=av;ax.SoundId="rbxasset://sounds/impact.wav"ax.Volume=l;ax:Play()game:GetService("Debris"):AddItem(ax,2)end;local function ay()if not m or not f.Character or not f.Character:FindFirstChild("HumanoidRootPart")or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;local a6=f.Character.HumanoidRootPart;local az=g.CFrame;if a6:FindFirstChild("FlyBodyVelocity")then a6.FlyBodyVelocity:Destroy()end;if a6:FindFirstChild("FlyBodyGyro")then a6.FlyBodyGyro:Destroy()end;local aA=Instance.new("BodyVelocity")aA.Name="FlyBodyVelocity"aA.MaxForce=Vector3.new(math.huge,math.huge,math.huge)aA.Parent=a6;local aB=Instance.new("BodyGyro")aB.Name="FlyBodyGyro"aB.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)aB.P=10000;aB.D=1000;aB.Parent=a6;local aC=Vector3.new(0,0,0)if c:IsKeyDown(Enum.KeyCode.W)then aC=aC+az.LookVector end;if c:IsKeyDown(Enum.KeyCode.S)then aC=aC-az.LookVector end;if c:IsKeyDown(Enum.KeyCode.A)then aC=aC-az.RightVector end;if c:IsKeyDown(Enum.KeyCode.D)then aC=aC+az.RightVector end;if c:IsKeyDown(Enum.KeyCode.Space)then aC=aC+Vector3.new(0,1,0)end;if c:IsKeyDown(Enum.KeyCode.LeftShift)then aC=aC-Vector3.new(0,1,0)end;if aC.Magnitude>0 then aC=aC.Unit*n end;aA.Velocity=aC;aB.CFrame=CFrame.new(Vector3.new(0,0,0),az.LookVector*Vector3.new(1,0,1))end;local function aD()if not s or not f.Character or not f.Character:FindFirstChild("HumanoidRootPart")or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;local a6=f.Character.HumanoidRootPart;if not a6:FindFirstChild("PlayerTrail")then local aE=Instance.new("Trail")aE.Name="PlayerTrail"aE.Texture="rbxasset://textures/particles/sparkles_main.dds"aE.Color=ColorSequence.new(t)aE.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})aE.Lifetime=u;aE.MinLength=0.1;aE.WidthScale=NumberSequence.new(0.5)aE.Attachment0=Instance.new("Attachment",a6)aE.Attachment1=Instance.new("Attachment",a6)aE.Attachment0.Position=Vector3.new(0,-1,0)aE.Attachment1.Position=Vector3.new(0,1,0)aE.Parent=a6 else local aE=a6.PlayerTrail;aE.Color=ColorSequence.new(t)aE.Lifetime=u end end;local function aF()if not v or not f.Character or not f.Character:FindFirstChild("HumanoidRootPart")or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;local a6=f.Character.HumanoidRootPart;if not a6:FindFirstChild("SpinBodyAngularVelocity")then local aG=Instance.new("BodyAngularVelocity")aG.Name="SpinBodyAngularVelocity"aG.MaxTorque=Vector3.new(0,math.huge,0)aG.AngularVelocity=Vector3.new(0,math.rad(w),0)aG.Parent=a6 else local aG=a6.SpinBodyAngularVelocity;aG.AngularVelocity=Vector3.new(0,math.rad(w),0)end end;local function aH()if not y or not f.Character or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")then if not af:FindFirstChild("GlowEffect")then local V=Instance.new("Highlight")V.Name="GlowEffect"V.FillColor=z;V.OutlineColor=z;V.FillTransparency=0.5;V.OutlineTransparency=0;V.Parent=af else local V=af.GlowEffect;V.FillColor=z;V.OutlineColor=z end end end end;local function aI()if not A or not f.Character or not f.Character:FindFirstChild("HumanoidRootPart")or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;local a6=f.Character.HumanoidRootPart;if not a6:FindFirstChild("ParticleAura")then local aw=Instance.new("ParticleEmitter")aw.Name="ParticleAura"aw.Texture="rbxasset://textures/particles/sparkles_main.dds"aw.Color=ColorSequence.new(B)aw.Size=NumberSequence.new(0.3)aw.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,1)})aw.Lifetime=NumberRange.new(1,2)aw.Rate=20;aw.Speed=NumberRange.new(2,5)aw.SpreadAngle=Vector2.new(360,360)aw.Enabled=true;aw.Parent=a6 else local aw=a6.ParticleAura;aw.Color=ColorSequence.new(B)end end;local function aJ()if not C or not f.Character or not f.Character:FindFirstChild("HumanoidRootPart")or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;local aK=tick()local aL=aK%5/5;local aM=Color3.fromHSV(aL,1,1)if s and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("PlayerTrail")then a6.PlayerTrail.Color=ColorSequence.new(aM)end end;if y then for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and af:FindFirstChild("GlowEffect")then af.GlowEffect.FillColor=aM;af.GlowEffect.OutlineColor=aM end end end;if A and f.Character:FindFirstChild("HumanoidRootPart")then local a6=f.Character.HumanoidRootPart;if a6:FindFirstChild("ParticleAura")then a6.ParticleAura.Color=ColorSequence.new(aM)end end end;local function aN()if not D or not f.Character or not f.Character:FindFirstChild("Humanoid")or f.Character.Humanoid.Health<=0 then return end;for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and math.random()<0.1 then local aO=Instance.new("ParticleEmitter")aO.Name="SparkleBurst"aO.Texture="rbxasset://textures/particles/sparkles_main.dds"aO.Color=ColorSequence.new(Color3.fromRGB(255,255,255))aO.Size=NumberSequence.new(0.2)aO.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})aO.Lifetime=NumberRange.new(0.5,1)aO.Rate=10;aO.Speed=NumberRange.new(3,6)aO.SpreadAngle=Vector2.new(360,360)aO.Enabled=true;aO.Parent=af;game:GetService("Debris"):AddItem(aO,1)end end end;local function aP()local aQ=nil;local aR=math.huge;local aS=c:GetMouseLocation()for T,U in pairs(a:GetPlayers())do if U~=f and U.Character and U.Character:FindFirstChild("Humanoid")and U.Character.Humanoid.Health>0 then local W=U.Character;local af=W:FindFirstChild("Head")if af then local aT,aU=g:WorldToViewportPoint(af.Position)if aU then local aV=(Vector2.new(aS.X,aS.Y)-Vector2.new(aT.X,aT.Y)).Magnitude;if aV0 and U.Character:FindFirstChild("HumanoidRootPart")then local aV=(a6.Position-U.Character.HumanoidRootPart.Position).Magnitude;if aV<=r then pcall(function()U.Character.Humanoid:TakeDamage(10)au(U.Character.HumanoidRootPart)end)end end end end;b.RenderStepped:Connect(function()if h and c:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)then local aZ=aP()if aZ and aZ.Player and aZ.Part then local a_=g:WorldToViewportPoint(aZ.Part.Position)pcall(function()mousemoverel((a_.X-c:GetMouseLocation().X)*0.2,(a_.Y-c:GetMouseLocation().Y)*0.2)end)au(aZ.Part)aW(aZ.Part)end end;if m then ay()end;if s then aD()end;if v then aF()end;if y then aH()end;if A then aI()end;if C then aJ()end;if D then aN()end end)b.Heartbeat:Connect(function()if _G.SpeedEnabled and f.Character and f.Character:FindFirstChild("Humanoid")and f.Character.Humanoid.Health>0 then local b0=false;for T,aX in pairs(f.Character:GetChildren())do if aX:IsA("Tool")and(string.find(string.lower(aX.Name),"coil")or string.find(string.lower(aX.Name),"speed"))then b0=true;break end end;if not b0 then pcall(function()f.Character.Humanoid.WalkSpeed=50 end)end end;if _G.NoclipEnabled and f.Character then for T,af in pairs(f.Character:GetDescendants())do if af:IsA("BasePart")and af.CanCollide then af.CanCollide=false end end end;aY()end)local function b1()local W=f.Character;if not W or not W:FindFirstChild("Humanoid")then return nil end;local b2=nil;for T,aX in pairs(f.Backpack:GetChildren())do if aX:IsA("Tool")and(string.find(string.lower(aX.Name),"coil")or string.find(string.lower(aX.Name),"speed"))then b2=aX;break end end;if not b2 then for T,aX in pairs(W:GetChildren())do if aX:IsA("Tool")and(string.find(string.lower(aX.Name),"coil")or string.find(string.lower(aX.Name),"speed"))then b2=aX;break end end end;if b2 then pcall(function()if b2.Parent==f.Backpack then W.Humanoid:EquipTool(b2)wait(0.5)end end)return b2 end;return nil end;local function b3(b4)local W=f.Character;if not W or not W:FindFirstChild("Humanoid")or not b4 or W.Humanoid.Health<=0 then return end;pcall(function()for b5=1,4 do b4:Activate()wait(0.08)end end)end;f.CharacterAdded:Connect(function(b6)b6:WaitForChild("Humanoid",5)if not b6:FindFirstChild("Humanoid")then return end;wait(1)if _G.SpeedEnabled then local b4=b1()if b4 then wait(0.5)b3(b4)else pcall(function()b6.Humanoid.WalkSpeed=50 end)end else pcall(function()b6.Humanoid.WalkSpeed=16 end)end;if m then ay()end;if s then aD()end;if v then aF()end;if y then aH()end;if A then aI()end;if C then aJ()end;if D then aN()end end)E:LoadConfiguration()print("Script update pAyPaX")