Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- --COMMANDS OR EVERYTHING IS DISPLAYED IN DEV CONSOLE
- --LOOK BOTTOM LEFT IN VOID SB
- --SAY "/console" IN CHAT TO VIEW EVERYTHING
- --ALSO CHANGE YOUR NAME LIKE ALL FE SCRIPTS
- obj = nil
- parent = nil
- currentchild = {}
- plr = game:GetService("Players")["TameDoNotClick"] -- PUT UR NAME HERE WHERE IT SAYS RETROJOOOOONO!!!
- warn([[
- Hey, Explorer!
- These are the commands:
- gc/game -- Shows the most parent directory's children. [Half-Broken, not views all children!]
- gc/workspace -- Shows the second most parent directory's children.
- gc/[number] -- Shows the children of an object that just got listed.
- destroy/ -- Destroys an object that you are viewing the children of
- highlight/ -- Makes the object that you are viewing the children of, blue for 3 seconds, so you know where it is.
- 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.
- 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.
- ]])
- plr.Chatted:connect(function(msg)
- if msg == "gc/game" then
- print("-------------Game Children-------------")
- gc = game:GetChildren()
- obj = game
- currentchild = {}
- for i=1, #gc do
- table.insert(currentchild,1,gc[i])
- end
- for i=1, #currentchild do
- print(tostring(i),currentchild[i].Name)
- end
- print("---------------------------------------")
- end
- if msg == "gc/workspace" then
- print("--------Workspace Children-------------")
- gc = workspace:GetChildren()
- obj = workspace
- parent = obj.Parent
- currentchild = {}
- for i=1, #gc do
- table.insert(currentchild,1,gc[i])
- end
- for i=1, #currentchild do
- print(tostring(i),currentchild[i].Name)
- end
- print("---------------------------------------")
- end
- if string.sub(msg,1,3) == "gc/" and string.sub(msg,4) ~= "workspace" and string.sub(msg,4) ~= "game" then
- number = tonumber(string.sub(msg,4))
- obj = currentchild[number]
- if obj ~= game then
- parent = obj.Parent
- end
- print("--------"..obj.Name.."Children-------------")
- if #obj:GetChildren() == 0 then
- print("!!!!!!!!This object doesn't seem to have any children...!!!!!!!!!\n!!!!!!!Say back/ to go back, or gc/workspace if you can't.!!!!!!!!!!!!!!!")
- end
- gc = obj:GetChildren()
- currentchild = {}
- for i=1, #gc do
- table.insert(currentchild,1,gc[i])
- end
- for i=1, #currentchild do
- print(tostring(i),currentchild[i].Name)
- end
- print("---------------------------------------")
- end
- if msg == "back/" then
- if obj == nil then
- print("!!!!!!!!!You haven't viewed any object's children yet...!!!!!!!!\n!!!!!!!!Try gc/workspace!!!!!!!!!!")
- end
- if obj ~= game then
- parent = obj.Parent
- end
- if obj.Parent ~= nil then
- 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!")
- end
- obj = obj.Parent
- print("--------"..obj.Name.."Children-------------")
- if #obj:GetChildren() == 0 then
- print("!!!!!!!!This object doesn't seem to have any children...!!!!!!!!!\n!!!!!!!Say back/ to go back.!!!!!!!!!!!!!!!")
- end
- gc = obj:GetChildren()
- currentchild = {}
- for i=1, #gc do
- table.insert(currentchild,1,gc[i])
- end
- for i=1, #currentchild do
- print(tostring(i),currentchild[i].Name)
- end
- print("---------------------------------------")
- end
- if msg == "destroy/" then
- if obj == nil then
- print("Why won't you do gc/game or gc/workspace first?")
- end
- obj:Destroy()
- end
- if msg == "highlight/" then
- if obj == nil then
- print("Why won't you do gc/game or gc/workspace first?")
- end
- selectionbox = Instance.new("SelectionBox",obj)
- selectionbox.Adornee = obj
- selectionbox.SurfaceColor3 = Color3.new(0,0,1)
- selectionbox.SurfaceTransparency = 0
- game:GetService("Debris"):AddItem(selectionbox,3)
- end
- if string.sub(msg,1,7) == "action/" then
- action = string.sub(msg,8)
- print("Attempting to do: "..obj.Parent:GetFullName().."['"..obj.Name.."']:"..action.."()")
- if obj == nil then
- print("Why won't you do gc/game or gc/workspace first?")
- end
- loadstring(obj.Parent:GetFullName().."['"..obj.Name.."']:"..action.."()")()
- end
- if string.sub(msg,1,9) == "property/" then
- 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!")
- count = 9
- property = ""
- value = ""
- for i=count, string.len(msg) do
- if string.sub(msg,count+1,count+1) == "/" then
- break
- else
- property = property..string.sub(msg,count+1,count+1)
- count = count+1
- end
- end
- count = count + 1
- value = string.sub(msg,count+1)
- print("Attempting to do: "..obj.Parent:GetFullName().."['"..obj.Name.."']."..property.." = "..value)
- loadstring(obj.Parent:GetFullName().."['"..obj.Name.."']."..property.." = "..value)()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement