Advertisement
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("AU Reborn", "DarkTheme")
- local Tab = Window:NewTab("Player")
- local A = Tab:NewSection("Player shit")
- A:NewToggle("Invisibility", "", function(t)
- if t then
- A = Instance.new("Part", workspace)
- A.Anchored = true
- A.Size = Vector3.new(2000,1,2000)
- A.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,-45,0)
- task.wait(.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,-44,0)
- task.wait(.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.Part1 = nil
- task.wait(.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,47,0)
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.Part1 = game.Players.LocalPlayer.Character.Torso
- end
- end)
- A:NewLabel("Fighting")
- -- selected player
- Selected = nil
- Type = "Behind"
- Distance = 5
- function SearchPlayer(Name)
- local ClosestMatch = nil
- local ClosestLetters = 0
- for i,v in pairs(game.Players:GetPlayers()) do
- local matched_letters = 0
- for i = 1, #Name do
- if string.sub(Name:lower(), 1, i) == string.sub(v.Name:lower(), 1, i) then
- matched_letters = i
- end
- end
- if matched_letters > ClosestLetters then
- ClosestLetters = matched_letters
- ClosestMatch = v
- end
- end
- return ClosestMatch
- end
- local TextB;
- TextB = A:NewTextBox("Select Player", "dont need full name", function(text)
- pcall(function()
- local PossiblePlayer = SearchPlayer(text)
- if PossiblePlayer then
- Selected = PossiblePlayer.Name
- TextB:Update(PossiblePlayer.Name)
- end
- end)
- end)
- local M1 = true
- local A1 = false
- local A2 = false
- local A3 = false
- local A4 = false
- local G = false
- A:NewDropdown("Select Attack-Type","",{"Behind","Under","Front","Direct"},function(t)
- Type = t
- end)
- A:NewToggle("Auto Attack", "", function(t)
- _G.AA = t
- while _G.AA == true do game:GetService("RunService").RenderStepped:Wait()
- if Type == "Under" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame * CFrame.Angles(math.rad(90),0,0) - Vector3.new(0,Distance,0)
- end
- if Type == "Behind" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame - workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame.LookVector * Distance
- end
- if Type == "Front" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame + workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame.LookVector * Distance
- end
- if Type == "Direct" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame
- end
- if M1 == true then
- local args = {
- [1] = {
- ["HoldingSpace"] = false,
- ["Aerial"] = false
- }
- }
- game:GetService("ReplicatedStorage").Remotes.Combat:FireServer(unpack(args))
- end
- task.wait()
- if A1 == true then
- game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("1", workspace:FindFirstChild(Selected).Torso.Position)
- end
- task.wait()
- if A2 == true then
- game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("2", workspace:FindFirstChild(Selected).Torso.Position)
- end
- task.wait()
- if A3 == true then
- game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("3", workspace:FindFirstChild(Selected).Torso.Position)
- end
- task.wait()
- if A4 == true then
- game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("4", workspace:FindFirstChild(Selected).Torso.Position)
- end
- end
- end)
- A:NewSlider("Distance", "", 16,3, function(t)
- Distance = t
- end)
- A:NewToggle("Toggle M1", "", function(t)
- M1 = t
- end)
- A:NewToggle("Toggle Skill 1", "", function(t)
- A1 = t
- end)
- A:NewToggle("Toggle Skill 2", "", function(t)
- A2 = t
- end)
- A:NewToggle("Toggle Skill 3", "", function(t)
- A3 = t
- end)
- A:NewToggle("Toggle Skill 4", "", function(t)
- A4 = t
- end)
- A:NewToggle("Toggle Awakening", "", function(t)
- G = t
- end)
- A:NewButton("TP to Training", "", function()
- game:GetService("TeleportService"):Teleport(10393542610)
- end)
- A:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F6, function()
- Library:ToggleUI()
- end)
- -- SwordBurst.Lua
- local YukiWare = Instance.new("ScreenGui")
- YukiWare.Name = "YukiWare"
- YukiWare.Parent = game.CoreGui
- YukiWare.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- -- Definição do botão
- local Main = Instance.new("Frame")
- Main.Name = "Main"
- Main.Parent = YukiWare
- Main.ClipsDescendants = false
- Main.AnchorPoint = Vector2.new(0.5, 0.5)
- Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Main.Position = UDim2.new(0.1, 0, 0.1, 0) -- Alterado para coordenadas relativas
- Main.Size = UDim2.new(0, 32, 0, 32)
- Main.Transparency = 1
- local Corner = Instance.new("UICorner")
- Corner.Name = "Corner"
- Corner.Parent = Main
- CornerRadius = 0.4
- local Button = Instance.new("TextButton")
- Button.Name = "Button"
- Button.Parent = Main
- Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Button.Position = UDim2.new(0, 0, 0, 0)
- Button.Size = UDim2.new(1, 0, 1, 0)
- Button.Font = Enum.Font.SourceSans
- Button.Text = "YW"
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextSize = 19
- Button.Transparency = 0.4
- Button.TextTransparency = 0
- local ButtonCorner = Instance.new("UICorner")
- Corner.Name = "Corner"
- Corner.Parent = Button
- CornerRadius = 0.4
- -- Variáveis para controle de arrastar
- local dragging
- local dragStart
- local startPos
- -- Função para iniciar o arrastar
- local function startDrag(input)
- dragging = true
- startPos = Main.Position
- dragStart = input.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- -- Função para atualizar a posição durante o arrastar
- local function updateDrag(input)
- if dragging then
- local delta = input.Position - dragStart
- Main.Position = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- end
- end
- -- Conectar eventos de mouse para arrastar o botão
- Button.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- startDrag(input)
- end
- end)
- Button.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- updateDrag(input)
- end
- end)
- Button.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = false
- end
- end)
- -- Função para enviar o evento de tecla ao pressionar o botão
- Button.MouseButton1Click:Connect(function()
- game:GetService("VirtualInputManager"):SendKeyEvent(true, "F6", false, game)
- end)
- -- Animação de deslizamento do botão
- Button.MouseEnter:Connect(function()
- Button.Size = UDim2.new(1.1, 0, 1.1, 0)
- Button.Position = UDim2.new(-0.05, 0, 0, 0)
- end)
- Button.MouseLeave:Connect(function()
- Button.Size = UDim2.new(1, 0, 1, 0)
- Button.Position = UDim2.new(0, 0, 0, 0)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement