
14.1k Views
28 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
idk
local CreateInstance = function(InstanceType, Properties, Children)
local Object = Instance.new(InstanceType)
for Key, Value in next, Properties or {} do
Object[Key] = Value
end
for _, Child in next, Children or {} do
Child.Parent = Object
end
return Object
end
local DisplayPopup = function(Title, Message, UseCoroutine)
if not getrenv then
return warn(Message)
end
local ErrorModule = getrenv().require(
game.CoreGui:WaitForChild("RobloxGui")
:WaitForChild("Modules")
:WaitForChild("ErrorPrompt")
)
local Prompt = ErrorModule.new("Default", { HideErrorCode = true })
local ErrorGui = CreateInstance("ScreenGui", {
Parent = game.CoreGui,
ResetOnSpawn = false
})
local CurrentCoroutine = UseCoroutine and coroutine.running()
Prompt:setParent(ErrorGui)
Prompt:setErrorTitle(Title)
Prompt:updateButtons({{
Text = "ok",
Callback = function()
Prompt:_close()
ErrorGui:Destroy()










Gurt yo
10/10!