Advertisement
kingmohamed

Saber Simulator

Jan 21st, 2025 (edited)
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 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("[UPDATE] Saber Simulator", "DarkTheme")
  3.  
  4. -- Main Tab
  5. local Main = Window:NewTab("Main")
  6. local MainSection = Main:NewSection("Main")
  7. MainSection:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F, function() Library:ToggleUI() end)
  8.  
  9. -- Auto Swing
  10. MainSection:NewToggle("Auto Swing", "Automatically swings your saber", function(v)
  11. getgenv().Swing = v
  12. while getgenv().Swing do
  13. game:GetService("ReplicatedStorage").Events.Clicked:FireServer()
  14. game:GetService("RunService").Heartbeat:Wait()
  15. end
  16. end)
  17.  
  18. -- Auto Buy Features
  19. MainSection:NewToggle("Auto Buy Saber", "Automatically buys the best saber", function(v)
  20. getgenv().b = v
  21. if v then
  22. while getgenv().b do
  23. game:GetService("ReplicatedStorage").Events.BuyAll:FireServer("Swords")
  24. wait(3)
  25. end
  26. end
  27. end)
  28.  
  29. -- Auto Buy DNA
  30. MainSection:NewToggle("Auto Buy DNA", "Automatically buys the best DNA", function(v)
  31. getgenv().c = v
  32. if v then
  33. while getgenv().c do
  34. game:GetService("ReplicatedStorage").Events.BuyAll:FireServer("Backpacks")
  35. wait(3)
  36. end
  37. end
  38. end)
  39.  
  40. -- Eggs and Pets
  41. local eggsList = {}
  42. for i, v in pairs(game:GetService("ReplicatedStorage").Eggs:GetChildren()) do
  43. if v:IsA("Folder") then table.insert(eggsList, v.Name) end
  44. end
  45.  
  46. MainSection:NewDropdown("Eggs", "Select an egg to auto-open", eggsList, function(c) Eggs = c end)
  47. MainSection:NewToggle("Auto Open Egg", "Automatically opens selected eggs", function(v)
  48. getgenv().pets = v
  49. while getgenv().pets do
  50. local eggInstance = game:GetService("ReplicatedStorage").Eggs[Eggs]
  51. game:GetService("ReplicatedStorage").Events.HatchEggs:InvokeServer(eggInstance, 1)
  52. game:GetService("RunService").Heartbeat:Wait()
  53. end
  54. end)
  55.  
  56. -- Misc Tab
  57. local Misc = Window:NewTab("Misc")
  58. local MiscSection = Misc:NewSection("Miscellaneous")
  59. MiscSection:NewButton("Go to King of Hill", "Teleports you to the King of the Hill area", function()
  60. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(790.539, 249.753, 32.121)
  61. end)
  62.  
  63. MiscSection:NewButton("Go to Sell Area", "Teleports you to the sell area", function()
  64. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").SellArea.CFrame
  65. end)
  66.  
  67. -- Player Tab
  68. local Player = Window:NewTab("Player")
  69. local PlayerSection = Player:NewSection("Player")
  70. PlayerSection:NewSlider("Walk Speed", "Adjust your walk speed", 0, 200, 50, function(v)
  71. pcall(function()
  72. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = v
  73. end)
  74. end)
  75.  
  76. PlayerSection:NewSlider("Jump Power", "Adjust your jump power", 0, 200, 50, function(v)
  77. pcall(function()
  78. game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = v
  79. end)
  80. end)
  81.  
  82. -- Teleport Tab
  83. local TeleT = Window:NewTab("Teleport")
  84. local TeleSE = TeleT:NewSection("Teleport!")
  85. local player = game.Players.LocalPlayer
  86.  
  87. -- Teleport Button for Island
  88. local island = game:GetService("Workspace"):WaitForChild("IslandDoors")
  89. for _, v in pairs(island:GetDescendants()) do
  90. if v:IsA("CFrameValue") and v.Name == "P2" then
  91. local islandName = v.Parent.Name
  92. local buttonLabel = "Teleport to: " .. islandName
  93. local buttonInfo = "Click to teleport to " .. islandName
  94. TeleSE:NewButton(buttonLabel, buttonInfo, function()
  95. if typeof(v.Value) == "CFrame" then
  96. player.Character:MoveTo(v.Value.Position)
  97. else
  98. print("Invalid CFrame value for " .. islandName)
  99. end
  100. end)
  101. end
  102. end
  103.  
  104. -- Discord Tab
  105. local Discord = Window:NewTab("Discord")
  106. local DiscordSection = Discord:NewSection("Discord")
  107. DiscordSection:NewButton("Copy Discord Invite", "Copies the invite to your clipboard", function()
  108. setclipboard("https://discord.gg/wk7Wer9rGk")
  109. Library:Notify("Discord invite copied!", 3)
  110. end)
  111.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement