Categories > Exploiting > Scripts >
Universal Client-side Aim-Assist (or Aimbot) [Updated]
Posted
What does this do?
- Locks-on to targets and snap the camera to the target when your mouse cursor or crosshair hovers over a character, snapping only occurs if conditions are met:
1.) Right-Click is held
2.) Crosshair/Cursor is in the center of the screen (First Person or Third Person Shift-Lock)
3.) Target is a body part & contains "Humanoid"
4.) No obstruction between camera (you) and the target (walls blocking your sight)
--Keybinds (Change your key here)
local Button = {
Key_00 = "h", --Toggle Aim-Assist [Enable/Disable] (Default: Disable)
Key_01 = "j", --Switch Target [Player/NPC/Both] (Default: Both)
Key_02 = "k", --Switch Aim [Head/Center] (Default: Head)
Key_03 = "l" --Switch Clear Type (Erase Character/Erase Humanoid) (Default: Erase Character)
};
local Aim_Assist_Mode = "Both"; --(Player, NPC, Both)
local Aim_Assist_Aim = "Head"; --(Head, Center)
local Event_MouseDown;
local Event_MouseUp;
local Event_CheckTarget;
local Event_LockTarget;
local Link = "rbxasset://textures/ui/LegacyRbxGui/"
local PopupGreen = Link.."popup_greenCheckCircle.png";
local PopupYellow = Link.."popup_warnTriangle.png";
local PopupRed = Link.."popup_redx.png";
local Players, Workspace, StarterGui, RunService, LocalPlayer, Mouse, Camera = game:GetService("Players"), game:GetService("Workspace"), game:GetService("StarterGui"), game:GetService("RunService"), Players.LocalPlayer, LocalPlayer:GetMouse(), Workspace.CurrentCamera;
local Mouse_Center, Remove_Corpse, Aim_Assist_Active = false, true, false;
local Green, Red, Purple = Color3.fromRGB(0,255,0), Color3.fromRGB(255,0,0), Color3.fromRGB(255,0,255);
local function Notification(Title,Text,Icon)
StarterGui:SetCore("SendNotification",{Title = Title; Text = Text; Icon = Icon; Duration = 5;});
end
local function Aim_Assist()
if (Aim_Assist_Active == false) then
local Target;
local Active, Selection, Teams = false, Instance.new("SelectionBox",Camera), game:GetService("Teams");
Selection.Name = "[Camera_Aim_Assist]";
Selection.Color3 = Purple;
Selection.SurfaceColor3 = Purple;
Selection.LineThickness = 0.1;
local function Get_Humanoid(Object)
if (Object.Parent:FindFirstChildWhichIsA("Humanoid") ~= nil) then
return Object.Parent:FindFirstChildWhichIsA("Humanoid");
elseif (Object.Parent.Parent:FindFirstChildWhichIsA("Humanoid") ~= nil) then
return Object.Parent.Parent:FindFirstChildWhichIsA("Humanoid");
else
return nil;
end
end
local function Get_Position(Character)
if (Aim_Assist_Aim == "Head" and Character:FindFirstChild("Head") ~= nil) then
return Character:FindFirstChild("Head");
else
if (Character:FindFirstChild("HumanoidRootPart") ~= nil) then
return Character:FindFirstChild("HumanoidRootPart");
else
return Character:GetPivot();
end
end
end
Event_MouseUp = Mouse.Button2Up:Connect(function()
Selection.SurfaceTransparency = 1;
Active = false;
end);
Event_MouseDown = Mouse.Button2Down:Connect(function()
Selection.SurfaceTransparency = 0.7;
Active = true;
end);
Event_CheckTarget = RunService.Heartbeat:Connect(function()
if (Mouse.Target ~= nil and (Mouse.Target:IsA("BasePart") or Mouse.Target:IsA("MeshPart") or Mouse.Target:IsA("UnionOperation"))) then
local Humanoid = Get_Humanoid(Mouse.Target);
if (Humanoid ~= nil and ((Aim_Assist_Mode == "Both" and (Players:GetPlayerFromCharacter(Humanoid.Parent) == nil or (Players:GetPlayerFromCharacter(Humanoid.Parent) ~= nil and (#Teams:GetChildren() <= 1 or (#Teams:GetChildren() > 1 and Players:GetPlayerFromCharacter(Humanoid.Parent).Team ~= LocalPlayer.Team))))) or (Aim_Assist_Mode == "NPC" and Players:GetPlayerFromCharacter(Humanoid.Parent) == nil) or ((Aim_Assist_Mode == "Player" and Players:GetPlayerFromCharacter(Humanoid.Parent) ~= nil) and (#Teams:GetChildren() <= 1 or (#Teams:GetChildren () > 1 and Players:GetPlayerFromCharacter(Humanoid.Parent).Team ~= LocalPlayer.Team))))) then
if (Humanoid.Health > 0) then
Target = Humanoid;
Selection.Adornee = Humanoid.Parent;
else
if (Remove_Corpse == true) then
Target.Parent:Destroy();
end
Target = nil;
Selection.Adornee = nil;
end
else
if (Active == false) then
Target = nil;
Selection.Adornee = nil;
end
end
if (Active == false and Selection.Adornee ~= nil) then
if ((Mouse.X == math.floor(Mouse.ViewSizeX/2)) and (Mouse.Y == math.floor(Mouse.ViewSizeY/2))) then
if (Mouse_Center == false) then
Selection.Color3 = Green;
Selection.SurfaceColor3 = Green;
Mouse_Center = true;
end
else
if (Mouse_Center == true) then
Selection.Color3 = Red;
Selection.SurfaceColor3 = Red;
Mouse_Center = false;
end
end
end
else
if (Active == false) then
Target = nil;
Selection.Adornee = nil;
end
end
end);
Event_LockTarget = RunService.RenderStepped:Connect(function()
if (Active == true and Target ~= nil and Mouse_Center == true) then
local Aim = Get_Position(Target.Parent);
Camera.CFrame = CFrame.new(Camera.CFrame.Position,(Aim.Position + Vector3.new(0,.15,0)));
end
end);
Aim_Assist_Active = true;
Notification("Toggle:","(Aim-Assist: On) (Target: "..Aim_Assist_Mode..") Hold RMB to lock.",PopupGreen);
else
if (Event_LockTarget ~= nil) then
Event_LockTarget:Disconnect();
Event_LockTarget = nil;
end
if (Event_CheckTarget ~= nil) then
Event_CheckTarget:Disconnect();
Event_CheckTarget = nil;
end
if (Event_MouseDown ~= nil) then
Event_MouseDown:Disconnect();
Event_MouseDown = nil;
end
if (Event_MouseUp ~= nil) then
Event_MouseUp:Disconnect();
Event_MouseUp = nil;
end
if (Camera:FindFirstChild("[Camera_Aim_Assist]") ~= nil) then
Camera:FindFirstChild("[Camera_Aim_Assist]"):Destroy();
end
Aim_Assist_Active = false;
Notification("Toggle:","(Aim-Assist: Off)",PopupRed);
end
end
Mouse.KeyDown:Connect(function(Key)
if (Key == Button["Key_00"]) then
Aim_Assist();
elseif (Key == Button["Key_01"]) then
if (Aim_Assist_Mode == "Player") then
Aim_Assist_Mode = "NPC";
elseif (Aim_Assist_Mode == "NPC") then
Aim_Assist_Mode = "Both";
elseif (Aim_Assist_Mode == "Both") then
Aim_Assist_Mode = "Player";
end
Notification("Aim-Assist Target:",Aim_Assist_Mode,PopupYellow);
elseif (Key == Button["Key_02"]) then
if (Aim_Assist_Aim == "Head") then
Aim_Assist_Aim = "Center";
elseif (Aim_Assist_Aim == "Center") then
Aim_Assist_Aim = "Head";
end
Notification("Aim-Assist Aim:",Aim_Assist_Aim,PopupYellow);
elseif (Key == Button["Key_03"]) then
if (Remove_Corpse == false) then
Remove_Corpse = true;
else
Remove_Corpse = false;
end
Notification("Remove Corpse:",tostring(Remove_Corpse),PopupYellow);
end
end);
Notification("Notification:","Exploit loaded",PopupYellow);
ÂÂÂ
Replied
Pretty sure this is just an aimbot?
Silent aim is where you shoot near the person and it hits anyways
Cancel
Post
Replied
@GoldenCheats As the title says, yes it's simply an aimbot/aim-assist, there's no mention of silent-aim here
Cancel
Post
ÂÂÂ
Replied
pretty goofy code
Cancel
Post
wakntauwt
Replied
@GoldenCheats
Short Answer: Maybe, I guess
Long Answer: It was intended to be working for any game since the title has 'Universal' in it, though I can't guarantee it'll work in some games that patches this, like Zombie Stories and Phantom Forces (Just one of few examples), how this exploit detects characters is by checking its existing humanoid, so if games like Phantom Forces uses different method that makes character work without a humanoid in it, this exploit will need some bit of modification, though that'll defeat the purpose of it being universal, so maybe I'll consider adding a feature where you can manually mark a specific part to lock-on with and apply to other similar parts in future (maybe, I hope)
But as for now, Roblox will usually have players with humanoid in their characters by default, so it should work fine with games that aren't much 'secured', I guess
Cancel
Post
ÂÂÂ
https://cdn.discordapp.com/attachments/1018514909413253222/1018522666853998713/MOONLIGHT_1.gif
https://cdn.discordapp.com/attachments/1018514914832289802/1018903082660274297/standard.gif
Replied
Script updated, made minor changes in the code, and removed some unnecessary characters in the script, now it won't exceed WRD Thread's 8k character limit and removed some links, and can now post the full code directly in the thread
Edit: Re-updated with minor changes (again), slightly different method to lock-on to players, I didn't know it could be simplified like that with using function's paremeter feature, and because of that, the character amount reduced from above 10k, to 7k, and to 6k, gonna use it to the fullest
Cancel
Post
ÂÂÂ
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post