Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local flat_ui_lib = loadstring(game:HttpGet("https://pastebin.com/raw/stikyhSj"))()
- local characters = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "y", "x", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "!", "@", "#", "$", "%", "*", "/", "\"", "=", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}
- local random_str_output = ""
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)
- local anti_fall = loadstring(game:HttpGet("https://pastebin.com/raw/dEz9LFKu"))()
- anti_fall.Enable()
- for i = 1, math.random(5, 10) do
- local random_choice = math.random(1, #characters)
- local chosen = characters[random_choice]
- random_str_output = random_str_output .. chosen
- end
- print(random_str_output)
- local new_ui = flat_ui_lib:Create(false, random_str_output, "Q")
- local auto = new_ui:AddOption("Auto")
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoid = character:WaitForChild("Humanoid")
- local backpack = player.Backpack
- local data = player.data
- local current_weapon = data.currentWeapon
- local purchased_weapons = data.purchasedWeapons
- local weapon_buy_event = game:GetService("ReplicatedStorage").RemoteEvents.Weapons.Purchase
- local weapon_equip_event = game:GetService("ReplicatedStorage").RemoteEvents.Weapons.Equip
- function buyWeapon(weapon)
- weapon_buy_event:FireServer(weapon)
- end
- function equipWeapon(weapon)
- humanoid:EquipTool(weapon)
- end
- local weapon_info = {
- ["Stone Hammer"] = {
- ["Cost"] = 0,
- ["Bought"] = false,
- },
- ["Katana"] = {
- ["Cost"] = 1000,
- ["Bought"] = false,
- },
- ["Sun Blaze Rod"] = {
- ["Cost"] = 5000,
- ["Bought"] = false,
- },
- ["Wizard Scythe"] = {
- ["Cost"] = 20000,
- ["Bought"] = false,
- },
- ["UFO Scythe"] = {
- ["Cost"] = 50000,
- ["Bought"] = false,
- },
- ["Death Blade"] = {
- ["Cost"] = 80000,
- ["Bought"] = false,
- },
- ["Winter Blade"] = {
- ["Cost"] = 150000,
- ["Bought"] = false,
- },
- ["Omega Tri Blade"] = {
- ["Cost"] = 300000,
- ["Bought"] = false,
- },
- ["Crystalized Banner"] = {
- ["Cost"] = 550000,
- ["Bought"] = false,
- },
- ["Bubble Katana"] = {
- ["Cost"] = 10000000,
- ["Bought"] = false,
- },
- ["Bubble Scythe"] = {
- ["Cost"] = 2500000,
- ["Bought"] = false,
- },
- ["Fusion Banner"] = {
- ["Cost"] = 6500000,
- ["Bought"] = false,
- },
- ["Inferno Slammer"] = {
- ["Cost"] = 13500000,
- ["Bought"] = false,
- },
- ["Inferno Crusher"] = {
- ["Cost"] = 25000000,
- ["Bought"] = false,
- },
- ["Oceanic Slammer"] = {
- ["Cost"] = 50000000,
- ["Bought"] = false,
- },
- ["Coral Crusher"] = {
- ["Cost"] = 115000000,
- ["Bought"] = false,
- },
- ["Red Death"] = {
- ["Cost"] = 200000000,
- ["Bought"] = false,
- },
- ["Colorful Cutter"] = {
- ["Cost"] = 350000000,
- ["Bought"] = false,
- }
- }
- humanoid:UnequipTools()
- local tool = backpack:FindFirstChild(current_weapon.Value)
- local damage_event = tool:FindFirstChild("Damage")
- humanoid:EquipTool(tool)
- local npcs_folder = game.Workspace.Zones.npcSpawn
- local npcs = {}
- local npc_options = {}
- for i,v in pairs(npcs_folder:GetChildren()) do
- if not npcs[v.Name] then
- npcs[v.Name] = v.Name
- table.insert(npc_options, v.Name)
- end
- end
- local target = "New_Item"
- local new_target = npcs_folder:FindFirstChild(target)
- local target_alive = true
- local auto_farm = false
- auto:AddToggle("Auto Farm", false, function(returned)
- auto_farm = returned
- end)
- auto:AddDropdown("Select Target", npc_options, function(returned)
- target = returned
- target_alive = false
- end)
- spawn(function()
- while wait(0.2) do
- if auto_farm then
- if new_target and new_target.PrimaryPart ~= nil and target_alive then
- character.HumanoidRootPart.CFrame = (new_target.PrimaryPart.CFrame + new_target.PrimaryPart.CFrame.LookVector * -0.2) * CFrame.new(-1.5, 0, 1.5)
- damage_event:FireServer(new_target, current_weapon.Value)
- else
- if new_target then
- new_target:Destroy()
- end
- new_target = npcs_folder:FindFirstChild(target)
- target_alive = true
- end
- end
- end
- end)
- npcs_folder.ChildRemoved:Connect(function(child)
- if child == new_target then
- target_alive = false
- humanoid:UnequipTools()
- local best_tool = backpack:FindFirstChild(current_weapon.Value)
- wait()
- equipWeapon(best_tool)
- end
- end)
- function updateWeapons()
- for i,v in pairs(purchased_weapons:GetChildren()) do
- weapon_info[v.Name].Bought = v.Value
- humanoid:UnequipTools()
- local best_tool = backpack:FindFirstChild(current_weapon.Value)
- wait()
- equipWeapon(best_tool)
- end
- end
- updateWeapons()
- local buy = new_ui:AddOption("Buy")
- local auto_buy = false
- buy:AddToggle("Auto Buy Weapons", false, function(returned)
- auto_buy = returned
- end)
- spawn(function()
- while wait(0.5) do
- if auto_buy then
- local player_gold = data:FindFirstChild("💰Gold💰")
- for i,v in next, (weapon_info) do
- if not v.Bought and v.Cost <= player_gold.Value then
- buyWeapon(i)
- updateWeapons()
- humanoid:UnequipTools()
- tool = backpack:FindFirstChild(current_weapon.Value)
- damage_event = tool:FindFirstChild("Damage")
- humanoid:EquipTool(tool)
- end
- end
- end
- end
- end)
- local egg_info = {
- ["Egg1"] = {
- ["Name"] = "Egg1",
- ["Sub"] = "Common Egg",
- ["Cost"] = 500
- },
- ["Egg2"] = {
- ["Name"] = "Egg2",
- ["Sub"] = "Cyne Egg",
- ["Cost"] = 3000
- },
- ["Egg3"] = {
- ["Name"] = "Egg3",
- ["Sub"] = "Golem Egg",
- ["Cost"] = 10000
- },
- ["Egg4"] = {
- ["Name"] = "Egg4",
- ["Sub"] = "Altar Egg",
- ["Cost"] = 30000
- }
- }
- local egg_flags = {
- ["Egg1"] = false,
- ["Egg2"] = false,
- ["Egg3"] = false,
- ["Egg4"] = false
- }
- buy:AddToggle("Auto Buy Common Egg", false, function(returned)
- egg_flags["Egg1"] = returned
- end)
- buy:AddToggle("Auto Buy Cyne Egg", false, function(returned)
- egg_flags["Egg2"] = returned
- end)
- buy:AddToggle("Auto Buy Golem Egg", false, function(returned)
- egg_flags["Egg3"] = returned
- end)
- buy:AddToggle("Auto Buy Altar Egg", false, function(returned)
- egg_flags["Egg4"] = returned
- end)
- local egg_event = game:GetService("ReplicatedStorage").RemoteFunctions.Pets.CheckStats
- spawn(function()
- while wait(0.5) do
- local player_gold = data:FindFirstChild("💰Gold💰")
- for i,v in pairs(egg_info) do
- if v.Cost <= player_gold.Value then
- if egg_flags[v.Name] then
- egg_event:InvokeServer(v.Name)
- end
- end
- end
- end
- end)
- local pets = new_ui:AddOption("Pets")
- local pet_flags = {
- ["Common"] = false,
- ["Unique"] = false,
- ["Pure"] = false,
- ["Wrathful"] = false,
- ["EasyLeg"] = false
- }
- local pet_info = require(game:GetService("ReplicatedStorage").Aero.Shared.PetInfoModule)
- local easy_legendaries = {}
- for i1,v in pairs(pet_info) do
- for i2,j in pairs(v) do
- for i3,k in pairs(j) do
- if type(k) == "table" then
- for i4,l in next, k do
- if l[3] == "Legendary" then
- local d2 = l[2]
- local d1 = l[1]
- local percent = (d2 - d1)
- if percent >= 3 and string.sub(i4, 1, 2) ~= "MW" then
- table.insert(easy_legendaries, i4)
- end
- end
- end
- end
- end
- end
- end
- function getPetByName(pet_name)
- for i,v in pairs(pet_info) do
- for i,j in pairs(v) do
- for i,k in pairs(j) do
- if type(k) == "table" then
- for i4,l in next, k do
- if i4 == pet_name then
- return l
- end
- end
- end
- end
- end
- end
- end
- pets:AddToggle("Sell Commons", false, function(returned)
- pet_flags["Common"] = returned
- end)
- pets:AddToggle("Sell Uniques", false, function(returned)
- pet_flags["Unique"] = returned
- end)
- pets:AddToggle("Sell Pures", false, function(returned)
- pet_flags["Pure"] = returned
- end)
- pets:AddToggle("Sell Wrathful", false, function(returned)
- pet_flags["Wrathful"] = returned
- end)
- pets:AddToggle("Sell Easy Legendary", false, function(returned)
- pet_flags["EasyLeg"] = returned
- end)
- local rarity = 3
- local delete_pet_event = game:GetService("ReplicatedStorage").RemoteEvents.Pets.DeletePet
- function deletePet(pet_id)
- delete_pet_event:FireServer(tonumber(pet_id))
- end
- spawn(function()
- while wait(2) do
- local user_pets = data.Pets
- for i,v in pairs(user_pets:GetChildren()) do
- local pet_rarity = getPetByName(v.PetName.Value)[rarity]
- if pet_flags[pet_rarity] then
- deletePet(v)
- elseif pet_rarity == "Legendary" and pet_flags["EasyLeg"] then
- deletePet(v)
- end
- end
- end
- end)
- local codes = new_ui:AddOption("Codes")
- local codes_info = {
- "AQTIS",
- "WeRise!",
- "CHRIS",
- "LetsGO!"
- }
- local codes_function = game:GetService("ReplicatedStorage").RemoteFunctions.Codes
- codes:AddButton("Redeem Codes", function()
- for i,v in pairs(codes_info) do
- codes_function:InvokeServer(v)
- end
- end)
- local credits = new_ui:AddOption("Credits")
- credits:AddHeader("Credits To")
- credits:AddLabel("Kinlei#5790 - Scripter")
- credits:AddLabel("PlayAynsc - Don't Fall Module")
- credits:AddLabel("Interbyte Studio - Creating the Game")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement