R

Loxkontoanyone

public
rrixh Aug 07, 2024 Never 41
Clone
Plaintext KAMLOXK_rrixh.xlsx 70 lines (62 loc) | 2.61 KB
1
getgenv().smoothAimSpeed = 0.08
2
getgenv().maxStudsAway = 85
3
4
local uwuRRIXH = loadstring(game:HttpGet("https://pastecode.dev/raw/o579xt86/mobileWally.jpg", true))()
5
local lulaslollipop = "lulaslollipop 🍭"
6
local uwu = uwuRRIXH:CreateWindow("Loxk onto any player")
7
8
aimAssist = false
9
local player = game.Players.LocalPlayer
10
local kamera = game.Workspace.CurrentCamera
11
local run = game:GetService("RunService")
12
13
local function getNearestPlayer()
14
local nearestPlayer = nil
15
local shortestDist = getgenv().maxStudsAway
16
17
for _, otherPlayer in pairs(game.Players:GetPlayers()) do
18
if otherPlayer ~= player then
19
local character = otherPlayer.Character
20
if character and character:FindFirstChild("HumanoidRootPart") then
21
local distance = (character.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).Magnitude
22
if distance < shortestDist then
23
shortestDist = distance
24
nearestPlayer = character
25
end
26
end
27
end
28
end
29
return nearestPlayer
30
end
31
32
local function aimAtTarget(target)
33
if target and target:FindFirstChild("HumanoidRootPart") then
34
local targetPosition = target.HumanoidRootPart.Position
35
local dir = (targetPosition - kamera.CFrame.Position).unit
36
local targetCFrame = CFrame.new(kamera.CFrame.Position, kamera.CFrame.Position + dir)
37
kamera.CFrame = kamera.CFrame:Lerp(targetCFrame, getgenv().smoothAimSpeed * run.Heartbeat:Wait())
38
end
39
end
40
41
uwu:AddToggle({
42
text = "Aimloxk",
43
callback = function(toggleOn)
44
aimAssist = toggleOn
45
end
46
})
47
48
game:GetService("RunService").RenderStepped:Connect(function()
49
if aimAssist then
50
local playerNear = getNearestPlayer()
51
if playerNear then
52
aimAtTarget(playerNear)
53
end
54
end
55
end)
56
57
-- New Textbox to set Aim Speed
58
uwu:AddBox({text = "aim speed",
59
callback = function(value)
60
local speed = tonumber(value)
61
if speed then
62
getgenv().smoothAimSpeed = speed
63
local RRixh1 = loadstring(game:HttpGet("https://pastecode.dev/raw/xhglimlq/lakayli_lulaslollipopnotif.xl9.x7s.xls.xlsx",true))() local Notify = RRixh1.Notify; wait(); Notify({ Description = "speed set to: "..value..".";Duration = 3; });
64
else
65
local RRixh1 = loadstring(game:HttpGet("https://pastecode.dev/raw/xhglimlq/lakayli_lulaslollipopnotif.xl9.x7s.xls.xlsx",true))() local Notify = RRixh1.Notify; wait(); Notify({ Description = "number only faggot";Duration = 3; });
66
end
67
end
68
})
69
uwu:AddFolder(lulaslollipop)
70
uwuRRIXH:Init()