Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local flat = loadstring(game:HttpGet("https://pastebin.com/raw/stikyhSj"))()
- local main = flat:Create(false, "XZBlade", "Q")
- local home_option = main:AddOption("Home")
- local buy_option = main:AddOption("Buy")
- local sell_option = main:AddOption("Sell")
- local rank_option = main:AddOption("Rank")
- local perks_option = main:AddOption("Perks")
- local player = game.Players.LocalPlayer
- local character = player.Character
- local gui = player.PlayerGui
- local ui = gui:FindFirstChild("UI")
- local upgrades = ui:FindFirstChild("Upgrade")
- local view = upgrades:FindFirstChild("View")
- local view_perks = view:FindFirstChild("Perks")
- local mouse = player:GetMouse()
- local runService = game:GetService("RunService")
- local rs = game:GetService("ReplicatedStorage")
- script.Parent = character
- local data = player.Data
- local stats = data.Stats
- local temp = data.Temp
- local found = data.Found
- local pets = data.Pets
- local gp = data.GP
- local collect = data.Collect
- local perks = data.Perks
- local m_handler = game.ReplicatedStorage.RF
- local m_utility = game.ReplicatedStorage.RE
- local sell_speed = (1/2)
- local rank_costs = {0, 2000000, 150000000, 11000000000, 850000000000, 63000000000000, 475000000000000, 3500000000000000, 26000000000000000, 2E+17, 1.5E+18, 2.5E+20, 2.5E+21, 9.25E+23, 2.5E+26, 1.5E+28, 3.5E+29, 5E+30, 6E+31, 8E+32, 6E+33, 8.5E+35, 1E+37, 3.5E+38, 7E+39, 7E+41, 2.6E+43, 2E+45, 1E+47, 7E+49, 7E+50, 1E+52, 9.5E+54, 9E+56, 1.8E+58, 2E+59, 4E+60, 8E+61, 5E+62, 6E+64, 8E+66, 3E+68, 6E+69, 2E+72, 7E+75, 3E+79, 5E+85, 7E+90, 4E+95, 5E+97, 2E+102, 6E+107, 1.5E+111, 4E+114, 1.2E+118, 3.5E+121, 9.7E+124, 2.5E+128, 7.3E+131, 1.8E+135, 6.3E+138, 1.5E+142, 4.6E+145, 1.3E+149, 4E+152}
- local jump_costs = {0, 5000, 30000, 120000, 350000, 10000000, 18000000, 35000000, 60000000, 140000000, 250000000, 500000000000, 3000000000000, 15000000000000, 2500000000000000, 8000000000000000, 15000000000000000, 8E+22, 5E+27, 1.5E+31, 1E+34, 1E+35, 1E+42, 1.1E+43, 5E+91, 1.1E+93}
- local rank_perks = {
- PetEvo = {
- Tag = "Pet Starting Evolution",
- Rarity = "Epic",
- Value = { 0, 1, 2 }
- },
- EggLuck = {
- Tag = "Egg Luck",
- Rarity = "Epic",
- Value = { 0, 0.01, 0.02 }
- },
- PetMulti = {
- Tag = "Pet Multiplier",
- Rarity = "Epic",
- Value = { 1, 2, 3 }
- },
- RankMulti = {
- Tag = "Rank Multiplier",
- Rarity = "Epic",
- Value = { 1, 2, 3 }
- },
- Power = {
- Tag = "Power",
- Rarity = "Rare",
- Value = { 1, 2, 4, 6, 9, 12 }
- },
- Coin = {
- Tag = "Coin",
- Rarity = "Rare",
- Value = { 1, 2, 4, 6, 9, 12 }
- },
- Gem = {
- Tag = "Gem",
- Rarity = "Rare",
- Value = { 1, 2, 4, 6, 9, 12 }
- },
- PetCarry = {
- Tag = "Pet Carry",
- Rarity = "Rare",
- Value = { 0, 1, 1, 1, 1 }
- },
- PetClone = {
- Tag = "Pet Clone",
- Rarity = "Rare",
- Value = { 0, 1, 2, 3, 4 }
- },
- EggHatch = {
- Tag = "Hatch Speed",
- Rarity = "Rare",
- Value = { 1, 1.333, 1.666, 2 }
- },
- Energy = {
- Tag = "Max Energy",
- Rarity = "Rare",
- Value = { 1, 2, 4, 6, 9, 12 }
- },
- BossDmg = {
- Tag = "Boss Damage",
- Rarity = "Rare",
- Value = { 0, 2, 4, 7, 10, 15 }
- },
- BladeCost = {
- Tag = "Blade Cost",
- Rarity = "Uncommon",
- Value = { 1, 0.9, 0.8, 0.7 }
- },
- EnergyCost = {
- Tag = "Energy Cost",
- Rarity = "Uncommon",
- Value = { 1, 0.9, 0.8, 0.7 }
- },
- JumpCost = {
- Tag = "Jump Cost",
- Rarity = "Uncommon",
- Value = { 1, 0.9, 0.8, 0.7 }
- },
- RankCost = {
- Tag = "Rank Cost",
- Rarity = "Uncommon",
- Value = { 1, 0.9, 0.8, 0.7 }
- },
- EggCost = {
- Tag = "Egg Cost",
- Rarity = "Uncommon",
- Value = { 1, 0.9, 0.8, 0.7 }
- },
- ThrowSpeed = {
- Tag = "Throw Speed",
- Rarity = "Uncommon",
- Value = { 1, 1.333, 1.666, 2 }
- },
- PetStorage = {
- Tag = "Pet Storage",
- Rarity = "Common",
- Value = { 0, 50, 50, 50, 50, 50, 50, 50 }
- },
- BladeRange = {
- Tag = "Blade Range",
- Rarity = "Common",
- Value = { 1, 1.333, 1.666, 2 }
- }
- }
- home_option:AddButton("Redeem Codes", function()
- local codes = {
- "snug",
- "telanthric",
- "vexsquad",
- "discord",
- "Thecookieboi",
- "million",
- "million2",
- "razor",
- "gamingdan",
- "secret",
- "TWITTER",
- "PlanetMilo"
- }
- for i,v in pairs(codes) do
- m_handler:InvokeServer("Codes", v)
- end
- end)
- home_option:AddButton("Unlock Islands", function()
- local n_islands = 21
- local n_island = 2
- for i = n_island, n_islands do
- m_utility:FireServer("UnlockWorld", i)
- end
- end)
- home_option:AddButton("Collect Chests", function()
- local chests = game.Workspace:FindFirstChild("Chest")
- for i,v in pairs(chests:GetChildren()) do
- m_handler:InvokeServer("Collect", v.Name)
- end
- end)
- local auto_throw_toggle = false
- home_option:AddToggle("Auto Throw", false, function(status)
- auto_throw_toggle = status
- while auto_throw_toggle do
- m_utility:FireServer("Throw", mouse.Hit.p)
- runService.Heartbeat:Wait()
- end
- end)
- local auto_evolve = false
- home_option:AddToggle("Auto Evolve Pets", false, function(returned)
- auto_evolve = returned
- while auto_evolve do
- m_handler:InvokeServer("EvolveAll")
- wait(1)
- end
- end)
- local auto_equip = false
- home_option:AddToggle("Auto Equip Pets", false, function(returned)
- auto_equip = returned
- while auto_equip do
- m_handler:InvokeServer("EquipBest")
- wait(1)
- end
- end)
- local auto_sell_toggle = false
- sell_option:AddToggle("Auto Sell", false, function(status)
- auto_sell_toggle = status
- end)
- local function getHighest(tab)
- local highest
- for i,v in pairs(tab) do
- if not highest or highest < v then
- highest = v
- end
- end
- return highest
- end
- spawn(function()
- while wait() do
- if auto_sell_toggle then
- local sellTable = {}
- for i,v in pairs(game.Workspace.Ignore.Rings:GetChildren()) do
- if v.Name:len() >= 5 then
- table.insert(sellTable, tonumber(v.Name:sub(1,-5)))
- end
- end
- local highestSellValue = getHighest(sellTable)
- m_handler:InvokeServer("SellPower", game.Workspace.Ignore.Rings[tostring(highestSellValue).."Sell"].Collider)
- wait(sell_speed)
- end
- end
- end)
- sell_option:AddSlider("Sell Speed", 1, 4, 2, function(value)
- sell_speed = (1/value)
- end)
- buy_option:AddButton("Buy Blades", function()
- m_handler:InvokeServer("BuyBlade", true)
- end)
- buy_option:AddButton("Buy Energy", function()
- m_handler:InvokeServer("BuyEnergy", true)
- end)
- buy_option:AddButton("Buy Jump", function()
- local user_coins = stats.Coins.Value
- local stats_jump_cost = perks.JumpCost
- local cost = math.floor(jump_costs[stats.Jump.Value + 1] * rank_perks[stats_jump_cost.Name].Value[stats_jump_cost.Value] + 0.5)
- if cost <= user_coins then
- m_handler:InvokeServer("BuyJump", true)
- else
- buy_option:SendAlert("[XZBlade.BuyJump]: Not enough coins. Cost: " .. cost, false, 3)
- end
- end)
- local buy_speed = (2/3)
- local auto_blade = false
- buy_option:AddToggle("Auto Buy Blades", false, function(value)
- auto_blade = value
- while auto_blade do
- m_handler:InvokeServer("BuyBlade", true)
- wait(buy_speed)
- end
- end)
- local auto_energy = false
- buy_option:AddToggle("Auto Buy Energy", false, function(value)
- auto_energy = value
- while auto_energy do
- m_handler:InvokeServer("BuyEnergy", true)
- wait(buy_speed)
- end
- end)
- local auto_rank = false
- buy_option:AddToggle("Auto Buy Ranks", false, function(value)
- auto_rank = value
- while auto_rank do
- local user_coins = stats.Coins.Value
- local stats_rank_cost = perks.RankCost
- local cost = math.floor(rank_costs[stats.Rank.Value + 1] * rank_perks[stats_rank_cost.Name].Value[stats_rank_cost.Value] + 0.5)
- if cost <= user_coins then
- m_handler:InvokeServer("BuyRank")
- end
- wait(buy_speed)
- end
- end)
- local auto_perk = false
- buy_option:AddToggle("Auto Buy Perks", false, function(value)
- auto_perk = value
- while auto_perk do
- for i = 1, 3 do
- m_handler:InvokeServer("BuyPerk", tostring(i))
- end
- wait(buy_speed)
- end
- end)
- buy_option:AddSlider("Buy Speed", 1, 4, 2, function(value)
- buy_speed = (2/value)
- end)
- rank_option:AddButton("Buy Rank", function()
- local user_coins = stats.Coins.Value
- local stats_rank_cost = perks.RankCost
- local cost = math.floor(rank_costs[stats.Rank.Value + 1] * rank_perks[stats_rank_cost.Name].Value[stats_rank_cost.Value] + 0.5)
- if cost <= user_coins then
- m_handler:InvokeServer("BuyRank")
- else
- buy_option:SendAlert("[XZBlade.BuyRank]: Not enough coins. Cost: " .. cost, false, 3)
- end
- end)
- local mt = getrawmetatable(game)
- if setreadonly then setreadonly(mt, false) else make_writeable(mt, true) end
- local namecallMethod = getnamecallmethod or get_namecall_method
- local ot = mt.__namecall
- mt.__namecall = function(self, ...)
- local args = {...}
- local method = namecallMethod()
- if tostring(method) == "Kick" then
- print('Kick attempt')
- return
- end
- return ot(self, ...)
- end
- local vu = game:GetService("VirtualUser")
- game:GetService("Players").LocalPlayer.Idled:connect(function()
- vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
- wait(1)
- vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
- end)
Add Comment
Please, Sign In to add comment