Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to put a message in the bottom right of the game?

I have a game that I want to put a message with a title and text in the bottom right hand of the screen, like in Jailbreak (when someone robs the bank, etc.) How can I achieve this with a script?

1 comment

0

By doing it.

2 answers

✓ Accepted answer

I believe what you're looking for is the SendNotification of StarterGui:SetCore()

game:GetService("StarterGui"):SetCore("SendNotification", {
	Title = "Title here",
	Text = "Text here",
	Icon = "Optional icon here"
	Duration = 7,
	Button1 = "Dismiss"
})

Use a LocalScript inside StarterGui and from there you have two options:

-Create a GUI from scratch using Instance.new() and changing it's properties to your liking, which I do not recommend

-Pre create a GUI using a manual Insert Object by right clicking on the StarterGui and customize it from there.

It would take way too long to explain, but this link should show you how to animate GUIs with ease. Here's another link to get you started on understanding scripting with GUIs.

This discussion is preserved as it was. New answers, comments, and votes are closed.