-- Services
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
-- Variables
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
-- Target Path Variables
local baseFolder = game:GetService("Workspace"):WaitForChild("Map"):WaitForChild("Shops"):WaitForChild("Megumi V2MissingPieces"):WaitForChild("DivineDogs")
-- Table to store found dogs in order
local dogList = {}
local currentIndex = 1
-- 1. Scan for Divine Dogs
local function scanForDogs()
dogList = {} -- Reset list
for _, child in pairs(baseFolder:GetChildren()) do
-- Check if the name matches "DivineDog" followed by a number
local number = string.match(child.Name, "DivineDog(%d+)")
if number then
-- Store the object and its number for sorting
table.insert(dogList, {Object = child, Number = tonumber(number)})
end
end
-- Sort the list numerically (1, 2, 3... 10, 11) instead of alphabetically
table.sort(dogList, function(a, b)
return a.Number < b.Number
end)
print("Found " .. #dogList .. " Divine Dogs.")
end
-- 2. ESP Function
local function addESP(dogModel)
if not dogModel:IsA("Model") and not dogModel:IsA("BasePart") then return end
-- Create a Highlight
local highlight = Instance.new("Highlight")
highlight.Name = "DogESP"
highlight.FillColor = Color3.fromRGB(0, 255, 255) -- Cyan color
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.FillTransparency = 0.5
highlight.OutlineTransparency = 0
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop -- Visible through walls
highlight.Adornee = dogModel
highlight.Parent = dogModel
-- Optional: Add a BillboardGui (Floating Text) above the dog
local billboard = Instance.new("BillboardGui")
billboard.Name = "DogLabel"
billboard.Size = UDim2.new(0, 100, 0, 30)
billboard.StudsOffset = Vector3.new(0, 3, 0)
billboard.AlwaysOnTop = true
billboard.Adornee = dogModel:IsA("Model") and dogModel.PrimaryPart or dogModel
billboard.Parent = dogModel
local textLabel = Instance.new("TextLabel", billboard)
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.Text = dogModel.Name
textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
textLabel.TextStrokeTransparency = 0
textLabel.TextScaled = true
end
-- 3. GUI Creation
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "DogTeleportGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 200, 0, 100)
mainFrame.Position = UDim2.new(0.5, -100, 0.5, -50) -- Center screen
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true -- Allows you to move the GUI
mainFrame.Parent = screenGui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = mainFrame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundTransparency = 1
title.Text = "Dog Teleport"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.Parent = mainFrame
local teleportBtn = Instance.new("TextButton")
teleportBtn.Size = UDim2.new(0.9, 0, 0, 40)
teleportBtn.Position = UDim2.new(0.05, 0, 0.5, 0)
teleportBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 50)
teleportBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
teleportBtn.Font = Enum.Font.GothamBold
teleportBtn.TextSize = 16
teleportBtn.Text = "Teleport"
teleportBtn.Parent = mainFrame
local btnCorner = Instance.new("UICorner")
btnCorner.Parent = teleportBtn
-- 4. Teleport Logic
teleportBtn.MouseButton1Click:Connect(function()
if #dogList == 0 then
scanForDogs()
if #dogList == 0 then
teleportBtn.Text = "No Dogs Found"
task.wait(2)
teleportBtn.Text = "Teleport"
return
end
end
if currentIndex > #dogList then
teleportBtn.Text = "Done! (Reset)"
currentIndex = 1 -- Reset cycle
return
end
local targetData = dogList[currentIndex]
local targetObj = targetData.Object
-- Ensure character exists
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
-- Teleport logic
local targetPos
if targetObj:IsA("BasePart") then
targetPos = targetObj.CFrame
elseif targetObj:IsA("Model") and targetObj.PrimaryPart then
targetPos = targetObj.PrimaryPart.CFrame
elseif targetObj:IsA("Model") then
-- If no PrimaryPart, find a part inside
local part = targetObj:FindFirstChildWhichIsA("BasePart")
if part then targetPos = part.CFrame end
end
if targetPos then
player.Character.HumanoidRootPart.CFrame = targetPos + Vector3.new(0, 3, 0) -- +3 Y to avoid getting stuck
teleportBtn.Text = "TP: " .. targetObj.Name .. " (" .. currentIndex .. "/" .. #dogList .. ")"
currentIndex = currentIndex + 1
end
end
end)
-- 5. Initialize
scanForDogs()
-- Apply ESP to all found dogs
for _, data in pairs(dogList) do
addESP(data.Object)
end
print("Script Loaded. Dogs sorted: ", #dogList)use this to quickly get all divine dogs lol idk? will take it off soon
1-- Services
2local Players = game:GetService("Players")
3local TweenService = game:GetService("TweenService")
4local UserInputService = game:GetService("UserInputService")
5
6-- Variables
7local player = Players.LocalPlayer
8local character = player.Character or player.CharacterAdded:Wait()
9local hrp = character:WaitForChild("HumanoidRootPart")
10
11-- Target Path Variables
12local baseFolder = game:GetService("Workspace"):WaitForChild("Map"):WaitForChild("Shops"):WaitForChild("Megumi V2MissingPieces"):WaitForChild("DivineDogs")
13
14-- Table to store found dogs in order
15local dogList = {}
16local currentIndex = 1
17
18-- 1. Scan for Divine Dogs
19local function scanForDogs()
20 dogList = {} -- Reset list
21
22 for _, child in pairs(baseFolder:GetChildren()) do
23 -- Check if the name matches "DivineDog" followed by a number
24 local number = string.match(child.Name, "DivineDog(%d+)")
25 if number then
26 -- Store the object and its number for sorting
27 table.insert(dogList, {Object = child, Number = tonumber(number)})
28 end
29 end
30
31 -- Sort the list numerically (1, 2, 3... 10, 11) instead of alphabetically
32 table.sort(dogList, function(a, b)
33 return a.Number < b.Number
34 end)
35
36 print("Found " .. #dogList .. " Divine Dogs.")
37end
38
39-- 2. ESP Function
40local function addESP(dogModel)
41 if not dogModel:IsA("Model") and not dogModel:IsA("BasePart") then return end
42
43 -- Create a Highlight
44 local highlight = Instance.new("Highlight")
45 highlight.Name = "DogESP"
46 highlight.FillColor = Color3.fromRGB(0, 255, 255) -- Cyan color
47 highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
48 highlight.FillTransparency = 0.5
49 highlight.OutlineTransparency = 0
50 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop -- Visible through walls
51 highlight.Adornee = dogModel
52 highlight.Parent = dogModel
53
54 -- Optional: Add a BillboardGui (Floating Text) above the dog
55 local billboard = Instance.new("BillboardGui")
56 billboard.Name = "DogLabel"
57 billboard.Size = UDim2.new(0, 100, 0, 30)
58 billboard.StudsOffset = Vector3.new(0, 3, 0)
59 billboard.AlwaysOnTop = true
60 billboard.Adornee = dogModel:IsA("Model") and dogModel.PrimaryPart or dogModel
61 billboard.Parent = dogModel
62
63 local textLabel = Instance.new("TextLabel", billboard)
64 textLabel.Size = UDim2.new(1, 0, 1, 0)
65 textLabel.BackgroundTransparency = 1
66 textLabel.Text = dogModel.Name
67 textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
68 textLabel.TextStrokeTransparency = 0
69 textLabel.TextScaled = true
70end
71
72-- 3. GUI Creation
73local screenGui = Instance.new("ScreenGui")
74screenGui.Name = "DogTeleportGUI"
75screenGui.Parent = player:WaitForChild("PlayerGui")
76
77local mainFrame = Instance.new("Frame")
78mainFrame.Name = "MainFrame"
79mainFrame.Size = UDim2.new(0, 200, 0, 100)
80mainFrame.Position = UDim2.new(0.5, -100, 0.5, -50) -- Center screen
81mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
82mainFrame.BorderSizePixel = 0
83mainFrame.Active = true
84mainFrame.Draggable = true -- Allows you to move the GUI
85mainFrame.Parent = screenGui
86
87local corner = Instance.new("UICorner")
88corner.CornerRadius = UDim.new(0, 8)
89corner.Parent = mainFrame
90
91local title = Instance.new("TextLabel")
92title.Size = UDim2.new(1, 0, 0, 30)
93title.BackgroundTransparency = 1
94title.Text = "Dog Teleport"
95title.TextColor3 = Color3.fromRGB(255, 255, 255)
96title.Font = Enum.Font.GothamBold
97title.TextSize = 18
98title.Parent = mainFrame
99
100local teleportBtn = Instance.new("TextButton")
101teleportBtn.Size = UDim2.new(0.9, 0, 0, 40)
102teleportBtn.Position = UDim2.new(0.05, 0, 0.5, 0)
103teleportBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 50)
104teleportBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
105teleportBtn.Font = Enum.Font.GothamBold
106teleportBtn.TextSize = 16
107teleportBtn.Text = "Teleport"
108teleportBtn.Parent = mainFrame
109
110local btnCorner = Instance.new("UICorner")
111btnCorner.Parent = teleportBtn
112
113-- 4. Teleport Logic
114teleportBtn.MouseButton1Click:Connect(function()
115 if #dogList == 0 then
116 scanForDogs()
117 if #dogList == 0 then
118 teleportBtn.Text = "No Dogs Found"
119 task.wait(2)
120 teleportBtn.Text = "Teleport"
121 return
122 end
123 end
124
125 if currentIndex > #dogList then
126 teleportBtn.Text = "Done! (Reset)"
127 currentIndex = 1 -- Reset cycle
128 return
129 end
130
131 local targetData = dogList[currentIndex]
132 local targetObj = targetData.Object
133
134 -- Ensure character exists
135 if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
136 -- Teleport logic
137 local targetPos
138 if targetObj:IsA("BasePart") then
139 targetPos = targetObj.CFrame
140 elseif targetObj:IsA("Model") and targetObj.PrimaryPart then
141 targetPos = targetObj.PrimaryPart.CFrame
142 elseif targetObj:IsA("Model") then
143 -- If no PrimaryPart, find a part inside
144 local part = targetObj:FindFirstChildWhichIsA("BasePart")
145 if part then targetPos = part.CFrame end
146 end
147
148 if targetPos then
149 player.Character.HumanoidRootPart.CFrame = targetPos + Vector3.new(0, 3, 0) -- +3 Y to avoid getting stuck
150 teleportBtn.Text = "TP: " .. targetObj.Name .. " (" .. currentIndex .. "/" .. #dogList .. ")"
151 currentIndex = currentIndex + 1
152 end
153 end
154end)
155
156-- 5. Initialize
157scanForDogs()
158
159-- Apply ESP to all found dogs
160for _, data in pairs(dogList) do
161 addESP(data.Object)
162end
163
164print("Script Loaded. Dogs sorted: ", #dogList)