I am talking about those popups that are on the bottom-right corners. This is for a gamepass.
There’s a couple of tutorial videos that show up if you search “Roblox in game notifications”, please search before asking.
You can achieve this through the StarterGui:SetCore(“SendNotification”, config)
method. You can find what the configuration table takes on the page.
To create custom popups/notifacations use SetCore specifically SendNotification
. It has 7 parameters: Title, Text, Icon, Duration, Callback, Button1 and Button2. I will demonstrate Title, Text and Icon in this.
To create a notification you write.
game:GetService("StarterGui"):SetCore("SendNotifacation")
But this will just create a completely blank notification. To add custom text you create a table containing the three parameters mentioned above.
{Title = nul; Text = nul; Icon = nul}
To complete combine these two together and replace nul
with some strings. Like so:
Ex.
local StarterGui = game:GetService("StarterGui") StarterGui:SetCore("SendNotifacation", { Title = "ExampleTitle"; Text = "ExampleText"; Icon = "rbxassetid://0" })
This should create a notification that says "ExampleTitle" with smaller "ExampleText" written underneath it with whatever image "rbxassetid://0" represents to the left of all that.
For more see Roblox Developer Hub or YouTube