search/
Start typing to search packages!
package_2
artwork
the framework for everything roblox
made with love by @ratplier
api and syntax inspired by flamework and oh-my-prvd (https://ratplier.github.io/artwork)
boilerplate
local artwork = require("@packages/artwork")
local provider = {}
artwork.register(provider) --(1)!
example
local artwork = require("@packages/artwork")
local CoinProvider = {
balances = {}
}
function CoinProvider.register(self: self, player: Player, amount: number?)
local startingAmount = if amount ~= nil then amount else 0
self.balances[player] = startingAmount
end
function CoinProvider.unregister(self: self, player: Player)
self.balances[player] = nil
end
function CoinProvider.increment(self: self, player: Player, amount: number)
self.balances[player] += amount
end
type self = typeof(CoinProvider)
return artwork.register(CoinProvider)
Package Details
Install command (Click to copy)
Version
1.0.0
License
MIT
Safe for commercial use
Automated license review — not legal advice.
