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?
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.
Closed as Not Constructive by User#19524, Amiaa16, evaera, LateralLace, and T0XN
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?