local Players: Players = game:GetService("Players") local StarterGui: StarterGui = game:GetService("StarterGui") local player: Player = Players.LocalPlayer pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) end) local bsodGui: ScreenGui = Instance.new("ScreenGui") bsodGui.Name = "FatalErrorGUI" bsodGui.IgnoreGuiInset = true bsodGui.DisplayOrder = 2147483647 bsodGui.ResetOnSpawn = false local hiddenUI: Instance = (gethui and gethui()) or game:GetService("CoreGui") bsodGui.Parent = hiddenUI local bg: Frame = Instance.new("Frame") bg.Name = "Background" bg.Size = UDim2.new(1, 0, 1, 0) bg.BackgroundColor3 = Color3.fromRGB(0, 120, 215) bg.BorderSizePixel = 0 bg.Parent = bsodGui local face: TextLabel = Instance.new("TextLabel") face.Name = "SadFace" face.Size = UDim2.new(0.8, 0, 0.2, 0) face.Position = UDim2.new(0.1, 0, 0.1, 0) face.BackgroundTransparency = 1 face.Text = ":(" face.TextColor3 = Color3.new(1, 1, 1) face.TextScaled = true face.Font = Enum.Font.SourceSansLight face.TextXAlignment = Enum.TextXAlignment.Left face.Parent = bg local faceConstraint: UITextSizeConstraint = Instance.new("UITextSizeConstraint") faceConstraint.MaxTextSize = 130 faceConstraint.Parent = face local mainText: TextLabel = Instance.new("TextLabel") mainText.Name = "MainText" mainText.Size = UDim2.new(0.8, 0, 0.2, 0) mainText.Position = UDim2.new(0.1, 0, 0.35, 0) mainText.BackgroundTransparency = 1 mainText.Text = "Your game went into a problem and needs to restart. We’re just collecting some error info, and then we’ll restart for you." mainText.TextColor3 = Color3.new(1, 1, 1) mainText.TextWrapped = true mainText.TextScaled = true mainText.Font = Enum.Font.SourceSansLight mainText.TextXAlignment = Enum.TextXAlignment.Left mainText.TextYAlignment = Enum.TextYAlignment.Top mainText.Parent = bg local mainTextConstraint: UITextSizeConstraint = Instance.new("UITextSizeConstraint") mainTextConstraint.MaxTextSize = 40 mainTextConstraint.MinTextSize = 14 mainTextConstraint.Parent = mainText local progressText: TextLabel = Instance.new("TextLabel") progressText.Name = "ProgressText" progressText.Size = UDim2.new(0.8, 0, 0.1, 0) progressText.Position = UDim2.new(0.1, 0, 0.55, 0) progressText.BackgroundTransparency = 1 progressText.Text = "0% complete" progressText.TextColor3 = Color3.new(1, 1, 1) progressText.TextScaled = true progressText.Font = Enum.Font.SourceSansLight progressText.TextXAlignment = Enum.TextXAlignment.Left progressText.Parent = bg local progressConstraint: UITextSizeConstraint = Instance.new("UITextSizeConstraint") progressConstraint.MaxTextSize = 40 progressConstraint.MinTextSize = 14 progressConstraint.Parent = progressText local bottomText: TextLabel = Instance.new("TextLabel") bottomText.Name = "BottomText" bottomText.Size = UDim2.new(0.8, 0, 0.1, 0) bottomText.Position = UDim2.new(0.1, 0, 0.7, 0) bottomText.BackgroundTransparency = 1 bottomText.Text = "For more information about this issue and possible fixes, visit https://www.roblox.com/support\n\nIf you call a support person, give them this info:\nStop code: CRITICAL_PROCESS_DIED" bottomText.TextColor3 = Color3.new(1, 1, 1) bottomText.TextWrapped = true bottomText.TextScaled = true bottomText.Font = Enum.Font.SourceSans bottomText.TextXAlignment = Enum.TextXAlignment.Left bottomText.TextYAlignment = Enum.TextYAlignment.Top bottomText.Parent = bg local bottomConstraint: UITextSizeConstraint = Instance.new("UITextSizeConstraint") bottomConstraint.MaxTextSize = 16 bottomConstraint.MinTextSize = 10 bottomConstraint.Parent = bottomText for i: number = 0, 100 do progressText.Text = tostring(i) .. "% complete" task.wait(3) end player:Kick("why did I make this ")