Skip to main content

AnnouncementConfig

The file can be found in Announcement System -> ReplicatedStorage -> AnnouncementConfig.lua
-- ===== MAIN TOGGLES =====
Config.UseGroupRanks = false
Config.UseUsernameWhitelist = true
  • If you are using GroupRanks to allow announcements, set Config.UseGroupRanks = true
  • If you are using UsernameWhitelist, set Config.UseUsernameWhitelist = true
  • You can use both of these if you would like.
One of these must be on for the product to work.
-- ===== GROUP SETTINGS =====
Config.GroupId = 123456789 -- CHANGE THIS
Config.AllowedRanks = {
	255, -- Rank 1
	254, -- Rank 2
	200, -- Rank 3
}
If you are going to use this, change the values to what you need them to be, else you can leave it as it is.
-- ===== USERNAME WHITELIST =====
Config.AllowedUsers = {
	"OmarProRobloxer", -- Player 1
	"cj_daboi36", -- Player 2
}
If you are using this instead, or alongside with group ranking, change the values, else delete the usernames in the AllowedUsers.
-- ===== ANNOUNCEMENT SETTINGS =====
Config.DisplayTime = 5 -- seconds on screen
Config.AnimationTime = 0.6
Config.Prefix = "!" -- Command prefix
  • Config.DisplayTime will be the amount of time (in seconds) the announcement will be up for.
  • Config.AnimationTime is the **amount of time (seconds) **it will make for the animation to go down to show, then up to hide.
  • Config.Prefixis the command prefix, eg.!announce Test Message!
And that concludes the setup of the MainConfig, **next **we will place all the scripts and GUI’s in the right spots.

Sorting scripts

You do not need to sort the scripts, our loader does this automatically. The folder names are here for the loader to understand the files better.
Next, you will download our whitelist module in order for the product to function.