state.create
function#Creates or gets the global State with the key. A key that exists with another default, scope or schema is an error.
example
local score = state.create("score", 0, schema.number())Use it forkeeping one value that every script shares for the whole game, like the round phase.
keyThe State key. Every script that creates it shares it.defaultoptionalThe value before anything sets it.schemaWhat values it accepts.