⊁▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬⊀
What is FEARService?
FEARService is a universal module that is intended to be used upon every FEAR facilities. It has functions that all facilities should have, whether it be for functional uses to give people weapons, or for us to enforce rules we have against packages and keeping track of reaching sword fighters. This module relies on Kohl’s Admin’s Admin system. With that being said, each facility has different needs, and will require you to mess with the settings.
Changes
We’re thrilled to announce that FEARService has undergone significant improvements and additions since the last update. We’ve listened to your feedback and have worked hard to enhance the functionality and features of FEARService, providing you with an even better experience. Here are some of the notable changes and additions:
-
Kohl’s Command Enhancements - Kohl’s true/false boolean arguments can now be called by on/off, providing more intuitive command usage.
-
Expanded Command Permissions - Previously, most commands were limited to individuals with ranks lower than the person issuing the command, but now these commands have been extended to apply to everyone.
-
High Kill Stud Logs Remake - The High Kill Stud Logs have undergone a remake, including improved search functionality. Users can now search for stud amounts and add spaces at the beginning of their query to avoid interference with search results.
-
Player Statistics - A custom leaderboard that tracks various player statistics such as kills, deaths, wins, and other relevant metrics.
-
Custom Pending Hub - A unique pending hub where players can wait for a new round or game to start, with interactive features like mini-games or chat activities.
-
Market System - A weekly or periodic market where players can purchase and trade in-game items such as sword skins, kill effects, damage effects, and buyable chat tags.
-
Enhanced User Interface - Captions or tooltips to side buttons to provide additional context or information when hovering over them. Most menus have been redesigned.
-
Streamlined Settings Menu - The settings button is now its own menu, offering various customizable options and preferences, similar to the events, group info, and klogs menus.
-
Show Sword Hitbox Option - Allow players to enable or disable the display of sword hitboxes during gameplay for better visibility.
-
HR-Only Chat Channel - Create a dedicated chat channel exclusively for high-ranking players, providing a private space for communication and discussion. (Called by /h or /hr)
-
White [HHR] Chat Tag - We introduce a special chat tag, [HHR], which signifies honored high-ranking players and adds a distinct visual representation to their messages.
-
Customized Kill List - The pop-up information that appears when you eliminate or defeat another player has changed.
-
Admin Settings - Allowins administrators to configure and customize various aspects of FEARService according to their specific preferences. Administrators now have more control and flexibility in managing the game environment, including types of swords and much more to come.
-
Achievement System - Embark on exciting challenges and earn achievements based on gameplay accomplishments. Unlock unique rewards, showcase your skills, and strive to complete the full achievement list. Whether it’s reaching milestones, mastering specific game mechanics, or participating in special events, the Achievement System adds an additional layer of engagement and accomplishment to your FEARService experience.
Commands
In this section, you will find a list of commands available in FEARService along with their descriptions and usage instructions. Some commands require additional parameters or arguments, which will be specified in the command description. For commands without examples, they can be called as is without any parameters. These commands provide various functionalities related to AI, collisions, groups, GUI, teams, animations, and more.
General Commands
- :ccmds / :ccommands - Displays a list of FEARService and custom commands.
AI-related Commands
-
:ai (word) (player) - Spawns a sword fighting AI for a specific player. Use “on” to start, “start” to begin, and “stop” or “off” to end the AI. Example:
:ai on Kohl
Collision-related Commands
-
:collision / :collisions - Toggles player collision on or off.
Example::collision all
Group-related Commands
-
:gl / :grouplock (word) (boolean/) - Locks the server to players in a specific group. Use the second argument to decide whether current players not in the group should be kicked or not.
Example::grouplock 10248,364831 true -
:gc / :groupcheck (word) (player/) - Lists players who are not in any of the specified groups. If no second argument (the player argument) is specified, it will check everyone.
Example::groupcheck 10248 all
GUI-related Commands
-
:tg / :togglegui (player) (boolean) - Shows or hides the FEARService GUI on a specified player.
Example::togglegui all on
Team-related Commands
-
:os / :outscore (number/word) (player/) - Teams players to their specified or default team if they surpass the wipeouts given. (
:os offto turn this off.)
Example::outscore 5 -
:ra / :randomize / :randomise (player/) (string/) - Randomizes players in specified teams. If you have set up the “randomizeString” in the script settings, you can use this command without providing any arguments.
Example::randomize all red blue -
:server / :starter / :serverstarter - Displays who started the server and the corresponding time zone.
-
:sts / :shouldertoshoulder (word/) (player/) - Makes players stand shoulder-to-shoulder, one stud apart, based on the area provided. Use “main” as the default. (You can change where main is in the
stsCommandpart of the settings script.)
Example::shouldertoshoulder main all -
:tconly / :teamchatonly - Toggles team chat allowance for everyone.
Animation-related Commands
-
:oa / :oldanimation, :na / :newanimation - Switches to the R6 old or new animation for everyone.
-
:emote / :emotes / :emoting - Determines if emoting is allowed.
Example::emoting on
Miscellaneous Commands
-
:uni / :uniform (player) (boolean/) - Gives players the specified F.E.A.R uniform or removes it if they already have it. Use “on” or “off” to force enable or disable the uniform.
Example::uniform %trainees on -
:audios / :fearaudios - Lists all audios uploaded by F.E.A.R.
-
:sprint / :sprinting (boolean/word) - Toggles sprinting (true/false), or sets a key (any letter)
Example::sprinting onor:sprinting F -
:ball / :balls / :mirage (player) (boolean) (boolean/) - Toggles the ball from the MoTV CTF. (Third param is if jumping is allowed)
Example::balls all on on
Pending hub commands
-
:accept (player) - Teleports players specified from the pending hub to the real server.
Example::accept all -
:hub list - Provides a list of whos in the hub (beta)
-
:hub kick (player) - Kicks players specified in the hub
Example::hub kick Kohl -
:hub announce (string) - Announces a message in the hub’s chat
Example::hub announce The cake is a lie.
Weapon Commands
Weapon commands are slightly different, as these commands are 4-in-1. Each weapon command follows a specific pattern:
- :weapon (player/) (number/) - Creates a TK version of the weapon for the players specified (or everyone) for the amount of lives given (or infinite). If neither arguments are given, this command will give the TK weapon to everyone, and everyone that will join in the future, the weapon for an infinite amount of lives.
- :aweapon (player/) (number/) - Same thing as the TK version, except the weapon is ATK.
- :rweapon (player/) - Removes the TK version of the weapons for the players specified (or everyone). Think of this command, with arguments, as countering
:weapon (player/)., and this command, with no arguments, as countering:weaponwith no arguments. - :raweapon (player/) - Same thing as removing the TK version, except the weapon is ATK.
The weapons are shown here:
- tk / linked - a regular sword, similar to the linked sword
- thtk / teamhealtk - a team heal sword
- ft / forcetie - a force-tie sword
- ftk / floattk - a float sword
- htk / healtk - a heal sword
- db / dodgeball - a dodgeball
Default Script
fsv = { enum = {healthbar = {none = 0, new = 1, scifi = 2}, toolbar = {none = 0, new = 1, simple = 2, scifi = 3}} }
if _G.fsv then script:Destroy() else _G.fsv = {} _G.KAU = true end script.Name = "FEARService" script.Parent = game:GetService("ServerScriptService")
--[[
INTRODUCTION:
This module made by jaydonbocco is meant to be a universal module for most FEAR facilities. It has functions that all
facilities should have, whether it be for functional uses to give people weapons, or for us to enforce rules we have
against packages and keeping track of reaching sword fighters. This module aksi relies on Kohl's Admin's Admin system.
With that being said, each facility has different needs, and will require you to mess with the settings.
Everything that you can set up is straight-up below.
NOTES:
This update creates a possibility of a true auto-update. Thank you for choosing the FEARService module for your
facility/fort, and I hope you do enjoy this. Jesus loves you.
]]
-- Common Settings
fsv.commons = {
on = true, -- Turn common functions on? (If not, then none of the following will work.)
displayNames = false, -- If false, the display name will be shown under the username.
newAccounts = false, -- Allow accounts <30 days old in the game?
packages = false, -- Allow packages in the game?
ping = true, -- Show ping on the leaderboard?
rank = true, -- Show player group ranks on the leaderboard?
kds = true, -- Show player knockouts and wipeouts on the leaderboard?
klogMinStuds = 12, -- How many studs must the player achieve to get on the knockout logs?
}
-- Team Settings
fsv.team = {
defaultTeams = {
on = true, -- Auto-team a player when they join?
trainer = nil, -- Change to game.Teams.TeamYouWant for the following if you want to auto-team HRs (i.e game.Teams.Officers)
trainee = nil, -- Change to game.Teams.TeamYouWant for the following if you want to auto-team Non-HRs (i.e game.Teams.Trainees)
guest = nil, -- Change to game.Teams.TeamYouWant for the following if you want to auto-team Guests of FEAR (i.e game.Teams.Guests)
}
}
-- Rank Settings
fsv.rank = true -- Show speaker colors (like the grade tag and hr chat colors)?
-- GUI Settings
fsv.client = {
on = true, -- Allow anything client-related? (Like the loading screen, the universal FEAR gui, custom healthbar, etc)
loadingScreen = {
on = true,
name = "TELL DEVELOPER TO FIX THIS",
thumbnail = "rbxassetid://11746637892"
},
universal = {
on = true,
unallowedSpectatingTeams = {}, -- Put all the teams that can't spectate (etc. game.Teams.Red because they're playing)
healthbar = fsv.enum.healthbar.new, -- Do 'fsv.enum.healthbar.' and see your options
toolbar = fsv.enum.toolbar.new, -- Do 'fsv.enum.toolbar.' and see your options
},
keybinds = { -- Make any keycode to false if you don't want to use them
angleBrackets = true, -- Be able to look 45 degrees left and right clicking < and >?
holdToSpectate = Enum.KeyCode.C, -- Be able to quick-spectate by holding a button?
closeChat = Enum.KeyCode.Z, -- Be able to close chat by holding a button?
emote = Enum.KeyCode.X -- Be able to quick-emote by holding a button?
},
}
-- Command Settings
fsv.commands = {
defaults = { -- This is for custom kohls commands from FEARService.
on = true, -- If you want :sts and :randomize defaults
randomizeCommand = "red blue", -- Change this to the teams you want to randomize on default. (So ":ra all" will really be ":ra all (whatever you put)")
stsCommand = { -- Add folders, including ["main"] (so ":sts main Red" can be ":sts"), for sts to be able to be called with the names given
folders = {
["main"] = workspace.Map.STS, -- Always have a main if you want to add some STS folders
},
targetTeam = fsv.team.defaultTeams.trainee -- Default team that will be STS'd upon call (change to false if you want everyone to be STS'd OR game.Teams.TeamYouWant OR keep it as is to team trainees)
}
},
kohl = {
settngs = {{
Flat=false; -- Enables Flat theme / Disables Aero theme
ForcedColor=false; -- Forces everyone to have set color & transparency
Color=Color3.new(0,0,0); -- Changes the Color of the user interface
ColorTransparency=.75; -- Changes the Transparency of the user interface
Chat=false; -- Enables the custom chat
BubbleChat=false; -- Enables the custom bubble chat
AdminCredit=false; -- Enables the credit GUI for that appears in the bottom right
AutoClean=true; -- Enables automatic cleaning of hats & tools in the Workspace
AutoCleanDelay=60; -- The delay between each AutoClean routine
CommandBar=true; -- Enables the Command Bar | GLOBAL KEYBIND: \ AND ;
FunCommands=true; -- Enables fun yet unnecessary commands
FreeAdmin=false; -- Set to 1-5 to grant admin powers to all, otherwise set to false
PublicLogs=false; -- Allows all users to see the command & chat logs
Prefix=':'; -- Character to begin a command
GroupAdmin={ [10248]={[241]=3,[242]=3,[243]=4,[244]=4,[245]=5,[255]=6} }; --[[
3 - Colonel, Brig Colonel
4 - General, Brig General
5 - Entrusted General
6 - Commander
]]
VIPAdmin={};
Permissions={};
},{ --Owners,SuperAdmins,Admins,Mods,VIP,Banned
{},{},{},{},{},{}
}},
--[[
ADMIN POWERS
0 Player
1 VIP/Donor
2 Moderator
3 Administrator
4 Super Administrator
5 Owner
6 Game Creator
First table consists of the different variations of the command.
Second table consists of the description and an example of how to use it.
Third index is the ADMIN POWER required to use the command.
Fourth table consists of the arguments that will be returned in the args table.
'player' -- returns an array of Players
'userid' -- returns an array of userIds
'boolean' -- returns a Boolean value
'color' -- returns a Color3 value
'number' -- returns a Number value
'string' -- returns a String value
'time' -- returns # of seconds
'banned' -- returns a value from Bans table
'admin' -- returns a value from Admins table
-- Adding / to any argument will make it optional; can return nil!!!
Fifth index consists of the function that will run when the command is executed properly.
]]
commands = {
{{'test','othertest'},{'Test command.','Example'},6,{'number','string/'},function(pl,args)
print(pl,args[1],args[2])
end}
}
}
}
-- Misc Settings
fsv.misc = {
hub = false -- Pending hub for bases like forts to avoid DDosing.
}
debugMode = false -- Set to false for releases, true for testing
require(13631837939)(fsv, debugMode)