Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- JayRBLX Script for Ninja Legends
- -- Load Rayfield UI Library
- local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/UI-Interface/CustomFIeld/main/RayField.lua'))()
- -- Create Window
- local Window = Rayfield:CreateWindow({
- Name = "JayRBLX Script - Ninja Legends",
- LoadingTitle = "Loading JayRBLX Interface",
- LoadingSubtitle = "by JayRBLX",
- ConfigurationSaving = {
- Enabled = false,
- FolderName = nil,
- FileName = "JayRBLX"
- },
- Discord = {
- Enabled = false,
- Invite = "noinv",
- RememberJoins = true
- },
- KeySystem = true, -- Set this to true to use our key system
- KeySettings = {
- Title = "JayRBLX Key System",
- Subtitle = "Key System",
- Note = "Join our discord to get the key! https://discord.gg/KPUPp4m9pJ",
- FileName = "JayRBLXKey",
- SaveKey = false,
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = "Jcheeks130"
- }
- })
- -- Services
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local rootpart = character:WaitForChild("HumanoidRootPart")
- -- Remotes (based on common Ninja Legends remotes)
- local remotes = ReplicatedStorage:WaitForChild("Remotes")
- local combatRemote = remotes:WaitForChild("Combat"):WaitForChild("RemoteEvent")
- local coinCollectRemote = remotes:WaitForChild("CoinCollectEvent")
- local chiCollectRemote = remotes:WaitForChild("ChiCollectEvent")
- local sellRemote = remotes:WaitForChild("SellEvent")
- local rebirthRemote = remotes:WaitForChild("RebirthEvent")
- local unlockIslandRemote = remotes:WaitForChild("UnlockIslandEvent") -- Assumed
- local buyPetRemote = remotes:WaitForChild("BuyPetEvent") -- Assumed
- local evolvePetRemote = remotes:WaitForChild("EvolvePetEvent") -- Assumed
- local equipPetRemote = remotes:WaitForChild("EquipPetEvent") -- Assumed
- local levelPetRemote = remotes:WaitForChild("LevelPetEvent") -- Assumed
- local addCoinsRemote = remotes:WaitForChild("AddCoinsEvent") -- Assumed for inf coins
- local addGemsRemote = remotes:WaitForChild("AddGemsEvent") -- Assumed
- local resetCoinsRemote = remotes:WaitForChild("ResetCoinsEvent") -- Assumed
- local resetGemsRemote = remotes:WaitForChild("ResetGemsEvent") -- Assumed
- local unlockMasteryRemote = remotes:WaitForChild("UnlockMasteryEvent") -- Assumed
- local buySwordRemote = remotes:WaitForChild("BuySwordEvent") -- Assumed
- local buyBeltRemote = remotes:WaitForChild("BuyBeltEvent") -- Assumed
- -- Islands list
- local islands = {
- "Enchanted Island",
- "Astral Island",
- "Mystical Island",
- "Space Island",
- "Tundra Island",
- "Eternal Island",
- "Sandstorm Island",
- "Thunderstorm Island",
- "Ancient Inferno Island",
- "Midnight Shadow Island",
- "Mythical Souls Island",
- "Winter Wonderland Island",
- "Golden Master Island",
- "Dragon Legend Island",
- "Cybernetic Legends Island",
- "Skystorm Ultraus Island",
- "Chaos Legends Island",
- "Soul Fusion Island",
- "Dark Elements Island",
- "Inner Peace Island"
- }
- -- Pets list (partial from research)
- local pets = {
- "Red Kitty",
- "Yellow Squeak",
- "Blue Birdie",
- "Green Bunny",
- "Dark Golem",
- "Orange Birdie",
- "Tan Dog",
- "Red Golem",
- "Yellow Butterfly",
- "Purple Falcon",
- "White Pegasus",
- "Purple Birdie",
- "Silver Dog",
- "Blue Hedgehog",
- "Green Vampy",
- "Dark Vamp",
- "Purple Angel"
- }
- -- Variables for toggles
- local autoSwing = false
- local autoCollectCoins = false
- local autoCollectChi = false
- local autoSell = false
- local autoLoops = false
- local autoCollectChests = false
- local autoRebirth = false
- local autoEvolvePets = false
- local autoEquipBestPets = false
- local autoLevelPets = false
- local infiniteJump = false
- local highJump = false
- local jumpConnection
- -- Function to teleport to island top
- local function teleportToIsland(islandName)
- local island = workspace.Islands:FindFirstChild(islandName)
- if island then
- local spawnPart = island:FindFirstChild("Spawn") or island.PrimaryPart or island:FindFirstChildOfClass("Part")
- if spawnPart then
- rootpart.CFrame = spawnPart.CFrame + Vector3.new(0, 10, 0)
- end
- end
- end
- -- Unlock all islands
- local function unlockAllIslands()
- for _, islandName in ipairs(islands) do
- pcall(function()
- unlockIslandRemote:FireServer(islandName)
- end)
- end
- end
- -- Inf coins (fire add coins many times)
- local function giveInfCoins()
- for i = 1, 10000 do
- pcall(function()
- addCoinsRemote:FireServer(1000000)
- end)
- wait(0.01)
- end
- end
- -- Inf gems
- local function giveInfGems()
- for i = 1, 10000 do
- pcall(function()
- addGemsRemote:FireServer(1000000)
- end)
- wait(0.01)
- end
- end
- -- Unlock all masteries (assume list)
- local masteries = {"Strength", "Speed", "Etc"} -- Placeholder
- local function unlockAllMasteries()
- for _, mastery in ipairs(masteries) do
- pcall(function()
- unlockMasteryRemote:FireServer(mastery)
- end)
- end
- end
- -- Unlock all swords and belts (placeholder)
- local swords = {"Katana", "Ninja Sword"} -- Placeholder
- local belts = {"White Belt", "Black Belt"} -- Placeholder
- local function unlockAllSwords()
- for _, sword in ipairs(swords) do
- pcall(function()
- buySwordRemote:FireServer(sword)
- end)
- end
- end
- local function unlockAllBelts()
- for _, belt in ipairs(belts) do
- pcall(function()
- buyBeltRemote:FireServer(belt)
- end)
- end
- end
- -- Add specific coins
- local function addCoins(amount)
- pcall(function()
- addCoinsRemote:FireServer(tonumber(amount))
- end)
- end
- -- Reset coins
- local function resetCoins()
- pcall(function()
- resetCoinsRemote:FireServer()
- end)
- end
- -- Reset gems
- local function resetGems()
- pcall(function()
- resetGemsRemote:FireServer()
- end)
- end
- -- Auto swing loop
- spawn(function()
- while true do
- if autoSwing then
- pcall(function()
- combatRemote:FireServer()
- end)
- end
- wait(0.1)
- end
- end)
- -- Auto collect coins (teleport to them)
- spawn(function()
- while true do
- if autoCollectCoins then
- for _, coin in ipairs(workspace.Coins:GetChildren()) do
- if coin:IsA("Part") then
- rootpart.CFrame = coin.CFrame
- coinCollectRemote:FireServer(coin)
- wait(0.1)
- end
- end
- end
- wait(1)
- end
- end)
- -- Auto collect chi similar
- spawn(function()
- while true do
- if autoCollectChi then
- for _, chi in ipairs(workspace.Chi:GetChildren()) do
- if chi:IsA("Part") then
- rootpart.CFrame = chi.CFrame
- chiCollectRemote:FireServer(chi)
- wait(0.1)
- end
- end
- end
- wait(1)
- end
- end)
- -- Auto sell (tp to sell area, fire sell)
- local sellPosition = workspace.SellArea.Position -- Assume
- spawn(function()
- while true do
- if autoSell then
- rootpart.CFrame = CFrame.new(sellPosition + Vector3.new(0,5,0))
- sellRemote:FireServer()
- wait(2)
- end
- wait(1)
- end
- end)
- -- Auto loops (tp to hoops)
- local function tpToLoops()
- for _, hoop in ipairs(workspace.Hoops:GetChildren()) do
- rootpart.CFrame = hoop.CFrame + Vector3.new(0,10,0)
- wait(1)
- end
- end
- spawn(function()
- while true do
- if autoLoops then
- tpToLoops()
- end
- wait(5)
- end
- end)
- -- Auto collect chests
- spawn(function()
- while true do
- if autoCollectChests then
- for _, islandName in ipairs(islands) do
- teleportToIsland(islandName)
- wait(1)
- -- Assume collect chest remote
- local chestRemote = remotes.CollectChestEvent
- pcall(function()
- chestRemote:FireServer(islandName)
- end)
- end
- end
- wait(10)
- end
- end)
- -- Auto rebirth
- spawn(function()
- while true do
- if autoRebirth then
- rebirthRemote:FireServer()
- wait(1)
- end
- wait(60) -- Rebirth takes time
- end
- end)
- -- Auto evolve pets
- spawn(function()
- while true do
- if autoEvolvePets then
- -- Assume get pets and evolve
- for _, pet in ipairs(player.Pets:GetChildren()) do
- pcall(function()
- evolvePetRemote:FireServer(pet.Name)
- end)
- end
- end
- wait(5)
- end
- end)
- -- Auto equip best pets (placeholder, assume sort and equip top 3)
- spawn(function()
- while true do
- if autoEquipBestPets then
- -- Placeholder: equip first 3
- for i = 1, 3 do
- local pet = player.Pets:GetChildren()[i]
- if pet then
- equipPetRemote:FireServer(pet.Name)
- end
- end
- end
- wait(10)
- end
- end)
- -- Auto level all pets
- spawn(function()
- while true do
- if autoLevelPets then
- for _, pet in ipairs(player.Pets:GetChildren()) do
- pcall(function()
- levelPetRemote:FireServer(pet.Name)
- end)
- end
- end
- wait(1)
- end
- end)
- -- Infinite jump
- UserInputService.JumpRequest:Connect(function()
- if infiniteJump and humanoid then
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- -- High jump toggle
- local function toggleHighJump(value)
- if value then
- humanoid.JumpPower = 100
- else
- humanoid.JumpPower = 50
- end
- end
- -- Tabs
- -- Home Tab
- local HomeTab = Window:CreateTab("Home", 4483362458) -- Icon
- local HomeSection = HomeTab:CreateSection("Welcome")
- HomeTab:CreateParagraph({Title = "Warning", Content = "This script is for educational purposes only. Use at your own risk. May result in bans."})
- HomeTab:CreateButton({
- Name = "Copy Discord Link",
- Callback = function()
- setclipboard("https://discord.gg/KPUPp4m9pJ")
- Rayfield:Notify({
- Title = "Copied!",
- Content = "Discord link copied to clipboard.",
- Duration = 3,
- Image = 4483362458,
- })
- end,
- })
- -- Main Tab
- local MainTab = Window:CreateTab("Main")
- local MainSection = MainTab:CreateSection("Maps & Jumps")
- MainTab:CreateButton({
- Name = "Unlock All Maps",
- Callback = function()
- unlockAllIslands()
- Rayfield:Notify({
- Title = "Unlocked!",
- Content = "All maps unlocked.",
- Duration = 3,
- })
- end,
- })
- local mapDropdown
- mapDropdown = MainTab:CreateDropdown({
- Name = "Select Map to Teleport",
- Options = islands,
- CurrentOption = islands[1],
- Callback = function(Option)
- teleportToIsland(Option)
- end,
- })
- MainTab:CreateToggle({
- Name = "Infinite Jump",
- CurrentValue = false,
- Callback = function(Value)
- infiniteJump = Value
- end,
- })
- MainTab:CreateToggle({
- Name = "High Jump",
- CurrentValue = false,
- Callback = function(Value)
- toggleHighJump(Value)
- end,
- })
- -- Coins and Gems Tab
- local CoinsTab = Window:CreateTab("Coins and Gems")
- local CoinsSection = CoinsTab:CreateSection("Coins & Gems")
- CoinsTab:CreateButton({
- Name = "Inf Coins (1M x10k)",
- Callback = function()
- giveInfCoins()
- end,
- })
- CoinsTab:CreateButton({
- Name = "Inf Gems (1M x10k)",
- Callback = function()
- giveInfGems()
- end,
- })
- CoinsTab:CreateButton({
- Name = "Unlock All Masteries",
- Callback = function()
- unlockAllMasteries()
- end,
- })
- CoinsTab:CreateButton({
- Name = "Unlock All Swords",
- Callback = function()
- unlockAllSwords()
- end,
- })
- CoinsTab:CreateButton({
- Name = "Unlock All Belts",
- Callback = function()
- unlockAllBelts()
- end,
- })
- local coinInput
- coinInput = CoinsTab:CreateInput({
- Name = "Amount of Coins",
- PlaceholderText = "Enter amount",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- addCoins(Text)
- end,
- })
- CoinsTab:CreateButton({
- Name = "Reset Coins",
- Callback = function()
- resetCoins()
- end,
- })
- CoinsTab:CreateButton({
- Name = "Reset Gems",
- Callback = function()
- resetGems()
- end,
- })
- -- Auto Farm Tab
- local FarmTab = Window:CreateTab("Auto Farm")
- local FarmSection = FarmTab:CreateSection("Auto Features")
- FarmTab:CreateToggle({
- Name = "Auto Swing Sword",
- CurrentValue = false,
- Callback = function(Value)
- autoSwing = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Collect Coins (TP)",
- CurrentValue = false,
- Callback = function(Value)
- autoCollectCoins = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Collect Chi (TP)",
- CurrentValue = false,
- Callback = function(Value)
- autoCollectChi = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Sell (TP)",
- CurrentValue = false,
- Callback = function(Value)
- autoSell = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Loops (Hoops)",
- CurrentValue = false,
- Callback = function(Value)
- autoLoops = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Collect Reward Chests (All Maps)",
- CurrentValue = false,
- Callback = function(Value)
- autoCollectChests = Value
- end,
- })
- FarmTab:CreateToggle({
- Name = "Auto Rebirth",
- CurrentValue = false,
- Callback = function(Value)
- autoRebirth = Value
- end,
- })
- -- Pets Tab
- local PetsTab = Window:CreateTab("Pets")
- local PetsSection = PetsTab:CreateSection("Pets")
- local petDropdown
- petDropdown = PetsTab:CreateDropdown({
- Name = "Select Pet to Buy",
- Options = pets,
- CurrentOption = pets[1],
- Callback = function(Option)
- -- Buy selected
- pcall(function()
- buyPetRemote:FireServer(Option)
- end)
- end,
- })
- PetsTab:CreateToggle({
- Name = "Auto Evolve Pets",
- CurrentValue = false,
- Callback = function(Value)
- autoEvolvePets = Value
- end,
- })
- PetsTab:CreateToggle({
- Name = "Auto Equip Best Pets",
- CurrentValue = false,
- Callback = function(Value)
- autoEquipBestPets = Value
- end,
- })
- PetsTab:CreateToggle({
- Name = "Auto Level All Pets",
- CurrentValue = false,
- Callback = function(Value)
- autoLevelPets = Value
- end,
- })
- -- Handle character respawn
- player.CharacterAdded:Connect(function(newChar)
- character = newChar
- humanoid = character:WaitForChild("Humanoid")
- rootpart = character:WaitForChild("HumanoidRootPart")
- if highJump then
- toggleHighJump(true)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment