Lobby 3d
This commit is contained in:
1 parent
fd5e92d0f5
commit
9f898c04dd
415 files changed
+6241617
-633464
No files matched your search
@@ -0,0 +1,28 @@
|
||||
-- (Client) после правок №5: шаг обучения не ждёт таблички, портал в Мир 1 переносит, NPC в длинных юбках без видимых ног
|
||||
local P = game.Players.LocalPlayer
|
||||
local map = workspace.FishingMap
|
||||
local out = {}
|
||||
task.wait(2)
|
||||
local hint = ""
|
||||
for _, g in ipairs(P.PlayerGui.FishingUI:GetDescendants()) do
|
||||
if g:IsA("TextLabel") and g.Visible and (g.Text:find("табличку") or g.Text:find("портал")) then
|
||||
hint = g.Text
|
||||
end
|
||||
end
|
||||
table.insert(out, "шаг обучения: " .. tostring(P:GetAttribute("Tutorial")) .. ", подсказка: " .. hint)
|
||||
for _, n in ipairs({ "Бабушка Нюра", "Купчиха Злата", "Скупщица Зина" }) do
|
||||
local rig = map:FindFirstChild(n)
|
||||
local leg = rig and rig:FindFirstChild("RightLowerLeg")
|
||||
table.insert(out, n .. ": нога видна = " .. tostring(leg and leg.Transparency < 1))
|
||||
end
|
||||
local part = map.Portal_World1
|
||||
local pp = part:FindFirstChildWhichIsA("ProximityPrompt", true)
|
||||
P.Character:PivotTo(CFrame.new(part.Position.X, 4, part.Position.Z) + Vector3.new(part.Position.X, 0, part.Position.Z).Unit * 4)
|
||||
task.wait(1)
|
||||
pp:InputHoldBegin()
|
||||
task.wait(0.1)
|
||||
pp:InputHoldEnd()
|
||||
task.wait(4)
|
||||
local p = P.Character.HumanoidRootPart.Position
|
||||
table.insert(out, ("после портала Мира 1: (%.0f, %.0f, %.0f)"):format(p.X, p.Y, p.Z))
|
||||
return table.concat(out, "\n")
|
||||
Reference in new issue
Block a user