From 92c2b1fc248b5597a46a24db8c5e163c0041ef1a Mon Sep 17 00:00:00 2001 From: ttwiz_z Date: Fri, 3 May 2024 16:30:57 +0300 Subject: [PATCH 1/2] Release 1.7.2 --- source.lua | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/source.lua b/source.lua index 29f16f3..dbbdf71 100644 --- a/source.lua +++ b/source.lua @@ -1,13 +1,17 @@ --[[ Open Aimbot Universal Open Source Aimbot - Release 1.7.1 + Release 1.7.2 ttwizz.su/pix ttwizz.su/OpenAimbotV3rm Author: ttwiz_z (ttwizz) License: MIT GitHub: https://github.com/ttwizz/Open-Aimbot + + Issues: https://github.com/ttwizz/Open-Aimbot/issues + Pull requests: https://github.com/ttwizz/Open-Aimbot/pulls + Discussions: https://github.com/ttwizz/Open-Aimbot/discussions ]] @@ -95,7 +99,6 @@ Configuration.MoveDirectionOffset = ImportedConfiguration["MoveDirectionOffset"] Configuration.OffsetIncrement = ImportedConfiguration["OffsetIncrement"] or 10 Configuration.UseSensitivity = ImportedConfiguration["UseSensitivity"] or false Configuration.Sensitivity = ImportedConfiguration["Sensitivity"] or 10 -Configuration.ShowNotifications = ImportedConfiguration["ShowNotifications"] or true --? Visuals @@ -770,9 +773,9 @@ do local NotificationsSection = Tabs.Settings:AddSection("Notifications") - local NotificationsToggle = NotificationsSection:AddToggle("NotificationsToggle", { Title = "Show Notifications", Description = "Toggles the Notifications Show", Default = Configuration.ShowNotifications }) + local NotificationsToggle = NotificationsSection:AddToggle("NotificationsToggle", { Title = "Show Notifications", Description = "Toggles the Notifications Show", Default = Fluent.ShowNotifications }) NotificationsToggle:OnChanged(function(Value) - Configuration.ShowNotifications = Value + Fluent.ShowNotifications = Value end) if getfenv().isfile and getfenv().readfile and getfenv().writefile and getfenv().delfile then @@ -783,15 +786,17 @@ do Description = "Overwrites the Game Configuration File", Callback = function() xpcall(function() - local ExportedConfiguration = Configuration - for Key, Value in next, ExportedConfiguration do + local ExportedConfiguration = {} + 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" elseif Key == "FoVColour" or Key == "ESPColour" then ExportedConfiguration[Key] = PackColour(Value) + else + ExportedConfiguration[Key] = Value end end - ExportedConfiguration = tostring(HttpService:JSONEncode(ExportedConfiguration)) + ExportedConfiguration = HttpService:JSONEncode(ExportedConfiguration) getfenv().writefile(string.format("%s.ttwizz", game.GameId), ExportedConfiguration) Window:Dialog({ Title = "Configuration Manager", @@ -891,7 +896,7 @@ end --! Notification Handler local function Notify(Message) - if Fluent and Configuration.ShowNotifications and Message then + if Fluent and Fluent.ShowNotifications and Message then Fluent:Notify({ Title = "Open Aimbot", Content = Message, From fc215ed343b289f85a5f93e1297f92fb127e18cc Mon Sep 17 00:00:00 2001 From: ttwiz_z Date: Fri, 3 May 2024 16:40:38 +0300 Subject: [PATCH 2/2] Release 1.7.2 --- source.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source.lua b/source.lua index dbbdf71..6e73f2f 100644 --- a/source.lua +++ b/source.lua @@ -149,7 +149,7 @@ local Triggering = false local Target = nil local Tween = nil -if RunService:IsStudio() then +if RunService:IsStudio() or not getfenv().getgenv then Fluent = require(script:WaitForChild("Fluent", math.huge)) else local Success, Result = pcall(function()