Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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?

0
By doing it. User#19524 175 — 5y

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?

2 answers

Log in to vote
2
Answered by
Amiaa16 3227 Moderation Voter Community Moderator
5 years ago

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"
})
Ad
Log in to vote
1
Answered by 5 years ago

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.