FlexNotify Notification System!

(Insert Drumroll)

INTRODUCING FLEXNOTIFY NOTIFICATION SYSTEM!!!

Hello! I am JAcoboiskaka1121 and I introduce to you, FlexNotify! A simple, yet powerful notification Module that’s easy to use and customise! Anyway enough with the introduction, You can find the Module here. Scroll down for the usage guide!

USAGE GUIDE

There are 2 functions for the system. Let’s go over them! But first, Guide on how to install it!

  1. Get the model linked at the top or at the bottom of the post.
  2. Insert it into your Roblox experience
  3. Parent it to ReplicatedStorage.
  4. Make a local script inside one of these:
  • StarterPlayerScripts
  • StarterGui
  • Any of your guis.
  1. require the Module with require(game.ReplicatedStorage.FlexNotify)
  2. Follow the rest of the guide!

CHANGE PARAMETERS

It’s in the name, Change parameters changes the default settings of the system. Start by calling the function.

FlexNotify:ChangeParameters()

And put the properties inside the brackets, the Settings are as follows.

  1. Duration: How long should the notification stay on screen.(number)
  2. Position: Where should the Notification be (string). There are 4 positions:

Top Right
Top Left
Bottom Right
Bottom Left

  1. Sound: Should a sound be played once the notification is showed?(bool)
    and last but not least.
  2. Max notifications: The amount of maximum notifications on screen (number)

In the function they would look something like this:

FlexNotify:ChangeParameters(
5, --Duration
"bottomright", -- Position(Make sure there isn't any spaces)
true, --Sound
10, -- Max Notifications
)

These change the default setting, there are more settings that have to be specified inside the Notify function itself.

but now, the main course.

NOTIFY

This is the main function used to trigger the notification, Start by calling the function:

FlexNotify.Notify()

and same thing with the last function, put the settings in the brackets, The settings are as follows:

  1. Text: The main text that you want the notification to show, this is required. It also supports rich text, use the HTML rich text guide here.(string)
  2. Notification type: Type of notification you want the message to be (string). Here are the types:

Success: If the event is successful, String is “success”
Failed: If the event is unsuccessful, String is “failed”
Information: A middle ground between all the types. String is nil or “information”
Custom: If you want the notification to be custom. String is “custom”
Undefined: Couldn’t find any of the types above. String is a random string.

  1. Position: Like the last function, Changes the Position, The list is on the top. (string)
  2. Sound: If a sound should play when triggered. (Bool)
  3. Duration: How long should the Notification stay on screen. (Number)
  4. Image: Sets an Image to show with the notification if provided with an Image ID. (Number)

A function with these settings will look like this:

FlexNotify.Notify(
		"Hello world!",-- Main text
		"information",-- Notification type(make sure all letters are lowercase)
		"topleft",-- Position(make sure there's no spaces)
		true, -- Sound
		3, -- Duration
		1234567890 --Image
	)

Screenshot 2024-09-03 at 10.22.23 AM

Note: Any setting you change inside the Notify function will override the ChangeParameters Setting.

CONCLUSION

That’s basically it on how to use it, you can get it here, or on the other hyperlinks.

This is my first community resource, so let me know if you like it and improvements I can make! Message me or put a comment under the post if you find any bugs or problems. Hope you enjoy using it! Anyway, Have an amazing day or night or midnight, or eveni-you get the point! Anyway.

See you!!!

3 Likes

This looks interesting. Mind providing a visual aid?

Like images? or code examples?

1 Like

Yeah, maybe like an image or a short video.

I have an image of how it looks like and some usage examples.