CPSATLib Release

CPSATLib Official Release 1.0.1

Hello, everyone! I have created a Roblox ModuleScript known as CPSATLib or Common Place Stuff And Things Library. The ModuleScript contains functions that you will probably have to implement at some point so you have to look around the Internet to put it as a function in your game. CPSATLib is currently on version 1.0.1 as of now (added a patch to it before official DevForum release) and is still developing! The GitHub repository is here. You may also look at the README for it’s presentation.

Feel free to use CPSATLib for your projects! I also had to take some functions from the DevForum, however I have credited everyone who made the functions inside the ModuleScript through the code comments. You may also fork it and make your own version of CPSATLib as well. If you’d like, please suggest any functions I should add to the library and I will see if I can add them. Thank you for your time here, toodles! :partying_face:

P.S I moved this from a Post to a Topic.

Oh, and sorry guys for not updating this in a WHILE, I promise you, 1.0.2 is coming today! That and I won’t be making typechecks for the rest of the functions, so make sure you use the right type.

Thats cool! Great for saving time

You should be adding type checks, I wouldn’t enjoy using this if you decide to pointlessly leave this out.

Okay well you see, the more arguments I have to add for like any function in existence the more typechecks I have to add, you can see how that would be a problem because what if you have 3 arguments, without typechecks I am saving many lines of code just at the cost of “make sure the type is correct”, so, there’s my reasoning. However this does not mean typechecks are gone completely, only for the rest of the functions added

That and there can be even more checks for a single argument, I have this function :KillHumanoidWithoutShattering() and it has three checks to see if it’s even a humanoid, if it’s dead and if BreakJointsOnDeath is on, actually kinda pointless so you only need the first check but these are warnings so yeah

Type checking doesn’t add more lines unless you create a custom type. I suggest researching on how to do it.