OPEN SOURCE GO TO END AUTO DRAGON
Key Required

OPEN SOURCE GO TO END AUTO DRAGON

🌊 Dragon Fighters Tsunami Escape!becausewhyybecausewhyy 809 views 157 executesUpdated Mar 7, 2026
Unrated
00
Lua Script•189 lines (5104 chars)
local player = game.Players.LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- ===== GUI =====
local gui = Instance.new("ScreenGui")
gui.Parent = player:WaitForChild("PlayerGui")
gui.ResetOnSpawn = false

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 320, 0, 300)
frame.Position = UDim2.new(0.5, -160, 0.5, -150)
frame.BackgroundColor3 = Color3.fromRGB(35,35,35)
frame.Active = true
frame.Draggable = true
frame.Parent = gui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,0,35)
title.BackgroundColor3 = Color3.fromRGB(25,25,25)
title.Text = "Dragon Fighters Tsunami Escape"
title.TextColor3 = Color3.new(1,1,1)
title.Parent = frame

local close = Instance.new("TextButton")
close.Size = UDim2.new(0,35,0,35)
close.Position = UDim2.new(1,-35,0,0)
close.Text = "X"
close.BackgroundColor3 = Color3.fromRGB(170,0,0)
close.TextColor3 = Color3.new(1,1,1)
close.Parent = frame
close.MouseButton1Click:Connect(function()
	frame.Visible = false
end)

-- ===== BUTTON CREATOR =====
local function makeButton(text,y)
	local btn = Instance.new("TextButton")
	btn.Size = UDim2.new(1,-20,0,35)
	btn.Position = UDim2.new(0,10,0,y)
	btn.Text = text
	btn.BackgroundColor3 = Color3.fromRGB(60,60,60)
	btn.TextColor3 = Color3.new(1,1,1)
	btn.Parent = frame
	return btn
end

-- ===== BASIC BUTTONS =====
local goEndButton = makeButton("Go to End",50)
goEndButton.MouseButton1Click:Connect(function()
	local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
	if hrp then
		hrp.CFrame = CFrame.new(7459,-6.56,-306.72)
	end
end)

local goSpawnButton = makeButton("Go to Spawn",95)
goSpawnButton.MouseButton1Click:Connect(function()
	local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
	if hrp then
		hrp.CFrame = CFrame.new(115,4,-428.70)
	end
end)

-- ===== MODE BUTTON =====
local modeButton = Instance.new("TextButton")
modeButton.Size = UDim2.new(0,90,0,30)
modeButton.Position = UDim2.new(0,10,0,140)
modeButton.Text = "Always"
modeButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
modeButton.TextColor3 = Color3.new(1,1,1)
modeButton.Parent = frame

modeButton.MouseButton1Click:Connect(function()
	modeButton.Text = (modeButton.Text == "Always") and "Once" or "Always"
end)

-- ===== DELETE TSUNAMIS =====
local function deleteTsunamisOnce()
	local tsunamisFolder = workspace:FindFirstChild("Tsunamis")
	if not tsunamisFolder then return end
	for _,v in pairs(tsunamisFolder:GetChildren()) do
		v:Destroy()
	end
end

local deleteButton = makeButton("Delete Tsunamis",185)
deleteButton.MouseButton1Click:Connect(function()
	if modeButton.Text == "Once" then
		deleteTsunamisOnce()
	else
		local tsunamisFolder = workspace:FindFirstChild("Tsunamis")
		if tsunamisFolder then
			tsunamisFolder:Destroy()
		end
	end
end)

-- ===== AUTO DRAGON =====
local autoDragonEnabled = false
local autoDragonButton = makeButton("Auto Dragon [OFF]",230)

local dragonMin = Vector3.new(7493.33,-6.56,-442.35)
local dragonMax = Vector3.new(7991.31,5,-181.31)
local emptyTP = Vector3.new(7493.33,-6.56,-181.31)
local spawnTP = Vector3.new(115,4,-428.70)

local carryBox = Instance.new("TextBox")
carryBox.Size = UDim2.new(0,90,0,30)
carryBox.Position = UDim2.new(0,110,0,140)
carryBox.Text = "6"
carryBox.PlaceholderText = "Carry"
carryBox.ClearTextOnFocus = true
carryBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
carryBox.TextColor3 = Color3.new(1,1,1)
carryBox.Parent = frame

autoDragonButton.MouseButton1Click:Connect(function()
	autoDragonEnabled = not autoDragonEnabled
	autoDragonButton.Text = autoDragonEnabled and "Auto Dragon [ON]" or "Auto Dragon [OFF]"
end)

local function getPrompts()
	local list = {}
	for _, obj in ipairs(workspace:GetDescendants()) do
		if obj:IsA("ProximityPrompt") and obj.Parent:IsA("BasePart") then
			local pos = obj.Parent.Position
			if pos.X >= dragonMin.X and pos.X <= dragonMax.X
			and pos.Y >= dragonMin.Y and pos.Y <= dragonMax.Y
			and pos.Z >= dragonMin.Z and pos.Z <= dragonMax.Z then
				table.insert(list,obj)
			end
		end
	end
	return list
end

task.spawn(function()
	local takeCount = 0
	local lastEmpty = false

	while true do
		if not autoDragonEnabled then
			task.wait(0.5)
			continue
		end

		local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
		if not hrp then task.wait(0.5) continue end

		local prompts = getPrompts()

		if #prompts == 0 then
			if not lastEmpty then
				lastEmpty = true
				hrp.CFrame = CFrame.new(spawnTP)
				task.wait(1)
				hrp.CFrame = CFrame.new(emptyTP)
			end
			task.wait(1)
			continue
		end

		lastEmpty = false

		local prompt = prompts[1]

		if prompt and prompt.Parent then
			hrp.CFrame = CFrame.new(prompt.Parent.Position + Vector3.new(0,2.5,0))
			task.wait(0.2)

			pcall(function()
				prompt:InputHoldBegin(player)
				task.wait(0.15)
				prompt:InputHoldEnd(player)
			end)

			takeCount += 1

			if takeCount >= 5 then
				hrp.CFrame = CFrame.new(spawnTP)
				task.wait(1)
				hrp.CFrame = CFrame.new(emptyTP)
				takeCount = 0
			end
		end

		task.wait(0.25)
	end
end)

Features & Information

features: Go to End Go to Spawn Delete Tsunamis Once/Always Auto Dragon (the rarity)

Community Comments (0)

No comments yet for this script.

More Scripts for 🌊 Dragon Fighters Tsunami Escape!