Advertisement
ooppppad

ㅇㅁㅇㅁㅇ

Jul 23rd, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 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("Sword Simulatorㅣ made by ! what !#5307", "Sentinel")
  3.  
  4. --Tab
  5.  
  6. local Tab = Window:NewTab("Main")
  7. local Section = Tab:NewSection("Main")
  8.  
  9. Section:NewButton("auto sword", "auto sword", function()
  10. while wait() do
  11. workspace.sword.Handle.up.RemoteEvent:FireServer()
  12. wait(0.00000000000000000000000000000000000000000000000000000000000000000)
  13. end
  14. end)
  15.  
  16. Section:NewButton("Inf Jump", "Inf Jump", function()
  17. loadstring(game:HttpGet("https://pastebin.com/raw/HQsQysa8", true))()
  18. end)
  19.  
  20. Section:NewButton("Fly", "Fly", function()
  21. repeat wait()
  22. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  23. local mouse = game.Players.LocalPlayer:GetMouse()
  24. repeat wait() until mouse
  25. local plr = game.Players.LocalPlayer
  26. local torso = plr.Character.Head
  27. local flying = false
  28. local deb = true
  29. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  30. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  31. local maxspeed = 400
  32. local speed = 5000
  33.  
  34. function Fly()
  35. local bg = Instance.new("BodyGyro", torso)
  36. bg.P = 9e4
  37. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  38. bg.cframe = torso.CFrame
  39. local bv = Instance.new("BodyVelocity", torso)
  40. bv.velocity = Vector3.new(0,0.1,0)
  41. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  42. repeat wait()
  43. plr.Character.Humanoid.PlatformStand = true
  44. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  45. speed = speed+.5+(speed/maxspeed)
  46. if speed > maxspeed then
  47. speed = maxspeed
  48. end
  49. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  50. speed = speed-1
  51. if speed < 0 then
  52. speed = 0
  53. end
  54. end
  55. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  56. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  57. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  58. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  59. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  60. else
  61. bv.velocity = Vector3.new(0,0.1,0)
  62. end
  63. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  64. until not flying
  65. ctrl = {f = 0, b = 0, l = 0, r = 0}
  66. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  67. speed = 0
  68. bg:Destroy()
  69. bv:Destroy()
  70. plr.Character.Humanoid.PlatformStand = false
  71. end
  72. mouse.KeyDown:connect(function(key)
  73. if key:lower() == "f" then
  74. if flying then flying = false
  75. else
  76. flying = true
  77. Fly()
  78. end
  79. elseif key:lower() == "w" then
  80. ctrl.f = 1
  81. elseif key:lower() == "s" then
  82. ctrl.b = -1
  83. elseif key:lower() == "a" then
  84. ctrl.l = -1
  85. elseif key:lower() == "d" then
  86. ctrl.r = 1
  87. end
  88. end)
  89. mouse.KeyUp:connect(function(key)
  90. if key:lower() == "w" then
  91. ctrl.f = 0
  92. elseif key:lower() == "s" then
  93. ctrl.b = 0
  94. elseif key:lower() == "a" then
  95. ctrl.l = 0
  96. elseif key:lower() == "d" then
  97. ctrl.r = 0
  98. end
  99. end)
  100. end)
  101.  
  102. --Tab 1
  103.  
  104. local Tab = Window:NewTab("Misc")
  105. local Section = Tab:NewSection("Misc")
  106.  
  107. Section:NewSlider("walkspeed", "walkspeed", 500, 0, function(s) -- 500 (MaxValue) | 0 (MinValue)
  108. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
  109. end)
  110.  
  111. Section:NewSlider("jumppower", "jumppower", 500, 0, function(s) -- 500 (MaxValue) | 0 (MinValue)
  112. game.Players.LocalPlayer.Character.Humanoid.jumppower = s
  113. end)
  114.  
  115. local Tab = Window:NewTab("UI")
  116. local Section = Tab:NewSection("UI")
  117.  
  118. Section:NewKeybind("ToggleUi", "ToggleUi", Enum.KeyCode.F, function()
  119. Library:ToggleUI()
  120. end)
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement