Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- // Aimbot script for FPS games.
- This script can lead to a ban, so use at your own risk.
- --]]
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService");
- Run = "Run";
- Stop = "Stop";
- Render = "Resume";
- _G[Stop] = function()
- UserInputService.MouseBehavior = Enum.MouseBehavior.Default;
- end
- _G[Render] = function()
- UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter;
- end
- _G[Run] = function(you, target)
- if ((typeof(you) == "Instance") and (typeof(target) == "Instance")) then
- if ((you:IsA("Player")) and (target:IsA("Player"))) then
- local success, result = pcall(function()
- you.Character.HumanoidRootPart.CFrame = CFrame.new(you.Character.HumanoidRootPart.Position, target.Character.Head.Position)
- workspace.CurrentCamera.CFrame = CFrame.new(you.Character.HumanoidRootPart.Position, target.Character.Head.Position)
- end)
- if success then
- _G[Render]();
- else
- _G[Stop]();
- end
- else
- return (false or 'not a player')
- end
- else
- return (false or 'not a instance')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement