0% found this document useful (0 votes)
67 views4 pages

Canwef

Uploaded by

heros
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views4 pages

Canwef

Uploaded by

heros
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

local Library = loadstring(game:HttpGet("https://raw.githubusercontent.

com/xHeptc/
Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("canwef local cframe", "DarkTheme")

local speed = Window:NewTab("Speed")


local rs = speed:NewSection("CFrame Speed")
rs:NewButton("CFrame Guns FIX", "ButtonInfo", function()
for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and
v:FindFirstChild("LocalScript") then
v:Destroy()
end
end
game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
repeat
wait()
until game.Players.LocalPlayer.Character
char.ChildAdded:Connect(function(child)
if child:IsA("Script") then
wait(0.1)
if child:FindFirstChild("LocalScript") then
child.LocalScript:FireServer()
end
end
end)
end)
end)
rs:NewButton("CFrame Speed (Z)", "ButtonInfo", function()
repeat
wait()
until game:IsLoaded()
local L_134_ = game:service('Players')
local L_135_ = L_134_.LocalPlayer
repeat
wait()
until L_135_.Character
local L_136_ = game:service('UserInputService')
local L_137_ = game:service('RunService')
getgenv().Multiplier = 0.5
local L_138_ = true
local L_139_
L_136_.InputBegan:connect(function(L_140_arg0)
if L_140_arg0.KeyCode == Enum.KeyCode.LeftBracket then
Multiplier = Multiplier + 0.01
print(Multiplier)
wait(0.2)
while L_136_:IsKeyDown(Enum.KeyCode.LeftBracket) do
wait()
Multiplier = Multiplier + 0.01
print(Multiplier)
end
end
if L_140_arg0.KeyCode == Enum.KeyCode.RightBracket then
Multiplier = Multiplier - 0.01
print(Multiplier)
wait(0.2)
while L_136_:IsKeyDown(Enum.KeyCode.RightBracket) do
wait()
Multiplier = Multiplier - 0.01
print(Multiplier)
end
end
if L_140_arg0.KeyCode == Enum.KeyCode.Z then
L_138_ = not L_138_
if L_138_ == true then
repeat
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame +
game.Players.LocalPlayer.Character.Humanoid.MoveDirection * Multiplier
game:GetService("RunService").Stepped:wait()
until L_138_ == false
end
end
end)
end)
rs:NewSlider("CFrame Speed ", "SliderInfo", 5, 0, function(s) -- 500 (MaxValue) | 0
(MinValue)
getgenv().Multiplier = s
end)
rs:NewKeybind("Toggle UI", "KeybindInfo", Enum.KeyCode.V, function()
Library.ToggleUI()
end)

local Keybind = Enum.KeyCode.C


local enabled = true
local prediction = 0.1000

local Players = game:GetService("Players")


local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Client = Players.LocalPlayer
local Mouse = Client:GetMouse()
local Camera = workspace.CurrentCamera

local AimbotTarget = nil

GetClosestToMouse = function()
local Target, Closest = nil, 1 / 0

for _, v in pairs(Players:GetPlayers()) do
if (v.Character and v ~= Client and
v.Character:FindFirstChild("HumanoidRootPart")) then
local Position, OnScreen =
Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position)
local Distance = (Vector2.new(Position.X, Position.Y) -
Vector2.new(Mouse.X, Mouse.Y)).Magnitude

if (Distance and Distance < Closest and OnScreen) then


Closest = Distance
Target = v
end
end
end
return Target
end
UserInputService.InputBegan:Connect(function(key)
if key.KeyCode == Keybind and enabled == true then
if AimbotTarget == nil then
AimbotTarget = GetClosestToMouse()
elseif AimbotTarget ~= nil then
AimbotTarget = nil
end
end
end)

RunService.RenderStepped:Connect(function(deltatime)
if AimbotTarget ~= nil and AimbotTarget.Character then
Camera.CFrame = CFrame.new(Camera.CFrame.p,
AimbotTarget.Character.HumanoidRootPart.Position+AimbotTarget.Character.HumanoidRoo
tPart.Velocity*prediction)
end
end)

getgenv().Desync = false -- leave this on false


getgenv().KeyBind = Enum.KeyCode.M

getgenv().DirectionToShoot = "ForWard"

--[[

OPTIONS

Behind
Down -- can easily be resolved with underground resolver
ForWard
Left
One
Right
Up -- can easily be resolved with underground resolver
Zero
--]]

local uis = game:service'UserInputService'


uis.InputBegan:Connect(
function(a, t)
if not t then
if a.KeyCode == getgenv().KeyBind and getgenv().Desync == false then
getgenv().Desync = true
game.StarterGui:SetCore("SendNotification", {
Title = "canwef anti";
Text = "ON THATS MY BOY!!!!";
Icon = "rbxassetid://17414221018";
Duration = 5;
})
elseif a.KeyCode == getgenv().KeyBind and getgenv().Desync == true
then
getgenv().Desync = false
game.StarterGui:SetCore("SendNotification", {
Title = "cframe local anti";
Text = "TURNED OFF fosho turn back on quick!";
Icon = "17414221018";
Duration = 5;
})
end
end
end)

getgenv().Direction = nil

if getgenv().DirectionToShoot == "Behind" then


getgenv().Direction = Vector3.new(0, 0, -1)
elseif getgenv().DirectionToShoot == "Down" then
getgenv().Direction = Vector3.new(0, -1, 0)
elseif getgenv().DirectionToShoot == "ForWard" then
getgenv().Direction = Vector3.new(0, 0, 1)
elseif getgenv().DirectionToShoot == "Left" then
getgenv().Direction = Vector3.new(-1, 0, 0)
elseif getgenv().DirectionToShoot == "One" then
getgenv().Direction = Vector3.new(1, 1, 1)
elseif getgenv().DirectionToShoot == "Right" then
getgenv().Direction = Vector3.new(1, 0, 0)
elseif getgenv().DirectionToShoot == "Up" then
getgenv().Direction = Vector3.new(0, 1, 0)
elseif getgenv().DirectionToShoot == "Zero" then
getgenv().Direction = Vector3.new(0, 0, 0)
end

game:GetService("RunService").heartbeat:Connect(function()
if getgenv().Desync == true then
local abc = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity =
getgenv().Direction * (2^16)
game:GetService("RunService").RenderStepped:Wait()
game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = abc
end
end)

You might also like