Dive Down Insane Upgraded Script
Key RequiredUniversal

Dive Down Insane Upgraded Script

Universal Scriptmavrictimmavrictim 3K views 2.1K executesUpdated May 10, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•113 lines (3770 chars)
local player = game.Players.LocalPlayer
local pGui = player:WaitForChild("PlayerGui")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Globalne spremenljivke
_G.AutoFarmEnabled = false
local lastFishPosition = nil 

-- ODSTRANJEVANJE STAREGA UI
if pGui:FindFirstChild("FishingGui") then
    pGui.FishingGui:Destroy()
end

-- STVARITEV UI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FishingGui"
screenGui.IgnoreGuiInset = true
screenGui.ResetOnSpawn = false
screenGui.Parent = pGui

local mainButton = Instance.new("TextButton")
mainButton.Size = UDim2.new(0, 200, 0, 60)
mainButton.Position = UDim2.new(0.5, -100, 0.15, 0)
mainButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
mainButton.Text = "AUTO-FARM: OFF"
mainButton.TextColor3 = Color3.fromRGB(255, 255, 255)
mainButton.Font = Enum.Font.GothamBold
mainButton.TextSize = 18
mainButton.Parent = screenGui

local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 12)
uiCorner.Parent = mainButton

mainButton.MouseButton1Click:Connect(function()
    _G.AutoFarmEnabled = not _G.AutoFarmEnabled
    mainButton.Text = _G.AutoFarmEnabled and "AUTO-FARM: ON" or "AUTO-FARM: OFF"
    mainButton.BackgroundColor3 = _G.AutoFarmEnabled and Color3.fromRGB(50, 200, 50) or Color3.fromRGB(200, 50, 50)
end)

-- FUNKCIJA ZA NOVEGA LIKA (Health + Teleport nazaj)
local function onCharacterAdded(char)
    local root = char:WaitForChild("HumanoidRootPart", 10)
    local hum = char:WaitForChild("Humanoid", 10)
    
    -- 1. Teleport nazaj na zadnjo lokacijo ribe, če obstaja
    if lastFishPosition and _G.AutoFarmEnabled then
        task.wait(0.1) -- Kratek premor, da se igra naloži
        root.CFrame = CFrame.new(lastFishPosition)
    end

    -- 2. God Mode (Zdravje)
    if hum then
        hum.HealthChanged:Connect(function()
            if hum.Health < hum.MaxHealth then
                hum.Health = hum.MaxHealth
            end
        end)
    end
end

if player.Character then onCharacterAdded(player.Character) end
player.CharacterAdded:Connect(onCharacterAdded)

-- GLAVNA ZANKA
RunService.RenderStepped:Connect(function()
    if not _G.AutoFarmEnabled then return end
    
    local gameFolder = workspace:FindFirstChild("Game")
    local fishes = gameFolder and gameFolder:FindFirstChild("Fishes")
    if not fishes then return end

    local char = player.Character
    local root = char and char:FindFirstChild("HumanoidRootPart")
    if not root then return end

    local highest = 0
    local targetFish = nil

    for _, fish in ipairs(fishes:GetChildren()) do
        local cash = fish:GetAttribute("CashPerSec")
        local owner = fish:GetAttribute("Owner")

        if cash and (not owner or owner == "") and cash > highest then
            highest = cash
            targetFish = fish
        end
    end

    if targetFish then
        pcall(function()
            local currentPos = targetFish:GetPivot()
            root.CFrame = currentPos
            
            -- Shranimo lokacijo te ribe kot "zadnjo znano"
            lastFishPosition = currentPos.Position 

            local prompt = targetFish.RootPart:FindFirstChildOfClass("ProximityPrompt")
            if prompt then
                fireproximityprompt(prompt)
                
                local remote = ReplicatedStorage:FindFirstChild("Packets") and 
                               ReplicatedStorage.Packets:FindFirstChild("Packet") and 
                               ReplicatedStorage.Packets.Packet:FindFirstChild("RemoteEvent")
                
                if remote then
                    remote:FireServer(buffer.fromstring("\003\001"))
                end
            end
        end)
    end
end)

Features & Information

Based on the Lua script provided (which appears to be designed for a fishing-themed game on Roblox), here is a breakdown of the features and functionalities included in the code. 1. Persistent User Interface (UI) Toggle Button: Creates a graphical button on your screen labeled "AUTO-FARM." Visual Feedback: The button changes color (Green for ON, Red for OFF) and updates its text to show the current status of the script. Clean Re-loading: The script automatically checks for and destroys any older versions of its UI to prevent overlapping buttons if you run the script multiple times. 2. Automated Fishing (Auto-Farm) Smart Targeting: The script scans the game for fish and prioritizes them based on the CashPerSec attribute, meaning it automatically targets the most profitable fish available. Owner Check: It ensures it only targets fish that are "unowned" or available to be caught. Teleportation: It continuously teleports your character’s HumanoidRootPart directly to the position of the target fish. Interaction Automation: Proximity Prompts: It automatically triggers any ProximityPrompt attached to the fish. Remote Firing: It sends a specific network packet (\003\001) to the game's server via ReplicatedStorage, likely to simulate a "catch" or "interact" action. 3. Survival & Recovery Features God Mode (Health Lock): The script monitors your character's health. If you take any damage, it immediately sets your health back to its maximum value, effectively making you immortal against standard damage. Position Memory: The script saves the coordinates of the last fish you were targeting (lastFishPosition). Auto-Resume on Respawn: If your character dies or resets, the script waits for you to respawn and then automatically teleports you back to the last known fish location so the farming can continue without manual intervention. 4. Technical Optimization High-Frequency Execution: Uses RunService.RenderStepped, which means the script checks for fish and updates your position every single frame (usually 60+ times per second), ensuring near-instant teleportation. Error Handling: It uses pcall (protected call) during the teleportation and interaction phase to prevent the entire script from crashing if a fish disappears or an object is missing.

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts