User:ArceusInator/Legatum
From Legacy Roblox Wiki
Jump to navigationJump to search
keywords:
and, by, count, decrease, divide, else, elseif, end, equals, exponentiate, false, for, function, if, global, in, include, increase, isequalto, isgreaterthan, isgreaterthanorequalto, islessthan, islessthanorequalto, isnotequalto, lshift, minus, multiply, modulate, modulo, nil, not, or, over, plus, plusorminus, ratio, ratio_of, repeat, return, rshift, shiftright, shiftleft, times, tothepowerof, true, until, while
notes:
//note /* long note */
magic:
:, =, +, -, *, ×, /, ÷, %, +=, +:, -=, -:, *=, *:, ×=, ×:, /=, /:, ÷=, ÷:, %=, %:, ++, --, ==, ::, ~=, !=, ~:, !:, ¬=, ¬:, >, <, >=, >:, <=, <:, !, ¬, &&, &, ||, |, &&=, &&:, &=, &:, ||=, ||:, |=, |:, ^, ±, +-, ^=, ^:, ?, <<, >>, <<=, >>=, @, @=, #, [, ], {, }, ;, ,, .
built-in st00fs:
function assert(v, message) if not v then error(script .. ":" .. line .. ":" .. stack .. ":" .. message,0) end end function collectgarbage(opt, arg) error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(collectgarbage) .. " collectgarbage: Not Implemented",0) end function dofile(filename) error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(dofile) .. " dofile: Not Implemented",0) end function error(message, level) if level == 0 then error(message,0) end error(script .. ":" .. line .. ":" .. stack .. ":" .. message,0) end _G = {} shared = {} function gcinfo() error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(gcinfo) .. " gcinfo: Not Implemented",0) end function getfenv(f) return core:Get_FromValue(f).meta.env end function getmetatable(obj) return core:Get_FromValue(obj).metatable.__metatable or core:Get_FromValue(obj).metatable end function ipairs(t) local indexed_pairs = core:Get_FromValue(t):GetIndexedPairs() return (function(tab,num) return tab[num] end), indexed_pairs, 0 end function load(func, chunkname) error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(load) .. " load: Not Implemented",0) end function loadfile(filename) error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(loadfile) .. " loadfile: Not Implemented",0) end function loadstring(s) runInLegacySafetyEnvironment(tostring(s)) end function newproxy(boolorproxy) error(script .. ":" .. line .. ":" .. stack .. ":" .. tostring(newproxy) .. " newproxy: Not Implemented",0) end function next(table, index) return core:Get_FromValue(table):GetNextIndex(index) end function pairs(t) local p = core:Get_FromValue(t):GetPairs() return (function(tab,num) return tab[num] end), p, 0 end function pcall(f,...) LEGACYMODE(f,...) end function print(...) trueprint(...) end