General
pui will get more features soon
How to include pui?
You have to subscribe to the library in the workshop.
local pui = require("gamesense/pui")
Perfect strings or pui.format(s)
pui.format(s)
While gamesense supports multicolored text, pui makes the use of it much more convenient.
gamesense UI elements have a limit of a string length. If your script is not loading, shorten your strings or simplify them (remove gradients).
Control character
Description
\v
Accent color. Can be overridden via setting pui.accent
\r
Reverts the default color of the text.
\f<macro>
Macros. See examples to learn more.
\bFFFFFF...[text]
Gradient text. Example: \bFF0000\b00FF00[Happy new year!]
\aFFFFFFFF
Custom color. Works in gamesense ui as well.
Study these examples to learn more:
Last updated