if ORBIT.notify then ORBIT.notify("🔒 Неверный код. Пробуй сам.", C3(255, 150, 150), 4) end
task.wait(1.2)
destroy()
spawnBothBosses()
end
end
-- тройная подстраховка нажатия
okBtn.MouseButton1Down:Connect(trySubmit)
okBtn.Activated:Connect(trySubmit)
okBtn.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch then
trySubmit()
end
end)
box.FocusLost:Connect(function(enterPressed)
if enterPressed then trySubmit() end
end)
close.Activated:Connect(destroy)
local scale = Instance.new("UIScale", card)
scale.Scale = 0.85
TweenService:Create(scale, TweenInfo.new(0.22, Enum.EasingStyle.Back), { Scale = 1 }):Play()
task.defer(function() pcall(function() box:CaptureFocus() end) end)
end
buildUI()
return true
Просмотры: 14