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

how to make a pop up gui when something happens?

Asked by 3 years ago

so what i mean is not a regular gui that you make i was thinking i saw this somewhere where it pops up with some text and goes away it looks like the box that a friend request looks like i feel like jailbreak uses this is there some line of code that i could make this happen like the kick command player:Kick() or has jailbreak created there own gui?

1 answer

Log in to vote
1
Answered by 3 years ago

You're thinking of notifications. To make a notification you need to get StarterGui and then do SetCore("SendNotification" , {Content}). They're really useful for small things.

Ex:

game.StarterGui:SetCore("SendNotification", {
    Title = "Alert",
    Text = "Hello!",
--  Icon = "", You can add an image too but that's not needed
    Duration = 5,
})

I can't really explain it well but here's some more info about them: https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCore

0
wow it worked thanks! botw_legend 502 — 3y
Ad

Answer this question