Advertisement
Runixer

Untitled

Mar 23rd, 2019
2,747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.29 KB | None | 0 0
  1. if game:GetService("CoreGui"):FindFirstChild("ExplorerButton") == nil then
  2. local screengui = Instance.new("ScreenGui")
  3. screengui.Parent = game:GetService("CoreGui")
  4. screengui.Name = "ExplorerButton"
  5. local text = Instance.new("TextButton")
  6. text.Parent = screengui
  7. text.Active = true
  8. text.BackgroundColor = BrickColor.new("Really black")
  9. text.BorderColor3 = Color3.new(255/255,0/0,0/0)
  10. text.Position = UDim2.new(0.24,0,0.97,0)
  11. text.Size = UDim2.new(0.1,0,0.025,0)
  12. text.Text = "Explorer"
  13. text.TextColor3 = Color3.new(255/255,255/255,255/255)
  14.  
  15. text.MouseButton1Down:connect(function()
  16. if game:GetService("CoreGui"):FindFirstChild("ExplorerGui") == nil and game:GetService("CoreGui"):FindFirstChild("PropertiesGui") == nil then
  17.  
  18. Properties={nil,"Ticket","VideoQualitySettings","UploadSetting","TweenStatus","TopBottom","TickCountSampleMethod","ThreadPoolConfig","SurfaceType","SurfaceConstrait","Style","Stuff","Status","SpecialKey","SoundType","SleepAdjustMethod","SizeConstraint","Shadow","SavedQualitySetting","ReverbType","Resolution","QualityLevel","PyrimidSides","PrivilegeType","PrismSides","PriorityMethod","PlayerChatType","PhysicsSendMethod","PhysicsRecieveMethod","PartType","PacketReliability","NormalId","MoveState","MeshType","MaterialQuality","LevelOfDetailSetting","LeftRight","KeywordFilterType","JointType","InputType","InOut","HandlesStyle","GraphicsMode","GeometryQuality","Genre","GearType","GearGenreSetting","FunctionalTestResult","FriendStatus","FriendRequestEvent","FramerateManagerMode","FrameStyle","ErrorReporting","PhysicsThrottle","Enviromental","EasingStyle","EasingDirection","DialogTone","DialogPurpose","D3DFORMAT","D3DDEVTYPE","CreatorType","ControlMode","ConcurrencyModel","ChatStyle","ChatMode","ChatColor","CenterDialogType","CellOrientation","CellMaterial","CellBlock","CameraType","","","","","ButtonStyle","Button","BuildPermission","BodyPart","BinType","Bevels","Axis","Antialiasing","AnimationPriority","AffectType","ActionType","AASamples","Source","Name","ScriptsDisabled","GarbageCollectionLimit","GarbageCollectionFrequency","DataCost","RobloxLocked","Version","className","Parent","archivable","AttachmentForward","AttachmentPos","AttachmentRight","AttachmentUp","AnimationId","HeadColor","RightArmColor","LeftArmColor","TorsoColor","LeftLegColor","RightLegColor","Value","CameraType","CameraSubject","BaseTextureId","BodyPart","MeshId","OverlayTextureId","MaxActivationDistance","Shiny","Specular","Texture","Face","GripForward","GripPos","GripRight","GripUp","TextureId","TeamColor","Enabled","CFrame","BrickColor","Material","Reflectance","Transparency","Position","RotVelocity","Velocity","Anchored","CanCollide","Locked","Elasticity","Friction","Shape","Size","formFactor","BackSurface","BottomSurface","FrontSurface","LeftSurface","RightSurface","TopSurface","AbsolutePosition","AbsoluteSize","Active","BackgroundColor3","BackgroundTransparency","BorderColor3","BorderSizePixel","SizeConstraint","Visible","ZIndex","C0","C1","Part0","Part1","BinType","LeftLeg","RightLeg","Torso","Health","MaxHealth","WalkSpeed","Jump","PlatformStand","Sit","AutoButtonColor","Image","LinkedSource","Disabled","Text","PrimaryPart","CurrentAngle","DesiredAngle","MaxVelocity","PantsTemplate","ShirtTemplate","SoundId","Pitch","IsPlaying","IsPaused","Looped","PlayOnRemove","StudsPerTileU","StudsPerTileV","userId","BubbleChat","ClassicChat","MaxPlayers","NumPlayers","LocalPlayer","CharacterAppearance","Character","CurrentCamera","Ambient","Brightness","ColorShift_Bottom","ColorShift_Top","ShadowColor","GeographicLatitude","TimeOfDay","AmbientReverb","DistanceFactor","DopplerScale","RolloffScale"}
  19. GlobalProperties={nil,"Name","className","Parent","archivable"}
  20. GlobalEvents={nil,"AncestryChanged","ChildAdded","ChildRemoved","DescendantAdded","DescendantRemoving"}
  21. GlobalFunctions={nil,"Clone","FindFirstChild","GetChildren","GetFullName","IsA","IsAncesterOf","IsDescendantOf","Remove"}
  22. local Selection=game
  23. local updateDebounce=1
  24. Base="http://www.roblox.com/asset/?id="
  25. Images={Value=40332408,Sound=40332463,Script=40332546,ScreenGui=40332596,Part=40332760,Nil=40332825,Model=40332865,Message=40332942,LocalScript=40332996,Joint=40333049,Frame=40333121,Camera=40333217,Backpack=40333260,Player=40332674,Body=40339623,HopperBin=40339572,Tool=40339513,Workspace=40484518,Mesh=40484580,Property=40493937,Animation=40531758,Hat=40531808,Humanoid=40531903}
  26. Min=1
  27. Max=40
  28. MAXPAGEN=40
  29. --[[==================================================================]]
  30. function GetProperties(Object,Table)
  31. local Return={}
  32. local function C() end
  33. for i=1,#Table do
  34. if pcall(function() C(Object[Table[i]]) end) then
  35. if (Object:FindFirstChild(Table[i])==nil) then
  36. table.insert(Return,Table[i])
  37. end end end
  38. return Return
  39. end
  40.  
  41. function GetType(Prop)
  42. if (type(Prop)=="userdata") then
  43. if pcall(function() Prop.Name=Prop.Name end) then
  44. return Prop.Name
  45. end end
  46. return Prop
  47. end
  48.  
  49. function SetPropGui()
  50. if (Selection~=nil) then
  51. local PropGuiPos=0
  52. local Gui=game:GetService("CoreGui"):FindFirstChild("PropertiesGui")
  53. if (Gui~=nil) then
  54. Gui:Remove()
  55. end
  56. PropGui=Instance.new("ScreenGui")
  57. PropGui.Parent=game:GetService("CoreGui")
  58. PropGui.Name="PropertiesGui"
  59. local Props=GetProperties(Selection,Properties)
  60. for i=1,#Props do
  61. PropGuiPos=i
  62. local Get=GetType(Props[i])
  63. local Label=Instance.new("TextButton")
  64. Label.Parent=PropGui
  65. Label.Size=UDim2.new(0,150,0,15)
  66. Label.Text=" "..tostring(Get).." | "..tostring(Selection[Get])
  67. Label.BackgroundColor3=Color3.new(0.7,0.7,0.9)
  68. Label.Name=tostring(Get)
  69. Label.TextXAlignment="Left"
  70. Label.Position=UDim2.new(0,230,0,(i*15)-15)
  71. Label.TextColor3=Color3.new(0,0,0)
  72. Label.BorderColor3=Color3.new(0,0,0)
  73. Label.BackgroundTransparency=0.5
  74. Label.Active=false
  75. Label.AutoButtonColor=false
  76. CreateImageLabel(Label,Base..Images.Property)
  77. if (type(Selection[Props[i]])=="boolean") then
  78. if pcall(function() Selection[Props[i]]=Selection[Props[i]] end) then
  79. Label.Active=true
  80. Label.AutoButtonColor=true
  81. Label.BackgroundColor3=Color3.new(0.5,0.5,1)
  82. Label.MouseButton1Click:connect(function()
  83. if (Selection[Props[i]]==true) then
  84. Selection[Props[i]]=false
  85. elseif (Selection[Props[i]]==false) then
  86. Selection[Props[i]]=true
  87. end
  88. Label.Text=" "..tostring(Props[i]).." | "..tostring(Selection[Props[i]])
  89. end) end end end
  90. end end
  91.  
  92. function CreateImageLabel(Par,image)
  93. local label=Instance.new("ImageLabel")
  94. label.BackgroundColor3=Color3.new(1,1,1)
  95. label.BackgroundTransparency=1
  96. label.Name="ItemImage"
  97. label.Size=UDim2.new(0,13,0,13)
  98. label.Position=UDim2.new(0,1,0,1)
  99. label.Image=image
  100. label.BorderSizePixel=0
  101. label.Parent=Par
  102. end
  103.  
  104. function SetImage(Par,class)
  105. if (class=="IntValue") or (class=="BoolValue") or (class=="StringValue") or (class=="ObjectValue") or (class=="CFrameValue") or (class=="Vector3Value") or (class=="NumberValue") or (class=="RayValue") or (class=="Color3Value") or (class=="BrickColorValue") then
  106. CreateImageLabel(Par,Base..Images.Value)
  107. elseif (class=="Sound") or (class=="StockSound") or (class=="SoundService") then
  108. CreateImageLabel(Par,Base..Images.Sound)
  109. elseif (class=="Script") then
  110. CreateImageLabel(Par,Base..Images.Script)
  111. elseif (class=="ScreenGui") or (class=="GuiMain") or (class=="BillboardGui") then
  112. CreateImageLabel(Par,Base..Images.ScreenGui)
  113. elseif (class=="Part") or (class=="WedgePart") or (class=="TrussPart") then
  114. CreateImageLabel(Par,Base..Images.Part)
  115. elseif (class=="Model") then
  116. CreateImageLabel(Par,Base..Images.Model)
  117. elseif (class=="Hint") or (class=="Message") then
  118. CreateImageLabel(Par,Base..Images.Message)
  119. elseif (class=="LocalScript") then
  120. CreateImageLabel(Par,Base..Images.LocalScript)
  121. elseif (class=="Weld") or (class=="Snap") or (class=="Glue") or (class=="Rotate") or (class=="RotateP") or (class=="RotateV") or (class=="JointsService") then
  122. CreateImageLabel(Par,Base..Images.Joint)
  123. elseif (class=="Frame") or (class=="TextLabel") or (class=="TextButton") or (class=="TextBox") or (class=="ImageButton") or (class=="ImageLabel") then
  124. CreateImageLabel(Par,Base..Images.Frame)
  125. elseif (class=="Camera") then
  126. CreateImageLabel(Par,Base..Images.Camera)
  127. elseif (class=="Backpack") or (class=="StarterGear") or (class=="StarterPack") or (class=="StarterGui") or (class=="PlayerGui") then
  128. CreateImageLabel(Par,Base..Images.Backpack)
  129. elseif (class=="Player") or (class=="PseudoPlayer") or (class=="Players") then
  130. CreateImageLabel(Par,Base..Images.Player)
  131. elseif (class=="BodyPosition") or (class=="BodyGyro") or (class=="BodyVelocity") or (class=="BodyThrust") or (class=="BodyForce") or (class=="RocketPropulsion") then
  132. CreateImageLabel(Par,Base..Images.Body)
  133. elseif (class=="HopperBin") then
  134. CreateImageLabel(Par,Base..Images.HopperBin)
  135. elseif (class=="Tool") then
  136. CreateImageLabel(Par,Base..Images.Tool)
  137. elseif (class=="Workspace") then
  138. CreateImageLabel(Par,Base..Images.Workspace)
  139. elseif (class=="BlockMesh") or (class=="SpecialMesh") or (class=="CylinderMesh") then
  140. CreateImageLabel(Par,Base..Images.Mesh)
  141. elseif (class=="Animation") or (class=="CharacterMesh") then
  142. CreateImageLabel(Par,Base..Images.Animation)
  143. elseif (class=="Hat") then
  144. CreateImageLabel(Par,Base..Images.Hat)
  145. elseif (class=="Humanoid") then
  146. CreateImageLabel(Par,Base..Images.Humanoid)
  147. elseif (class=="StarterScript") then
  148. CreateImageLabel(Par,Base..Images.LocalScript)
  149. elseif (class=="CoreScript") then
  150. CreateImageLabel(Par,Base..Images.LocalScript)
  151. else CreateImageLabel(Par,Base..Images.Nil)
  152. end
  153. end
  154.  
  155. function SetExplGui()
  156. if (Selection~=nil) then
  157. local Gui=game:GetService("CoreGui"):FindFirstChild("ExplorerGui")
  158. if (Gui~=nil) then Gui:Remove() end
  159. local Children=Selection:GetChildren()
  160. ExplGui=Instance.new("ScreenGui")
  161. ExplGui.Parent=game:GetService("CoreGui")
  162. ExplGui.Name="ExplorerGui"
  163. if (Selection.Parent~=nil) then
  164. local BackButton=Instance.new("TextButton")
  165. BackButton.Size=UDim2.new(0,120,0,15)
  166. BackButton.BorderColor3=Color3.new(0,0,0)
  167. BackButton.TextColor3=Color3.new(0,0,0)
  168. BackButton.Parent=ExplGui
  169. BackButton.Text="Back to " .. Selection.Parent.Name
  170. BackButton.BackgroundColor3=Color3.new(0.3,0.3,1)
  171. BackButton.BackgroundTransparency=0.5
  172. BackButton.Position=UDim2.new(0,380,0,0)
  173. BackButton.Name="Back"
  174. BackButton.MouseButton1Click:connect(function()
  175. Selection=Selection.Parent
  176. SetExplGui()
  177. SetPropGui()
  178. end) end
  179. if (#Children>=MAXPAGEN) then
  180. local f=0
  181. for i=Min,Max do
  182. f=f+1
  183. local Obj=Instance.new("TextButton")
  184. Obj.Size=UDim2.new(0,120,0,15)
  185. Obj.BorderColor3=Color3.new(0,0,0)
  186. Obj.TextColor3=Color3.new(0,0,0)
  187. Obj.Parent=ExplGui
  188. pcall(function() Obj.Text=" "..Children[i].Name end)
  189. Obj.BackgroundColor3=Color3.new(0.4,0.4,0.6)
  190. Obj.BackgroundTransparency=0.5
  191. Obj.TextXAlignment="Left"
  192. if (Selection.Parent~=nil) then Obj.Position=UDim2.new(0,380,0,(f*15)) else Obj.Position=UDim2.new(0,380,0,(f*15)-15) end
  193. Obj.Name=Children[i].Name
  194. SetImage(Obj,Children[i].className)
  195. Obj.MouseButton1Click:connect(function() pcall(function() Selection=Children[i] SetExplGui() SetPropGui() end) end)
  196. Obj.MouseButton2Click:connect(function()
  197. if Children[i]:IsA("Script") or Children[i]:IsA("localScript") then
  198. local screengui = Instance.new("ScreenGui")
  199. screengui.Parent = game:GetService("CoreGui")
  200. screengui.Name = "Source"
  201. local title = Instance.new("TextLabel")
  202. title.Parent = screengui
  203. title.Name = "Title"
  204. title.Active = true
  205. title.BackgroundColor = BrickColor.new(230,230,230)
  206. title.BorderColor3 = Color3.new(0/0,0/0,0/0)
  207. title.Draggable = false
  208. title.Font = "ArialBold"
  209. title.FontSize = "Size18"
  210. title.Position = UDim2.new(0,0,0,0)
  211. title.Size = UDim2.new(1,0,0.03,0)
  212. title.Text = Children[i].Name
  213. title.TextColor3 = Color3.new(0/0,0/0,0/0)
  214. title.Visible = true
  215.  
  216. local textbox = Instance.new("TextBox")
  217. textbox.Parent = title
  218. textbox.BackgroundColor = BrickColor.new(255,255,255)
  219. textbox.BackgroundTransparency = 0
  220. textbox.Position = UDim2.new(0,0,1,0)
  221. textbox.Size = UDim2.new(1,0,32.37,0)
  222. textbox.Text = Children[i].Source
  223. textbox.TextColor3 = Color3.new(0/0,0/0,0/0)
  224. textbox.TextXAlignment = "Left"
  225. textbox.TextYAlignment = "Top"
  226. textbox.BorderColor3 = Color3.new(0/0,0/0,0/0)
  227. textbox.FontSize = "Size11"
  228. textbox.ClearTextOnFocus = false
  229. textbox.Draggable = false
  230. textbox.MultiLine = true
  231. textbox.TextWrap = true
  232.  
  233. local xbutton = Instance.new("TextButton")
  234. xbutton.Parent = title
  235. xbutton.Name = "xButton"
  236. xbutton.BackgroundColor = BrickColor.new("Really black")
  237. xbutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  238. xbutton.Position = UDim2.new(0.987,0,0,0)
  239. xbutton.Size = UDim2.new(0.01,0,1,0)
  240. xbutton.BackgroundTransparency = 1
  241. xbutton.Font = "Arial"
  242. xbutton.FontSize = "Size18"
  243. xbutton.Text = "X"
  244. xbutton.MouseButton1Down:connect(function()
  245. Children[i].Source = textbox.Text
  246. Children[i].Disabled = true
  247. Children[i].Disabled = false
  248. screengui:Remove()
  249. end)
  250. end
  251. end)
  252. local Remove=Instance.new("TextButton")
  253. Remove.Size=UDim2.new(0,15,0,15)
  254. Remove.BorderColor3=Color3.new(0,0,0)
  255. Remove.TextColor3=Color3.new(0,0,0)
  256. Remove.Parent=ExplGui
  257. Remove.Text="X"
  258. Remove.BackgroundColor3=Color3.new(1,0.25,0.25)
  259. Remove.BackgroundTransparency=0.5
  260. Remove.Name="Remove" .. Children[i].Name
  261. if (Selection.Parent~=nil) then Remove.Position=UDim2.new(0,500,0,(f*15)) else Remove.Position=UDim2.new(0,500,0,(f*15)-15) end
  262. Remove.MouseButton1Click:connect(function() if (pcall(function() Children[i]:Remove() end)) then SetPropGui() SetExplGui() else Remove.BackgroundColor3=Color3.new(1,1,1) wait(1) Remove.BackgroundColor3=Color3.new(1,0.25,0.25) end end)
  263. end
  264. local UP=Instance.new("TextButton")
  265. UP.Position=UDim2.new(0,515,0,0)
  266. UP.Size=UDim2.new(0,15,0,15)
  267. UP.BorderColor3=Color3.new(0,0,0)
  268. UP.TextColor3=Color3.new(0,0,0)
  269. UP.Parent=ExplGui
  270. UP.Text="^"
  271. UP.BackgroundColor3=Color3.new(1,0.25,0.25)
  272. UP.BackgroundTransparency=0.5
  273. UP.Name="UpButton"
  274. buttondown = false
  275. UP.MouseButton1Down:connect(function()
  276. if (Min<=1) then return end
  277. buttondown = true
  278. repeat Min=Min-1
  279. wait(0.2)
  280. Max=Max-1
  281. SetExplGui()
  282. until buttondown == false
  283. end)
  284.  
  285. UP.MouseButton1Up:connect(function()
  286. buttondown = false
  287. end)
  288. local DOWN=Instance.new("TextButton")
  289. DOWN.Position=UDim2.new(0,515,0,15)
  290. DOWN.Size=UDim2.new(0,15,0,15)
  291. DOWN.BorderColor3=Color3.new(0,0,0)
  292. DOWN.TextColor3=Color3.new(0,0,0)
  293. DOWN.Parent=ExplGui
  294. DOWN.Text="v"
  295. DOWN.BackgroundColor3=Color3.new(1,0.25,0.25)
  296. DOWN.BackgroundTransparency=0.5
  297. DOWN.Name="DownButton"
  298. DOWN.MouseButton1Down:connect(function()
  299. if (Max>=#Children) then return end
  300. buttondown = true
  301. repeat
  302. wait(0.2)
  303. Min=Min+1
  304. Max=Max+1
  305. pcall(function() SetExplGui() end)
  306. until buttondown == false
  307. end)
  308. DOWN.MouseButton1Up:connect(function()
  309. buttondown = false
  310. end)
  311. else
  312. Max=MAXPAGEN
  313. Min=1
  314. for i=1,#Children do
  315. local Obj=Instance.new("TextButton")
  316. Obj.Size=UDim2.new(0,120,0,15)
  317. Obj.BorderColor3=Color3.new(0,0,0)
  318. Obj.TextColor3=Color3.new(0,0,0)
  319. Obj.Parent=ExplGui
  320. Obj.Text=" "..Children[i].Name
  321. Obj.BackgroundColor3=Color3.new(0.4,0.4,0.6)
  322. Obj.BackgroundTransparency=0.5
  323. Obj.TextXAlignment="Left"
  324. if (Selection.Parent~=nil) then Obj.Position=UDim2.new(0,380,0,(i*15)) else Obj.Position=UDim2.new(0,380,0,(i*15)-15) end
  325. Obj.Name=Children[i].Name
  326. SetImage(Obj,Children[i].className)
  327. Obj.MouseButton1Click:connect(function() pcall(function() Selection=Children[i] SetExplGui() SetPropGui() end) end)
  328. Obj.MouseButton2Click:connect(function()
  329. if Children[i]:IsA("Script") or Children[i]:IsA("localScript") then
  330. local screengui = Instance.new("ScreenGui")
  331. screengui.Parent = game:GetService("CoreGui")
  332. screengui.Name = "Source"
  333. local title = Instance.new("TextLabel")
  334. title.Parent = screengui
  335. title.Name = "Title"
  336. title.Active = true
  337. title.BackgroundColor = BrickColor.new(230,230,230)
  338. title.BorderColor3 = Color3.new(0/0,0/0,0/0)
  339. title.Draggable = false
  340. title.Font = "ArialBold"
  341. title.FontSize = "Size18"
  342. title.Position = UDim2.new(0,0,0,0)
  343. title.Size = UDim2.new(1,0,0.03,0)
  344. title.Text = Children[i].Name
  345. title.TextColor3 = Color3.new(0/0,0/0,0/0)
  346. title.Visible = true
  347.  
  348. local textbox = Instance.new("TextBox")
  349. textbox.Parent = title
  350. textbox.BackgroundColor = BrickColor.new(255,255,255)
  351. textbox.BackgroundTransparency = 0
  352. textbox.Position = UDim2.new(0,0,1,0)
  353. textbox.Size = UDim2.new(1,0,32.37,0)
  354. textbox.Text = Children[i].Source
  355. textbox.TextColor3 = Color3.new(0/0,0/0,0/0)
  356. textbox.TextXAlignment = "Left"
  357. textbox.TextYAlignment = "Top"
  358. textbox.BorderColor3 = Color3.new(0/0,0/0,0/0)
  359. textbox.FontSize = "Size11"
  360. textbox.ClearTextOnFocus = false
  361. textbox.Draggable = false
  362. textbox.MultiLine = true
  363. textbox.TextWrap = true
  364.  
  365. local xbutton = Instance.new("TextButton")
  366. xbutton.Parent = title
  367. xbutton.Name = "xButton"
  368. xbutton.BackgroundColor = BrickColor.new("Really black")
  369. xbutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  370. xbutton.Position = UDim2.new(0.987,0,0,0)
  371. xbutton.Size = UDim2.new(0.01,0,1,0)
  372. xbutton.BackgroundTransparency = 1
  373. xbutton.Font = "Arial"
  374. xbutton.FontSize = "Size18"
  375. xbutton.Text = "X"
  376. xbutton.MouseButton1Down:connect(function()
  377. Children[i].Source = textbox.Text
  378. Children[i].Disabled = true
  379. Children[i].Disabled = false
  380. screengui:Remove()
  381. end)
  382. end
  383. end)
  384. local Remove=Instance.new("TextButton")
  385. Remove.Size=UDim2.new(0,15,0,15)
  386. Remove.BorderColor3=Color3.new(0,0,0)
  387. Remove.TextColor3=Color3.new(0,0,0)
  388. Remove.Parent=ExplGui
  389. Remove.Text="X"
  390. Remove.BackgroundColor3=Color3.new(1,0.25,0.25)
  391. Remove.BackgroundTransparency=0.5
  392. Remove.Name="Remove" .. Children[i].Name
  393. if (Selection.Parent~=nil) then Remove.Position=UDim2.new(0,500,0,(i*15)) else Remove.Position=UDim2.new(0,500,0,(i*15)-15) end
  394. Remove.MouseButton1Click:connect(function() if (pcall(function() Children[i]:Remove() end)) then SetPropGui() SetExplGui() else Remove.BackgroundColor3=Color3.new(1,1,1) wait(1) Remove.BackgroundColor3=Color3.new(1,0.25,0.25) end end)
  395. end
  396. end
  397. end
  398. ----------------
  399. Selection.Changed:connect(function(prop)
  400. if (Selection==game) then return end
  401. if (updateDebounce==1) then
  402. updateDebounce=0
  403. if (Selection.Parent==nil) then
  404. Selection=game
  405. updateDebounce=1
  406. SetPropGui()
  407. SetExplGui()
  408. return end
  409. if (PropGui~=nil) then
  410. local Button=PropGui:FindFirstChild(prop)
  411. if (Button~=nil) then
  412. local Get=GetType(prop)
  413. Button.Text=" "..tostring(Get).." | "..tostring(Selection[Get])
  414. end end
  415. wait()
  416. updateDebounce=1
  417. end end)
  418. ---------------------------
  419. end
  420. SetPropGui()
  421. SetExplGui()
  422.  
  423. else
  424.  
  425. game:GetService("CoreGui").PropertiesGui:Remove()
  426. game:GetService("CoreGui").ExplorerGui:Remove()
  427. end
  428. end)
  429. end
  430.  
  431.  
  432.  
  433. game:GetService("CoreGui").ChildRemoved:connect(function()
  434. if game:GetService("CoreGui"):FindFirstChild("ExplorerButton") == nil then
  435. wait()
  436. local screengui = Instance.new("ScreenGui")
  437. screengui.Parent = game:GetService("CoreGui")
  438. screengui.Name = "ExplorerButton"
  439. local text = Instance.new("TextButton")
  440. text.Parent = screengui
  441. text.Active = true
  442. text.BackgroundColor = BrickColor.new("Really black")
  443. text.BorderColor3 = Color3.new(255/255,0/0,0/0)
  444. text.Position = UDim2.new(0.14,0,0.97,0)
  445. text.Size = UDim2.new(0.1,0,0.025,0)
  446. text.Text = "Explorer"
  447. text.TextColor3 = Color3.new(255/255,255/255,255/255)
  448.  
  449. text.MouseButton1Down:connect(function()
  450. if game:GetService("CoreGui"):FindFirstChild("ExplorerGui") == nil and game:GetService("CoreGui"):FindFirstChild("PropertiesGui") == nil then
  451.  
  452. Properties={nil,"Source","Name","ScriptsDisabled","GarbageCollectionLimit","GarbageCollectionFrequency","DataCost","RobloxLocked","Version","className","Parent","archivable","AttachmentForward","AttachmentPos","AttachmentRight","AttachmentUp","AnimationId","HeadColor","RightArmColor","LeftArmColor","TorsoColor","LeftLegColor","RightLegColor","Value","CameraType","CameraSubject","BaseTextureId","BodyPart","MeshId","OverlayTextureId","MaxActivationDistance","Shiny","Specular","Texture","Face","GripForward","GripPos","GripRight","GripUp","TextureId","TeamColor","Enabled","CFrame","BrickColor","Material","Reflectance","Transparency","Position","RotVelocity","Velocity","Anchored","CanCollide","Locked","Elasticity","Friction","Shape","Size","formFactor","BackSurface","BottomSurface","FrontSurface","LeftSurface","RightSurface","TopSurface","AbsolutePosition","AbsoluteSize","Active","BackgroundColor3","BackgroundTransparency","BorderColor3","BorderSizePixel","SizeConstraint","Visible","ZIndex","C0","C1","Part0","Part1","BinType","LeftLeg","RightLeg","Torso","Health","MaxHealth","WalkSpeed","Jump","PlatformStand","Sit","AutoButtonColor","Image","LinkedSource","Disabled","Text","PrimaryPart","CurrentAngle","DesiredAngle","MaxVelocity","PantsTemplate","ShirtTemplate","SoundId","Pitch","IsPlaying","IsPaused","Looped","PlayOnRemove","StudsPerTileU","StudsPerTileV","userId","BubbleChat","ClassicChat","MaxPlayers","NumPlayers","LocalPlayer","CharacterAppearance","Character","CurrentCamera","Ambient","Brightness","ColorShift_Bottom","ColorShift_Top","ShadowColor","GeographicLatitude","TimeOfDay","AmbientReverb","DistanceFactor","DopplerScale","RolloffScale"}
  453. GlobalProperties={nil,"Name","className","Parent","archivable"}
  454. GlobalEvents={nil,"AncestryChanged","ChildAdded","ChildRemoved","DescendantAdded","DescendantRemoving"}
  455. GlobalFunctions={nil,"Clone","FindFirstChild","GetChildren","GetFullName","IsA","IsAncesterOf","IsDescendantOf","Remove"}
  456. local Selection=game
  457. local updateDebounce=1
  458. Base="http://www.roblox.com/asset/?id="
  459. Images={Value=40332408,Sound=40332463,Script=40332546,ScreenGui=40332596,Part=40332760,Nil=40332825,Model=40332865,Message=40332942,LocalScript=40332996,Joint=40333049,Frame=40333121,Camera=40333217,Backpack=40333260,Player=40332674,Body=40339623,HopperBin=40339572,Tool=40339513,Workspace=40484518,Mesh=40484580,Property=40493937,Animation=40531758,Hat=40531808,Humanoid=40531903}
  460. Min=1
  461. Max=40
  462. MAXPAGEN=40
  463. --[[==================================================================]]
  464. function GetProperties(Object,Table)
  465. local Return={}
  466. local function C() end
  467. for i=1,#Table do
  468. if pcall(function() C(Object[Table[i]]) end) then
  469. if (Object:FindFirstChild(Table[i])==nil) then
  470. table.insert(Return,Table[i])
  471. end end end
  472. return Return
  473. end
  474.  
  475. function GetType(Prop)
  476. if (type(Prop)=="userdata") then
  477. if pcall(function() Prop.Name=Prop.Name end) then
  478. return Prop.Name
  479. end end
  480. return Prop
  481. end
  482.  
  483. function SetPropGui()
  484. if (Selection~=nil) then
  485. local PropGuiPos=0
  486. local Gui=game:GetService("CoreGui"):FindFirstChild("PropertiesGui")
  487. if (Gui~=nil) then
  488. Gui:Remove()
  489. end
  490. PropGui=Instance.new("ScreenGui")
  491. PropGui.Parent=game:GetService("CoreGui")
  492. PropGui.Name="PropertiesGui"
  493. local Props=GetProperties(Selection,Properties)
  494. for i=1,#Props do
  495. PropGuiPos=i
  496. local Get=GetType(Props[i])
  497. local Label=Instance.new("TextButton")
  498. Label.Parent=PropGui
  499. Label.Size=UDim2.new(0,150,0,15)
  500. Label.Text=" "..tostring(Get).." | "..tostring(Selection[Get])
  501. Label.BackgroundColor3=Color3.new(0.7,0.7,0.9)
  502. Label.Name=tostring(Get)
  503. Label.TextXAlignment="Left"
  504. Label.Position=UDim2.new(0,230,0,(i*15)-15)
  505. Label.TextColor3=Color3.new(0,0,0)
  506. Label.BorderColor3=Color3.new(0,0,0)
  507. Label.BackgroundTransparency=0.5
  508. Label.Active=false
  509. Label.AutoButtonColor=false
  510. CreateImageLabel(Label,Base..Images.Property)
  511. if (type(Selection[Props[i]])=="boolean") then
  512. if pcall(function() Selection[Props[i]]=Selection[Props[i]] end) then
  513. Label.Active=true
  514. Label.AutoButtonColor=true
  515. Label.BackgroundColor3=Color3.new(0.5,0.5,1)
  516. Label.MouseButton1Click:connect(function()
  517. if (Selection[Props[i]]==true) then
  518. Selection[Props[i]]=false
  519. elseif (Selection[Props[i]]==false) then
  520. Selection[Props[i]]=true
  521. end
  522. Label.Text=" "..tostring(Props[i]).." | "..tostring(Selection[Props[i]])
  523. end) end end end
  524. end end
  525.  
  526. function CreateImageLabel(Par,image)
  527. local label=Instance.new("ImageLabel")
  528. label.BackgroundColor3=Color3.new(1,1,1)
  529. label.BackgroundTransparency=1
  530. label.Name="ItemImage"
  531. label.Size=UDim2.new(0,13,0,13)
  532. label.Position=UDim2.new(0,1,0,1)
  533. label.Image=image
  534. label.BorderSizePixel=0
  535. label.Parent=Par
  536. end
  537.  
  538. function SetImage(Par,class)
  539. if (class=="IntValue") or (class=="BoolValue") or (class=="StringValue") or (class=="ObjectValue") or (class=="CFrameValue") or (class=="Vector3Value") or (class=="NumberValue") or (class=="RayValue") or (class=="Color3Value") or (class=="BrickColorValue") then
  540. CreateImageLabel(Par,Base..Images.Value)
  541. elseif (class=="Sound") or (class=="StockSound") or (class=="SoundService") then
  542. CreateImageLabel(Par,Base..Images.Sound)
  543. elseif (class=="Script") then
  544. CreateImageLabel(Par,Base..Images.Script)
  545. elseif (class=="ScreenGui") or (class=="GuiMain") or (class=="BillboardGui") then
  546. CreateImageLabel(Par,Base..Images.ScreenGui)
  547. elseif (class=="Part") or (class=="WedgePart") or (class=="TrussPart") then
  548. CreateImageLabel(Par,Base..Images.Part)
  549. elseif (class=="Model") then
  550. CreateImageLabel(Par,Base..Images.Model)
  551. elseif (class=="Hint") or (class=="Message") then
  552. CreateImageLabel(Par,Base..Images.Message)
  553. elseif (class=="LocalScript") then
  554. CreateImageLabel(Par,Base..Images.LocalScript)
  555. elseif (class=="Weld") or (class=="Snap") or (class=="Glue") or (class=="Rotate") or (class=="RotateP") or (class=="RotateV") or (class=="JointsService") then
  556. CreateImageLabel(Par,Base..Images.Joint)
  557. elseif (class=="Frame") or (class=="TextLabel") or (class=="TextButton") or (class=="TextBox") or (class=="ImageButton") or (class=="ImageLabel") then
  558. CreateImageLabel(Par,Base..Images.Frame)
  559. elseif (class=="Camera") then
  560. CreateImageLabel(Par,Base..Images.Camera)
  561. elseif (class=="Backpack") or (class=="StarterGear") or (class=="StarterPack") or (class=="StarterGui") or (class=="PlayerGui") then
  562. CreateImageLabel(Par,Base..Images.Backpack)
  563. elseif (class=="Player") or (class=="PseudoPlayer") or (class=="Players") then
  564. CreateImageLabel(Par,Base..Images.Player)
  565. elseif (class=="BodyPosition") or (class=="BodyGyro") or (class=="BodyVelocity") or (class=="BodyThrust") or (class=="BodyForce") or (class=="RocketPropulsion") then
  566. CreateImageLabel(Par,Base..Images.Body)
  567. elseif (class=="HopperBin") then
  568. CreateImageLabel(Par,Base..Images.HopperBin)
  569. elseif (class=="Tool") then
  570. CreateImageLabel(Par,Base..Images.Tool)
  571. elseif (class=="Workspace") then
  572. CreateImageLabel(Par,Base..Images.Workspace)
  573. elseif (class=="BlockMesh") or (class=="SpecialMesh") or (class=="CylinderMesh") then
  574. CreateImageLabel(Par,Base..Images.Mesh)
  575. elseif (class=="Animation") or (class=="CharacterMesh") then
  576. CreateImageLabel(Par,Base..Images.Animation)
  577. elseif (class=="Hat") then
  578. CreateImageLabel(Par,Base..Images.Hat)
  579. elseif (class=="Humanoid") then
  580. CreateImageLabel(Par,Base..Images.Humanoid)
  581. elseif (class=="StarterScript") then
  582. CreateImageLabel(Par,Base..Images.LocalScript)
  583. elseif (class=="CoreScript") then
  584. CreateImageLabel(Par,Base..Images.LocalScript)
  585. else CreateImageLabel(Par,Base..Images.Nil)
  586. end
  587. end
  588.  
  589. function SetExplGui()
  590. if (Selection~=nil) then
  591. local Gui=game:GetService("CoreGui"):FindFirstChild("ExplorerGui")
  592. if (Gui~=nil) then Gui:Remove() end
  593. local Children=Selection:GetChildren()
  594. ExplGui=Instance.new("ScreenGui")
  595. ExplGui.Parent=game:GetService("CoreGui")
  596. ExplGui.Name="ExplorerGui"
  597. if (Selection.Parent~=nil) then
  598. local BackButton=Instance.new("TextButton")
  599. BackButton.Size=UDim2.new(0,120,0,15)
  600. BackButton.BorderColor3=Color3.new(0,0,0)
  601. BackButton.TextColor3=Color3.new(0,0,0)
  602. BackButton.Parent=ExplGui
  603. BackButton.Text="Back to " .. Selection.Parent.Name
  604. BackButton.BackgroundColor3=Color3.new(0.3,0.3,1)
  605. BackButton.BackgroundTransparency=0.5
  606. BackButton.Position=UDim2.new(0,380,0,0)
  607. BackButton.Name="Back"
  608. BackButton.MouseButton1Click:connect(function()
  609. Selection=Selection.Parent
  610. SetExplGui()
  611. SetPropGui()
  612. end) end
  613. if (#Children>=MAXPAGEN) then
  614. local f=0
  615. for i=Min,Max do
  616. f=f+1
  617. local Obj=Instance.new("TextButton")
  618. Obj.Size=UDim2.new(0,120,0,15)
  619. Obj.BorderColor3=Color3.new(0,0,0)
  620. Obj.TextColor3=Color3.new(0,0,0)
  621. Obj.Parent=ExplGui
  622. Obj.Text=" "..Children[i].Name
  623. Obj.BackgroundColor3=Color3.new(0.4,0.4,0.6)
  624. Obj.BackgroundTransparency=0.5
  625. Obj.TextXAlignment="Left"
  626. if (Selection.Parent~=nil) then Obj.Position=UDim2.new(0,380,0,(f*15)) else Obj.Position=UDim2.new(0,380,0,(f*15)-15) end
  627. Obj.Name=Children[i].Name
  628. SetImage(Obj,Children[i].className)
  629. Obj.MouseButton1Click:connect(function() pcall(function() Selection=Children[i] SetExplGui() SetPropGui() end) end)
  630. local Remove=Instance.new("TextButton")
  631. Remove.Size=UDim2.new(0,15,0,15)
  632. Remove.BorderColor3=Color3.new(0,0,0)
  633. Remove.TextColor3=Color3.new(0,0,0)
  634. Remove.Parent=ExplGui
  635. Remove.Text="X"
  636. Remove.BackgroundColor3=Color3.new(1,0.25,0.25)
  637. Remove.BackgroundTransparency=0.5
  638. Remove.Name="Remove" .. Children[i].Name
  639. if (Selection.Parent~=nil) then Remove.Position=UDim2.new(0,500,0,(f*15)) else Remove.Position=UDim2.new(0,500,0,(f*15)-15) end
  640. Remove.MouseButton1Click:connect(function() if (pcall(function() Children[i]:Remove() end)) then SetPropGui() SetExplGui() else Remove.BackgroundColor3=Color3.new(1,1,1) wait(1) Remove.BackgroundColor3=Color3.new(1,0.25,0.25) end end)
  641. end
  642. local UP=Instance.new("TextButton")
  643. UP.Position=UDim2.new(0,515,0,0)
  644. UP.Size=UDim2.new(0,15,0,15)
  645. UP.BorderColor3=Color3.new(0,0,0)
  646. UP.TextColor3=Color3.new(0,0,0)
  647. UP.Parent=ExplGui
  648. UP.Text="^"
  649. UP.BackgroundColor3=Color3.new(1,0.25,0.25)
  650. UP.BackgroundTransparency=0.5
  651. UP.Name="UpButton"
  652. UP.MouseButton1Click:connect(function() if (Min<=1) then return end Min=Min-1 Max=Max-1 SetExplGui() end)
  653. local DOWN=Instance.new("TextButton")
  654. DOWN.Position=UDim2.new(0,515,0,15)
  655. DOWN.Size=UDim2.new(0,15,0,15)
  656. DOWN.BorderColor3=Color3.new(0,0,0)
  657. DOWN.TextColor3=Color3.new(0,0,0)
  658. DOWN.Parent=ExplGui
  659. DOWN.Text="v"
  660. DOWN.BackgroundColor3=Color3.new(1,0.25,0.25)
  661. DOWN.BackgroundTransparency=0.5
  662. DOWN.Name="DownButton"
  663. DOWN.MouseButton1Click:connect(function() if (Max>=#Children) then return end Min=Min+1 Max=Max+1 SetExplGui() end)
  664. else
  665. Max=MAXPAGEN
  666. Min=1
  667. for i=1,#Children do
  668. local Obj=Instance.new("TextButton")
  669. Obj.Size=UDim2.new(0,120,0,15)
  670. Obj.BorderColor3=Color3.new(0,0,0)
  671. Obj.TextColor3=Color3.new(0,0,0)
  672. Obj.Parent=ExplGui
  673. Obj.Text=" "..Children[i].Name
  674. Obj.BackgroundColor3=Color3.new(0.4,0.4,0.6)
  675. Obj.BackgroundTransparency=0.5
  676. Obj.TextXAlignment="Left"
  677. if (Selection.Parent~=nil) then Obj.Position=UDim2.new(0,380,0,(i*15)) else Obj.Position=UDim2.new(0,380,0,(i*15)-15) end
  678. Obj.Name=Children[i].Name
  679. SetImage(Obj,Children[i].className)
  680. Obj.MouseButton1Click:connect(function() pcall(function() Selection=Children[i] SetExplGui() SetPropGui() end) end)
  681. local Remove=Instance.new("TextButton")
  682. Remove.Size=UDim2.new(0,15,0,15)
  683. Remove.BorderColor3=Color3.new(0,0,0)
  684. Remove.TextColor3=Color3.new(0,0,0)
  685. Remove.Parent=ExplGui
  686. Remove.Text="X"
  687. Remove.BackgroundColor3=Color3.new(1,0.25,0.25)
  688. Remove.BackgroundTransparency=0.5
  689. Remove.Name="Remove" .. Children[i].Name
  690. if (Selection.Parent~=nil) then Remove.Position=UDim2.new(0,500,0,(i*15)) else Remove.Position=UDim2.new(0,500,0,(i*15)-15) end
  691. Remove.MouseButton1Click:connect(function() if (pcall(function() Children[i]:Remove() end)) then SetPropGui() SetExplGui() else Remove.BackgroundColor3=Color3.new(1,1,1) wait(1) Remove.BackgroundColor3=Color3.new(1,0.25,0.25) end end)
  692. end
  693. end
  694. end
  695. ----------------
  696. Selection.Changed:connect(function(prop)
  697. if (Selection==game) then return end
  698. if (updateDebounce==1) then
  699. updateDebounce=0
  700. if (Selection.Parent==nil) then
  701. Selection=game
  702. updateDebounce=1
  703. SetPropGui()
  704. SetExplGui()
  705. return end
  706. if (PropGui~=nil) then
  707. local Button=PropGui:FindFirstChild(prop)
  708. if (Button~=nil) then
  709. local Get=GetType(prop)
  710. Button.Text=" "..tostring(Get).." | "..tostring(Selection[Get])
  711. end end
  712. wait()
  713. updateDebounce=1
  714. end end)
  715. ---------------------------
  716. end
  717. SetPropGui()
  718. SetExplGui()
  719.  
  720. else
  721.  
  722. game:GetService("CoreGui").PropertiesGui:Remove()
  723. game:GetService("CoreGui").ExplorerGui:Remove()
  724. end
  725. end)
  726. end
  727. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement