You are on page 1of 1

local mt = getrawmetatable(game)

make_writeable(mt)
local old_index = mt.__index

mt.__index = function(self,key)
if tostring(self) == "Energy" then
if tostring(key) == "Value" then
return 1000000
end
end
return old_index(self,key)
end

You might also like