fix(g4): label.Visible=false + Destroy при нажатии E

hintGui:Destroy() не убирает gui-overlay созданный TextLabel через
newGuiInstance. Делаем label.Visible=false (надёжный путь) + явный
label:Destroy().
This commit is contained in:
min 2026-06-09 17:18:52 +03:00
parent c18dfc4d56
commit 36321f0d17

View File

@ -342,6 +342,8 @@ UserInputService.InputBegan:Connect(function(input, gp)
if input.KeyCode ~= Enum.KeyCode.E then return end if input.KeyCode ~= Enum.KeyCode.E then return end
opened = true opened = true
label.Visible = false -- скрываем подсказку (Destroy не уничтожает GUI-overlay)
label:Destroy()
hintGui:Destroy() hintGui:Destroy()
clickSound:Play() clickSound:Play()
__rbxl_show_text("Дверь открывается!", 2) __rbxl_show_text("Дверь открывается!", 2)