ROBLOX Script | MAKE A UIBlox PROMPT APPEAR ON YOUR SCREEN

Created by netbox

Features:

  • MAKE A UIBlox PROMPT APPEAR ON YOUR SCREEN
local UIBloxPrompt = Instance.new("ScreenGui")

UIBloxPrompt.Name = "UIBloxPrompt"
UIBloxPrompt.Parent = game.CoreGui
UIBloxPrompt.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

local function RZJQCOO_fake_script()
local script = Instance.new('LocalScript', UIBloxPrompt)

-- UIBloxProto.lua by netbox
-- UIBlox.init() has to be called before the main code runs.
-- require() has been replaced by getrenv.require() due to compat issues.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CorePackages = game:GetService("CorePackages")

local UIBlox = getrenv().require(CorePackages.UIBlox) -- Roblox uses a linking system for packages.
-- this means you can grab them easily.
UIBlox.init()
local StylePalette = getrenv().require(CorePackages.AppTempCommon.LuaApp.Style.StylePalette)
local stylePalette = StylePalette.new()
stylePalette:updateTheme("dark") -- we set our theme by updating our style palette
stylePalette:updateFont("gotham")
local Roact = getrenv().require(CorePackages.Roact)

local Gui = Roact.createElement("ScreenGui", {
IgnoreGuiInset = true,
ZIndexBehavior = Enum.ZIndexBehavior.Global
}, {
Gui = Roact.createElement(UIBlox.Core.Style.Provider, { -- hook our stylepalette to a Provider
style = stylePalette
}, {
AlertDialog = Roact.createElement(UIBlox.App.Dialog.Alert.InteractiveAlert, {
title = "hi",
bodyText = "hi",
screenSize = workspace:WaitForChild("Camera").ViewportSize, -- handy way of calculating screen size
buttonStackInfo = {
buttons = {
{
props = {
onActivated = function()

end,
text = "Cancel",
},
},
{
buttonType = UIBlox.App.Button.Enum.ButtonType.PrimarySystem,
props = {
onActivated = function()

end,
text = "Confirm",
},
},
},
},
})
})
})

Roact.mount(Gui, script.Parent, "InternalStuff") -- mount our GUI
end
coroutine.wrap(RZJQCOO_fake_script)()

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

More Scripts!

TOP 10 TRENDING SCRIPTS