Advertisement
1zxyuuki

Untitled

Mar 2nd, 2024 (edited)
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.01 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("AU Reborn", "DarkTheme")
  3. local Tab = Window:NewTab("Player")
  4. local A = Tab:NewSection("Player shit")
  5.  
  6.  
  7.  
  8. A:NewToggle("Invisibility", "", function(t)
  9. if t then
  10. A = Instance.new("Part", workspace)
  11. A.Anchored = true
  12. A.Size = Vector3.new(2000,1,2000)
  13. A.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,-45,0)
  14. task.wait(.1)
  15. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,-44,0)
  16. task.wait(.1)
  17. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.Part1 = nil
  18. task.wait(.1)
  19. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,47,0)
  20. else
  21. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.Part1 = game.Players.LocalPlayer.Character.Torso
  22. end
  23. end)
  24.  
  25. A:NewLabel("Fighting")
  26.  
  27. -- selected player
  28. Selected = nil
  29. Type = "Behind"
  30. Distance = 5
  31.  
  32. function SearchPlayer(Name)
  33. local ClosestMatch = nil
  34. local ClosestLetters = 0
  35. for i,v in pairs(game.Players:GetPlayers()) do
  36. local matched_letters = 0
  37. for i = 1, #Name do
  38. if string.sub(Name:lower(), 1, i) == string.sub(v.Name:lower(), 1, i) then
  39. matched_letters = i
  40. end
  41. end
  42. if matched_letters > ClosestLetters then
  43. ClosestLetters = matched_letters
  44. ClosestMatch = v
  45. end
  46. end
  47. return ClosestMatch
  48. end
  49.  
  50. local TextB;
  51. TextB = A:NewTextBox("Select Player", "dont need full name", function(text)
  52. pcall(function()
  53. local PossiblePlayer = SearchPlayer(text)
  54.  
  55. if PossiblePlayer then
  56. Selected = PossiblePlayer.Name
  57. TextB:Update(PossiblePlayer.Name)
  58. end
  59. end)
  60. end)
  61.  
  62. local M1 = true
  63. local A1 = false
  64. local A2 = false
  65. local A3 = false
  66. local A4 = false
  67. local G = false
  68.  
  69. A:NewDropdown("Select Attack-Type","",{"Behind","Under","Front","Direct"},function(t)
  70. Type = t
  71. end)
  72.  
  73. A:NewToggle("Auto Attack", "", function(t)
  74. _G.AA = t
  75. while _G.AA == true do game:GetService("RunService").RenderStepped:Wait()
  76. if Type == "Under" then
  77. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame * CFrame.Angles(math.rad(90),0,0) - Vector3.new(0,Distance,0)
  78. end
  79. if Type == "Behind" then
  80. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame - workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame.LookVector * Distance
  81. end
  82. if Type == "Front" then
  83. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame + workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame.LookVector * Distance
  84. end
  85. if Type == "Direct" then
  86. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:FindFirstChild(Selected).HumanoidRootPart.CFrame
  87. end
  88. if M1 == true then
  89. local args = {
  90. [1] = {
  91. ["HoldingSpace"] = false,
  92. ["Aerial"] = false
  93. }
  94. }
  95.  
  96. game:GetService("ReplicatedStorage").Remotes.Combat:FireServer(unpack(args))
  97. end
  98. task.wait()
  99. if A1 == true then
  100. game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("1", workspace:FindFirstChild(Selected).Torso.Position)
  101. end
  102. task.wait()
  103. if A2 == true then
  104. game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("2", workspace:FindFirstChild(Selected).Torso.Position)
  105. end
  106. task.wait()
  107. if A3 == true then
  108. game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("3", workspace:FindFirstChild(Selected).Torso.Position)
  109. end
  110. task.wait()
  111. if A4 == true then
  112. game:GetService("ReplicatedStorage").Remotes.Skill:FireServer("4", workspace:FindFirstChild(Selected).Torso.Position)
  113. end
  114. end
  115. end)
  116.  
  117. A:NewSlider("Distance", "", 16,3, function(t)
  118. Distance = t
  119. end)
  120.  
  121. A:NewToggle("Toggle M1", "", function(t)
  122. M1 = t
  123. end)
  124.  
  125. A:NewToggle("Toggle Skill 1", "", function(t)
  126. A1 = t
  127. end)
  128.  
  129. A:NewToggle("Toggle Skill 2", "", function(t)
  130. A2 = t
  131. end)
  132.  
  133. A:NewToggle("Toggle Skill 3", "", function(t)
  134. A3 = t
  135. end)
  136.  
  137. A:NewToggle("Toggle Skill 4", "", function(t)
  138. A4 = t
  139. end)
  140.  
  141. A:NewToggle("Toggle Awakening", "", function(t)
  142. G = t
  143. end)
  144.  
  145.  
  146. A:NewButton("TP to Training", "", function()
  147. game:GetService("TeleportService"):Teleport(10393542610)
  148. end)
  149.  
  150. A:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F6, function()
  151. Library:ToggleUI()
  152. end)
  153.  
  154. -- SwordBurst.Lua
  155. local YukiWare = Instance.new("ScreenGui")
  156. YukiWare.Name = "YukiWare"
  157. YukiWare.Parent = game.CoreGui
  158. YukiWare.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  159.  
  160. -- Definição do botão
  161. local Main = Instance.new("Frame")
  162. Main.Name = "Main"
  163. Main.Parent = YukiWare
  164. Main.ClipsDescendants = false
  165. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  166. Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  167. Main.Position = UDim2.new(0.1, 0, 0.1, 0) -- Alterado para coordenadas relativas
  168. Main.Size = UDim2.new(0, 32, 0, 32)
  169. Main.Transparency = 1
  170.  
  171. local Corner = Instance.new("UICorner")
  172. Corner.Name = "Corner"
  173. Corner.Parent = Main
  174. CornerRadius = 0.4
  175.  
  176. local Button = Instance.new("TextButton")
  177. Button.Name = "Button"
  178. Button.Parent = Main
  179. Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  180. Button.Position = UDim2.new(0, 0, 0, 0)
  181. Button.Size = UDim2.new(1, 0, 1, 0)
  182. Button.Font = Enum.Font.SourceSans
  183. Button.Text = "YW"
  184. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  185. Button.TextSize = 19
  186. Button.Transparency = 0.4
  187. Button.TextTransparency = 0
  188.  
  189. local ButtonCorner = Instance.new("UICorner")
  190. Corner.Name = "Corner"
  191. Corner.Parent = Button
  192. CornerRadius = 0.4
  193.  
  194. -- Variáveis para controle de arrastar
  195. local dragging
  196. local dragStart
  197. local startPos
  198.  
  199. -- Função para iniciar o arrastar
  200. local function startDrag(input)
  201. dragging = true
  202. startPos = Main.Position
  203. dragStart = input.Position
  204. input.Changed:Connect(function()
  205. if input.UserInputState == Enum.UserInputState.End then
  206. dragging = false
  207. end
  208. end)
  209. end
  210.  
  211. -- Função para atualizar a posição durante o arrastar
  212. local function updateDrag(input)
  213. if dragging then
  214. local delta = input.Position - dragStart
  215. Main.Position = UDim2.new(
  216. startPos.X.Scale,
  217. startPos.X.Offset + delta.X,
  218. startPos.Y.Scale,
  219. startPos.Y.Offset + delta.Y
  220. )
  221. end
  222. end
  223.  
  224. -- Conectar eventos de mouse para arrastar o botão
  225. Button.InputBegan:Connect(function(input)
  226. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  227. startDrag(input)
  228. end
  229. end)
  230.  
  231. Button.InputChanged:Connect(function(input)
  232. if input.UserInputType == Enum.UserInputType.MouseMovement then
  233. updateDrag(input)
  234. end
  235. end)
  236.  
  237. Button.InputEnded:Connect(function(input)
  238. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  239. dragging = false
  240. end
  241. end)
  242.  
  243. -- Função para enviar o evento de tecla ao pressionar o botão
  244. Button.MouseButton1Click:Connect(function()
  245. game:GetService("VirtualInputManager"):SendKeyEvent(true, "F6", false, game)
  246. end)
  247.  
  248. -- Animação de deslizamento do botão
  249. Button.MouseEnter:Connect(function()
  250. Button.Size = UDim2.new(1.1, 0, 1.1, 0)
  251. Button.Position = UDim2.new(-0.05, 0, 0, 0)
  252. end)
  253.  
  254. Button.MouseLeave:Connect(function()
  255. Button.Size = UDim2.new(1, 0, 1, 0)
  256. Button.Position = UDim2.new(0, 0, 0, 0)
  257. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement