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

Commit

Permalink
Merge pull request #95 from ttwizz/dev
Browse files Browse the repository at this point in the history
Release 1.8.13
  • Loading branch information
ttwizz authored Sep 6, 2024
2 parents b0262b4 + eda3b59 commit 515b8e0
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions source.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
Open Aimbot
Universal Open Source Aimbot
Release 1.8.12
Release 1.8.13
twix.cyou/pix
twix.cyou/OpenAimbotV3rm
Expand All @@ -26,7 +26,9 @@ if DEBUG then
getfenv().getfenv = function()
return setmetatable({}, {
__index = function()
return function() return true end
return function()
return true
end
end
})
end
Expand Down Expand Up @@ -96,6 +98,7 @@ Configuration.MaxAutoOffset = ImportedConfiguration["MaxAutoOffset"] or 50
Configuration.UseSensitivity = ImportedConfiguration["UseSensitivity"] or false
Configuration.Sensitivity = ImportedConfiguration["Sensitivity"] or 100
Configuration.UseNoise = ImportedConfiguration["UseNoise"] or false
Configuration.NoiseFrequency = ImportedConfiguration["NoiseFrequency"] or 100

--? TriggerBot

Expand Down Expand Up @@ -477,6 +480,18 @@ do
Configuration.UseNoise = Value
end)

SensitivitySection:AddSlider("NoiseFrequencySlider", {
Title = "Noise Frequency",
Description = "Changes the Noise Frequency",
Default = Configuration.NoiseFrequency,
Min = 1,
Max = 100,
Rounding = 1,
Callback = function(Value)
Configuration.NoiseFrequency = Value
end
})

if getfenv().mouse1click then
Tabs.TriggerBot = Window:AddTab({ Title = "TriggerBot", Icon = "target" })

Expand Down Expand Up @@ -1325,7 +1340,7 @@ local function IsReady(Target)
return false
end
local OffsetIncrement = Configuration.UseOffset and (Configuration.AutoOffset and Vector3.new(0, TargetPart.Position.Y * Configuration.StaticOffsetIncrement * (TargetPart.Position - NativePart.Position).Magnitude / 1000 <= Configuration.MaxAutoOffset and TargetPart.Position.Y * Configuration.StaticOffsetIncrement * (TargetPart.Position - NativePart.Position).Magnitude / 1000 or Configuration.MaxAutoOffset, 0) + Target:FindFirstChildWhichIsA("Humanoid").MoveDirection * Configuration.DynamicOffsetIncrement / 10 or Configuration.OffsetType == "Static" and Vector3.new(0, TargetPart.Position.Y * Configuration.StaticOffsetIncrement / 10, 0) or Configuration.OffsetType == "Dynamic" and Target:FindFirstChildWhichIsA("Humanoid").MoveDirection * Configuration.DynamicOffsetIncrement / 10 or Vector3.new(0, TargetPart.Position.Y * Configuration.StaticOffsetIncrement / 10, 0) + Target:FindFirstChildWhichIsA("Humanoid").MoveDirection * Configuration.DynamicOffsetIncrement / 10) or Vector3.zero
local NoiseFrequency = Configuration.UseNoise and Vector3.new(Random.new():NextNumber(0.5, 1), Random.new():NextNumber(0.5, 1), Random.new():NextNumber(0.5, 1)) or Vector3.zero
local NoiseFrequency = Configuration.UseNoise and Vector3.new(Random.new():NextNumber(-Configuration.NoiseFrequency / 100, Configuration.NoiseFrequency / 100), Random.new():NextNumber(-Configuration.NoiseFrequency / 100, Configuration.NoiseFrequency / 100), Random.new():NextNumber(-Configuration.NoiseFrequency / 100, Configuration.NoiseFrequency / 100)) or Vector3.zero
return true, Target, { workspace.CurrentCamera:WorldToViewportPoint(TargetPart.Position + OffsetIncrement + NoiseFrequency) }, TargetPart.Position + OffsetIncrement + NoiseFrequency, (TargetPart.Position + OffsetIncrement + NoiseFrequency - NativePart.Position).Magnitude, CFrame.new(TargetPart.Position + OffsetIncrement + NoiseFrequency) * CFrame.fromEulerAnglesYXZ(math.rad(TargetPart.Orientation.X), math.rad(TargetPart.Orientation.Y), math.rad(TargetPart.Orientation.Z)), TargetPart
end
return false
Expand Down

0 comments on commit 515b8e0

Please sign in to comment.