setreadonly(t, false).
Most commonly used to lift a frozen table you can’t otherwise write to.
Parameters
Returns
void
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
makewritable(t: table): ()
setreadonly(t, false).
Most commonly used to lift a frozen table you can’t otherwise write to.
| Parameter | Type | Description |
|---|---|---|
t | table | The table to unlock. |
void
makewritable(getrawmetatable(game))
local cfg = table.freeze({speed = 16})
cfg.speed = 100 --> errors: attempt to modify a readonly table
makewritable(cfg)
cfg.speed = 100 --> works
print(cfg.speed) --> 100