SHOW:
|
|
- or go back to the newest paste.
| 1 | wait(2) | |
| 2 | --COMMANDS OR EVERYTHING IS DISPLAYED IN DEV CONSOLE | |
| 3 | --LOOK BOTTOM LEFT IN VOID SB | |
| 4 | --SAY "/console" IN CHAT TO VIEW EVERYTHING | |
| 5 | --ALSO CHANGE YOUR NAME LIKE ALL FE SCRIPTS | |
| 6 | obj = nil | |
| 7 | parent = nil | |
| 8 | currentchild = {}
| |
| 9 | - | plr = game:GetService("Players")["retrojooooono"] -- PUT UR NAME HERE WHERE IT SAYS RETROJOOOOONO!!!
|
| 9 | + | plr = game:GetService("Players")["TameDoNotClick"] -- PUT UR NAME HERE WHERE IT SAYS RETROJOOOOONO!!!
|
| 10 | warn([[ | |
| 11 | ||
| 12 | Hey, Explorer! | |
| 13 | These are the commands: | |
| 14 | gc/game -- Shows the most parent directory's children. [Half-Broken, not views all children!] | |
| 15 | gc/workspace -- Shows the second most parent directory's children. | |
| 16 | gc/[number] -- Shows the children of an object that just got listed. | |
| 17 | destroy/ -- Destroys an object that you are viewing the children of | |
| 18 | highlight/ -- Makes the object that you are viewing the children of, blue for 3 seconds, so you know where it is. | |
| 19 | action/[action] -- Does an action on an object, for example action/Stop when viewing the children of a sound that is playing, it will stop the sound then. | |
| 20 | property/[property]/[value] -- Changes the property of the object you are viewing the children of, for example if you are viewing a sound, you can do property/Volume/10 to set the volume to 10. | |
| 21 | ||
| 22 | ]]) | |
| 23 | plr.Chatted:connect(function(msg) | |
| 24 | if msg == "gc/game" then | |
| 25 | print("-------------Game Children-------------")
| |
| 26 | gc = game:GetChildren() | |
| 27 | obj = game | |
| 28 | currentchild = {}
| |
| 29 | for i=1, #gc do | |
| 30 | table.insert(currentchild,1,gc[i]) | |
| 31 | end | |
| 32 | for i=1, #currentchild do | |
| 33 | print(tostring(i),currentchild[i].Name) | |
| 34 | end | |
| 35 | print("---------------------------------------")
| |
| 36 | end | |
| 37 | if msg == "gc/workspace" then | |
| 38 | print("--------Workspace Children-------------")
| |
| 39 | gc = workspace:GetChildren() | |
| 40 | obj = workspace | |
| 41 | parent = obj.Parent | |
| 42 | currentchild = {}
| |
| 43 | for i=1, #gc do | |
| 44 | table.insert(currentchild,1,gc[i]) | |
| 45 | end | |
| 46 | for i=1, #currentchild do | |
| 47 | print(tostring(i),currentchild[i].Name) | |
| 48 | end | |
| 49 | print("---------------------------------------")
| |
| 50 | end | |
| 51 | if string.sub(msg,1,3) == "gc/" and string.sub(msg,4) ~= "workspace" and string.sub(msg,4) ~= "game" then | |
| 52 | number = tonumber(string.sub(msg,4)) | |
| 53 | obj = currentchild[number] | |
| 54 | if obj ~= game then | |
| 55 | parent = obj.Parent | |
| 56 | end | |
| 57 | print("--------"..obj.Name.."Children-------------")
| |
| 58 | if #obj:GetChildren() == 0 then | |
| 59 | print("!!!!!!!!This object doesn't seem to have any children...!!!!!!!!!\n!!!!!!!Say back/ to go back, or gc/workspace if you can't.!!!!!!!!!!!!!!!")
| |
| 60 | end | |
| 61 | gc = obj:GetChildren() | |
| 62 | currentchild = {}
| |
| 63 | for i=1, #gc do | |
| 64 | table.insert(currentchild,1,gc[i]) | |
| 65 | end | |
| 66 | for i=1, #currentchild do | |
| 67 | print(tostring(i),currentchild[i].Name) | |
| 68 | end | |
| 69 | print("---------------------------------------")
| |
| 70 | end | |
| 71 | if msg == "back/" then | |
| 72 | if obj == nil then | |
| 73 | print("!!!!!!!!!You haven't viewed any object's children yet...!!!!!!!!\n!!!!!!!!Try gc/workspace!!!!!!!!!!")
| |
| 74 | end | |
| 75 | if obj ~= game then | |
| 76 | parent = obj.Parent | |
| 77 | end | |
| 78 | if obj.Parent ~= nil then | |
| 79 | print("This is the maximum parent! game Has no parent, because it is the game itself, and nothing like a brick can be outside the game!")
| |
| 80 | end | |
| 81 | obj = obj.Parent | |
| 82 | print("--------"..obj.Name.."Children-------------")
| |
| 83 | if #obj:GetChildren() == 0 then | |
| 84 | print("!!!!!!!!This object doesn't seem to have any children...!!!!!!!!!\n!!!!!!!Say back/ to go back.!!!!!!!!!!!!!!!")
| |
| 85 | end | |
| 86 | gc = obj:GetChildren() | |
| 87 | currentchild = {}
| |
| 88 | for i=1, #gc do | |
| 89 | table.insert(currentchild,1,gc[i]) | |
| 90 | end | |
| 91 | for i=1, #currentchild do | |
| 92 | print(tostring(i),currentchild[i].Name) | |
| 93 | end | |
| 94 | print("---------------------------------------")
| |
| 95 | end | |
| 96 | if msg == "destroy/" then | |
| 97 | if obj == nil then | |
| 98 | print("Why won't you do gc/game or gc/workspace first?")
| |
| 99 | end | |
| 100 | obj:Destroy() | |
| 101 | end | |
| 102 | if msg == "highlight/" then | |
| 103 | if obj == nil then | |
| 104 | print("Why won't you do gc/game or gc/workspace first?")
| |
| 105 | end | |
| 106 | selectionbox = Instance.new("SelectionBox",obj)
| |
| 107 | selectionbox.Adornee = obj | |
| 108 | selectionbox.SurfaceColor3 = Color3.new(0,0,1) | |
| 109 | selectionbox.SurfaceTransparency = 0 | |
| 110 | game:GetService("Debris"):AddItem(selectionbox,3)
| |
| 111 | end | |
| 112 | if string.sub(msg,1,7) == "action/" then | |
| 113 | action = string.sub(msg,8) | |
| 114 | print("Attempting to do: "..obj.Parent:GetFullName().."['"..obj.Name.."']:"..action.."()")
| |
| 115 | if obj == nil then | |
| 116 | print("Why won't you do gc/game or gc/workspace first?")
| |
| 117 | end | |
| 118 | loadstring(obj.Parent:GetFullName().."['"..obj.Name.."']:"..action.."()")() | |
| 119 | end | |
| 120 | if string.sub(msg,1,9) == "property/" then | |
| 121 | print("This command [property/propertyName/value] has been finished after a broken state, it is working, but there is a small chance it is broken!")
| |
| 122 | count = 9 | |
| 123 | property = "" | |
| 124 | value = "" | |
| 125 | for i=count, string.len(msg) do | |
| 126 | if string.sub(msg,count+1,count+1) == "/" then | |
| 127 | break | |
| 128 | else | |
| 129 | property = property..string.sub(msg,count+1,count+1) | |
| 130 | count = count+1 | |
| 131 | end | |
| 132 | end | |
| 133 | count = count + 1 | |
| 134 | value = string.sub(msg,count+1) | |
| 135 | print("Attempting to do: "..obj.Parent:GetFullName().."['"..obj.Name.."']."..property.." = "..value)
| |
| 136 | loadstring(obj.Parent:GetFullName().."['"..obj.Name.."']."..property.." = "..value)() | |
| 137 | end | |
| 138 | end) |