Advertisement
Floridaz

ROBLOX explorer GUI (Working as of 6/18/15)

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