Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("ยิงปืนเปล่า", "BloodTheme")
- local Tab = Window:NewTab("main")
- local Section = Tab:NewSection("esp")
- Section:NewButton("use", ".", function()
- -- Minimal ESP by ChatGPT
- -- แสดงชื่อผู้เล่นด้วยตัวหนังสือเล็ก ๆ
- local Players = game:GetService("Players")
- local localPlayer = Players.LocalPlayer
- function createMiniESP(player)
- if player == localPlayer then return end
- local character = player.Character or player.CharacterAdded:Wait()
- local head = character:WaitForChild("Head", 5)
- if not head then return end
- -- Billboard GUI
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "MiniESP"
- billboard.Adornee = head
- billboard.Size = UDim2.new(0, 100, 0, 20)
- billboard.StudsOffset = Vector3.new(0, 2.5, 0)
- billboard.AlwaysOnTop = true
- billboard.LightInfluence = 0
- billboard.Parent = head
- -- TextLabel (ตัวหนังสือเล็กๆ)
- local nameLabel = Instance.new("TextLabel", billboard)
- nameLabel.Size = UDim2.new(1, 0, 1, 0)
- nameLabel.BackgroundTransparency = 1
- nameLabel.Text = player.Name
- nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- nameLabel.TextStrokeTransparency = 0.8
- nameLabel.Font = Enum.Font.SourceSans
- nameLabel.TextScaled = false
- nameLabel.TextSize = 10
- end
- -- สร้าง ESP ให้ทุกคน
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= localPlayer then
- createMiniESP(p)
- end
- end
- -- อัปเดตหากมีผู้เล่นใหม่เข้า
- Players.PlayerAdded:Connect(function(p)
- p.CharacterAdded:Connect(function()
- wait(1)
- createMiniESP(p)
- end)
- end)
- print(" ESP เรียบร้อยแล้ว!")
- end)
- local Section = Tab:NewSection("ล็อคplayer(aimbot)กด T ON/OFF")
- Section:NewButton("use", ".", function()
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local localPlayer = Players.LocalPlayer
- local camera = workspace.CurrentCamera
- local aimbotEnabled = false
- local toggleKey = Enum.KeyCode.T
- -- ฟังก์ชันหาเป้าหมายที่ใกล้สุด
- local function getClosestPlayer()
- local closestPlayer = nil
- local shortestDistance = math.huge
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= localPlayer and player.Character and player.Character:FindFirstChild("Head") then
- local head = player.Character.Head
- local screenPoint, onScreen = camera:WorldToViewportPoint(head.Position)
- if onScreen then
- local mouseLocation = UserInputService:GetMouseLocation()
- local distance = (Vector2.new(screenPoint.X, screenPoint.Y) - mouseLocation).Magnitude
- if distance < shortestDistance then
- shortestDistance = distance
- closestPlayer = head
- end
- end
- end
- end
- return closestPlayer
- end
- -- เปิด/ปิด Aimbot เมื่อกด T
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed and input.KeyCode == toggleKey then
- aimbotEnabled = not aimbotEnabled
- print("Aimbot " .. (aimbotEnabled and "Enabled" or "Disabled"))
- end
- end)
- -- ล็อกกล้องไปที่เป้าหมาย
- RunService.RenderStepped:Connect(function()
- if aimbotEnabled then
- local target = getClosestPlayer()
- if target then
- camera.CFrame = CFrame.new(camera.CFrame.Position, target.Position)
- end
- end
- end)
- print("Aimbot")
- end)
- local Section = Tab:NewSection("Keyblind")
- Section:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F, function()
- Library:ToggleUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment