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 #77 from ttwizz/dev
Browse files Browse the repository at this point in the history
Release 1.8.1
  • Loading branch information
ttwizz authored Jun 19, 2024
2 parents 1c00223 + 97a7dc8 commit c37117d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ loadstring(game:HttpGet("https://raw.githubusercontent.com/ttwizz/Open-Aimbot/ma
```

<p align="center">
<img src="https://i.gyazo.com/a5a42667bdab05bb0a74a5a6e637541a.gif" alt="Open Aimbot" />
<img src="https://i.gyazo.com/73194ee24535f2416424bda13fea3cc9.gif" alt="Open Aimbot" />
Copyright (c) 2024 ttwiz_z
</p>
52 changes: 50 additions & 2 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
Release 1.8.1
twix.cyou/pix
twix.cyou/OpenAimbotV3rm
Expand Down Expand Up @@ -141,7 +141,7 @@ local Mouse = Player:GetMouse()
local function GetFullName(String)
if String and #String >= 3 and #String <= 20 then
for _, _Player in next, Players:GetPlayers() do
if _Player ~= Player and string.sub(string.lower(_Player.Name), 1, #string.lower(String)) == string.lower(String) then
if string.sub(string.lower(_Player.Name), 1, #string.lower(String)) == string.lower(String) then
return _Player.Name
end
end
Expand Down Expand Up @@ -648,6 +648,30 @@ do
end
})

ExpertChecksSection:AddButton({
Title = "Clear Unselected Items",
Description = "Removes Unselected Players",
Callback = function()
local Items = 0
for Index, Value in next, Configuration.IgnoredPlayersDropdownValues do
if not IgnoredPlayersDropdown.Value[Value] then
Configuration.IgnoredPlayersDropdownValues[Index] = nil
Items = Items + 1
end
end
IgnoredPlayersDropdown:BuildDropdownList()
Window:Dialog({
Title = "Open Aimbot",
Content = Items == 0 and "Nothing has been cleared!" or Items == 1 and "1 item has been cleared!" or string.format("%s items have been cleared!", Items),
Buttons = {
{
Title = "Confirm"
}
}
})
end
})

local TargetPlayersCheckToggle = ExpertChecksSection:AddToggle("TargetPlayersCheckToggle", { Title = "Target Players Check", Description = "Toggles the Target Players Check", Default = Configuration.TargetPlayersCheck })
TargetPlayersCheckToggle:OnChanged(function(Value)
Configuration.TargetPlayersCheck = Value
Expand Down Expand Up @@ -709,6 +733,30 @@ do
end
})

ExpertChecksSection:AddButton({
Title = "Clear Unselected Items",
Description = "Removes Unselected Players",
Callback = function()
local Items = 0
for Index, Value in next, Configuration.TargetPlayersDropdownValues do
if not TargetPlayersDropdown.Value[Value] then
Configuration.TargetPlayersDropdownValues[Index] = nil
Items = Items + 1
end
end
TargetPlayersDropdown:BuildDropdownList()
Window:Dialog({
Title = "Open Aimbot",
Content = Items == 0 and "Nothing has been cleared!" or Items == 1 and "1 item has been cleared!" or string.format("%s items have been cleared!", Items),
Buttons = {
{
Title = "Confirm"
}
}
})
end
})

if getfenv().Drawing then
Tabs.Visuals = Window:AddTab({ Title = "Visuals", Icon = "box" })

Expand Down

0 comments on commit c37117d

Please sign in to comment.