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

Commit 7dee251

Browse files
authored
Merge pull request #115 from ttwizz/dev
Release 1.9.5
2 parents 09efc0b + 854ca89 commit 7dee251

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

source.lua

+11-11
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
༺☆༻____________☾✧ ✩ ✧☽____________༺☆༻༺☆༻____________☾✧ ✩ ✧☽____________༺☆༻
1717
1818
✨Universal Aim Assist Framework✨
19-
Release 1.9.4
19+
Release 1.9.5
2020
2121
twix.cyou/pix
2222
twix.cyou/OpenAimbotV3rm
@@ -360,7 +360,7 @@ do
360360
Configuration.AimKey = Value
361361
end
362362
})
363-
Configuration.AimKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, AimKeybind.Value) and Enum.KeyCode[AimKeybind.Value] or Enum.UserInputType.MouseButton2
363+
Configuration.AimKey = AimKeybind.Value ~= "RMB" and Enum.KeyCode[AimKeybind.Value] or Enum.UserInputType.MouseButton2
364364
end
365365

366366
local AimModeDropdown = AimbotSection:AddDropdown("AimMode", {
@@ -612,7 +612,7 @@ do
612612
Configuration.SpinKey = Value
613613
end
614614
})
615-
Configuration.SpinKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, SpinKeybind.Value) and Enum.KeyCode[SpinKeybind.Value] or Enum.UserInputType.MouseButton2
615+
Configuration.SpinKey = SpinKeybind.Value ~= "RMB" and Enum.KeyCode[SpinKeybind.Value] or Enum.UserInputType.MouseButton2
616616
end
617617

618618
SpinBotSection:AddSlider("SpinBotVelocity", {
@@ -717,7 +717,7 @@ do
717717
Configuration.TriggerKey = Value
718718
end
719719
})
720-
Configuration.TriggerKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, TriggerKeybind.Value) and Enum.KeyCode[TriggerKeybind.Value] or Enum.UserInputType.MouseButton2
720+
Configuration.TriggerKey = TriggerKeybind.Value ~= "RMB" and Enum.KeyCode[TriggerKeybind.Value] or Enum.UserInputType.MouseButton2
721721

722722
TriggerBotSection:AddSlider("TriggerBotChance", {
723723
Title = "TriggerBot Chance",
@@ -1090,7 +1090,7 @@ do
10901090
Content = "✨Upgrade to unlock all Options✨\nContact @ttwiz_z via Discord to buy"
10911091
})
10921092

1093-
if getfenv().Drawing and getfenv().Drawing.new then
1093+
if DEBUG or getfenv().Drawing and getfenv().Drawing.new then
10941094
Tabs.Visuals = Window:AddTab({ Title = "Visuals", Icon = "box" })
10951095

10961096
Tabs.Visuals:AddParagraph({
@@ -1117,7 +1117,7 @@ do
11171117
Configuration.FoVKey = Value
11181118
end
11191119
})
1120-
Configuration.FoVKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, FoVKeybind.Value) and Enum.KeyCode[FoVKeybind.Value] or Enum.UserInputType.MouseButton2
1120+
Configuration.FoVKey = FoVKeybind.Value ~= "RMB" and Enum.KeyCode[FoVKeybind.Value] or Enum.UserInputType.MouseButton2
11211121
end
11221122

11231123
FoVSection:AddSlider("FoVThickness", {
@@ -1174,7 +1174,7 @@ do
11741174
Configuration.ESPKey = Value
11751175
end
11761176
})
1177-
Configuration.ESPKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, ESPKeybind.Value) and Enum.KeyCode[ESPKeybind.Value] or Enum.UserInputType.MouseButton2
1177+
Configuration.ESPKey = ESPKeybind.Value ~= "RMB" and Enum.KeyCode[ESPKeybind.Value] or Enum.UserInputType.MouseButton2
11781178
end
11791179

11801180
local ESPBoxToggle = ESPSection:AddToggle("ESPBox", { Title = "ESP Box", Description = "Creates the ESP Box around the Players", Default = Configuration.ESPBox })
@@ -1402,8 +1402,8 @@ do
14021402
Title = "Minimize Key",
14031403
Description = "Changes the Minimize Key",
14041404
Default = Fluent.MinimizeKey,
1405-
ChangedCallback = function(Value)
1406-
UISettings.MinimizeKey = pcall(UserInputService.GetStringForKeyCode, UserInputService, Value) and UserInputService:GetStringForKeyCode(Value) or "RMB"
1405+
ChangedCallback = function()
1406+
UISettings.MinimizeKey = Fluent.Options.MinimizeKey.Value
14071407
InterfaceManager:ExportSettings()
14081408
end
14091409
})
@@ -1476,7 +1476,7 @@ do
14761476
for Key, Value in next, ImportedConfiguration do
14771477
if Key == "AimKey" or Key == "SpinKey" or Key == "TriggerKey" or Key == "FoVKey" or Key == "ESPKey" then
14781478
Fluent.Options[Key]:SetValue(Value)
1479-
Configuration[Key] = pcall(UserInputService.GetStringForKeyCode, UserInputService, Value) and Enum.KeyCode[Value] or Enum.UserInputType.MouseButton2
1479+
Configuration[Key] = Value ~= "RMB" and Enum.KeyCode[Value] or Enum.UserInputType.MouseButton2
14801480
elseif Key == "AimPart" or Key == "SpinPart" or typeof(Configuration[Key]) == "table" then
14811481
Configuration[Key] = Value
14821482
elseif Key == "FoVColour" or Key == "NameESPOutlineColour" or Key == "ESPColour" then
@@ -1558,7 +1558,7 @@ do
15581558
local ExportedConfiguration = { __LAST_UPDATED__ = os.date() }
15591559
for Key, Value in next, Configuration do
15601560
if Key == "AimKey" or Key == "SpinKey" or Key == "TriggerKey" or Key == "FoVKey" or Key == "ESPKey" then
1561-
ExportedConfiguration[Key] = pcall(UserInputService.GetStringForKeyCode, UserInputService, Value) and UserInputService:GetStringForKeyCode(Value) or "RMB"
1561+
ExportedConfiguration[Key] = Fluent.Options[Key].Value
15621562
elseif Key == "FoVColour" or Key == "NameESPOutlineColour" or Key == "ESPColour" then
15631563
ExportedConfiguration[Key] = ColorsHandler:PackColour(Value)
15641564
else

0 commit comments

Comments
 (0)