loadstring(game:HttpGet("https://darahub.pages.dev/Module/Library/GUI/NotifyToast.lua"))()
Features & Information
Toast is a open source remake of deafult Roblox Toast Notification library with customizable features
for example :
getgenv().NotifyToast({
title = "Title Here", -- supports <font color='#FF0000'>HTML</font>
content = "Message with <font color='#00FF00'>colors</font> and <b>bold</b>",
icon = "triangle-exclamation", -- BuilderIcons name
-- icon = 1234567890, -- rbxassetid number
-- icon = "rbxassetid://1234567890", -- rbxassetid string
-- icon = "https://i.imgur.com/abc.png", -- URL (auto-download)
iconColor = "#FF0000", -- hex string
-- iconColor = Color3.fromRGB(255,0,0), -- Color3
iconRadius = 18, -- 0 = square, 18+ / true = circle
-- iconRadius = true, -- force circle
duration = 5, -- seconds (default 2)
callback = function()
print("Toast clicked!")
-- game:Shutdown() etc.
end
})
```
**Quick examples:**
-- Simple
getgenv().NotifyToast({title = "Hello", content = "World"})
-- Circle icon + color
getgenv().NotifyToast({
title = "<font color='#FF5555'>BAN WAVE</font>",
content = "Do not use on public servers",
icon = "shield-x",
iconColor = "#FF0000",
iconRadius = true,
duration = 8
})
-- Image URL
getgenv().NotifyToast({
title = "Custom Image",
content = "From web",
icon = "https://i.imgur.com/yourimage.png",
iconRadius = 18
})
NotifyToast({
title = "Hello!",
content = "This is a toast notification",
duration = 3, -- Optional: display time in seconds
icon = "rbxassetid://1234567890", -- Optional: icon asset ID or URL
callback = function() -- Optional: function to run when clicked
print("Toast clicked!")
end
})
getgenv().NotifyToast({
title = "<font color='#FF5555'>WARNING!</font>",
content = "Custom icon color test",
icon = "triangle-exclamation",
iconColor = "#FF0000", -- or "#00FF00", Color3.fromRGB(255,0,0)
duration = 4
})
Community Comments (0)
No comments yet for this script.