setscriptable
function setscriptable(object: Instance, property: string, state: boolean): boolean | nilParameters
Example
local a = Instance.new("Part")
setscriptable(a, "BottomParamA", true)
print(a.BottomParamA) -- Output: -0.5
setscriptable(a, "BottomParamA", false)
print(a.BottomParamA) -- Throws an errorLast updated