0% found this document useful (0 votes)
3 views

source

The document is a script for a Roblox game that includes various features such as a camera aimbot, anti-lock mechanisms, and player ESP functionalities. It defines several user interface elements and settings for combat and movement enhancements, allowing players to customize their gameplay experience. The script utilizes drawing functions to create visual elements like circles and lines for targeting and player identification.

Uploaded by

pablo.perez
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

source

The document is a script for a Roblox game that includes various features such as a camera aimbot, anti-lock mechanisms, and player ESP functionalities. It defines several user interface elements and settings for combat and movement enhancements, allowing players to customize their gameplay experience. The script utilizes drawing functions to create visual elements like circles and lines for targeting and player identification.

Uploaded by

pablo.perez
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 24

-- Credits to Tracks and Thepohh.

-- DO NOT EDIT BELOW IF YOU DON'T KNOW WHAT YOU'RE DOING!!

repeat wait() until game:IsLoaded()

Drawing = Drawing
hookmetamethod = hookmetamethod
newcclosure = newcclosure
getnamecallmethod = getnamecallmethod

-- Variables

local UiLib =
loadstring(game:HttpGet("https://raw.githubusercontent.com/NiggHoper/testeando/
main/color"))()

local RunService = game:GetService("RunService")


local UserInputService = game:GetService("UserInputService")

local Workspace = game:GetService("Workspace")


local Players = game:GetService("Players")

local CoreGui = game:GetService("CoreGui")


local CorePackages = game:GetService("CorePackages")

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local StarterGui = game:GetService("StarterGui")


local Stats = game:GetService("Stats")

local CamlockPlr
local LocalPlr = Players.LocalPlayer

local CamBindEnabled = false

local AntiCheatNamecall

local StrafeSpeed = 0

local SelfDotCircle = Drawing.new("Circle")


SelfDotCircle.Filled = true
SelfDotCircle.Thickness = 1
SelfDotCircle.Radius = 7

local SelfTracerLine = Drawing.new("Line")


SelfTracerLine.Thickness = 2

local CamFovCircle = Drawing.new("Circle")


CamFovCircle.Thickness = 1.5

local CamTracerLine = Drawing.new("Line")


CamTracerLine.Thickness = 2

local CamHighlight = Instance.new("Highlight", CoreGui)

local CameraAimbot = {
Enabled = false,
Keybind = nil,

Prediction = nil,
RealPrediction = nil,

Resolver = false,
ResolverType = "Recalculate",

JumpOffset = 0,
RealJumpOffset = nil,

HitPart = "HumanoidRootPart",
RealHitPart = nil,

UseAirPart = false,
AirPart = "LowerTorso",
AirCheckType = "Once in Air",

AutoPred = false,
Notify = false,

KoCheck = false,
Tracer = false,

Highlight = false,

Smoothing = false,
Smoothness = nil,

UseFov = false
}

local AntiLock = {
Enabled = false,
Mode = "Up",

DesyncVel = Vector3.new(0, 9e9, 0),


DesyncAngles = 0.5
}

local SelfDot = {
Enabled = false,
Tracer = false,

RandomHitPart = false,
Prediction = 1,

HitPart = "HumanoidRootPart",
RealHitPart = nil
}

local TargetStrafe = {
Enabled = false,

Speed = 1,
Distance = 1,
Height = 1
}
local Utilities = {
NoJumpCooldown = false,
NoSlowdown = false,

AutoStomp = false,
AutoReload = false
}

local Movement = {
SpeedEnabled = false,
SpeedAmount = 1,

AutoJump = false,

BunnyHop = false,
HopAmount = 1,

FlightEnabled = false,
FlightAmount = 1
}

-- Functions

function ClosestPlr(Part, UseFov, FovCircle)


local Distance, Closest = math.huge, nil

for I, Target in pairs(Players:GetPlayers()) do


if Target ~= LocalPlr then
local Position =
Workspace.CurrentCamera:WorldToViewportPoint(Target.Character[Part].Position)
local Magnitude = (Vector2.new(Position.X, Position.Y) -
UserInputService:GetMouseLocation()).Magnitude

if UseFov then
if Magnitude < Distance and Magnitude < FovCircle.Radius
then
Closest = Target
Distance = Magnitude
end
else
if Magnitude < Distance then
Closest = Target
Distance = Magnitude
end
end
end
end

return Closest
end

-- You've caught me, the resolver is skidded...

function Resolver(Target)
local Part = Target.Character[CameraAimbot.RealHitPart]

local CurrentPosition = Part.Position


local CurrentTime = tick()
wait()

local NewPosition = Part.Position


local NewTime = tick()
local DistanceTraveled = (NewPosition - CurrentPosition)
local TimeInterval = NewTime - CurrentTime
local Velocity = DistanceTraveled / TimeInterval

CurrentPosition = NewPosition
CurrentTime = NewTime

if CameraAimbot.Resolver and CameraAimbot.ResolverType == "MoveDirection"


then
return CamlockPlr.Character.Humanoid.MoveDirection *
CamlockPlr.Character.Humanoid.WalkSpeed
end

return Velocity
end

-- Window

local Actyrn = UiLib:CreateWindow(" QUASAR | (V 2.0) | REVAMP", Vector2.new(500,


600), Enum.KeyCode.RightShift)

-- Tabs

local MainTab = Actyrn:CreateTab("Combat")


local MiscTab = Actyrn:CreateTab("Misc")

-- Sectors

-- MAIN

local CameraAimbotSec = MainTab:CreateSector("Camera Aimbot", "left")


local AntiLockSec = MainTab:CreateSector("Anti Lock", "right")
local SelfDotSec = MainTab:CreateSector("Self Dot", "right")
local TargetStrafeSec = MainTab:CreateSector("Target Strafe", "right")

-- MISC

local UtilitiesSec = MiscTab:CreateSector("Utilities", "left")


local MovementSec = MiscTab:CreateSector("Movement", "right")

-- Esp

-- MAIN

-- Camera Aimbot

CameraAimbotSec:AddToggle("Enabled", false, function(Value)


CameraAimbot.Enabled = Value
end, "CameraEnabled")

CameraAimbotSec:AddKeybind("Keybind", nil, function(Value)


CameraAimbot.Keybind = Value
end, "CameraKeybind")

CameraAimbotSec:AddTextbox("Prediction", nil, function(Value)


CameraAimbot.Prediction = Value
CameraAimbot.RealPrediction = Value
end, "CameraPrediction")

local CamResolverTog = CameraAimbotSec:AddToggle("Antilock Resolver", false,


function(Value)
CameraAimbot.Resolver = Value
end, "CameraAntilockResolver")

CamResolverTog:AddKeybind(nil, "CameraAntilockResolverKeybind")

CameraAimbotSec:AddDropdown("Resolver Type", {"Recalculate", "MoveDirection"},


"Recalculate", false, function(Value)
CameraAimbot.ResolverType = Value
end, "CameraResolverType")

CameraAimbotSec:AddSlider("Jump Offset", -2, 0, 2, 100, function(Value)


CameraAimbot.JumpOffset = Value
CameraAimbot.RealJumpOffset = Value
end, "CameraJumpOffset")

CameraAimbotSec:AddDropdown("Hit Part", {"Head", "HumanoidRootPart", "UpperTorso",


"LowerTorso"}, "HumanoidRootPart", false, function(Value)
CameraAimbot.HitPart = Value
CameraAimbot.RealHitPart = Value
end, "CameraHitPart")

CameraAimbotSec:AddToggle("Use Air Part", false, function(Value)


CameraAimbot.UseAirPart = Value
end, "CameraUseAirPart")

CameraAimbotSec:AddDropdown("Air Part", {"Head", "HumanoidRootPart", "UpperTorso",


"LowerTorso", "RightHand", "LeftHand", "RightFoot", "LeftFoot"}, "LowerTorso",
false, function(Value)
CameraAimbot.AirPart = Value
end, "CameraAirPart")

CameraAimbotSec:AddDropdown("Air Check Type", {"Once in Air", "Once Freefalling"},


"Once in Air", false, function(Value)
CameraAimbot.AirCheckType = Value
end, "CameraAirCheckType")

CameraAimbotSec:AddToggle("Auto Pred", false, function(Value)


CameraAimbot.AutoPred = Value
end, "CameraAutoPred")

CameraAimbotSec:AddToggle("Notify", false, function(Value)


CameraAimbot.Notify = Value
end, "CameraNotify")

CameraAimbotSec:AddToggle("KO Check", false, function(Value)


CameraAimbot.KoCheck = Value
end, "CameraKOCheck")

local CamTracerTog = CameraAimbotSec:AddToggle("Tracer", false, function(Value)


CameraAimbot.Tracer = Value
end, "CameraTracer")

CamTracerTog:AddColorpicker(Color3.fromRGB(170, 120, 210), function(Value)


CamTracerLine.Color = Value
end, "CameraTracerColor")

local CamHighlightTog = CameraAimbotSec:AddToggle("Highlight", false,


function(Value)
CameraAimbot.Highlight = Value
end, "CameraHighlight")

CamHighlightTog:AddColorpicker(Color3.fromRGB(170, 120, 210), function(Value)


CamHighlight.FillColor = Value
end, "CameraHighlightFillColor")

CamHighlightTog:AddColorpicker(Color3.fromRGB(90, 65, 110), function(Value)


CamHighlight.OutlineColor = Value
end, "CameraHighlightOutlineColor")

CameraAimbotSec:AddToggle("Smoothing", false, function(Value)


CameraAimbot.Smoothing = Value
end, "CameraSmoothing")

CameraAimbotSec:AddTextbox("Smoothness", nil, function(Value)


CameraAimbot.Smoothness = Value
end, "CameraSmoothness")

CameraAimbotSec:AddToggle("Use FOV", false, function(Value)


CameraAimbot.UseFov = Value
end, "CameraUseFOV")

local CamFovTog = CameraAimbotSec:AddToggle("FOV Visible", false, function(Value)


CamFovCircle.Visible = Value
end, "CameraFOVVisible")

CamFovTog:AddColorpicker(Color3.fromRGB(80, 15, 180), function(Value)


CamFovCircle.Color = Value
end, "CameraFOVColor")

CameraAimbotSec:AddToggle("FOV Filled", false, function(Value)


CamFovCircle.Filled = Value
end, "CameraFOVFilled")

CameraAimbotSec:AddSlider("FOV Transparency", 0, 0.75, 1, 100, function(Value)


CamFovCircle.Transparency = Value
end, "CameraFOVTransparency")

CameraAimbotSec:AddSlider("FOV Size", 5, 80, 500, 1, function(Value)


CamFovCircle.Radius = Value * 2
end, "CameraFOVSize")

-- Anti Lock

local AntiLockTog = AntiLockSec:AddToggle("Enabled", false, function(Value)


AntiLock.Enabled = Value
end, "AntiLockEnabled")

AntiLockTog:AddKeybind(nil, "AntiLockKeybind")
AntiLockSec:AddDropdown("Mode", {"Up", "Down", "Prediction Disabler", "Spinbot
Desync"}, "Up", false, function(Value)
AntiLock.Mode = Value
end, "AntiLockMode")

AntiLockSec:AddLabel("Spinbot Desync")

AntiLockSec:AddDropdown("Desync Velocity", {"Sky", "Underground"}, "Sky", false,


function(Value)
if Value == "Sky" then
AntiLock.DesyncVel = Vector3.new(0, 9e9, 0)
elseif Value == "Underground" then
AntiLock.DesyncVel = Vector3.new(0, -9e9, 0)
end
end, "AntiLockDesyncVelocity")

AntiLockSec:AddSlider("Desync Angles", -50, 0.5, 50, 2, function(Value)


AntiLock.DesyncAngles = Value
end, "AntiLockDesyncAngles")

-- Self Dot

local SelfDotTog = SelfDotSec:AddToggle("Enabled", false, function(Value)


SelfDot.Enabled = Value
end, "SelfDotEnabled")

SelfDotTog:AddColorpicker(Color3.fromRGB(170, 120, 210), function(Value)


SelfDotCircle.Color = Value
SelfTracerLine.Color = Value
end, "SelfDotCircleLineColor")

SelfDotSec:AddToggle("Tracer", false, function(Value)


SelfDot.Tracer = Value
end, "SelfDotTracer")

SelfDotSec:AddToggle("Random Hit Part", false, function(Value)


SelfDot.RandomHitPart = Value
end, "SelfDotRandomHitPart")

SelfDotSec:AddSlider("Prediction", 1, 1, 5, 2, function(Value)
SelfDot.Prediction = Value / 20
end, "SelfDotPrediction")

SelfDotSec:AddDropdown("Hit Part", {"Head", "Torso"}, "Torso", false,


function(Value)
if Value == "Head" then
SelfDot.HitPart = "Head"
SelfDot.RealHitPart = "Head"
else
SelfDot.HitPart = "HumanoidRootPart"
SelfDot.RealHitPart = "HumanoidRootPart"
end
end, "SelfDotHitPart")

-- Target Strafe

local TargStrafeTog = TargetStrafeSec:AddToggle("Target Strafe", false,


function(Value)
TargetStrafe.Enabled = Value
end, "TargetStrafe")

TargStrafeTog:AddKeybind(nil, "TargetStrafeKeybind")

TargetStrafeSec:AddSlider("Speed", 1, 1, 10, 2, function(Value)


TargetStrafe.Speed = Value
end, "TargetStrafeSpeed")

TargetStrafeSec:AddSlider("Distance", 1, 1, 20, 2, function(Value)


TargetStrafe.Distance = Value
end, "TargetStrafeDistance")

TargetStrafeSec:AddSlider("Height", 1, 1, 20, 2, function(Value)


TargetStrafe.Height = Value
end, "TargetStrafeHeight")

-- MISC
-- Integración de ESP en la GUI de Roblox
-- Esta sección debe estar incluida en tu script principal, donde se crean las
pestañas y sectores de la GUI

-- Crear la pestaña "Visuals"


local EspTab = Actyrn:CreateTab("Visuals")
-- Crear la sección "ESP" dentro de la pestaña "Visuals"
local EspSec = EspTab:CreateSector("ESP", "left")

-- Variables y servicios necesarios


local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera

local namesVisible = false -- Inicialmente falso, controlado por el toggle de la


GUI
local tracersVisible = false
local boxesVisible = false
local healthVisible = false
local distanceVisible = false
local skeletonVisible = false
local ESPKey = nil -- Tecla predeterminada eliminada, debe ser elegida por el
usuario

-- Guardar estados de visibilidad originales


local initialStates = {
namesVisible = false,
tracersVisible = false,
boxesVisible = false,
healthVisible = false,
distanceVisible = false,
skeletonVisible = false
}

-- Función para crear y actualizar los nombres de los jugadores


local function createNameTag(player)
local nameTag = Drawing.new("Text")
nameTag.Size = 18
nameTag.Color = Color3.fromRGB(255, 255, 255)
nameTag.Center = true
nameTag.Outline = true
nameTag.Text = player.Name

local function update()


local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local rootPart = character.HumanoidRootPart
local pos, onScreen = Camera:WorldToViewportPoint(rootPart.Position)

if onScreen and namesVisible then


nameTag.Position = Vector2.new(pos.X, pos.Y - 30)
nameTag.Visible = true
else
nameTag.Visible = false
end
else
nameTag.Visible = false
end
end

RunService.RenderStepped:Connect(update)
end

-- Función para crear y actualizar los tracers de los jugadores


local function createTracer(player)
local tracer = Drawing.new("Line")
tracer.Thickness = 2
tracer.Color = Color3.fromRGB(255, 255, 255)
tracer.From = Vector2.new(0, 0)
tracer.To = Vector2.new(0, 0)

local function update()


local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local headPos, headOnScreen =
Camera:WorldToViewportPoint(character.Head.Position)

if headOnScreen and tracersVisible then


tracer.From = Vector2.new(Camera.ViewportSize.X / 2, 0)
tracer.To = Vector2.new(headPos.X, headPos.Y)
tracer.Visible = true
else
tracer.Visible = false
end
else
tracer.Visible = false
end
end

RunService.RenderStepped:Connect(update)
end

-- Función para crear y actualizar las cajas de los jugadores


local function createBox(player)
local box = Drawing.new("Square")
box.Thickness = 2
box.Color = Color3.fromRGB(255, 255, 255)
box.Filled = false

local function update()


local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local rootPart = character.HumanoidRootPart
local pos, onScreen = Camera:WorldToViewportPoint(rootPart.Position)

if onScreen and boxesVisible then


local distance = (Camera.CFrame.Position -
rootPart.Position).Magnitude
local size = math.clamp(2000 / distance, 20, 50) -- Ajustar valores
según sea necesario
box.Size = Vector2.new(size, size)
box.Position = Vector2.new(pos.X - size / 2, pos.Y - size / 2)
box.Visible = true
else
box.Visible = false
end
else
box.Visible = false
end
end

RunService.RenderStepped:Connect(update)
end

-- Función para crear y actualizar la barra de vida de los jugadores


local function createHealthBar(player)
local healthBar = Drawing.new("Line")
healthBar.Thickness = 2
healthBar.Color = Color3.fromRGB(0, 255, 0)
healthBar.From = Vector2.new(0, 0)
healthBar.To = Vector2.new(0, 0)

local function update()


local character = player.Character
if character and character:FindFirstChild("Humanoid") and
character:FindFirstChild("HumanoidRootPart") then
local humanoid = character.Humanoid
local rootPart = character.HumanoidRootPart
local pos, onScreen = Camera:WorldToViewportPoint(rootPart.Position)

if onScreen and healthVisible then


local distance = (Camera.CFrame.Position -
rootPart.Position).Magnitude
local size = math.clamp(2000 / distance, 20, 50) -- Ajustar valores
según sea necesario
local healthPercent = humanoid.Health / humanoid.MaxHealth
healthBar.From = Vector2.new(pos.X + size / 2 + 5, pos.Y - size /
2)
healthBar.To = Vector2.new(pos.X + size / 2 + 5, pos.Y - size / 2 +
size * healthPercent)
healthBar.Visible = true
else
healthBar.Visible = false
end
else
healthBar.Visible = false
end
end
RunService.RenderStepped:Connect(update)
end

-- Función para crear y actualizar la distancia a los jugadores


local function createDistanceTag(player)
local distanceTag = Drawing.new("Text")
distanceTag.Size = 14
distanceTag.Color = Color3.fromRGB(255, 255, 255)
distanceTag.Center = true
distanceTag.Outline = true

local function update()


local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local rootPart = character.HumanoidRootPart
local pos, onScreen = Camera:WorldToViewportPoint(rootPart.Position)

if onScreen and distanceVisible then


local distance = (Camera.CFrame.Position -
rootPart.Position).Magnitude
distanceTag.Text = "Dist: " .. math.floor(distance)
distanceTag.Position = Vector2.new(pos.X, pos.Y + 30)
distanceTag.Visible = true
else
distanceTag.Visible = false
end
else
distanceTag.Visible = false
end
end

RunService.RenderStepped:Connect(update)
end

-- Función para crear y actualizar el esqueleto de los jugadores


local function createSkeleton(player)
local bones = {
Head = Drawing.new("Line"),
UpperTorso = Drawing.new("Line"),
LowerTorso = Drawing.new("Line"),
LeftArm = Drawing.new("Line"),
RightArm = Drawing.new("Line"),
LeftLeg = Drawing.new("Line"),
RightLeg = Drawing.new("Line")
}

for _, bone in pairs(bones) do


bone.Thickness = 2
bone.Color = Color3.fromRGB(255, 255, 255)
end

local function update()


local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local head = character:FindFirstChild("Head")
local upperTorso = character:FindFirstChild("UpperTorso")
local lowerTorso = character:FindFirstChild("LowerTorso")
local leftArm = character:FindFirstChild("LeftUpperArm")
local rightArm = character:FindFirstChild("RightUpperArm")
local leftLeg = character:FindFirstChild("LeftUpperLeg")
local rightLeg = character:FindFirstChild("RightUpperLeg")

if skeletonVisible then
if head and upperTorso then
local headPos = Camera:WorldToViewportPoint(head.Position)
local upperTorsoPos =
Camera:WorldToViewportPoint(upperTorso.Position)
bones.Head.From = Vector2.new(headPos.X, headPos.Y)
bones.Head.To = Vector2.new(upperTorsoPos.X, upperTorsoPos.Y)
bones.Head.Visible = true
else
bones.Head.Visible = false
end

if upperTorso and lowerTorso then


local upperTorsoPos =
Camera:WorldToViewportPoint(upperTorso.Position)
local lowerTorsoPos =
Camera:WorldToViewportPoint(lowerTorso.Position)
bones.UpperTorso.From = Vector2.new(upperTorsoPos.X,
upperTorsoPos.Y)
bones.UpperTorso.To = Vector2.new(lowerTorsoPos.X,
lowerTorsoPos.Y)
bones.UpperTorso.Visible = true
else
bones.UpperTorso.Visible = false
end

if upperTorso and leftArm then


local upperTorsoPos =
Camera:WorldToViewportPoint(upperTorso.Position)
local leftArmPos =
Camera:WorldToViewportPoint(leftArm.Position)
bones.LeftArm.From = Vector2.new(upperTorsoPos.X,
upperTorsoPos.Y)
bones.LeftArm.To = Vector2.new(leftArmPos.X, leftArmPos.Y)
bones.LeftArm.Visible = true
else
bones.LeftArm.Visible = false
end

if upperTorso and rightArm then


local upperTorsoPos =
Camera:WorldToViewportPoint(upperTorso.Position)
local rightArmPos =
Camera:WorldToViewportPoint(rightArm.Position)
bones.RightArm.From = Vector2.new(upperTorsoPos.X,
upperTorsoPos.Y)
bones.RightArm.To = Vector2.new(rightArmPos.X, rightArmPos.Y)
bones.RightArm.Visible = true
else
bones.RightArm.Visible = false
end

if lowerTorso and leftLeg then


local lowerTorsoPos =
Camera:WorldToViewportPoint(lowerTorso.Position)
local leftLegPos =
Camera:WorldToViewportPoint(leftLeg.Position)
bones.LeftLeg.From = Vector2.new(lowerTorsoPos.X,
lowerTorsoPos.Y)
bones.LeftLeg.To = Vector2.new(leftLegPos.X, leftLegPos.Y)
bones.LeftLeg.Visible = true
else
bones.LeftLeg.Visible = false
end

if lowerTorso and rightLeg then


local lowerTorsoPos =
Camera:WorldToViewportPoint(lowerTorso.Position)
local rightLegPos =
Camera:WorldToViewportPoint(rightLeg.Position)
bones.RightLeg.From = Vector2.new(lowerTorsoPos.X,
lowerTorsoPos.Y)
bones.RightLeg.To = Vector2.new(rightLegPos.X, rightLegPos.Y)
bones.RightLeg.Visible = true
else
bones.RightLeg.Visible = false
end
else
for _, bone in pairs(bones) do
bone.Visible = false
end
end
else
for _, bone in pairs(bones) do
bone.Visible = false
end
end
end

RunService.RenderStepped:Connect(update)
end

-- Crear nombres, tracers, cajas, health, distance y skeleton para todos los
jugadores existentes
for _, player in pairs(Players:GetPlayers()) do
if player ~= Players.LocalPlayer then
createNameTag(player)
createTracer(player)
createBox(player)
createHealthBar(player)
createDistanceTag(player)
createSkeleton(player)
end
end

-- Crear nombres, tracers, cajas, health, distance y skeleton para jugadores que se
unan después
Players.PlayerAdded:Connect(function(player)
if player ~= Players.LocalPlayer then
createNameTag(player)
createTracer(player)
createBox(player)
createHealthBar(player)
createDistanceTag(player)
createSkeleton(player)
end
end)

-- Función para alternar la visibilidad de todos los elementos


local function toggleVisibility()
-- Invertir visibilidad solo si la opción estaba activada
if initialStates.namesVisible then
namesVisible = not namesVisible
end
if initialStates.tracersVisible then
tracersVisible = not tracersVisible
end
if initialStates.boxesVisible then
boxesVisible = not boxesVisible
end
if initialStates.healthVisible then
healthVisible = not healthVisible
end
if initialStates.distanceVisible then
distanceVisible = not distanceVisible
end
if initialStates.skeletonVisible then
skeletonVisible = not skeletonVisible
end
end

-- Integración con la GUI


EspSec:AddToggle("Enable Names", false, function(Value)
namesVisible = Value
initialStates.namesVisible = Value
end)

EspSec:AddToggle("Enable Tracers", false, function(Value)


tracersVisible = Value
initialStates.tracersVisible = Value
end)

EspSec:AddToggle("Enable Boxes", false, function(Value)


boxesVisible = Value
initialStates.boxesVisible = Value
end)

EspSec:AddToggle("Enable Health", false, function(Value)


healthVisible = Value
initialStates.healthVisible = Value
end)

EspSec:AddToggle("Enable Distance", false, function(Value)


distanceVisible = Value
initialStates.distanceVisible = Value
end)

EspSec:AddToggle("Enable Skeleton", false, function(Value)


skeletonVisible = Value
initialStates.skeletonVisible = Value
end)

-- Integración de la función de toggle en la GUI existente


EspSec:AddKeybind("Set ESP Toggle Key", nil, function(Key)
ESPKey = Key
end)

-- Función para manejar la tecla de toggle


local function onInputBegan(input, gameProcessedEvent)
if input.KeyCode == ESPKey and not gameProcessedEvent then
toggleVisibility()
end
end

UserInputService.InputBegan:Connect(onInputBegan)

-- Puedes incluir otros elementos de tu GUI aquí

-- Utilities

UtilitiesSec:AddToggle("No Jump Cooldown", false, function(Value)


Utilities.NoJumpCooldown = Value
end, "NoJumpCooldown")

UtilitiesSec:AddToggle("No Slowdown", false, function(Value)


Utilities.NoSlowdown = Value
end, "NoSlowdown")

UtilitiesSec:AddToggle("Auto Stomp", false, function(Value)


Utilities.AutoStomp = Value
end, "AutoStomp")

UtilitiesSec:AddToggle("Auto Reload", false, function(Value)


Utilities.AutoReload = Value
end, "AutoReload")

local TrashTalkTog = UtilitiesSec:AddToggle("Trash Talk", false, function(Value)


if Value then
local TrashTalkWords = {"gg/halalgaming", "gg/hUvujCnGMb",
"FemboyAssPounder", "How to aim pls help", "wow my little brother was playing and
beat you :rofl:", "Mobile player beat u Lol XD", "420 ping and u got SLAMMED", "ur
bad", "seed", "im not locking ur just bad", "clown", "sonned", "LOLL UR BAD", "dont
even try.. ur not enough for the alpha", "ez", "gg = get good", "my grandmas better
than u :skull:", "hop off kid", "bro cannot aim", "u got absolutely DOGGED on", "i
run this server son", "what is bro doing :skull:", "no way", "sorry my cat walked
across my keyboard and i still won"}

ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(TrashTal
kWords[math.random(#TrashTalkWords)], "All")
end
end, "TrashTalk")

TrashTalkTog:AddKeybind(nil, "TrashTalkKeybind")

-- Movement

local SpeedTog = MovementSec:AddToggle("Speed", false, function(Value)


Movement.SpeedEnabled = Value
end, "Speed")

SpeedTog:AddKeybind(nil, "SpeedKeybind")
MovementSec:AddSlider("Speed Amount", 1, 1, 5000, 1, function(Value)
Movement.SpeedAmount = Value / 1000
end, "SpeedAmount")

MovementSec:AddToggle("Auto Jump", false, function(Value)


Movement.AutoJump = Value
end, "AutoJump")

MovementSec:AddToggle("Bunny Hop", false, function(Value)


Movement.BunnyHop = Value
end, "BunnyHop")

MovementSec:AddSlider("Hop Amount", 1, 1, 50, 1, function(Value)


Movement.HopAmount = Value / 100
end, "HopAmount")

local FlightTog = MovementSec:AddToggle("Flight", false, function(Value)


Movement.FlightEnabled = Value
end, "Flight")

FlightTog:AddKeybind(nil, "FlightKeybind")

MovementSec:AddSlider("Flight Amount", 1, 1, 5000, 1, function(Value)


Movement.FlightAmount = Value / 20
end, "FlightAmount")

-- Code

if CorePackages.Packages then
CorePackages.Packages:Destroy()
end

-- Heartbeat Functions

RunService.Heartbeat:Connect(function()
local Position, OnScreen =
Workspace.CurrentCamera:WorldToViewportPoint(LocalPlr.Character[SelfDot.RealHitPart
].Position + (LocalPlr.Character[SelfDot.RealHitPart].AssemblyLinearVelocity *
SelfDot.Prediction))

if SelfDot.Enabled and OnScreen then


SelfDotCircle.Visible = true
SelfDotCircle.Position = Vector2.new(Position.X, Position.Y)
else
SelfDotCircle.Visible = false
end
end)

RunService.Heartbeat:Connect(function()
local Position, OnScreen =
Workspace.CurrentCamera:WorldToViewportPoint(LocalPlr.Character[SelfDot.RealHitPart
].Position + (LocalPlr.Character[SelfDot.RealHitPart].AssemblyLinearVelocity *
SelfDot.Prediction))

if SelfDot.Tracer and OnScreen then


SelfTracerLine.Visible = true
SelfTracerLine.From = UserInputService:GetMouseLocation()
SelfTracerLine.To = Vector2.new(Position.X, Position.Y)
else
SelfTracerLine.Visible = false
end
end)

RunService.Heartbeat:Connect(function()
if AntiLock.Enabled then
local RootPart = LocalPlr.Character.HumanoidRootPart
local Velocity, Cframe = RootPart.AssemblyLinearVelocity,
RootPart.CFrame

if AntiLock.Mode == "Up" then


RootPart.AssemblyLinearVelocity = Vector3.new(0, 9e9, 0)
RunService.RenderStepped:Wait()
RootPart.AssemblyLinearVelocity = Velocity

elseif AntiLock.Mode == "Down" then


RootPart.AssemblyLinearVelocity = Vector3.new(0, -9e9, 0)
RunService.RenderStepped:Wait()
RootPart.AssemblyLinearVelocity = Velocity

elseif AntiLock.Mode == "Prediction Disabler" then


RootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
RunService.RenderStepped:Wait()
RootPart.AssemblyLinearVelocity = Velocity

elseif AntiLock.Mode == "Spinbot Desync" then


RootPart.AssemblyLinearVelocity = AntiLock.DesyncVel
RootPart.CFrame = Cframe * CFrame.Angles(0,
math.rad(AntiLock.DesyncAngles), 0)
RunService.RenderStepped:Wait()
RootPart.AssemblyLinearVelocity = Velocity
end
end
end)

RunService.Heartbeat:Connect(function()
if Movement.FlightEnabled and not AntiLock.Enabled then
local FlyVelocity = Vector3.new(0, 0.9, 0)

if not UserInputService:GetFocusedTextBox() then


if UserInputService:IsKeyDown(Enum.KeyCode.W) then
FlyVelocity = FlyVelocity +
(Workspace.CurrentCamera.CoordinateFrame.lookVector * Movement.FlightAmount)
end

if UserInputService:IsKeyDown(Enum.KeyCode.A) then
FlyVelocity = FlyVelocity +
(Workspace.CurrentCamera.CoordinateFrame.rightVector * -Movement.FlightAmount)
end

if UserInputService:IsKeyDown(Enum.KeyCode.S) then
FlyVelocity = FlyVelocity +
(Workspace.CurrentCamera.CoordinateFrame.lookVector * -Movement.FlightAmount)
end

if UserInputService:IsKeyDown(Enum.KeyCode.D) then
FlyVelocity = FlyVelocity +
(Workspace.CurrentCamera.CoordinateFrame.rightVector * Movement.FlightAmount)
end
end

LocalPlr.Character.HumanoidRootPart.AssemblyLinearVelocity =
FlyVelocity
LocalPlr.Character.Humanoid:ChangeState("Freefall")
end
end)

-- Stepped Functions

RunService.Stepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled and
CamlockPlr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
CameraAimbot.RealJumpOffset = CameraAimbot.JumpOffset
else
CameraAimbot.RealJumpOffset = 0
end
end)

RunService.Stepped:Connect(function()
local AirCheckType

if CameraAimbot.AirCheckType == "Once in Air" then


AirCheckType = CamlockPlr.Character.Humanoid.FloorMaterial ==
Enum.Material.Air
else
AirCheckType = CamlockPlr.Character.Humanoid:GetState() ==
Enum.HumanoidStateType.Freefall
end

if CameraAimbot.Enabled and CamBindEnabled and CameraAimbot.UseAirPart and


AirCheckType then
CameraAimbot.RealHitPart = CameraAimbot.AirPart
else
CameraAimbot.RealHitPart = CameraAimbot.HitPart
end
end)

RunService.Stepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled and CameraAimbot.AutoPred then
local Ping = math.round(Stats.Network.ServerStatsItem["Data
Ping"]:GetValue())

if Ping < 10 then


CameraAimbot.RealPrediction = 0.097

elseif Ping < 20 then


CameraAimbot.RealPrediction = 0.112

elseif Ping < 30 then


CameraAimbot.RealPrediction = 0.115

elseif Ping < 40 then


CameraAimbot.RealPrediction = 0.125

elseif Ping < 50 then


CameraAimbot.RealPrediction = 0.122
elseif Ping < 60 then
CameraAimbot.RealPrediction = 0.123

elseif Ping < 70 then


CameraAimbot.RealPrediction = 0.132

elseif Ping < 80 then


CameraAimbot.RealPrediction = 0.134

elseif Ping < 90 then


CameraAimbot.RealPrediction = 0.137

elseif Ping < 100 then


CameraAimbot.RealPrediction = 0.146

elseif Ping < 110 then


CameraAimbot.RealPrediction = 0.148

elseif Ping < 120 then


CameraAimbot.RealPrediction = 0.144

elseif Ping < 130 then


CameraAimbot.RealPrediction = 0.157

elseif Ping < 140 then


CameraAimbot.RealPrediction = 0.122

elseif Ping < 150 then


CameraAimbot.RealPrediction = 0.152

elseif Ping < 160 then


CameraAimbot.RealPrediction = 0.163

elseif Ping < 170 then


CameraAimbot.RealPrediction = 0.192

elseif Ping < 180 then


CameraAimbot.RealPrediction = 0.193

elseif Ping < 190 then


CameraAimbot.RealPrediction = 0.167

elseif Ping < 200 then


CameraAimbot.RealPrediction = 0.166

elseif Ping < 210 then


CameraAimbot.RealPrediction = 0.168

elseif Ping < 220 then


CameraAimbot.RealPrediction = 0.166

elseif Ping < 230 then


CameraAimbot.RealPrediction = 0.157

elseif Ping < 240 then


CameraAimbot.RealPrediction = 0.168

elseif Ping < 250 then


CameraAimbot.RealPrediction = 0.165
elseif Ping < 260 then
CameraAimbot.RealPrediction = 0.176

elseif Ping < 270 then


CameraAimbot.RealPrediction = 0.177

elseif Ping < 280 then


CameraAimbot.RealPrediction = 0.181

elseif Ping < 290 then


CameraAimbot.RealPrediction = 0.182

elseif Ping < 300 then


CameraAimbot.RealPrediction = 0.185
end
else
CameraAimbot.RealPrediction = CameraAimbot.Prediction
end
end)

RunService.Stepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled and TargetStrafe.Enabled then
StrafeSpeed = StrafeSpeed + TargetStrafe.Speed

LocalPlr.Character.HumanoidRootPart.CFrame =
CamlockPlr.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,
math.rad(StrafeSpeed), 0) * CFrame.new(0, TargetStrafe.Height,
TargetStrafe.Distance)
end
end)

RunService.Stepped:Connect(function()
LocalPlr.Character.Humanoid.UseJumpPower = not Utilities.NoJumpCooldown
end)

RunService.Stepped:Connect(function()
if Utilities.NoSlowdown then
local Slowdowns =
LocalPlr.Character.BodyEffects.Movement:FindFirstChild("NoJumping") or
LocalPlr.Character.BodyEffects.Movement:FindFirstChild("ReduceWalk") or
LocalPlr.Character.BodyEffects.Movement:FindFirstChild("NoWalkSpeed")

if Slowdowns then
Slowdowns:Destroy()
end

if LocalPlr.Character.BodyEffects.Reload.Value then
LocalPlr.Character.BodyEffects.Reload.Value = false
end

if LocalPlr.Character.BodyEffects.Reloading.Value then
LocalPlr.Character.BodyEffects.Reloading.Value = false
end
end
end)

RunService.Stepped:Connect(function()
if Utilities.AutoStomp then
ReplicatedStorage.MainEvent:FireServer("Stomp")
end
end)

RunService.Stepped:Connect(function()
if Utilities.AutoReload and
LocalPlr.Character:FindFirstChildWhichIsA("Tool").Ammo.Value <= 0 then
ReplicatedStorage.MainEvent:FireServer("Reload",
LocalPlr.Character:FindFirstChildWhichIsA("Tool"))
end
end)

RunService.Stepped:Connect(function()
if Movement.SpeedEnabled then
LocalPlr.Character.HumanoidRootPart.CFrame =
LocalPlr.Character.HumanoidRootPart.CFrame +
LocalPlr.Character.Humanoid.MoveDirection * Movement.SpeedAmount
end
end)

RunService.Stepped:Connect(function()
if Movement.AutoJump and LocalPlr.Character.Humanoid:GetState() ~=
Enum.HumanoidStateType.Freefall and
LocalPlr.Character.Humanoid.MoveDirection.Magnitude > 0 then
LocalPlr.Character.Humanoid:ChangeState("Jumping")
end
end)

RunService.Stepped:Connect(function()
if Movement.BunnyHop and LocalPlr.Character.Humanoid.FloorMaterial ==
Enum.Material.Air then
LocalPlr.Character.HumanoidRootPart.CFrame =
LocalPlr.Character.HumanoidRootPart.CFrame +
LocalPlr.Character.Humanoid.MoveDirection * Movement.HopAmount
end
end)

-- RenderStepped Functions

RunService.RenderStepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled then
if CameraAimbot.Resolver then
if CameraAimbot.Smoothing then
Workspace.CurrentCamera.CFrame =
Workspace.CurrentCamera.CFrame:Lerp(CFrame.new(Workspace.CurrentCamera.CFrame.p,
CamlockPlr.Character[CameraAimbot.RealHitPart].Position + Vector3.new(0,
CameraAimbot.RealJumpOffset, 0) + (Resolver(CamlockPlr) *
CameraAimbot.RealPrediction)), CameraAimbot.Smoothness, Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut)
else
Workspace.CurrentCamera.CFrame =
CFrame.new(Workspace.CurrentCamera.CFrame.p,
CamlockPlr.Character[CameraAimbot.RealHitPart].Position + Vector3.new(0,
CameraAimbot.RealJumpOffset, 0) + (Resolver(CamlockPlr) *
CameraAimbot.RealPrediction))
end
else
if CameraAimbot.Smoothing then
Workspace.CurrentCamera.CFrame =
Workspace.CurrentCamera.CFrame:Lerp(CFrame.new(Workspace.CurrentCamera.CFrame.p,
CamlockPlr.Character[CameraAimbot.RealHitPart].Position + Vector3.new(0,
CameraAimbot.RealJumpOffset, 0) +
(CamlockPlr.Character[CameraAimbot.RealHitPart].AssemblyLinearVelocity *
CameraAimbot.RealPrediction)), CameraAimbot.Smoothness, Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut)
else
Workspace.CurrentCamera.CFrame =
CFrame.new(Workspace.CurrentCamera.CFrame.p,
CamlockPlr.Character[CameraAimbot.RealHitPart].Position + Vector3.new(0,
CameraAimbot.RealJumpOffset, 0) +
(CamlockPlr.Character[CameraAimbot.RealHitPart].AssemblyLinearVelocity *
CameraAimbot.RealPrediction))
end
end
end
end)

RunService.RenderStepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled and CameraAimbot.KoCheck and
(CamlockPlr.Character.Humanoid.Health <= 2.25 or LocalPlr.Character.Humanoid.Health
<= 2.25) then
CamBindEnabled = false
end
end)

RunService.RenderStepped:Connect(function()
local Position, OnScreen

if CameraAimbot.Resolver then
Position, OnScreen =
Workspace.CurrentCamera:WorldToViewportPoint(CamlockPlr.Character[CameraAimbot.Real
HitPart].Position + Vector3.new(0, CameraAimbot.RealJumpOffset, 0) +
(Resolver(CamlockPlr) * CameraAimbot.RealPrediction))
else
Position, OnScreen =
Workspace.CurrentCamera:WorldToViewportPoint(CamlockPlr.Character[CameraAimbot.Real
HitPart].Position + Vector3.new(0, CameraAimbot.RealJumpOffset, 0) +
(CamlockPlr.Character[CameraAimbot.RealHitPart].AssemblyLinearVelocity *
CameraAimbot.RealPrediction))
end

if CameraAimbot.Enabled and CamBindEnabled and CameraAimbot.Tracer and


OnScreen then
CamTracerLine.Visible = true
CamTracerLine.From = UserInputService:GetMouseLocation()
CamTracerLine.To = Vector2.new(Position.X, Position.Y)
else
CamTracerLine.Visible = false
end
end)

RunService.RenderStepped:Connect(function()
if CameraAimbot.Enabled and CamBindEnabled and CameraAimbot.Highlight then
CamHighlight.Parent = CamlockPlr.Character
else
CamHighlight.Parent = CoreGui
end
end)
RunService.RenderStepped:Connect(function()
CamFovCircle.Position = UserInputService:GetMouseLocation()
end)

RunService.RenderStepped:Connect(function()
if (SelfDot.Enabled or SelfDot.Tracer) and SelfDot.RandomHitPart then
local RandomHitParts = {"Head", "HumanoidRootPart", "UpperTorso",
"LowerTorso", "RightUpperArm", "LeftUpperArm", "RightLowerArm", "LeftLowerArm",
"RightUpperLeg", "LeftUpperLeg", "RightLowerLeg", "LeftLowerLeg"}

SelfDot.RealHitPart = RandomHitParts[math.random(#RandomHitParts)]
wait(0.6)
else
SelfDot.RealHitPart = SelfDot.HitPart
end
end)

-- InputBegan Functions

UserInputService.InputBegan:Connect(function(Key)
if CameraAimbot.Enabled and Key.KeyCode == CameraAimbot.Keybind and not
UserInputService:GetFocusedTextBox() then
local Position, OnScreen =
Workspace.CurrentCamera:WorldToViewportPoint(ClosestPlr(CameraAimbot.RealHitPart,
CameraAimbot.UseFov, CamFovCircle).Character[CameraAimbot.RealHitPart].Position)

if CamBindEnabled then
CamBindEnabled = false

if CameraAimbot.Notify then
StarterGui:SetCore("SendNotification", {
Title = "Quasar [V1]",
Text = "Untargeting: " .. CamlockPlr.DisplayName,
Duration = 2.5
})
end
else
if OnScreen then
CamBindEnabled = true
CamlockPlr = ClosestPlr(CameraAimbot.RealHitPart,
CameraAimbot.UseFov, CamFovCircle)

if CameraAimbot.Notify then
StarterGui:SetCore("SendNotification", {
Title = "Quasar [V1]",
Text = "Targeting: " .. CamlockPlr.DisplayName,
Duration = 2.5
})
end
end
end
end
end)

-- Hookmetamethod functions

AntiCheatNamecall = hookmetamethod(game, "__namecall",


newcclosure(function(Self, ...)
local Arguments = {...}
local AntiCheats = {"BreathingHAMON", "TeleportDetect", "JJARC",
"TakePoisonDamage", "CHECKER_1", "CHECKER", "GUI_CHECK", "OneMoreTime",
"checkingSPEED", "BANREMOTE", "PERMAIDBAN", "KICKREMOTE", "BR_KICKPC",
"FORCEFIELD", "Christmas_Sock", "VirusCough", "Symbiote", "Symbioted",
"RequestAFKDisplay"}

if table.find(AntiCheats, Arguments[1]) and getnamecallmethod() ==


"FireServer" then
return
end

return AntiCheatNamecall(Self, ...)


end))

You might also like