![]() I made this in a few hours but things like :GetChildren() aren't filtered in this environment. Table.foreach(workspace:GetChildren(), print) Return error("Cannot save place (API Disabled)") Return error("Cannot require object (API disabled)") Return error("Cannot destroy this object!") If obj:IsA("Player") or name = "remoteevents" or obj.Parent = "RemoteEvents" or obj.Parent = "ReplicatedStorage" or obj.Parent = "StarterGui" or obj.Parent = "ServerScriptService" or obj.Parent = "TinySB" then Return error("Cannot clear this object!") If obj:IsA("Player") or obj:IsA("Players") or obj:IsA("Workspace") or obj:IsA("ServerScriptService") or obj:IsA("Lighting") or obj:IsA("ReplicatedStorage") or obj:IsA("StarterGui") then This is what I have so far: function safeGetChildren(obj) ![]() ![]() I am new to sandboxing in Lua, and would like to learn how to filter stuff like :GetChildren() or :Kick(). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |