Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Load the external Aimbot script
- local Aimbot = loadstring(game:HttpGet("https://raw.githubusercontent.com/Exunys/Aimbot-V3/main/src/Aimbot.lua"))()
- -- Enable the Aimbot
- Aimbot.Load()
- -- Set up toggle functionality for enabling and disabling the aimbot
- local UserInputService = game:GetService("UserInputService")
- local Environment = getgenv().ExunysDeveloperAimbot
- local ToggleKeyL = Enum.KeyCode.L -- Key to disable
- local ToggleKeyM = Enum.KeyCode.M -- Key to enable
- -- Function to disable the aimbot
- local function DisableAimbot()
- Environment.Settings.Enabled = false
- Aimbot.CancelLock() -- Stop locking onto players
- setrenderproperty(Environment.FOVCircle, "Visible", false)
- setrenderproperty(Environment.FOVCircleOutline, "Visible", false)
- end
- -- Function to enable the aimbot
- local function EnableAimbot()
- Environment.Settings.Enabled = true
- setrenderproperty(Environment.FOVCircle, "Visible", true)
- setrenderproperty(Environment.FOVCircleOutline, "Visible", true)
- end
- -- Listen for key presses to toggle the aimbot
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then return end -- Ignore if the game processed the input
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == ToggleKeyL then
- DisableAimbot() -- Disable the aimbot when 'L' is pressed
- elseif input.KeyCode == ToggleKeyM then
- EnableAimbot() -- Enable the aimbot when 'M' is pressed
- end
- end
- end)
- -- Credits to the Owner, i manage to modify it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement