diff --git a/main.luau b/main.luau index caca4c6..b7ad014 100644 --- a/main.luau +++ b/main.luau @@ -2552,89 +2552,98 @@ Vector3.zero end if al.config.Noclip then al:_setNoclip(an.Parent,true)else al:_ function ai.Stop(al)al:_disconnectAll()for am,an in al.keyDown do al.keyDown[am]=false end local am,an=ak()if an then an .AutoRotate=true an:ChangeState(Enum.HumanoidStateType.Running)end if am then al:_setNoclip(am.Parent,false)am. AssemblyLinearVelocity=Vector3.zero end end return ai end)()end,[17]=function()local aa,ab,ac=a(17)local ad return( -function(...)local ae,af,ag=game:GetService'Players',game:GetService'RunService',{}ag.__index=ag local ah={Enabled=false -}local function ai()local aj=ae.LocalPlayer return aj and aj.Character or nil end local function aj()local ak=ai()if not -ak then return nil,nil end local al,am=ak:FindFirstChildOfClass'Humanoid',ak:FindFirstChild'HumanoidRootPart'return am, -al end function ag.new()local ak=setmetatable({},ag)ak.config=table.clone(ah)ak.connections={}ak.cachedCollision={} -return ak end function ag.UpdateConfig(ak,al)for am,an in al do ak.config[am]=an end end function ag._disconnectAll(ak) -for al,am in ak.connections do if am and am.Connected then am:Disconnect()end end table.clear(ak.connections)end -function ag._apply(ak,al,am)for an,ao in al:GetDescendants()do if ao:IsA'BasePart'then if am then if ak.cachedCollision[ -ao]==nil then ak.cachedCollision[ao]={CanCollide=ao.CanCollide,CanTouch=ao.CanTouch,CanQuery=ao.CanQuery}end ao. -CanCollide=false ao.CanTouch=false ao.CanQuery=false else local ap=ak.cachedCollision[ao]if ap~=nil then ao.CanCollide= -ap.CanCollide ao.CanTouch=ap.CanTouch ao.CanQuery=ap.CanQuery ak.cachedCollision[ao]=nil end end end end end function ag -.Start(ak)ak:Stop()table.insert(ak.connections,ae.LocalPlayer.CharacterAdded:Connect(function()table.clear(ak. -cachedCollision)end))table.insert(ak.connections,af.Stepped:Connect(function(al,am)local an=ai()if not an then return -end ak:_apply(an,ak.config.Enabled)if ak.config.Enabled then local ao,ap=aj()if ao and ap then ap:ChangeState(Enum. -HumanoidStateType.Physics)local aq=ap.MoveDirection if aq.Magnitude>0 then local ar=ap.WalkSpeed ao.CFrame=ao.CFrame+(aq -*ar*am)end ao.AssemblyLinearVelocity=Vector3.zero ao.AssemblyAngularVelocity=Vector3.zero end end end))end function ag. -Stop(ak)ak:_disconnectAll()local al=ai()if al then ak:_apply(al,false)local am,an=aj()if an then an:ChangeState(Enum. -HumanoidStateType.Running)end end table.clear(ak.cachedCollision)end return ag end)()end,[19]=function()local aa,ab,ac= -a(19)local ad return(function(...)local ae,af,ag,ah=game:GetService'Players',game:GetService'RunService',game:GetService -'Workspace',{}function ah.build(ai,aj)local ak,al,am,an=false,false,100,0.1 local function ao()local ap,aq=ae. -LocalPlayer,ag.CurrentCamera if not aq then return nil end local ar,as,at=ap:GetMouse(),am for au,av in ae:GetPlayers() -do if av==ap or not av.Character then continue end local aw=av.Character:FindFirstChild'HumanoidRootPart'if not aw then -continue end local ax,ay=aq:WorldToViewportPoint(aw.Position)if not ay then continue end local az=(Vector2.new(ax.X,ax.Y -)-Vector2.new(ar.X,ar.Y)).Magnitude if az0 then local aw,ax,ay=math.huge,(ae. -LocalPlayer)if ax and ax.Character and ax.Character:FindFirstChild'HumanoidRootPart'then local az=ax.Character. -HumanoidRootPart.Position for aA,aB in av do if aB:IsA'BasePart'then local aC=(aB.Position-az).Magnitude if aCan then aq(ay.Position)end end end end)else if as then as:Disconnect()as=nil end aj -:Notify{Title='Auto Farm',Description='Auto Farm deaktiviert.',Time=2}end end})ar:AddToggle('AutoCollectEnabled',{Text= -'Auto Collect',Default=false,Callback=function(au)am=au if au then aj:Notify{Title='Auto Collect',Description= -'Auto Collect aktiviert.',Time=2}at=af.Heartbeat:Connect(function()local av,aw=ap(),ae.LocalPlayer if aw and aw. -Character then for ax,ay in av do if ay:IsA'BasePart'and(ay.Position-aw.Character.HumanoidRootPart.Position).Magnitude< -an then if ay:FindFirstChildOfClass'ClickDetector'then ay.ClickDetector:Click()elseif ay:FindFirstChildOfClass -'TouchTransmitter'then firetouchinterest(aw.Character.HumanoidRootPart,ay,0)wait(0.1)firetouchinterest(aw.Character. -HumanoidRootPart,ay,1)end end end end end)else if at then at:Disconnect()at=nil end aj:Notify{Title='Auto Collect', -Description='Auto Collect deaktiviert.',Time=2}end end})local au=ak.AutoFarm:AddRightGroupbox('Farm Settings', -'rbxassetid://118473315376201')au:AddSlider('TargetDistance',{Text='Target Distance',Default=an,Min=1,Max=50,Rounding=0, -Callback=function(av)an=av end})au:AddSlider('TweenSpeed',{Text='Movement Speed',Default=ao,Min=0.1,Max=5,Rounding=1, -Callback=function(av)ao=av end})end return ai end)()end,[21]=function()local aa,ab,ac=a(21)local ad return(function(...) -local ae,af=ac(ab.Parent.Parent:WaitForChild'scripts':WaitForChild'CustomESP'),{}function af.build(ag,ah)print -'[LOG] Initializing ESP features...'local ai,aj={Enabled=false,IncludePlayers=true,IncludeNPCs=true,ShowHighlights=true, -ShowLabels=true,ShowDistance=true,ShowTracers=false,TextSize=15,LabelOffsetY=3,MaxDistance=3000,HighlightColor=Color3. -fromRGB(255,170,0),LabelColor=Color3.fromRGB(255,230,150),TracerColor=Color3.fromRGB(255,0,0),FillTransparency=0.55, -OutlineTransparency=0}local function ak()if aj then aj:UpdateConfig(ai)end end local function al()if aj then return end -aj=ae.new()aj:UpdateConfig(ai)aj:Start()print'[DEBUG] ESP activated'ag:Notify{Title='Custom ESP',Description= -'Custom NPC ESP aktiviert.',Time=2}end local function am()if not aj then return end aj:Stop()aj=nil ag:Notify{Title= -'Custom ESP',Description='Custom NPC ESP deaktiviert.',Time=2}end local an=ah.ESP:AddLeftGroupbox('NPC ESP', -'rbxassetid://110420827043048')an:AddToggle('CustomNpcEspEnabled',{Text='Custom NPC ESP',Default=ai.Enabled,Callback= -function(ao)ai.Enabled=ao if ao then al()else am()end end})an:AddToggle('CustomEspPlayers',{Text='Show Players',Default= -ai.IncludePlayers,Callback=function(ao)ai.IncludePlayers=ao ak()end})an:AddToggle('CustomEspNPCs',{Text='Show NPCs', -Default=ai.IncludeNPCs,Callback=function(ao)ai.IncludeNPCs=ao ak()end})an:AddLabel'Presets'an:AddButton{Text='Default', -Func=function()ai.HighlightColor=Color3.fromRGB(255,170,0)ai.LabelColor=Color3.fromRGB(255,230,150)ai.FillTransparency= -0.55 ai.OutlineTransparency=0 ai.TextSize=15 ai.LabelOffsetY=3 ak()ag:Notify{Title='ESP',Description= -'Default preset angewendet.',Time=2}end}local ao=ah.ESP:AddRightGroupbox('ESP Settings','rbxassetid://126437119963884') -ao:AddToggle('CustomEspHighlights',{Text='Highlights',Default=ai.ShowHighlights,Callback=function(ap)ai.ShowHighlights= -ap ak()end})ao:AddToggle('CustomEspLabels',{Text='Labels',Default=ai.ShowLabels,Callback=function(ap)ai.ShowLabels=ap -ak()end})ao:AddToggle('CustomEspDistance',{Text='Distance Text',Default=ai.ShowDistance,Callback=function(ap)ai. -ShowDistance=ap ak()end})ao:AddToggle('CustomEspTracers',{Text='Tracers',Default=ai.ShowTracers,Callback=function(ap)ai. -ShowTracers=ap ak()end})ao:AddSlider('CustomEspMaxDistance',{Text='Max Distance',Default=ai.MaxDistance,Min=100,Max= -10000,Rounding=0,Suffix=' studs',Callback=function(ap)ai.MaxDistance=ap ak()end})ao:AddSlider('CustomEspTextSize',{Text= -'Text Size',Default=ai.TextSize,Min=10,Max=30,Rounding=0,Callback=function(ap)ai.TextSize=ap ak()end})ao:AddSlider( -'CustomEspLabelOffsetY',{Text='Label Height',Default=ai.LabelOffsetY,Min=1,Max=8,Rounding=1,Callback=function(ap)ai. -LabelOffsetY=ap ak()end})ao:AddLabel'Highlight Color':AddColorPicker('CustomEspHighlightColor',{Default=ai. -HighlightColor,Callback=function(ap)ai.HighlightColor=ap ak()end})ao:AddLabel'Label Color':AddColorPicker( +function(...)local ae,af,ag,ah=game:GetService'Players',game:GetService'RunService',game:GetService'UserInputService',{} +ah.__index=ah local ai={Enabled=false}local function aj()local ak=ae.LocalPlayer return ak and ak.Character or nil end +local function ak()local al=aj()if not al then return nil,nil end local am,an=al:FindFirstChildOfClass'Humanoid',al: +FindFirstChild'HumanoidRootPart'return an,am end function ah.new()local al=setmetatable({},ah)al.config=table.clone(ai) +al.connections={}al.cachedCollision={}al.keyDown={[Enum.KeyCode.W]=false,[Enum.KeyCode.A]=false,[Enum.KeyCode.S]=false,[ +Enum.KeyCode.D]=false,[Enum.KeyCode.Space]=false,[Enum.KeyCode.LeftControl]=false,[Enum.KeyCode.LeftShift]=false}return +al end function ah.UpdateConfig(al,am)for an,ao in am do al.config[an]=ao end end function ah._disconnectAll(al)for am, +an in al.connections do if an and an.Connected then an:Disconnect()end end table.clear(al.connections)end function ah. +_apply(al,am,an)for ao,ap in am:GetDescendants()do if ap:IsA'BasePart'then if an then if al.cachedCollision[ap]==nil +then al.cachedCollision[ap]={CanCollide=ap.CanCollide,CanTouch=ap.CanTouch,CanQuery=ap.CanQuery}end ap.CanCollide=false +ap.CanTouch=false ap.CanQuery=false else local aq=al.cachedCollision[ap]if aq~=nil then ap.CanCollide=aq.CanCollide ap. +CanTouch=aq.CanTouch ap.CanQuery=aq.CanQuery al.cachedCollision[ap]=nil end end end end end function ah.Start(al)al: +Stop()table.insert(al.connections,ae.LocalPlayer.CharacterAdded:Connect(function()table.clear(al.cachedCollision)end)) +table.insert(al.connections,ag.InputBegan:Connect(function(am,an)if an then return end if al.keyDown[am.KeyCode]~=nil +then al.keyDown[am.KeyCode]=true end end))table.insert(al.connections,ag.InputEnded:Connect(function(am)if al.keyDown[am +.KeyCode]~=nil then al.keyDown[am.KeyCode]=false end end))table.insert(al.connections,af.RenderStepped:Connect(function( +am)local an=aj()if not an then return end al:_apply(an,al.config.Enabled)if al.config.Enabled then local ao,ap=ak()if ao +and ap then ap:ChangeState(Enum.HumanoidStateType.Physics)ap.PlatformStand=true ao.Anchored=true local aq=Workspace. +CurrentCamera local ar,as,at=aq and aq.CFrame.LookVector or Vector3.new(0,0,-1),aq and aq.CFrame.RightVector or Vector3. +new(1,0,0),Vector3.zero if al.keyDown[Enum.KeyCode.W]then at+=ar end if al.keyDown[Enum.KeyCode.S]then at-=ar end if al. +keyDown[Enum.KeyCode.A]then at-=as end if al.keyDown[Enum.KeyCode.D]then at+=as end if al.keyDown[Enum.KeyCode.Space] +then at+=Vector3.new(0,1,0)end if al.keyDown[Enum.KeyCode.LeftControl]then at-=Vector3.new(0,1,0)end if at.Magnitude>0 +then at=at.Unit end local au=ap.WalkSpeed if al.keyDown[Enum.KeyCode.LeftShift]then au*=1.5 end ao.CFrame=ao.CFrame+(at* +au*am)end end end))end function ah.Stop(al)al:_disconnectAll()local am=aj()if am then al:_apply(am,false)local an,ao=ak( +)if ao then ao:ChangeState(Enum.HumanoidStateType.Running)ao.PlatformStand=false ao.AutoRotate=true end local ap=am: +FindFirstChild'HumanoidRootPart'if ap then ap.Anchored=false end end table.clear(al.cachedCollision)end return ah end)() +end,[19]=function()local aa,ab,ac=a(19)local ad return(function(...)local ae,af,ag,ah=game:GetService'Players',game: +GetService'RunService',game:GetService'Workspace',{}function ah.build(ai,aj)local ak,al,am,an=false,false,100,0.1 +local function ao()local ap,aq=ae.LocalPlayer,ag.CurrentCamera if not aq then return nil end local ar,as,at=ap:GetMouse( +),am for au,av in ae:GetPlayers()do if av==ap or not av.Character then continue end local aw=av.Character:FindFirstChild +'HumanoidRootPart'if not aw then continue end local ax,ay=aq:WorldToViewportPoint(aw.Position)if not ay then continue +end local az=(Vector2.new(ax.X,ax.Y)-Vector2.new(ar.X,ar.Y)).Magnitude if az0 then local aw,ax,ay= +math.huge,(ae.LocalPlayer)if ax and ax.Character and ax.Character:FindFirstChild'HumanoidRootPart'then local az=ax. +Character.HumanoidRootPart.Position for aA,aB in av do if aB:IsA'BasePart'then local aC=(aB.Position-az).Magnitude if aC +an then aq(ay.Position)end end end end)else if as then as:Disconnect()as= +nil end aj:Notify{Title='Auto Farm',Description='Auto Farm deaktiviert.',Time=2}end end})ar:AddToggle( +'AutoCollectEnabled',{Text='Auto Collect',Default=false,Callback=function(au)am=au if au then aj:Notify{Title= +'Auto Collect',Description='Auto Collect aktiviert.',Time=2}at=af.Heartbeat:Connect(function()local av,aw=ap(),ae. +LocalPlayer if aw and aw.Character then for ax,ay in av do if ay:IsA'BasePart'and(ay.Position-aw.Character. +HumanoidRootPart.Position).Magnitude