--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local redzlib = loadstring(game:HttpGet("https://[Log in to view URL]"))()

local Window = redzlib:MakeWindow({
  Title = "Scorpio Hub : Universal Bronx 3 Script",
  SubTitle = "by Scorpio",
  SaveFolder = "testando | redz lib v5.lua"
})
Window:AddMinimizeButton({
    Button = { 
        Image = "rbxassetid://81817688420352", 
        BackgroundTransparency = 0,
        Size = UDim2.new(0, 60, 0, 60)
    },
    Corner = { CornerRadius = UDim.new(1, 0) }
})

local Tab1 = Window:MakeTab({"Um", "cherry"})

Tab1:AddDiscordInvite({
    Name = "Scorpio Hub Tha Bronx 3",
    Description = "Join server",
    Logo = "rbxassetid://81817688420352",
    Invite = "https://[Log in to view URL]",
})

Window:SelectTab(Tab1)

local Section = Tab1:AddSection({"Section"})

local Paragraph = Tab1:AddParagraph({"Paragraph", "This is a Paragraph\nSecond Line"})

  local Dialog = Window:Dialog({
    Title = "Universal Bronx 3",
    Text = "This is a Script",
    Options = {
      {"Bronx", function()
        
      end},
      {"Bronx", function()
        
      end},
      {"Cancel", function()
        
      end}
    }
  })
  
  Tab1:AddButton({"Print", function(Value)
print("Hello World!")
end})

Tab1:AddToggle({
    Name = "Anti Knockback",
    CurrentValue = false,
    Flag = "AntiKnockback",
    Callback = function(Value)
        getgenv().knc = Value

        if Value then
            task.spawn(function()
                while getgenv().knc do
                    task.wait(0.1)
                    pcall(function()
                        for _, v in ipairs(game.Players.LocalPlayer.Character:GetDescendants()) do
                            if v:IsA("BodyVelocity") or v:IsA("LinearVelocity") or v:IsA("VectorForce") then
                                v:Destroy()
                            end
                        end
                    end)
                end
            end)

            if game.ReplicatedStorage:FindFirstChild("AE") then
                game.ReplicatedStorage.AE:Destroy()
            end

            game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").ChildAdded:Connect(function(des)
                if getgenv().knc then
                    if des:IsA("BodyVelocity") or des:IsA("LinearVelocity") or des:IsA("VectorForce") then
                        des:Destroy()
                    end
                end
            end)
        else
            for _, v in ipairs(game.Players.LocalPlayer.Character:GetDescendants()) do
                if v:IsA("BodyVelocity") or v:IsA("LinearVelocity") or v:IsA("VectorForce") then
                    v:Destroy()
                end
            end
        end
    end,
})

Tab1:AddToggle({
    Name = "Anti JumpCooldown",
    CurrentValue = false,
    Flag = "AntiJumpCooldown",
    Callback = function(Value)
        getgenv().noJumpCooldown = Value

        if Value then
            task.spawn(function()
                while getgenv().noJumpCooldown do
                    task.wait(0.2)
                    pcall(function()
                        local playerGui = game:GetService("Players").LocalPlayer:FindFirstChild("PlayerGui")
                        if playerGui then
                            local debounce = playerGui:FindFirstChild("JumpDebounce")
                            if debounce then
                                debounce:Destroy()
                            end
                        end
                    end)
                end
            end)
        end
    end,
})

local AntiRentPayEnabled = false
Tab1:AddToggle({
    Name = "Anti Rent Pay",
    CurrentValue = false,
    Callback = function(Value)
        AntiRentPayEnabled = Value
        if Value then
            task.spawn(function()
                while AntiRentPayEnabled do
                    task.wait(1)
                    local player = game.Players.LocalPlayer
                    local rentGui = player:FindFirstChild("PlayerGui") and player.PlayerGui:FindFirstChild("RentGui")
                    if rentGui then
                        local rentScript = rentGui:FindFirstChild("LocalScript")
                        if rentScript then
                            rentScript.Disabled = true
                            rentScript:Destroy()
                        end
                    end
                end
            end)
        end
    end
})

local running = false
local connection

Tab1:AddToggle({
    Name = "Anti Jail",
    CurrentValue = false,
    Callback = function(state)
        running = state

        if running then
            local player = game:GetService("Players").LocalPlayer
            local ReplicatedStorage = game:GetService("ReplicatedStorage")

            local function destroyJailRemote()
                local jailRemote = ReplicatedStorage:FindFirstChild("JailRemote")
                if jailRemote then
                    jailRemote:Destroy()
                end
            end

            destroyJailRemote()

            connection = player.CharacterAdded:Connect(function()
                if not running then return end
                task.wait(1)
                destroyJailRemote()
                local jail = ReplicatedStorage:FindFirstChild("JailRemote")
                if jail and jail:FindFirstChild("Damage") then
                    jail.Damage:Destroy()
                end
            end)

            task.spawn(function()
                while running do
                    destroyJailRemote()
                    task.wait(1)
                end
            end)
        else
            if connection then
                connection:Disconnect()
                connection = nil
            end
        end
    end,
})


local AntiSleepEnabled = false
Tab1:AddToggle({
    Name = "Infinite Sleep",
    CurrentValue = false,
    Callback = function(Value)
        AntiSleepEnabled = Value
        if Value then
            task.spawn(function()
                while AntiSleepEnabled do
                    task.wait(1)
                    local player = game.Players.LocalPlayer
                    if player and player:FindFirstChild("PlayerGui") then
                        local sleepGui = player.PlayerGui:FindFirstChild("SleepGui")
                        if sleepGui then
                            local sleepScript = sleepGui:FindFirstChild("Frame") 
                                and sleepGui.Frame:FindFirstChild("sleep") 
                                and sleepGui.Frame.sleep:FindFirstChild("SleepBar") 
                                and sleepGui.Frame.sleep.SleepBar:FindFirstChild("sleepScript")
                            if sleepScript then
                                sleepScript.Disabled = true
                            end
                        end
                    end
                end
            end)
        end
    end
})

local AntiHungerEnabled = false
Tab1:AddToggle({
    Name = "Infinite Hunger",
    CurrentValue = false,
    Callback = function(Value)
        AntiHungerEnabled = Value
        if Value then
            task.spawn(function()
                while AntiHungerEnabled do
                    task.wait(1)
                    local player = game.Players.LocalPlayer
                    if player and player:FindFirstChild("PlayerGui") then
                        local hungerGui = player.PlayerGui:FindFirstChild("Hunger")
                        if hungerGui then
                            local hungerScript = hungerGui:FindFirstChild("Frame") 
                                and hungerGui.Frame:FindFirstChild("Frame") 
                                and hungerGui.Frame.Frame:FindFirstChild("Frame") 
                                and hungerGui.Frame.Frame.Frame:FindFirstChild("HungerBarScript")
                            if hungerScript then
                                hungerScript.Disabled = true
                            end
                        end
                    end
                end
            end)
        end
    end
})

local AntiStaminaEnabled = false
Tab1:AddToggle({
    Name = "Infinite Stamina",
    CurrentValue = false,
    Callback = function(Value)
        AntiStaminaEnabled = Value
        if Value then
            task.spawn(function()
                while AntiStaminaEnabled do
                    task.wait(1)
                    local player = game.Players.LocalPlayer
                    if player and player:FindFirstChild("PlayerGui") then
                        local staminaScript = player.PlayerGui:FindFirstChild("Run") 
                            and player.PlayerGui.Run:FindFirstChild("Frame") 
                            and player.PlayerGui.Run.Frame:FindFirstChild("Frame") 
                            and player.PlayerGui.Run.Frame.Frame:FindFirstChild("Frame") 
                            and player.PlayerGui.Run.Frame.Frame.Frame:FindFirstChild("StaminaBarScript")
                        if staminaScript then
                            staminaScript.Disabled = true
                        end
                    end
                end
            end)
        end
    end
})

Tab1:AddToggle({
    Name = "Instant Interact",
    Default = false,
    Callback = function(Value)
        local Workspace = game:GetService("Workspace")
        local function updateProximityPrompts()
            for i, v in ipairs(Workspace:GetDescendants()) do
                if v.ClassName == "ProximityPrompt" then
                    v.HoldDuration = Value and 0 or 1
                end
            end
        end
        updateProximityPrompts()
        Workspace.DescendantAdded:Connect(function(descendant)
            if descendant.ClassName == "ProximityPrompt" then
                descendant.HoldDuration = Value and 0 or 1
            end
        end)
    end,
})

local AntiCameraShakeEnabled = false
local AntiCameraShakeToggle = Tab1:AddToggle({
    Name = "No Camera Bobbing",
    CurrentValue = false,
    Callback = function(Value)
        AntiCameraShakeEnabled = Value
        if Value then
            task.spawn(function()
                while AntiCameraShakeEnabled do
                    task.wait(1)
                    local player = game.Players.LocalPlayer
                    if player and player.Character then
                        local cameraBobbing = player.Character:FindFirstChild("CameraBobbing")
                        if cameraBobbing then
                            cameraBobbing:Destroy()
                        end
                    end
                end
            end)
        end
    end
})

local bloodRemoved = false

local Toggle = Tab1:AddToggle({
	Name = "Disable Blood",
	CurrentValue = false,
	Flag = "RemoveBloodToggle",
	Callback = function(Value)
		bloodRemoved = Value
		local playerGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")

		if bloodRemoved then
			local bloodGui = playerGui:FindFirstChild("BloodGui")
			if bloodGui then
				bloodGui.ResetOnSpawn = false
				bloodGui:Destroy()
			end
		else
			-- Optional: Add logic to re-enable the BloodGui if needed
			warn("Re-enabling blood is not supported in this toggle unless you add spawn logic.")
		end
	end,
})

local Toggle = Tab1:AddToggle({
	Name = "Instant Respawn",
	CurrentValue = false,
	Flag = "FasterRespawn",
	Callback = function(Value)
		_G.respawn = Value

		if Value then
			task.spawn(function()
				while _G.respawn and task.wait(1) do
					local player = game:GetService("Players").LocalPlayer
					local character = player.Character
					local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")

					if humanoid and humanoid.Health <= 0 then
						game:GetService("ReplicatedStorage"):WaitForChild("RespawnRE"):FireServer()
					end
				end
			end)
		end
	end,
})

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local lastPosition
local respawnConnection
local deathConnection

Tab1:AddToggle({
    Name = "Respawn Where You Died",
    CurrentValue = false,
    Flag = "RespawnWhereDied",
    Callback = function(state)
        if state then
            local function setup()
                local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
                local humanoid = character:WaitForChild("Humanoid")
                local root = character:WaitForChild("HumanoidRootPart")

                deathConnection = humanoid.Died:Connect(function()
                    if root then
                        lastPosition = root.CFrame
                    end
                end)

                respawnConnection = LocalPlayer.CharacterAdded:Connect(function(char)
                    local newRoot = char:WaitForChild("HumanoidRootPart")
                    if lastPosition then
                        newRoot.CFrame = lastPosition
                    end
                    setup()
                end)
            end

            setup()
        else
            if respawnConnection then
                respawnConnection:Disconnect()
                respawnConnection = nil
            end
            if deathConnection then
                deathConnection:Disconnect()
                deathConnection = nil
            end
        end
    end,
})

local Section = Tab1:AddSection({"Dupe Guns"})

Tab1:AddButton({
    Name = "⚡ GUN DUPE",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

-- Toggle UI
Tab1:AddToggle({
    type = "toggle",
    Name = "Auto Dupe",
    flag = "AutoDupe",
    default = false,
    callback = function(state)
        Config.AutoDupe = state

        if not state then return end

        task.spawn(function()
            local Player = game.Players.LocalPlayer
            local ReplicatedStorage = game.ReplicatedStorage

            local FirstTool = nil
            repeat
                task.wait(0.5)
                FirstTool = Player.Character and Player.Character:FindFirstChildOfClass("Tool")
            until FirstTool or not Config.AutoDupe

            if Config.AutoDupe and not FirstTool then
                library.notifications:create_notification({
                    name = "Scorpio.Hub",
                    info = "No tool found in hand! Please equip one.",
                    lifetime = 5
                })
                return
            end

            if not FirstTool then return end

            local ToolName = FirstTool.Name

            library.notifications:create_notification({
                name = "Scorpio.Hub",
                info = "Auto Dupe started for: " .. ToolName,
                lifetime = 5
            })

            while Config.AutoDupe do
                if not Cooldown then
                    Cooldown = true

                    local ToolId

                    local Connection = ReplicatedStorage.MarketItems.ChildAdded:Connect(function(item)
                        if item and item.Name == ToolName then
                            local owner = item:WaitForChild("owner", 5)
                            if owner and owner.Value == Player.Name then
                                ToolId = item:GetAttribute("SpecialId")
                            end
                        end
                    end)

                    pcall(function()
                        if ReplicatedStorage:FindFirstChild("ListWeaponRemote") then
                            ReplicatedStorage.ListWeaponRemote:FireServer(ToolName, 999999)
                        end
                    end)

                    task.wait(.23)

                    pcall(function()
                        if ReplicatedStorage:FindFirstChild("BackpackRemote") then
                            ReplicatedStorage.BackpackRemote:InvokeServer("Store", ToolName)
                        end
                    end)

                    task.wait(2.6)

                    pcall(function()
                        if ReplicatedStorage:FindFirstChild("BuyItemRemote") then
                            ReplicatedStorage.BuyItemRemote:FireServer(ToolName, "Remove", ToolId)
                        end
                    end)

                    pcall(function()
                        if ReplicatedStorage:FindFirstChild("BackpackRemote") then
                            ReplicatedStorage.BackpackRemote:InvokeServer("Grab", ToolName)
                        end
                    end)

                    if Connection then
                        Connection:Disconnect()
                    end

                    Cooldown = false
                end

                task.wait(3.5)
            end

            library.notifications:create_notification({
                name = "Scorpio.Hub",
                info = "Auto Dupe stopped.",
                lifetime = 5
            })
        end)
    end
})

local lastDupeTime = 0

Tab1:AddButton({
    Name = "⚡ GUN DUPE (TRUNK METHOD) ",
    Callback = function()
        Rayfield:Notify({
            Title = "Trunk Dupe",
            Content = "Duping...",
            Duration = 3
        })

        local currentTime = tick()
        if currentTime - lastDupeTime < 30 then
            Rayfield:Notify({
                Title = "Cooldownn.",
                Content = "35 Seconds Left",
                Duration = 3
            })
            return
        end
        lastDupeTime = currentTime

        game:GetService("RunService").RenderStepped:Connect(function()
            for _, gui in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do
                if gui:IsA("ScreenGui") then
                    for _, obj in pairs(gui:GetDescendants()) do
                        if obj:IsA("TextLabel") or obj:IsA("TextButton") then
                            local text = obj.Text:gsub("%s+", " "):lower()
                            if text:match("can't access safe!") then
                                obj:Destroy()
                            end
                        end
                    end
                end
            end
        end)

        local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
        local Players = cloneref(game:GetService("Players"))
        local InventoryRemote = ReplicatedStorage:WaitForChild("Inventory")
        local BackpackRemote = ReplicatedStorage:WaitForChild("BackpackRemote")
        local TrunkStorage = ReplicatedStorage:WaitForChild("TrunkStorage")

        local function GetCharacter()
            return Players.LocalPlayer and Players.LocalPlayer.Character
        end

        local character = GetCharacter()
        if character and character:FindFirstChildOfClass("Tool") then
            local gunTool = character:FindFirstChildOfClass("Tool")
            local gunName = gunTool.Name

            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then humanoid:UnequipTools() end

            local car = getcar()
            if not car or not car:FindFirstChild("Body") or not car.Body:FindFirstChild("TrunckStorage") then
                return Rayfield:Notify({
                    Title = "Error",
                    Content = "No Car found",
                    Duration = 5
                })
            end

            local hrp = character:FindFirstChild("HumanoidRootPart")
            if hrp then
                hrp.CFrame = car.Body.TrunckStorage.CFrame + Vector3.new(2, 0, 0)
            end

            task.wait(0.5)

            task.spawn(function()
                BackpackRemote:InvokeServer("Store", gunName)
            end)

            task.spawn(function()
                TrunkStorage:FireServer("Store", gunName)
            end)

            task.wait(0.5)

            task.spawn(function()
                InventoryRemote:FireServer("Change", gunName, "Backpack", nil)
            end)

            task.wait(1.5)
            BackpackRemote:InvokeServer("Grab", gunName)

            task.wait(0.5)
        else
            Rayfield:Notify({
                Title = "Tool Not Found",
                Content = "You must equip a Tool before duping",
                Duration = 5
            })
        end
    end
})

local Tab2 = Window:MakeTab({"Modification", "user"}) -- you can change icon

Window:SelectTab(Tab1) -- keep Tab1 as default

local GunSection = Tab2:AddSection({"Movement"})

-- WalkSpeed Slider
local walkSpeedValue = 16
local wsEnabled = false

Tab2:AddSlider({
    Name = "WalkSpeed",
    Min = 16,
    Max = 200,
    Increase = 1,
    Default = 16,
    Callback = function(Value)
        walkSpeedValue = Value

        if wsEnabled then
            local char = game.Players.LocalPlayer.Character
            if char and char:FindFirstChild("Humanoid") then
                char.Humanoid.WalkSpeed = walkSpeedValue
            end
        end
    end
})

Tab2:AddToggle({
    Name = "Infinite Ammo (Inf)",
    Callback = function()

        local player = game.Players.LocalPlayer

        local function ApplyAmmo(tool)

            if tool and tool:FindFirstChild("Setting") then
                pcall(function()

                    local settings = require(tool.Setting)

                    settings.LimitedAmmoEnabled = false
                    settings.MaxAmmo = 99999
                    settings.AmmoPerMag = 99999
                    settings.Ammo = 99999

                    print("99999 Ammo applied to:", tool.Name)

                end)
            end
        end

        -- Apply to current gun
        local char = player.Character or player.CharacterAdded:Wait()
        local tool = char:FindFirstChildOfClass("Tool")
        ApplyAmmo(tool)

        -- Apply when new gun equipped
        char.ChildAdded:Connect(function(child)
            if child:IsA("Tool") then
                task.wait(0.2)
                ApplyAmmo(child)
            end
        end)

    end
})

Tab2:AddToggle({
    Name = "No Recoil",
    Callback = function()
        local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
        if tool and tool:FindFirstChild("Setting") then
            require(tool.Setting).Recoil = 0
            print("No Recoil applied")
        end
    end
})

Tab2:AddToggle({
    Name = "Automatic Gun",
    Callback = function()
        local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
        if tool and tool:FindFirstChild("Setting") then
            require(tool.Setting).Auto = true
            print("Gun set to Automatic")
        end
    end
})

Tab2:AddToggle({
    Name = "No Fire Rate",
    Callback = function()
        local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
        if tool and tool:FindFirstChild("Setting") then
            require(tool.Setting).FireRate = 0
            print("No Fire Rate applied")
        end
    end
})

Tab2:AddToggle({
    Name = "Infinite Damage",
    Callback = function()
        local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
        if tool and tool:FindFirstChild("Setting") then
            require(tool.Setting).BaseDamage = 9e9
            print("Infinite Damage applied")
        end
    end
})

local GunSection = Tab2:AddSection({"Gun Chams"})

local GunChams = false
local RainbowChams = false
local ChamsColor = Color3.fromRGB(255, 0, 0)

local OriginalColors = {}

Tab2:AddToggle({
    Name = "Enable Gun Chams",
    Default = false,
    Callback = function(v)
        GunChams = v

        -- RESET WHEN TURNED OFF
        if not v then
            for part, color in pairs(OriginalColors) do
                if part and part.Parent then
                    part.Color = color
                    part.Material = Enum.Material.Plastic
                end
            end
            OriginalColors = {}
        end
    end
})

local originalData = {}
local connection
local rainbowConnection
local RainbowEnabled = false

Tab2:AddToggle({
    Name = "Rainbow GunColor",
    Default = false,

    Callback = function(state)

        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()

        local function applyEffect(tool)
            if not tool then return end

            for _, part in ipairs(tool:GetDescendants()) do
                if part:IsA("BasePart") then

                    if not originalData[part] then
                        originalData[part] = {
                            Color = part.Color,
                            Material = part.Material
                        }
                    end

                    part.Material = Enum.Material.Neon
                end
            end
        end

        local function revertEffect()
            for part, data in pairs(originalData) do
                if part and part.Parent then
                    part.Color = data.Color
                    part.Material = data.Material
                end
            end
            originalData = {}
        end

        if state then

            local tool = character:FindFirstChildOfClass("Tool")
            if tool then
                applyEffect(tool)
            end

            if connection then
                connection:Disconnect()
            end

            connection = character.ChildAdded:Connect(function(child)
                if child:IsA("Tool") then
                    applyEffect(child)
                end
            end)

            -- RAINBOW LOOP (only runs when enabled)
            RainbowEnabled = true

            if rainbowConnection then
                rainbowConnection:Disconnect()
            end

            rainbowConnection = game:GetService("RunService").RenderStepped:Connect(function()
                if not RainbowEnabled then return end

                local hue = (tick() % 5) / 5
                local color = Color3.fromHSV(hue, 1, 1)

                for part, _ in pairs(originalData) do
                    if part and part.Parent then
                        part.Color = color
                    end
                end
            end)

        else
            RainbowEnabled = false

            if connection then
                connection:Disconnect()
                connection = nil
            end

            if rainbowConnection then
                rainbowConnection:Disconnect()
                rainbowConnection = nil
            end

            revertEffect()
        end
    end
})

local Tab3 = Window:MakeTab({"Teleport", "user"}) -- you can change icon

Window:SelectTab(Tab1) -- keep Tab1 as default

local GunSection = Tab3:AddSection({"Location"})

local Locations = {
    ["🔫 Gunshop"] = Vector3.new(-1010.56, 253.81, -801.62),
    ["🔫 Gunshop 2"] = Vector3.new(66202, 123615.71, 5749.81),
    ["💼 Safe Items"] = Vector3.new(68514.89, 52941.5, -796.09),
    ["🚧 Construction Site"] = Vector3.new(-1731.83, 370.81, -1176.83),
    ["💳 Bank"] = Vector3.new(-224.07, 283.80, -1200.51),
    ["🔥 Pawn Shop"] = Vector3.new(-1049.64, 253.53, -814.26),
    ["🏠 Penthouse"] = Vector3.new(-195.42, 397.13, -573.94),
    ["🚗 Car Dealer"] = Vector3.new(-410.52, 253.25, -1245.55),
    ["🏥 Hospital"] = Vector3.new(-1590.33, 254.27, 19.94),
}

local function GetCharacter()
        return Players.LocalPlayer and Players.LocalPlayer.Character
    end

function BypassTp(targetCFrame)
    local character = Player.Character
    if not character or not character:FindFirstChild("HumanoidRootPart") then
        Library:Notify("Error: Character not ready for teleport", 3)
        return
    end

    local hrp = character.HumanoidRootPart

    -- Activate Freefall (SwimMethod)
    getgenv().SwimMethod = true

    -- Wait briefly before teleporting
    task.wait(0.1)

    -- Teleport the HumanoidRootPart slightly offset
    hrp.CFrame = targetCFrame + Vector3.new(2, 0, 0)

    -- Wait briefly after teleporting
    task.wait(0.1)

    -- Deactivate Freefall
    getgenv().SwimMethod = false

    Library:Notify("Bypass teleport executed", 3)
end

local function TableKeys(tbl)
    local keys = {}
    for key in pairs(tbl) do
        keys[#keys + 1] = key
    end
    return keys
end

local Player = game:GetService("Players").LocalPlayer
local SelectedLocation = nil

function TeleportToLocation()
    if not SelectedLocation then
        Library:Notify("Error: No location selected!", 3)
        return
    end

    local Character = Player.Character
    local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
    if not HumanoidRootPart then
        Library:Notify("Error: Invalid Teleport Target!", 3)
        return
    end

    -- Step 1: Activate Freefall (SwimMethod)
    getgenv().SwimMethod = true

    -- Step 2: Wait 1 second before teleporting
    task.wait(1)

    -- Step 3: Teleport local player to SelectedLocation
    HumanoidRootPart.CFrame = CFrame.new(SelectedLocation)

    -- Step 4: Deactivate Freefall after teleportation
    getgenv().SwimMethod = false

    Library:Notify("Teleported to location", 3)
end

Tab3:AddDropdown({
    Name = "Select Location",
    Options = TableKeys(Locations),
    Callback = function(option)
        SelectedLocation = Locations[option]
    end
})

Tab3:AddButton({
    Name = "Teleport",
    Callback = function()
        TeleportToLocation()
    end
})

local Tab4 = Window:MakeTab({"Buy Items", "user"}) -- you can change icon

Window:SelectTab(Tab1) -- keep Tab1 as default

local GunshopSection = Tab4:AddSection({"Location"})

local player = game.Players.LocalPlayer
local gunsFolder = workspace:WaitForChild("GUNS")

local Guns = {}
local SelectedGun = nil

-- Scan gun folder
for _, gunModel in ipairs(gunsFolder:GetChildren()) do

    local modelChild = gunModel:FindFirstChild("Model")

    if modelChild and modelChild:IsA("Model") then

        local buyPrompt = modelChild:FindFirstChildWhichIsA("ProximityPrompt", true)

        if buyPrompt and buyPrompt.Name == "BuyPrompt" then

            local parentPart = buyPrompt.Parent

            if parentPart and parentPart:IsA("BasePart") then

                Guns[gunModel.Name] = {
                    Part = parentPart,
                    BuyPrompt = buyPrompt
                }

            end
        end
    end
end

-- Collect gun names
local gunNames = {}
for name in pairs(Guns) do
    table.insert(gunNames,name)
end

-- Buy Gun Function
local function BuyGun(gunData)

    if not gunData then return end

    local character = player.Character or player.CharacterAdded:Wait()
    local hrp = character:FindFirstChild("HumanoidRootPart")

    if not hrp then return end

    local originalPos = hrp.CFrame

    getgenv().SwimMethod = true

    task.wait(1)

    hrp.CFrame = gunData.Part.CFrame + Vector3.new(0,2,0)

    task.wait(0.2)

    fireproximityprompt(gunData.BuyPrompt)

    task.wait(1)

    hrp.CFrame = originalPos

    getgenv().SwimMethod = false

end

-- Gun Dropdown
Tab4:AddDropdown({
    Name = "Select Gun",
    Values = gunNames,
    Callback = function(v)
        SelectedGun = Guns[v]
    end
})

-- Buy Gun Button
Tab4:AddButton({
    Name = "Buy Selected Gun",
    Callback = function()
        if SelectedGun then
            BuyGun(SelectedGun)
        else
            print("No gun selected")
        end
    end
})

local GunshopSection = Tab4:AddSection({"Get Items"})

Tab4:AddButton({
    Name = "Buy Shiesty",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("CamoShiesty")
    end
})

Tab4:AddButton({
    Name = "Buy Red Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("RedCamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Yello Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("YelloCamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Purple Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("PurpleCamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Water",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("Water")
    end
})

Tab4:AddButton({
    Name = "Buy Fake Card",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("FakeCard")
    end
})

Tab4:AddButton({
    Name = "Buy Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("CamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Blu Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("BluCamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Pink Camo Gloves",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("PinkCamoGloves")
    end
})

Tab4:AddButton({
    Name = "Buy Camo Shiesty",
    Callback = function()
        game:GetService("ReplicatedStorage").ShopRemote:InvokeServer("CamoShiesty")
    end
})

Tab4:AddButton({
    Name = "Buy Extended",
    Callback = function()
         game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer(".Extended")
    end
})

Tab4:AddButton({
    Name = "Buy Drum",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer(".Drum")
    end
})

Tab4:AddButton({
    Title = "Buy 5.56",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("5.56")
    end
})

Tab4:AddButton({
    Name = "Buy 7.62",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("7.62")
    end
})

Tab4:AddButton({
    Name = "Buy Ice-Fruit Cupz",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("Ice-Fruit Cupz")
    end
})

Tab4:AddButton({
    Name = "Buy Ice-Fruit Bag",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("Ice-Fruit Bag")
    end
})

Tab4:AddButton({
    Name = "Buy FreshWater",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("FreshWater")
    end
})

Tab4:AddButton({
    Name = "Buy FijiWater",
    Callback = function()
        game:GetService("ReplicatedStorage"):WaitForChild("ExoticShopRemote"):InvokeServer("FijiWater")
    end
})


local Tab5 = Window:MakeTab({"Infinite Money", "user"}) -- you can change icon

Window:SelectTab(Tab1) -- keep Tab1 as default

local MonySection = Tab5:AddSection({"Money Method"})

-- Teleport
function teleport(x, y, z)

    local seat
    local targetPosition = Vector3.new(-1487.578369140625, 251.75901794433594, -408.8100891113281)

    for _, obj in pairs(workspace["1# Map"].RandomStuff:GetDescendants()) do
        if obj:IsA("Seat") and (obj.Position - targetPosition).Magnitude < 1 then
            seat = obj
            break
        end
    end

    if not seat then
        for _, obj in pairs(workspace["1# Map"].RandomStuff:GetDescendants()) do
            if obj:IsA("Seat") then
                seat = obj
                break
            end
        end
    end

    local character = player.Character
    local rootPart = character and character:FindFirstChild("HumanoidRootPart")
    local humanoid = character and character:FindFirstChild("Humanoid")

    if seat and rootPart and humanoid then
        local originalPosition = seat.CFrame

        seat.CFrame = rootPart.CFrame
        task.wait(0.6)
        seat:Sit(humanoid)
        task.wait(0.6)
        seat.CFrame = CFrame.new(x, y - 1, z)
        task.wait(0.6)
        humanoid.Sit = false
        humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        task.wait(1e-27)
        seat.CFrame = CFrame.new(originalPosition.X, originalPosition.Y - 100, originalPosition.Z)
    end

    task.wait(0.5)
end

-- Check if player has Ice-Fruit Cupz
function checkSell()
    local backpack = player:WaitForChild("Backpack")
    return backpack:FindFirstChild("Ice-Fruit Cupz") ~= nil
end

-- Button Callback
Tab5:AddButton({
    Name = "Infinite Money",
    Callback = function()
        local character = player.Character or player.CharacterAdded:Wait()
        local hrp = character:FindFirstChild("HumanoidRootPart")

        if not (character and hrp) then return end

        if not checkSell() then
            Rayfield:Notify({
                Title = "Error",
                Content = "You do not have an Ice-Fruit Cupz!",
                Duration = 5,
                Image = 4483345998,
            })
            return
        end

        -- Save original position
        local originalCFrame = hrp.CFrame

        -- Find sell prompt
        local sellPart = workspace:FindFirstChild("IceFruit Sell")
        local sellPrompt = sellPart and sellPart:FindFirstChild("ProximityPrompt")
        if not (sellPart and sellPrompt) then return end

        -- Equip item
        player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild("Ice-Fruit Cupz"))

        teleport(sellPart.Position.X, sellPart.Position.Y, sellPart.Position.Z)

        task.wait(0.2)

        -- Spam sell prompt
        for _ = 1, 2000 do
            pcall(function()
                fireproximityprompt(sellPrompt, 0)
            end)
        end

        task.wait(1)

        -- Teleport back and remove blackout
        teleport(originalCFrame.Position.X, originalCFrame.Position.Y, originalCFrame.Position.Z)

        Rayfield:Notify({
            Title = "Success!",
            Content = "You have won the maximum money!",
            Duration = 5,
            Image = 4483345998,
        })
    end
})

local SharedStorage = game.ReplicatedStorage

local function InvokeServer(Remote, ...)
    return Remote:InvokeServer(...)
end

local function FindItem(Item)
    return game.Players.LocalPlayer.Backpack:FindFirstChild(Item) or game.Players.LocalPlayer.Character:FindFirstChild(Item)
end

local function AutoBuySupplies()
    local Items = {
        "Ice-Fruit Bag",
        "Ice-Fruit Cupz",
        "FijiWater",
        "FreshWater",
    }

    for _, item in ipairs(Items) do
        local ItemStock = SharedStorage.ExoticStock:FindFirstChild(item)
        if not ItemStock or ItemStock.Value == 0 then
            warn("Item out of stock:", item)
            return false
        end
    end

    for _, item in ipairs(Items) do
        InvokeServer(SharedStorage.ExoticShopRemote, item)
        task.wait(1.25)
    end

    for _, item in ipairs(Items) do
        if not FindItem(item) then
            warn("Failed to acquire:", item)
            return false
        end
    end

    return true
end

Tab5:AddButton({
    Name = "Buy Ice Fruitz Items",
    Callback = function()
        local success = AutoBuySupplies()
        if success then
            Rayfield:Notify({
                Title = "AutoBuy",
                Content = "Items purchased successfully!",
                Duration = 5,
                Image = 4483362458,
            })
        else
            Rayfield:Notify({
                Nam = "AutoBuy",
                Content = "Failed to purchase items!",
                Duration = 5,
                Image = 4483362458,
            })
        end
    end,
})

local Tab6 = Window:MakeTab({"Bronx 3 Scripts", "user"}) -- you can change icon

Window:SelectTab(Tab1) -- keep Tab1 as default

local MonySection = Tab6:AddSection({"Bronx 3 Free Scripts"})

Tab6:AddButton({
    Name = "Nazuro Keyless",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "ScorpioHub Key = Welovescorpiohub",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "SoleHub Keyless",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "Axion Keyless",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "Mint Keyless",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "Scorpio AutoDupe Menu",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = " Scorpio MarketDupe Menu",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Tab6:AddButton({
    Name = "AutoDupe Menu Key = RisingGeekin",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]",true))()
        end)
    end
})

Tab6:AddButton({
    Name = "Scorpio Free Paid Script",
    Callback = function()
        pcall(function()
            loadstring(game:HttpGet("https://[Log in to view URL]"))()
        end)
    end
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: