mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
updated 3dview
This commit is contained in:
parent
bdce19cb2f
commit
6a23c0434c
1452
3DView.rbxl
Normal file
1452
3DView.rbxl
Normal file
File diff suppressed because it is too large
Load Diff
33
CSView.lua
33
CSView.lua
@ -1,36 +1,3 @@
|
||||
_G.rawset=nil
|
||||
function readonlytable(table)
|
||||
return setmetatable({}, {
|
||||
__index = table,
|
||||
__newindex = function(table, key, value)
|
||||
error("Attempt to modify read-only table")
|
||||
end,
|
||||
__metatable = false
|
||||
});
|
||||
end
|
||||
|
||||
function readonlytablechildren(table)
|
||||
for i,v in pairs(table) do
|
||||
if type(v)=="table" and table[i]~=_G._G then
|
||||
readonlytablechildren(table[i])
|
||||
table[i] = readonlytable(table[i])
|
||||
end
|
||||
if type(v)=="userdata" then
|
||||
local mt = getmetatable(table[i])
|
||||
if mt~=nil and mt~=false then
|
||||
mt.__metatable=false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
readonlytablechildren(_G)
|
||||
_G._G = readonlytable(_G)
|
||||
mt = getmetatable(game.Changed)
|
||||
mt.__metatable=false
|
||||
mt = getmetatable("curse you roblox")
|
||||
mt.__metatable=false
|
||||
|
||||
--function made by rbxbanland
|
||||
function newWaitForChild(newParent,name)
|
||||
local returnable = nil
|
||||
|
Loading…
Reference in New Issue
Block a user