RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create me a notification system and example of usin it"
-- script for notification system local UserInputService = game:GetService("UserInputService") local StarterGui = game:GetService("StarterGui") local function sendNotification(title, text, duration, button1Text, button2Text) local player = game.Players.LocalPlayer StarterGui:SetCore("SendNotification", { Title = title; Text = text; Duration = duration; Button1 = button1Text; Button2 = button2Text; }) end -- example of using the notification system sendNotification("Welcome!", "Welcome to our game. Enjoy your stay!", 5, "Okay", "Close")