Advertisement
Guest User

Roblox explorer script

a guest
Jul 26th, 2016
14,863
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. --Explorer working as of July 2016.
  2.  
  3. wait()
  4. local gui = game:GetService("StarterGui")
  5. gui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
  6. player = game:GetService("Players").LocalPlayer
  7. mouse = player:GetMouse()
  8. sg = Instance.new("ScreenGui", player.PlayerGui)
  9. image = Instance.new("ImageButton", sg)
  10. image.Name = "Explorer"
  11. image.BackgroundColor3 = Color3.new(18/255,19/255,20/255)
  12. image.BackgroundTransparency = 1
  13. image.BorderSizePixel = 0
  14. image.ImageTransparency = 1
  15. image.AutoButtonColor = false
  16. image.Position = UDim2.new(.65,0,0,0)
  17. image.Size = UDim2.new(.35,0,.65,0)
  18. sc = Instance.new("ScrollingFrame", image)
  19. sc.BackgroundColor3 = Color3.new(18/255,19/255,20/255)
  20. sc.BackgroundTransparency = .3
  21. sc.BorderSizePixel = 0
  22. sc.Position = UDim2.new(0,0,.06,0)
  23. sc.Size = UDim2.new(1,0,.94,0)
  24. sc.BottomImage = "http://www.roblox.com/asset/?id=188173743"
  25. sc.CanvasSize = UDim2.new(0,0,10,0)
  26. sc.MidImage = "http://www.roblox.com/asset/?id=188173743"
  27. sc.TopImage = "http://www.roblox.com/asset/?id=188173743"
  28. sc.ScrollBarThickness = 15
  29.  
  30. tx = Instance.new("TextLabel", image)
  31. tx.BackgroundColor3 = Color3.new(25/255,26/255,26/255)
  32. tx.BorderSizePixel = 0
  33. tx.Size = UDim2.new(1,0,.06,0)
  34. tx.Font = "ArialBold"
  35. tx.FontSize = "Size14"
  36. tx.TextColor3 = Color3.new(130/255,130/255,131/255)
  37. tx.Text = "Explorer"
  38. tx.TextXAlignment = "Left"
  39. tx.TextYAlignment = "Center"
  40. image2 = Instance.new("ImageButton", sg)
  41. image2.AutoButtonColor = false
  42. image2.Name = "Properties"
  43. image2.BackgroundColor3 = Color3.new(18/255,19/255,20/255)
  44. image2.BackgroundTransparency = 1
  45. image2.BorderSizePixel = 0
  46. image2.ImageTransparency = 1
  47. image2.Position = UDim2.new(.65,0,.65,0)
  48. image2.Size = UDim2.new(.35,0,.35,0)
  49. sc2 = Instance.new("ScrollingFrame", image2)
  50. sc2.BackgroundColor3 = Color3.new(18/255,19/255,20/255)
  51. sc2.BackgroundTransparency = .3
  52. sc2.BorderSizePixel = 0
  53. sc2.Position = UDim2.new(0,0,.06,0)
  54. sc2.Size = UDim2.new(1,0,.94,0)
  55. sc2.BottomImage = "http://www.roblox.com/asset/?id=188173743"
  56. sc2.CanvasSize = UDim2.new(0,0,10,0)
  57. sc2.MidImage = "http://www.roblox.com/asset/?id=188173743"
  58. sc2.TopImage = "http://www.roblox.com/asset/?id=188173743"
  59. sc2.ScrollBarThickness = 15
  60. tx2 = Instance.new("TextLabel", image2)
  61. tx2.BackgroundColor3 = Color3.new(25/255,26/255,26/255)
  62. tx2.BorderSizePixel = 0
  63. tx2.Size = UDim2.new(1,0,.13,0)
  64. tx2.Font = "ArialBold"
  65. tx2.FontSize = "Size14"
  66. tx2.TextColor3 = Color3.new(130/255,130/255,131/255)
  67. tx2.Text = "Properties"
  68. tx2.TextXAlignment = "Left"
  69. tx2.TextYAlignment = "Center"
  70.  
  71.  
  72. w = Instance.new("ImageButton", sc)
  73. w.Name = "Workspace"
  74. w.BackgroundTransparency = 1
  75. w.BorderSizePixel = 0
  76. w.Position = UDim2.new(0,30,0,5)
  77. w.Size= UDim2.new(0,210,0,20)
  78. a = Instance.new("ImageLabel", w)
  79. a.BackgroundTransparency = 1
  80. a.BorderSizePixel = 0
  81. a.Image = "http://www.roblox.com/asset/?id=188171294"
  82. a.Size = UDim2.new(0,20,0,20)
  83. b = Instance.new("TextLabel", w)
  84. b.BackgroundTransparency = 1
  85. b.BorderSizePixel = 0
  86. b.Position = UDim2.new(0,25,0,0)
  87. b.Size = UDim2.new(.78,0,0,20)
  88. b.Font = "ArialBold"
  89. b.FontSize = "Size14"
  90. b.Text = "Workspace"
  91. b.TextColor3 = Color3.new(130/255,130/255,131/255)
  92. b.TextXAlignment = "Left"
  93. b.TextYAlignment = "Center"
  94.  
  95. pl = Instance.new("ImageButton", sc)
  96. pl.Name = "Players"
  97. pl.BackgroundTransparency = 1
  98. pl.BorderSizePixel = 0
  99. pl.Position = UDim2.new(0,30,0,30)
  100. pl.Size= UDim2.new(0,210,0,20)
  101. a = Instance.new("ImageLabel", pl)
  102. a.BackgroundTransparency = 1
  103. a.BorderSizePixel = 0
  104. a.Image = "http://www.roblox.com/asset/?id=188171330"
  105. a.Size = UDim2.new(0,20,0,20)
  106. b = Instance.new("TextLabel", pl)
  107. b.BackgroundTransparency = 1
  108. b.BorderSizePixel = 0
  109. b.Position = UDim2.new(0,25,0,0)
  110. b.Size = UDim2.new(.78,0,0,20)
  111. b.Font = "ArialBold"
  112. b.FontSize = "Size14"
  113. b.Text = "Players"
  114. b.TextColor3 = Color3.new(130/255,130/255,131/255)
  115. b.TextXAlignment = "Left"
  116. b.TextYAlignment = "Center"
  117.  
  118.  
  119. y = 0
  120. selected = ""
  121.  
  122.  
  123.  
  124. function takeplayers(child)
  125. y = pl.Position.Y.Offset
  126. local p = Instance.new("ImageButton", sc)
  127. p.Name = "Player"
  128. p.AutoButtonColor = false
  129. p.BackgroundTransparency = 1
  130. p.BackgroundColor3 = Color3.new(96/255,140/255,211/255)
  131. p.BorderColor3 = Color3.new(89/255,130/255,196/255)
  132. p.BorderSizePixel = 0
  133. p.Size= UDim2.new(0,190,0,20)
  134. local i = Instance.new("ImageLabel", p)
  135. i.BackgroundTransparency = 1
  136. i.BorderSizePixel = 0
  137. i.Image = "http://www.roblox.com/asset/?id=188175939"
  138. i.Size = UDim2.new(0,20,0,20)
  139. local t = Instance.new("TextLabel", p)
  140. t.BackgroundTransparency = 1
  141. t.BorderSizePixel = 0
  142. t.Position = UDim2.new(0,25,0,0)
  143. t.Size = UDim2.new(.78,0,0,20)
  144. t.Font = "ArialBold"
  145. t.FontSize = "Size14"
  146. t.Text = child.Name
  147. t.TextColor3 = Color3.new(130/255,130/255,131/255)
  148. t.TextXAlignment = "Left"
  149. t.TextYAlignment = "Center"
  150. for k,v in pairs(sc:GetChildren()) do
  151. if v.Name == "Player" then
  152. v.Position = UDim2.new(0,50,0,y + 25)
  153. y = y + 25
  154. end
  155. end
  156. end
  157.  
  158.  
  159.  
  160.  
  161.  
  162. function takeworkspace(child)
  163. y = 5
  164. local p = Instance.new("ImageButton", sc)
  165. p.AutoButtonColor = false
  166. p.Name = "Object"
  167. p.BackgroundTransparency = 1
  168. p.BackgroundColor3 = Color3.new(96/255,140/255,211/255)
  169. p.BorderColor3 = Color3.new(89/255,130/255,196/255)
  170. p.BorderSizePixel = 0
  171. p.Size= UDim2.new(0,190,0,20)
  172. local i = Instance.new("ImageLabel", p)
  173. i.BackgroundTransparency = 1
  174. i.BorderSizePixel = 0
  175. if child:IsA("Part") then
  176. i.Image = "http://www.roblox.com/asset/?id=188175939"
  177. elseif child:IsA("Camera") then
  178. i.Image = "http://www.roblox.com/asset/?id=188175964"
  179. elseif child:IsA("Model") then
  180. i.Image = "http://www.roblox.com/asset/?id=188176003"
  181. elseif child:IsA("Script") then
  182. i.Image = "http://www.roblox.com/asset/?id=188185626"
  183. elseif child:IsA("LocalScript") then
  184. i.Image = "http://www.roblox.com/asset/?id=188185600"
  185. elseif child:IsA("Terrain") then
  186. i.Image = "http://www.roblox.com/asset/?id=188175949"
  187. end
  188. i.Size = UDim2.new(0,20,0,20)
  189. local t = Instance.new("TextLabel", p)
  190. t.BackgroundTransparency = 1
  191. t.BorderSizePixel = 0
  192. t.Position = UDim2.new(0,25,0,0)
  193. t.Size = UDim2.new(.78,0,0,20)
  194. t.Font = "ArialBold"
  195. t.FontSize = "Size14"
  196. t.Text = child.Name
  197. t.TextColor3 = Color3.new(130/255,130/255,131/255)
  198. t.TextXAlignment = "Left"
  199. t.TextYAlignment = "Center"
  200. for k,v in pairs(sc:GetChildren()) do
  201. if v.Name == "Object" then
  202. v.Position = UDim2.new(0,50,0,y + 25)
  203. y = y + 25
  204.  
  205. end
  206.  
  207.  
  208.  
  209. end
  210. pl.Position = UDim2.new(0,30,0,y + 25)
  211.  
  212. p.MouseButton1Click:connect(function()
  213. selected = child
  214. for k,v in pairs(sc2:GetChildren()) do
  215. v:remove()
  216. end
  217.  
  218. local fr = Instance.new("Frame", sc2)
  219. fr.BackgroundColor3 = Color3.new(46/255,46/255,46/255)
  220. fr.BorderSizePixel = 0
  221. fr.Position = UDim2.new(0,0,0,14)
  222. fr.Size = UDim2.new(1,0,0,30)
  223. local pr = Instance.new("TextLabel", fr)
  224. pr.BackgroundTransparency = 1
  225. pr.BorderSizePixel = 0
  226. pr.Size = UDim2.new(.2,0,1,0)
  227. pr.Font = "ArialBold"
  228. pr.FontSize = "Size14"
  229. pr.Text = "Name"
  230. pr.TextColor3 = Color3.new(130/255,130/255,131/255)
  231. local ob = Instance.new("TextBox", fr)
  232. ob.BackgroundTransparency = 1
  233. ob.ClearTextOnFocus = false
  234. ob.BorderSizePixel = 0
  235. ob.Position = UDim2.new(.2,0,0,0)
  236. ob.Size = UDim2.new(.8,0,1,0)
  237. ob.Font = "ArialBold"
  238. ob.FontSize = "Size14"
  239. ob.Text = child.Name
  240. ob.TextColor3 = Color3.new(130/255,130/255,131/255)
  241. ob.TextXAlignment = "Left"
  242. ob.TextYAlignment = "Center"
  243. ob.Changed:connect(function(val) if val == "Text" then child.Name = ob.Text p.TextLabel.Text = ob.Text end end)
  244. local fr2 = fr:Clone()
  245. fr2.Position = UDim2.new(0,0,0,44)
  246. fr2.TextLabel.Text = "ClassName"
  247. fr2.TextBox:remove()
  248. fr2.Parent = sc2
  249. local ob2 = Instance.new("TextLabel", fr2)
  250. ob2.BackgroundTransparency = 1
  251. ob2.BorderSizePixel = 0
  252. ob2.Position = UDim2.new(.2,0,0,0)
  253. ob2.Size = UDim2.new(.8,0,1,0)
  254. ob2.Font = "ArialBold"
  255. ob2.FontSize = "Size14"
  256. ob2.Text = child.ClassName
  257. ob2.TextColor3 = Color3.new(130/255,130/255,131/255)
  258. ob2.TextXAlignment = "Left"
  259. ob2.TextYAlignment = "Center"
  260.  
  261.  
  262. for k,v in pairs(sc:GetChildren()) do
  263. if v:IsA("ImageButton") and v.Name ~= "Workspace" and v.Name ~= "Players" then
  264. v.BackgroundTransparency = 1
  265. v.BorderSizePixel = 0
  266. end
  267. end
  268.  
  269. p.BackgroundTransparency = 0
  270. p.BorderSizePixel = 2
  271.  
  272. mouse.KeyDown:connect(function(key)
  273. y = 5
  274. if key:byte() == 8 and selected == child then
  275. child:remove()
  276. end
  277. for k,v in pairs(sc:GetChildren()) do
  278. if v.Name == "Object" then
  279. v.Position = UDim2.new(0,50,0,y + 25)
  280. y = y + 25
  281. end
  282. end
  283. pl.Position = UDim2.new(0,30,0,y + 25)
  284. end)
  285.  
  286. end)
  287. end
  288.  
  289. for k,v in pairs(game:GetService("Workspace"):GetChildren()) do takeworkspace(v) end
  290.  
  291. for k,v in pairs(game:GetService("Players"):GetChildren()) do takeplayers(v) end
  292. z = 5
  293. function removefromworkspace(child)
  294. y = 5
  295. for k,v in pairs(sc:GetChildren()) do
  296. if v.Name == "Object" then
  297. if v.TextLabel.Text == child then
  298. v:remove()
  299. end
  300. v.Position = UDim2.new(0,50,0,y + 25)
  301. y = y + 25
  302. end
  303. end
  304. pl.Position = UDim2.new(0,30,0,y + 25)
  305. z = pl.Position.Y.Offset
  306. for k,v in pairs(sc:GetChildren()) do
  307. if v.Name == "Player" then
  308. v.Position = UDim2.new(0,50,0,z + 25)
  309. z = z + 25
  310. end
  311. end
  312.  
  313.  
  314. end
  315.  
  316. game:GetService("Workspace").DescendantRemoving:connect(function(child)
  317. if child.Parent == game.Workspace then
  318. removefromworkspace(child.Name)
  319. end
  320. end)
  321.  
  322. game:GetService("Workspace").DescendantAdded:connect(function(child)
  323. if child.Parent == game.Workspace then
  324. takeworkspace(child)
  325. end
  326. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement