-- [[ Vylera Hub: Ninja Legends Source Code ]] --
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("Vylera Hub | Ninja Legends", "DarkTheme")
-- [[ TABS ]] --
local Main = Window:NewTab("Main")
local Elements = Window:NewTab("Elements")
local Chests = Window:NewTab("Chests")
local Combat = Window:NewTab("Combat")
local Misc = Window:NewTab("Misc")
-- [[ SECTIONS ]] --
local MainSection = Main:NewSection("Auto Farm")
local ElementsSection = Elements:NewSection("Auto Buy Elements")
local ChestsSection = Chests:NewSection("Auto Collect Chests")
local CombatSection = Combat:NewSection("Combat Utilities")
local MiscSection = Misc:NewSection("Miscellaneous")
-- [[ VARIABLES ]] --
getgenv().AutoSwing = false
getgenv().AutoSell = false
getgenv().AutoBuyNinjutsu = false
getgenv().AutoBuySwords = false
getgenv().AutoBuyRank = false
getgenv().AutoBuyBelts = false
getgenv().AutoBuyShurikens = false
getgenv().AutoEvolvePets = false
getgenv().AutoElements = false
getgenv().AutoChests = false
-- [[ MAIN FUNCTIONS ]] --
-- Auto Swing (Авто-удары)
MainSection:NewToggle("Auto Swing", "Automatically swings your weapon", function(state)
getgenv().AutoSwing = state
task.spawn(function()
while getgenv().AutoSwing do
local args = { [1] = "swingNinjaWeapon" }
game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(unpack(args))
task.wait(0.1)
end
end)
end)
-- Auto Sell (Авто-продажа)
MainSection:NewToggle("Auto Sell", "Automatically sells your ninjutsu", function(state)
getgenv().AutoSell = state
task.spawn(function()
while getgenv().AutoSell do
if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
-- Телепорт на спавн-зону продажи для надежности
local currentPos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 3, 0) -- Стандартные координаты Sell
task.wait(0.2)
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = currentPos
end
task.wait(1)
end
end)
end)
-- Auto Buy Swords (Авто-покупка мечей)
MainSection:NewToggle("Auto Buy Swords", "Automatically buys the next sword", function(state)
getgenv().AutoBuySwords = state
task.spawn(function()
while getgenv().AutoBuySwords do
game:GetService("Players").LocalPlayer.ninjaEvent:FireServer("buyNextSword")
task.wait(0.5)
end
end)
end)
-- Auto Buy Belts (Авто-покупка поясов)
MainSection:NewToggle("Auto Buy Belts", "Automatically buys the next belt", function(state)
getgenv().AutoBuyBelts = state
task.spawn(function()
while getgenv().AutoBuyBelts do
game:GetService("Players").LocalPlayer.ninjaEvent:FireServer("buyNextBelt")
task.wait(0.5)
end
end)
end)
-- Auto Buy Ranks (Авто-покупка рангов)
MainSection:NewToggle("Auto Buy Ranks", "Automatically buys the next rank", function(state)
getgenv().AutoBuyRank = state
task.spawn(function()
while getgenv().AutoBuyRank do
game:GetService("Players").LocalPlayer.ninjaEvent:FireServer("buyNextRank")
task.wait(0.8)
end
end)
end)
-- [[ ELEMENTS TAB ]] --
ElementsSection:NewToggle("Auto Unlock Elements", "Unlocks all elements automatically", function(state)
getgenv().AutoElements = state
task.spawn(function()
local elements = {"Inferno", "Frost", "Lightning", "Shadow", "Mastery"}
while getgenv().AutoElements do
for _, element in pairs(elements) do
game:GetService("Players").LocalPlayer.ninjaEvent:FireServer("unlockElement", element)
end
task.wait(2)
end
end)
end)
-- [[ CHESTS TAB ]] --
ChestsSection:NewToggle("Auto Collect All Chests", "Teleports and collects all map chests", function(state)
getgenv().AutoChests = state
task.spawn(function()
while getgenv().AutoChests do
local chests = game:GetService("Workspace"):FindFirstChild("ChestRewards")
if chests then
for _, chest in pairs(chests:GetChildren()) do
if chest:FindFirstChild("circleInner") and game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = chest.circleInner.CFrame
task.wait(0.3)
end
end
end
task.wait(10) -- Интервал проверки сундуков
end
end)
end)
-- [[ COMBAT TAB ]] --
CombatSection:NewButton("Kill All (Requires Weapon)", "Attacks nearby players", function()
local localPlayer = game:GetService("Players").LocalPlayer
for _, player in pairs(game:GetService("Players"):GetPlayers()) do
if player ~= localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
-- Логика хитбокса / атаки игрока
local args = {
[1] = "strikePlayer",
[2] = player.Character.HumanoidRootPart
}
localPlayer.ninjaEvent:FireServer(unpack(args))
end
end
end)
-- [[ MISC TAB ]] --
MiscSection:NewSlider("WalkSpeed", "Changes your character speed", 250, 16, function(s)
game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = s
end)
MiscSection:NewSlider("JumpPower", "Changes your jump power", 300, 50, function(s)
game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = s
end)
MiscSection:NewButton("Unlock All Islands", "Teleports to all islands once to unlock them", function()
local islands = game:GetService("Workspace"):FindFirstChild("IslandBoards")
if islands then
for _, island in pairs(islands:GetChildren()) do
if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = island.CFrame + Vector3.new(0, 10, 0)
task.wait(0.5)
end
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!