Note
Catwork works best in ReplicatedFirst
, especially since you can then utilise ReplicatedFirst
loading behaviour.
Server code can access code in ReplicatedFirst.
Catwork does not natively come packaged with a runtime, although Script
instances can safely access the Catwork
module. You'll need some way of starting ModuleScript
instances if you wish to take full advantage of the motivations
behind Object
s though.
Download the latest release and drag it into Studio, or use a tool like Dropper to insert it for you.
To use Catwork in an external, download the /src/ folder, and drag it into your project.
There are packages on Wally, however, these are not supported or maintained and should not be used, we found it easier to just maintain the package as a downloadable ZIP archive when publishing a release.
This Object simply greets the player when they join:
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Catwork = require(ReplicatedFirst.Catwork)
Catwork.new {
Init = function(self)
Players.PlayerAdded:Connect(function(p)
print(`Hello {p.Name}!`)
end)
end
}
This only scratches the true function of what Catwork can do, Service
considerably increases the power of
Catwork! See the documentation for more information.
Catwork is licensed under the MIT License. 2024 metatablecatgames
Catwork is maintainted mostly by just me, support me and what I do!
Logo made by Alex. Website.