What is Restrictly?Restrictly is an Open Source Ban system for anyone! At the time of posting, it has 7 commands for people to use! It was designed to be easily implemented into things such as Admin Panels, or just be used by itself!
How to get RestrictlyYou can get the ModuleScript for Restrictly here.
Alternatively, you can use this code in Roblox Studio:
And if all else fails, use this:
local Module = game.InsertService:LoadAsset(6530046094) Module.Parent = game.ServerScriptService -- or whatever
Current CommandsThere are currently 7 commands.
Function: Prints Information such as current module version, current Lua version, rights, etc.
Restrictly.Ban(Player, Reason)Parameters: Player to ban's name, Reason for ban
Function: Bans a player for the given reason until unbanned. Reason becomes "Unspecified Reason" if left blank.
Restrictly.Unban(Player)Parameters: Player to unban's name
Function: Unbans a Player.
Restrictly.ServerBan(Player, Reason)Parameters: Player to ban's name, Reason
Function: Works similar to Restrictly.Ban(), however only bans for the Server.
Restrictly.ServerUnban(Player)Parameters: Player to Unban's name
Function: Reverses a Server Ban
Restrictly.Restrict(Player)Parameters: Player to affect's name
Function: Sets a Player's WalkSpeed and JumpPower to 0.012. Makes their screen black, with everything barely visible.
Restrictly.Unrestrict(Player)Parameters: Player to affect's name
Function: Reverses a Restrict Ban
Note: For these functions (Restrict and Unrestrict) to work, there has to be a ScreenGui named "DarkGui" and a Frame named "DarkFrame" in the DarkGui
Thank you for reading!If you use this module, please don't claim that you created it! Crediting me is not necessary, however would be greatly appreciated!
Leave your creations down in the comments! If you have any concerns or suggestions, please leave them in the comments!
You can see the showcase here.
That’s all folks, see you around!