Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Проверяем, существует ли LocalPlayer (на клиентской стороне)
- if game:GetService("Players").LocalPlayer then
- local playerGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
- -- Проверяем наличие экрана загрузки и удаляем его
- if playerGui:FindFirstChild("loading") then
- playerGui.loading:Destroy()
- print("Экран загрузки удален")
- else
- print("Экран загрузки не найден")
- end
- else
- warn("Этот скрипт должен выполняться на клиентской стороне")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement