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 #66 from ttwizz/dev
Browse files Browse the repository at this point in the history
Release 1.7.6
  • Loading branch information
ttwizz authored May 29, 2024
2 parents f68d939 + 5b380fd commit 9c55b77
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 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.7.5
Release 1.7.6
ttwizz.su/pix
ttwizz.su/OpenAimbotV3rm
Expand Down Expand Up @@ -180,7 +180,8 @@ local UISettings = {
Acrylic = false,
Transparency = true,
MinimizeKey = "RightShift",
ShowNotifications = true
ShowNotifications = true,
ShowWarnings = true
}

local InterfaceManager = {}
Expand All @@ -205,6 +206,9 @@ end

InterfaceManager:ImportSettings()

UISettings.__LAST_RUN__ = os.date()
InterfaceManager:ExportSettings()


--! Initializing UI

Expand Down Expand Up @@ -737,7 +741,7 @@ do
end
end
end)
else
elseif UISettings.ShowWarnings then
Window:Dialog({
Title = "Warning",
Content = "Your Software does not support the Drawing Library! Access to the Visuals Tab is restricted.",
Expand Down Expand Up @@ -771,9 +775,9 @@ do
Description = "Blurred Background requires Graphic Quality >= 8",
Default = Fluent.Acrylic,
Callback = function(Value)
if not Value then
if not Value or not UISettings.ShowWarnings then
Fluent:ToggleAcrylic(Value)
else
elseif UISettings.ShowWarnings then
Window:Dialog({
Title = "Warning",
Content = "This Option can be detected! Activate it anyway?",
Expand Down Expand Up @@ -828,6 +832,12 @@ do
InterfaceManager:ExportSettings()
end)

local WarningsToggle = NotificationsSection:AddToggle("WarningsToggle", { Title = "Show Warnings", Description = "Toggles the Security Warnings Show", Default = UISettings.ShowWarnings })
WarningsToggle:OnChanged(function(Value)
UISettings.ShowWarnings = Value
InterfaceManager:ExportSettings()
end)

if getfenv().isfile and getfenv().readfile and getfenv().writefile and getfenv().delfile then
local ConfigurationManager = Tabs.Settings:AddSection("Configuration Manager")

Expand All @@ -836,7 +846,7 @@ do
Description = "Overwrites the Game Configuration File",
Callback = function()
xpcall(function()
local ExportedConfiguration = {}
local ExportedConfiguration = { __LAST_UPDATED__ = os.date() }
for Key, Value in next, Configuration do
if Key == "AimKey" or Key == "TriggerKey" then
ExportedConfiguration[Key] = Value ~= Enum.UserInputType.MouseButton2 and UserInputService:GetStringForKeyCode(Value) or "RMB"
Expand Down Expand Up @@ -929,7 +939,7 @@ do

Window:SelectTab(1)

if DEBUG then
if DEBUG and UISettings.ShowWarnings then
Window:Dialog({
Title = "Warning",
Content = "Running in Debugging Mode. Some Features may not work properly.",
Expand Down

0 comments on commit 9c55b77

Please sign in to comment.