This commit is contained in:
heyshawtyy committed 2026-11-06 12:34:01 +05:00
1 parent 73a2db8bb8
commit 44cf31ce6b
231 files changed
+3396887 -1109081

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
-- (Client) шаг обучения «Прочитай табличку»: у точки появления не срабатывает, у таблички — открывается вид на неё
local P = game.Players.LocalPlayer
local map = workspace.FishingMap
local marker = map:FindFirstChild("GuideBoard")
local view = P.PlayerGui:WaitForChild("BoardView", 5)
local out = { "шаг обучения: " .. tostring(P:GetAttribute("Tutorial")) }
P.Character:PivotTo(CFrame.new(0, 4, 57))
task.wait(2)
table.insert(out, "у точки появления вид на табличку: " .. tostring(view and view.Enabled))
P.Character:PivotTo(CFrame.new(marker.Position + Vector3.new(0, 3, 0)))
task.wait(2)
table.insert(out, "у таблички вид на табличку: " .. tostring(view and view.Enabled))
return table.concat(out, "\n")
+29
View File
@@ -0,0 +1,29 @@
-- (Client) нажать подсказку каждого портала лобби и посмотреть, куда перенесло (или что ответил сервер)
local P = game.Players.LocalPlayer
local map = workspace.FishingMap
local out = {}
for _, id in ipairs({ "World1", "World2", "World3", "World4" }) do
local part = map:FindFirstChild("Portal_" .. id)
local pp = part and part:FindFirstChildWhichIsA("ProximityPrompt", true)
if not pp then
table.insert(out, id .. ": нет подсказки")
else
P.Character:PivotTo(CFrame.new(0, 4, 40))
task.wait(1)
P.Character:PivotTo(CFrame.new(part.Position.X * 1.6, 4, part.Position.Z * 1.6))
task.wait(1)
pp:InputHoldBegin()
task.wait(0.1)
pp:InputHoldEnd()
task.wait(4)
local pos = P.Character.HumanoidRootPart.Position
local toast = ""
for _, g in ipairs(P.PlayerGui.FishingUI:GetDescendants()) do
if g:IsA("TextLabel") and g.Visible and g.Text:find("🔒") then
toast = g.Text
end
end
table.insert(out, ("%s: теперь в (%.0f, %.0f) %s"):format(id, pos.X, pos.Z, toast))
end
end
return table.concat(out, "\n")
+25
View File
@@ -0,0 +1,25 @@
-- (любой режим) что стоит прямо в FishingMap и Workspace в прямоугольнике X1..X2, Z1..Z2 (правьте числа)
local X1, X2, Z1, Z2 = __BOX__
local out = {}
local function scan(root)
for _, c in ipairs(root:GetChildren()) do
local p, s
if c:IsA("Model") then
local cf
cf, s = c:GetBoundingBox()
p = cf.Position
elseif c:IsA("BasePart") then
p, s = c.Position, c.Size
end
if p and p.X >= X1 and p.X <= X2 and p.Z >= Z1 and p.Z <= Z2 and s.Magnitude < 80 then
local tags = {}
for k, v in pairs(c:GetAttributes()) do
table.insert(tags, k .. "=" .. tostring(v):sub(1, 20))
end
table.insert(out, ("%s %s @(%.1f,%.1f,%.1f) size(%.1f,%.1f,%.1f) %s"):format(c.ClassName, c:GetFullName(), p.X, p.Y, p.Z, s.X, s.Y, s.Z, table.concat(tags, " ")))
end
end
end
scan(workspace.FishingMap)
scan(workspace)
return table.concat(out, "\n")
+33
View File
@@ -0,0 +1,33 @@
-- (Client) проверка лавки удочек: подсказка открывает магазин, Михалыч стоит за стойкой
local P = game.Players.LocalPlayer
local map = workspace.FishingMap
local shop = map:FindFirstChild("LobbyShop_Rods")
if not shop then
return "нет LobbyShop_Rods"
end
local pp = shop:FindFirstChildWhichIsA("ProximityPrompt", true)
local part = pp.Parent
local toCenter = -Vector3.new(part.Position.X, 0, part.Position.Z).Unit
P.Character:PivotTo(CFrame.new(part.Position + toCenter * 6 + Vector3.new(0, 3, 0)))
task.wait(0.8)
pp:InputHoldBegin()
task.wait(0.1)
pp:InputHoldEnd()
task.wait(1.2)
local opened
for _, f in ipairs(P.PlayerGui.FishingUI:GetDescendants()) do
if f:IsA("TextLabel") and f.Text:find("Магазин Михалыча", 1, true) then
local w = f
while w and not (w:IsA("Frame") and w.ZIndex == 20) do
w = w.Parent
end
opened = w and w.Visible
end
end
local rig = map:FindFirstChild("Продавец Михалыч")
local base = shop:GetPivot()
local l = rig and base:PointToObjectSpace(rig:GetPivot().Position)
local look = rig and base:VectorToObjectSpace(rig:GetPivot().LookVector)
local feet = rig and (rig.HumanoidRootPart.Position.Y - rig.Humanoid.HipHeight - rig.HumanoidRootPart.Size.Y / 2)
return ("магазин открылся: %s; Михалыч в лавке (%.1f, %.1f, %.1f), смотрит (%.2f, %.2f), ноги Y=%.2f, пол лавки Y=%.2f"):format(
tostring(opened), l.X, l.Y, l.Z, look.X, look.Z, feet, base.Position.Y)