Roblox Script | CREATE A UIBLOX TOAST ONTO YOUR SCREEN

Created by netbox

Features:

  • CREATE A UIBLOX TOAST ONTO YOUR SCREEN
    • Fluent Roblox UI
    • Easily customizable icon set
    • Low level programming knowledge*
    • Special animations for mounting a GUI
    • Mounts to CoreGui
    • Not too bloated
    • GUI calculates scaling on the fly, which means that icon scaling is automatic, but also, the description text scales downwards.
  •  
  • DEV NOTES:
  • It displays warnings to the Roblox console (of course this isn’t necessarily bad, but you could get detected because of it, however it warns from corepackages so you shouldn’t get into too much trouble).
  • Of course, you need knowledge of Roact to recode (unmounting the toast is very fucking annoying to do, and scripting is very case dependent, you will experience errors!).
local CoreGui = game:GetService("CoreGui")
local CorePackages = game:GetService("CorePackages")

local UIBlox = getrenv().require(CorePackages.UIBlox)

UIBlox.init()
local StylePalette = getrenv().require(CorePackages.AppTempCommon.LuaApp.Style.StylePalette)
local stylePalette = StylePalette.new()
stylePalette:updateTheme("dark")
stylePalette:updateFont("gotham")
local Roact = getrenv().require(CorePackages.Roact)
local Images = getrenv().require(CorePackages.Packages._Index.UIBlox.UIBlox.App.ImageSet.Images)

local Gui = Roact.createElement("ScreenGui", {
IgnoreGuiInset = true,
ZIndexBehavior = Enum.ZIndexBehavior.Global
}, {
Gui = Roact.createElement(UIBlox.Core.Style.Provider, {
style = stylePalette
}, {
Toast = Roact.createElement(UIBlox.App.Dialog.Toast, {
toastContent = {
toastTitle = "toastTitle",
toastSubtitle = "toastSubtitle, and yes, it does scale downwards in case you were wondering.",
iconImage = Images['icons/status/warning']
}
})
})
})

Roact.mount(Gui, CoreGui, "InternalStuff")

ENJOY!

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

More Scripts!

TOP 10 TRENDING SCRIPTS