local prompt = script.Parent
prompt.Triggered:Connect(function(player)
local recycle = script.Parent.Parent.Parent
local recycleDerbis = workspace:WaitForChild("7 Base"):WaitForChild("Recycle"):WaitForChild("RecycleDerbis", 3)
if recycleDerbis then
print("RecycleDerbis найден")
else
print("RecycleDerbis НЕ найден")
end
local derbis = workspace:WaitForChild("7 Base"):WaitForChild("Recycle"):WaitForChild("RecycleDerbis"):WaitForChild("Debris", 3)
if derbis then
print("Derbis найден")
else
print("Derbis НЕ найден")
end
local baseFolder = workspace:WaitForChild("7 Base", 3)
if baseFolder then
print('"7 Base" найден')
else
print('"7 Base" НЕ найден')
end
local baseRecycle = workspace:WaitForChild("7 Base"):WaitForChild("BaseRecycle", 3)
if baseRecycle then
print("BaseRecycle найден")
else
print("BaseRecycle НЕ найден")
end
local wedge2 = workspace:WaitForChild("7 Base"):WaitForChild("Recycle"):WaitForChild("Wedge2", 3)
if wedge2 then
print("Wedge2 найден")
else
print("Wedge2 НЕ найден")
end
local innerPrompt = workspace:WaitForChild("7 Base"):WaitForChild("Recycle"):WaitForChild("Wedge2"):WaitForChild("ProximityPrompt", 3)
if innerPrompt then
print("ProximityPrompt в Wedge2 найден")
else
print("ProximityPrompt в Wedge2 НЕ найден")
end
end)
I’ve had a headache from this for 1 hour now, help
