How do i make notifications like this


how can i make something like this with custom text? is there a simple module or smth

If you want that exact look, you can use the SetCore method in StarterGui with SendNotification as the first parameter

example script
local bind = Instance.new("BindableFunction")
bind.OnInvoke = function(button)
	if button == "Cancel" then
		print("canceled")
	elseif button == "Buy" then
		print("purchased")
	end	
end

game.StarterGui:SetCore("SendNotification", {
	Title = "AirStrike";
	Text = "";
	Icon = "rbxassetid://109251559";
	Duration = 10;
	Callback = bind;
	Button1 = "Cancel";
	Button2 = "Buy"
})

It looks like this, and you can control what happens when you click the button with the bindablefunction

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.