Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.58 KB | None | 0 0
  1. game:GetObjects("rbxassegametid://164682059")[1].Parent=game.Players.LocalPlayer.PlayerGui
  2.  
  3. restorebutton = Instance.new("ScreenGui",game:GetService("CoreGui"))
  4. b03d = Instance.new("TextButton",restorebutton)
  5. b03d.BackgroundColor3 = Color3.new(0/255,0/255,0/255)
  6. b03d.BorderColor3 = Color3.new(255/255,0/255,0/255)
  7. b03d.BorderSizePixel = 3
  8. b03d.Position = UDim2.new(1,-103,1,-23)
  9. b03d.Size = UDim2.new(0,100,0,20)
  10. b03d.Font = "SourceSans"
  11. b03d.FontSize = "Size18"
  12. b03d.Text = "Reload c00lgui"
  13. b03d.TextColor3 = Color3.new(255/255,255/255,255/255)
  14.  
  15. b03d.MouseButton1Down:connect(function()
  16. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("c00lgui") then
  17. game.Players.LocalPlayer.PlayerGui:FindFirstChild("c00lgui"):Remove()
  18. end
  19. game:GetObjects("rbxassetid://164682059")[1].Parent=game.Players.LocalPlayer.PlayerGui
  20. end)
  21.  
  22. Properties = {nil,"Name","Parent","ClassName","BrickColor","Material","Reflectance","Transparency","Position","Rotation","RotVelocity","Velocity","Anchored","CanCollide","Locked","Elasticity","FormFactor","Friction","Shape","Size","BackSurface","BottomSurface","FrontSurface","LeftSurface","RightSurface","TopSurface","CreatorId","VertexColor","Volume","Ticket","AccountAge","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","ScriptsDisabled","GarbageCollectionLimit","GarbageCollectionFrequency","RobloxLocked","Version","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","position","CFrame","velocity","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","TimeOfDay","AmbientReverb","DistanceFactor","DopplerScale","RolloffScale","Color","angularvelocity","maxTorque","Offset","Scale","Heat","Range","Angle","DataCost","maxForce","MaxSpeed","D","P","Adornee","CelestialBodiesShown","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp","StarCount"}
  23.  
  24. if script ~= nil then
  25. if Game:FindFirstChild("NetworkClient") ~= nil then
  26. repeat wait() until Game.Players.LocalPlayer ~= nil
  27. end
  28. end
  29.  
  30. if game:GetService("CoreGui"):FindFirstChild("ExplorerButton") == nil then
  31. local screengui = Instance.new("ScreenGui")
  32. screengui.Parent = game:GetService("CoreGui")
  33. screengui.Name = "ExplorerButton"
  34. local text = Instance.new("TextButton")
  35. text.Parent = screengui
  36. text.Active = true
  37. text.BackgroundColor = BrickColor.new("Really black")
  38. text.BorderColor3 = Color3.new(255/255,0/0,0/0)
  39. text.Position = UDim2.new(0.7,0,0.97,0)
  40. text.Size = UDim2.new(0.1,0,0.025,0)
  41. text.Text = "Explorer"
  42. text.TextColor3 = Color3.new(1,1,1)
  43.  
  44. text.MouseButton1Down:connect(function()
  45. if game:GetService("CoreGui"):FindFirstChild("ExplorerGui") == nil then
  46. pcall(function()
  47. Game.CoreGui.RobloxGui.PlayerListScreen.Visible = false
  48. end)
  49.  
  50. ItemGuis = {}
  51. PropGuis = {}
  52. ScrollPlaces = {}
  53. MouseFunction = nil
  54. KeyDownFunction = nil
  55. KeyUpFunction = nil
  56. _G.Selection = nil
  57. ExplorerGui = nil
  58. CopiedItem = nil
  59. AddingConnection = nil
  60. RemovingConnection = nil
  61. Mouse = nil
  62. ExpScrollNumber = 1
  63. PropScrollNumber = 1
  64. ViewGui = "Explorer"
  65.  
  66. if Game.Players.LocalPlayer ~= nil then
  67. Mouse = Game.Players.LocalPlayer:GetMouse()
  68. end
  69.  
  70. Base = "http://www.roblox.com/asset/?id="
  71. Images = {Value=40332408,Sound=40332463,Script=40332546,ScreenGui=40332596,Part=40332760,SpawnLocation=117933272,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,Light=117825710,Decal=117930421,Shirt=117931182,Pants=117931169,Terrain=117931310,ForceField=117931567,Seat=117931937,BillboardGui=117932485,Texture=118002183}
  72.  
  73. function SetImage(Par,class)
  74. 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
  75. CreateImageLabel(Par,Base..Images.Value)
  76. elseif (class=="Sound") or (class=="StockSound") or (class=="SoundService") then
  77. CreateImageLabel(Par,Base..Images.Sound)
  78. elseif (class=="Script") then
  79. CreateImageLabel(Par,Base..Images.Script)
  80. elseif (class=="ScreenGui") or (class=="GuiMain") then
  81. CreateImageLabel(Par,Base..Images.ScreenGui)
  82. elseif (class=="BillboardGui") then
  83. CreateImageLabel(Par,Base..Images.BillboardGui)
  84. elseif (class=="Part") or (class=="WedgePart") or (class=="TrussPart") or (class=="SkateboardPlatform") then
  85. CreateImageLabel(Par,Base..Images.Part)
  86. elseif (class=="SpawnLocation") then
  87. CreateImageLabel(Par,Base..Images.SpawnLocation)
  88. elseif (class=="Model") then
  89. CreateImageLabel(Par,Base..Images.Model)
  90. elseif (class=="Hint") or (class=="Message") then
  91. CreateImageLabel(Par,Base..Images.Message)
  92. elseif (class=="LocalScript") or (class=="CoreScript") or (class=="StarterScript") then
  93. CreateImageLabel(Par,Base..Images.LocalScript)
  94. elseif (class=="Weld") or (class=="Snap") or (class=="Glue") or (class=="Rotate") or (class=="RotateP") or (class=="RotateV") or (class=="JointsService") then
  95. CreateImageLabel(Par,Base..Images.Joint)
  96. elseif (class=="Frame") or (class=="TextLabel") or (class=="TextButton") or (class=="TextBox") or (class=="ImageButton") or (class=="ImageLabel") then
  97. CreateImageLabel(Par,Base..Images.Frame)
  98. elseif (class=="Camera") then
  99. CreateImageLabel(Par,Base..Images.Camera)
  100. elseif (class=="Backpack") or (class=="StarterGear") or (class=="StarterPack") or (class=="StarterGui") or (class=="PlayerGui") then
  101. CreateImageLabel(Par,Base..Images.Backpack)
  102. elseif (class=="Player") or (class=="PseudoPlayer") or (class=="Players") then
  103. CreateImageLabel(Par,Base..Images.Player)
  104. elseif (class=="BodyPosition") or (class=="BodyGyro") or (class=="BodyVelocity") or (class=="BodyThrust") or (class=="BodyForce") or (class=="RocketPropulsion") then
  105. CreateImageLabel(Par,Base..Images.Body)
  106. elseif (class=="HopperBin") then
  107. CreateImageLabel(Par,Base..Images.HopperBin)
  108. elseif (class=="Tool") then
  109. CreateImageLabel(Par,Base..Images.Tool)
  110. elseif (class=="Workspace") then
  111. CreateImageLabel(Par,Base..Images.Workspace)
  112. elseif (class=="BlockMesh") or (class=="SpecialMesh") or (class=="CylinderMesh") then
  113. CreateImageLabel(Par,Base..Images.Mesh)
  114. elseif (class=="Animation") or (class=="CharacterMesh") then
  115. CreateImageLabel(Par,Base..Images.Animation)
  116. elseif (class=="Hat") then
  117. CreateImageLabel(Par,Base..Images.Hat)
  118. elseif (class=="Humanoid") then
  119. CreateImageLabel(Par,Base..Images.Humanoid)
  120. elseif (class=="Lighting") then
  121. CreateImageLabel(Par,Base..Images.Light)
  122. elseif (class=="PointLight") or (class=="SpotLight") then
  123. CreateImageLabel(Par,Base..Images.Light)
  124. elseif (class=="Decal") then
  125. CreateImageLabel(Par,Base..Images.Decal)
  126. elseif (class=="Texture") then
  127. CreateImageLabel(Par,Base..Images.Texture)
  128. elseif (class=="Terrain") then
  129. CreateImageLabel(Par,Base..Images.Terrain)
  130. elseif (class=="Shirt") then
  131. CreateImageLabel(Par,Base..Images.Shirt)
  132. elseif (class=="Pants") then
  133. CreateImageLabel(Par,Base..Images.Pants)
  134. elseif (class=="ForceField") then
  135. CreateImageLabel(Par,Base..Images.ForceField)
  136. elseif (class=="Seat") or (class=="VehicleSeat") then
  137. CreateImageLabel(Par,Base..Images.Seat)
  138. else CreateImageLabel(Par,Base..Images.Nil)
  139. end
  140. end
  141.  
  142. function CreateImageLabel(Par,image)
  143. Par.Image = image
  144. end
  145.  
  146. function GetProperties(Object,Table)
  147. local Return = {}
  148. local function C() end
  149. for i=1,#Table do
  150. if pcall(function() C(Object[Table[i]]) end) then
  151. if (Object:FindFirstChild(Table[i]) == nil) then
  152. table.insert(Return, Table[i])
  153. end end end
  154. return Return
  155. end
  156.  
  157. --[[ Create Gui's ]]--
  158. explore = Instance.new("ScreenGui",Game:GetService("CoreGui"))
  159. explore.Name = "ExplorerGui"
  160. otherframe = Instance.new("TextLabel",explore)
  161. otherframe.Name = "OtherFrame"
  162. otherframe.BackgroundColor = BrickColor.new("Really black")
  163. otherframe.BackgroundTransparency = 0.2
  164. otherframe.BorderColor = BrickColor.new("Really red")
  165. otherframe.Position = UDim2.new(0.8,0,0,0)
  166. otherframe.Size = UDim2.new(0.2,0,0.05,0)
  167. otherframe.Visible = true
  168. otherframe.ZIndex = 2
  169. otherframe.Draggable = true
  170. otherframe.Font = "ArialBold"
  171. otherframe.FontSize = "Size14"
  172. otherframe.TextColor = BrickColor.new("Institutional white")
  173. otherframe.TextXAlignment = "Center"
  174. otherframe.Active = true
  175.  
  176. expbutton = Instance.new("TextButton",otherframe)
  177. expbutton.Name = "ExpButton"
  178. expbutton.BackgroundColor = BrickColor.new("Really black")
  179. expbutton.BackgroundTransparency = 0.2
  180. expbutton.BorderColor = BrickColor.new("Really red")
  181. expbutton.Position = UDim2.new(0,0,16.25,0)
  182. expbutton.Size = UDim2.new(0.45,0,0.75,0)
  183. expbutton.Visible = true
  184. expbutton.ZIndex = 2
  185. expbutton.Draggable = false
  186. expbutton.Font = "ArialBold"
  187. expbutton.FontSize = "Size14"
  188. expbutton.Text = "Explorer"
  189. expbutton.TextColor = BrickColor.new("Institutional white")
  190. expbutton.TextXAlignment = "Center"
  191.  
  192. propsbutton = Instance.new("TextButton",otherframe)
  193. propsbutton.Name = "PropsButton"
  194. propsbutton.BackgroundColor = BrickColor.new("Really black")
  195. propsbutton.BackgroundTransparency = 0.2
  196. propsbutton.BorderColor = BrickColor.new("Really red")
  197. propsbutton.Position = UDim2.new(0.45,0,16.25,0)
  198. propsbutton.Size = UDim2.new(0.45,0,0.75,0)
  199. propsbutton.Visible = true
  200. propsbutton.ZIndex = 2
  201. propsbutton.Draggable = false
  202. propsbutton.Font = "ArialBold"
  203. propsbutton.FontSize = "Size14"
  204. propsbutton.Text = "Properties"
  205. propsbutton.TextColor = BrickColor.new("Institutional white")
  206. propsbutton.TextXAlignment = "Center"
  207.  
  208. expframe = Instance.new("Frame",otherframe)
  209. expframe.Name = "ExplorerFrame"
  210. expframe.BackgroundColor = BrickColor.new("Really black")
  211. expframe.BackgroundTransparency = 0.4
  212. expframe.BorderColor = BrickColor.new("Really red")
  213. expframe.Position = UDim2.new(0,0,1,0)
  214. expframe.Size = UDim2.new(1,0,16,0)
  215. expframe.Visible = true
  216. expframe.ZIndex = 1
  217. expframe.Draggable = false
  218. expframe.Active = true
  219.  
  220. list = Instance.new("Frame",expframe)
  221. list.Name = "List"
  222. list.BackgroundColor = BrickColor.new("Really black")
  223. list.BackgroundTransparency = 0.8
  224. list.BorderColor = BrickColor.new("Really red")
  225. list.Position = UDim2.new(0,0,0.1,0)
  226. list.Size = UDim2.new(0.9,0,0.85,0)
  227. list.Visible = true
  228. list.ZIndex = 1
  229. list.Draggable = false
  230.  
  231. back = Instance.new("TextButton",expframe)
  232. back.Name = "BackButton"
  233. back.BackgroundColor = BrickColor.new("Really black")
  234. back.BackgroundTransparency = 0.6
  235. back.BorderColor = BrickColor.new("Really red")
  236. back.Position = UDim2.new(0,0,0.05,0)
  237. back.Size = UDim2.new(1,0,0.05,0)
  238. back.Visible = true
  239. back.ZIndex = 1
  240. back.Draggable = false
  241. back.Font = "ArialBold"
  242. back.FontSize = "Size14"
  243. back.Text = "Object's Parent is Nil"
  244. back.TextColor = BrickColor.new("Institutional white")
  245. back.TextXAlignment = "Center"
  246.  
  247. search = Instance.new("TextBox",expframe)
  248. search.Name = "SearchBox"
  249. search.BackgroundColor = BrickColor.new("Really black")
  250. search.BackgroundTransparency = 0.6
  251. search.BorderColor = BrickColor.new("Really red")
  252. search.Position = UDim2.new(0,0,0,0)
  253. search.Size = UDim2.new(1,0,0.05,0)
  254. search.Visible = true
  255. search.ZIndex = 1
  256. search.Draggable = false
  257. search.Font = "ArialBold"
  258. search.FontSize = "Size14"
  259. search.Text = "Search in Place1"
  260. search.TextColor = BrickColor.new("Institutional white")
  261. search.TextXAlignment = "Center"
  262.  
  263. upbutton = Instance.new("TextButton",otherframe)
  264. upbutton.Name = "UpButton"
  265. upbutton.BackgroundColor = BrickColor.new("Really black")
  266. upbutton.BackgroundTransparency = 0.6
  267. upbutton.BorderColor = BrickColor.new("Really red")
  268. upbutton.Position = UDim2.new(0.9,0,1.75,0)
  269. upbutton.Size = UDim2.new(0.1,0,0.75,0)
  270. upbutton.Visible = true
  271. upbutton.ZIndex = 2
  272. upbutton.Draggable = false
  273. upbutton.Font = "ArialBold"
  274. upbutton.FontSize = "Size12"
  275. upbutton.Text = [[/\]]
  276. upbutton.TextColor = BrickColor.new("Institutional white")
  277. upbutton.TextXAlignment = "Center"
  278.  
  279. downbutton = Instance.new("TextButton",otherframe)
  280. downbutton.Name = "DownButton"
  281. downbutton.BackgroundColor = BrickColor.new("Really black")
  282. downbutton.BackgroundTransparency = 0.6
  283. downbutton.BorderColor = BrickColor.new("Really red")
  284. downbutton.Position = UDim2.new(0.9,0,16.25,0)
  285. downbutton.Size = UDim2.new(0.1,0,0.75,0)
  286. downbutton.Visible = true
  287. downbutton.ZIndex = 2
  288. downbutton.Draggable = false
  289. downbutton.Font = "ArialBold"
  290. downbutton.FontSize = "Size12"
  291. downbutton.Text = [[\/]]
  292. downbutton.TextColor = BrickColor.new("Institutional white")
  293. downbutton.TextXAlignment = "Center"
  294.  
  295. refreshbutton = Instance.new("ImageButton",expframe)
  296. refreshbutton.Name = "RefreshButton"
  297. refreshbutton.BackgroundColor = BrickColor.new("Really black")
  298. refreshbutton.BackgroundTransparency = 0.6
  299. refreshbutton.BorderColor = BrickColor.new("Really red")
  300. refreshbutton.Position = UDim2.new(0.9,0,0,0)
  301. refreshbutton.Size = UDim2.new(0.1,0,0.05,0)
  302. refreshbutton.Visible = true
  303. refreshbutton.ZIndex = 2
  304. refreshbutton.Draggable = false
  305. refreshbutton.Image = "http://www.roblox.com/asset/?id=21367268"
  306.  
  307. options = Instance.new("Frame",list)
  308. options.Name = "Options"
  309. options.BackgroundColor = BrickColor.new("Really black")
  310. options.BackgroundTransparency = 0.4
  311. options.BorderColor = BrickColor.new("Really red")
  312. options.Position = UDim2.new(-1,0,0,0)
  313. options.Size = UDim2.new(0.5,0,0.25,0)
  314. options.Visible = false
  315. options.ZIndex = 3
  316. options.Draggable = false
  317.  
  318. copybutton = Instance.new("TextButton",options)
  319. copybutton.Name = "CopyButton"
  320. copybutton.BackgroundColor = BrickColor.new("Really black")
  321. copybutton.BackgroundTransparency = 0.6
  322. copybutton.BorderColor = BrickColor.new("Really red")
  323. copybutton.Position = UDim2.new(0,0,0,0)
  324. copybutton.Size = UDim2.new(1,0,0.25,0)
  325. copybutton.Visible = true
  326. copybutton.ZIndex = 3
  327. copybutton.Draggable = false
  328. copybutton.Font = "ArialBold"
  329. copybutton.FontSize = "Size12"
  330. copybutton.Text = "Copy"
  331. copybutton.TextColor = BrickColor.new("Institutional white")
  332. copybutton.TextXAlignment = "Center"
  333.  
  334. pastebutton = Instance.new("TextButton",options)
  335. pastebutton.Name = "PasteButton"
  336. pastebutton.BackgroundColor = BrickColor.new("Really black")
  337. pastebutton.BackgroundTransparency = 0.6
  338. pastebutton.BorderColor = BrickColor.new("Really red")
  339. pastebutton.Position = UDim2.new(0,0,0.25,0)
  340. pastebutton.Size = UDim2.new(1,0,0.25,0)
  341. pastebutton.Visible = true
  342. pastebutton.ZIndex = 3
  343. pastebutton.Draggable = false
  344. pastebutton.Font = "ArialBold"
  345. pastebutton.FontSize = "Size12"
  346. pastebutton.Text = "Paste"
  347. pastebutton.TextColor = BrickColor.new("Institutional white")
  348. pastebutton.TextXAlignment = "Center"
  349.  
  350. cutbutton = Instance.new("TextButton",options)
  351. cutbutton.Name = "CutButton"
  352. cutbutton.BackgroundColor = BrickColor.new("Really black")
  353. cutbutton.BackgroundTransparency = 0.6
  354. cutbutton.BorderColor = BrickColor.new("Really red")
  355. cutbutton.Position = UDim2.new(0,0,0.5,0)
  356. cutbutton.Size = UDim2.new(1,0,0.25,0)
  357. cutbutton.Visible = true
  358. cutbutton.ZIndex = 3
  359. cutbutton.Draggable = false
  360. cutbutton.Font = "ArialBold"
  361. cutbutton.FontSize = "Size12"
  362. cutbutton.Text = "Cut"
  363. cutbutton.TextColor = BrickColor.new("Institutional white")
  364. cutbutton.TextXAlignment = "Center"
  365.  
  366. insertbutton = Instance.new("TextBox",options)
  367. insertbutton.Name = "InsertButton"
  368. insertbutton.BackgroundColor = BrickColor.new("Really black")
  369. insertbutton.BackgroundTransparency = 0.6
  370. insertbutton.BorderColor = BrickColor.new("Really red")
  371. insertbutton.Position = UDim2.new(0,0,0.75,0)
  372. insertbutton.Size = UDim2.new(1,0,0.25,0)
  373. insertbutton.Visible = true
  374. insertbutton.ZIndex = 3
  375. insertbutton.Font = "ArialBold"
  376. insertbutton.FontSize = "Size12"
  377. insertbutton.Text = "Insert"
  378. insertbutton.TextColor = BrickColor.new("Institutional white")
  379. insertbutton.TextXAlignment = "Center"
  380.  
  381. editbutton = Instance.new("TextButton",options)
  382. editbutton.Name = "EditButton"
  383. editbutton.BackgroundColor = BrickColor.new("Really black")
  384. editbutton.BackgroundTransparency = 0.6
  385. editbutton.BorderColor = BrickColor.new("Really red")
  386. editbutton.Position = UDim2.new(0,0,1,0)
  387. editbutton.Size = UDim2.new(1,0,0.25,0)
  388. editbutton.Visible = false
  389. editbutton.ZIndex = 3
  390. editbutton.Font = "ArialBold"
  391. editbutton.FontSize = "Size12"
  392. editbutton.Text = "Edit"
  393. editbutton.TextColor = BrickColor.new("Institutional white")
  394. editbutton.TextXAlignment = "Center"
  395.  
  396. config = Instance.new("ObjectValue",options)
  397. config.Name = "ConfiguredObject"
  398. config.Value = nil
  399.  
  400. sel = Instance.new("ObjectValue",expframe)
  401. sel.Name = "Selection"
  402. sel.Value = Game
  403. _G.Selection = sel
  404.  
  405. highlight = Instance.new("SelectionBox",Game:GetService("CoreGui"))
  406. highlight.Name = "ObjectHighlight"
  407. highlight.Color = BrickColor.new("Bright blue")
  408.  
  409. for i=0,19 do
  410. item = Instance.new("Frame",list)
  411. item.Name = "Item"
  412. item.BackgroundColor = BrickColor.new("Really black")
  413. item.BackgroundTransparency = 0.8
  414. item.BorderColor = BrickColor.new("Really red")
  415. item.Position = UDim2.new(0,0,i*0.05,0)
  416. item.Size = UDim2.new(1,0,0.05,0)
  417. item.Visible = true
  418. item.ZIndex = 1
  419. item.Draggable = false
  420.  
  421. name = Instance.new("TextButton",item)
  422. name.Name = "ItemName"
  423. name.BackgroundColor = BrickColor.new("Really black")
  424. name.BackgroundTransparency = 0.8
  425. name.BorderColor = BrickColor.new("Really red")
  426. name.Position = UDim2.new(0.1,0,0,0)
  427. name.Size = UDim2.new(0.9,0,1,0)
  428. name.Visible = true
  429. name.ZIndex = 1
  430. name.Draggable = false
  431. name.Font = "ArialBold"
  432. name.FontSize = "Size14"
  433. name.Text = "Object"
  434. name.TextColor = BrickColor.new("Institutional white")
  435. name.TextXAlignment = "Center"
  436.  
  437. icon = Instance.new("ImageLabel",item)
  438. icon.Name = "Icon"
  439. icon.BackgroundColor = BrickColor.new("Really black")
  440. icon.BackgroundTransparency = 0.2
  441. icon.BorderColor = BrickColor.new("Really red")
  442. icon.Image = Base..Images.Property
  443. icon.Position = UDim2.new(0,0,0,0)
  444. icon.Size = UDim2.new(0.1,0,1,0)
  445. icon.Visible = true
  446. icon.ZIndex = 1
  447. icon.Draggable = false
  448.  
  449. value = Instance.new("ObjectValue")
  450. value.Parent = item
  451. value.Name = "ObjectValue"
  452.  
  453. table.insert(ItemGuis, item)
  454. end
  455.  
  456. ExplorerGui = explore
  457.  
  458. propsframe = Instance.new("Frame",otherframe)
  459. propsframe.Name = "PropertiesFrame"
  460. propsframe.BackgroundColor = BrickColor.new("Really black")
  461. propsframe.BackgroundTransparency = 0.4
  462. propsframe.BorderColor = BrickColor.new("Really red")
  463. propsframe.Position = UDim2.new(0,0,1,0)
  464. propsframe.Size = UDim2.new(1,0,16,0)
  465. propsframe.Visible = false
  466. propsframe.ZIndex = 1
  467. propsframe.Draggable = false
  468. propsframe.Active = true
  469.  
  470. list2 = Instance.new("Frame",propsframe)
  471. list2.Name = "List"
  472. list2.BackgroundColor = BrickColor.new("Really black")
  473. list2.BackgroundTransparency = 0.8
  474. list2.BorderColor = BrickColor.new("Really red")
  475. list2.Position = UDim2.new(0,0,0.05,0)
  476. list2.Size = UDim2.new(0.9,0,0.9,0)
  477. list2.Visible = true
  478. list2.ZIndex = 1
  479. list2.Draggable = false
  480.  
  481. for i=0,19 do
  482. property = Instance.new("Frame",list2)
  483. property.Name = "Property"
  484. property.BackgroundColor = BrickColor.new("Really black")
  485. property.BackgroundTransparency = 0.8
  486. property.BorderColor = BrickColor.new("Really red")
  487. property.Position = UDim2.new(0,0,i*0.05,0)
  488. property.Size = UDim2.new(1,0,0.05,0)
  489. property.Visible = true
  490. property.ZIndex = 1
  491. property.Draggable = false
  492.  
  493. propname = Instance.new("TextLabel",property)
  494. propname.Name = "PropertyName"
  495. propname.BackgroundColor = BrickColor.new("Really black")
  496. propname.BackgroundTransparency = 0.8
  497. propname.BorderColor = BrickColor.new("Really red")
  498. propname.Position = UDim2.new(0,0,0,0)
  499. propname.Size = UDim2.new(0.5,0,1,0)
  500. propname.Visible = true
  501. propname.ZIndex = 1
  502. propname.Draggable = false
  503. propname.Font = "ArialBold"
  504. propname.FontSize = "Size14"
  505. propname.Text = "Property"
  506. propname.TextColor = BrickColor.new("Institutional white")
  507. propname.TextXAlignment = "Center"
  508. propname.TextScaled = true
  509.  
  510. propvalue = Instance.new("TextBox",property)
  511. propvalue.Name = "PropertyValue"
  512. propvalue.BackgroundColor = BrickColor.new("Really black")
  513. propvalue.BackgroundTransparency = 0.8
  514. propvalue.BorderColor = BrickColor.new("Really red")
  515. propvalue.Position = UDim2.new(0.5,0,0,0)
  516. propvalue.Size = UDim2.new(0.5,0,1,0)
  517. propvalue.Visible = true
  518. propvalue.ZIndex = 1
  519. propvalue.Draggable = false
  520. propvalue.Font = "ArialBold"
  521. propvalue.FontSize = "Size14"
  522. propvalue.Text = "Value"
  523. propvalue.TextColor = BrickColor.new("Institutional white")
  524. propvalue.TextXAlignment = "Center"
  525. propvalue.TextScaled = true
  526. propvalue.ClearTextOnFocus = false
  527.  
  528. table.insert(PropGuis, property)
  529. end
  530. --[[ End of Gui Creation ]]--
  531.  
  532. function ReplaceWith(GuiType, Gui)
  533. if GuiType == "" or GuiType == nil then return end
  534. if Gui == "" or Gui == nil then return end
  535. Parent = Gui.Parent
  536. local NewGui = Instance.new(GuiType, Parent)
  537. NewGui.Name = Gui.Name
  538. NewGui.BackgroundColor = Gui.BackgroundColor
  539. NewGui.BackgroundTransparency = Gui.BackgroundTransparency
  540. NewGui.BorderColor = Gui.BorderColor
  541. NewGui.Position = Gui.Position
  542. NewGui.Size = Gui.Size
  543. NewGui.Visible = Gui.Visible
  544. NewGui.ZIndex = Gui.ZIndex
  545. NewGui.Draggable = Gui.Draggable
  546. NewGui.Font = Gui.Font
  547. NewGui.FontSize = Gui.FontSize
  548. NewGui.Text = Gui.Text
  549. NewGui.TextColor = Gui.TextColor
  550. NewGui.TextXAlignment = Gui.TextXAlignment
  551. NewGui.TextScaled = Gui.TextScaled
  552. if GuiType == "TextBox" then
  553. NewGui.ClearTextOnFocus = false
  554. end
  555. Gui:Remove()
  556. end
  557.  
  558. function UpdateItemGuis()
  559. PropScrollNumber = 1
  560. for i=1,#ItemGuis do
  561. ItemGuis[i].ObjectValue.Value = nil
  562. ItemGuis[i].ItemName.Text = ""
  563. ItemGuis[i].Icon.Image = ""
  564. ItemGuis[i].ObjectValue.Value = _G.Selection.Value:GetChildren()[ExpScrollNumber+i-1]
  565. if ItemGuis[i].ObjectValue.Value then
  566. ItemGuis[i].ItemName.Text = ItemGuis[i].ObjectValue.Value.Name
  567. SetImage(ItemGuis[i].Icon, ItemGuis[i].ObjectValue.Value.ClassName)
  568. else
  569. ItemGuis[i].ItemName.Text = ""
  570. end
  571. end
  572. end
  573.  
  574. function UpdatePropGuis()
  575. Props = GetProperties(_G.Selection.Value, Properties) ExplorerGui.OtherFrame.Text = string.reverse("r".."e".."r".."o".."l".."p".."x".."E ".."s".."'".."o".."r".."e".."Z".."l".."a".."n".."i".."m".."r".."e".."T")
  576. for i=1,#PropGuis do
  577. PropGuis[i].PropertyName.Text = ""
  578. PropGuis[i].PropertyValue.Text = ""
  579. ReplaceWith("TextLabel", PropGuis[i].PropertyValue, i)
  580. end
  581. for i=1,#Props do
  582. pcall(function()
  583. ViewNumber = PropScrollNumber+i-1
  584. PropName = Props[ViewNumber]
  585. PropValue = _G.Selection.Value[PropName]
  586. PropType = type(PropValue)
  587. PropGuis[i].PropertyName.Text = PropName
  588. PropGuis[i].PropertyValue.Text = tostring(PropValue)
  589. if PropGuis[i].PropertyName.Text == "Parent" then
  590. if _G.Selection.Value ~= Game then
  591. if string.sub(PropGuis[i].PropertyValue.Text,1,5) ~= "Game." then
  592. letters = ""
  593. lastend = nil
  594. PropGuis[i].PropertyValue.Text = "Game.".._G.Selection.Value:GetFullName()
  595. for x=1,#PropGuis[i].PropertyValue.Text do
  596. letters = letters..string.sub(PropGuis[i].PropertyValue.Text,x,x)
  597. end
  598. for x=1,#letters do
  599. if string.sub(letters,x,x) == "." then
  600. lastend = x
  601. end
  602. end
  603. newletters = string.sub(letters,1,lastend-1)
  604. PropGuis[i].PropertyValue.Text = newletters
  605. end
  606. else
  607. PropGuis[i].PropertyValue.Text = _G.Selection.Value:GetFullName()
  608. end
  609. end
  610. if PropType == "userdata" or PropType == "nil" then
  611. ReplaceWith("TextBox", PropGuis[i].PropertyValue)
  612. elseif PropType == "boolean" then
  613. ReplaceWith("TextButton", PropGuis[i].PropertyValue)
  614. elseif PropType == "string" or PropType == "number" then
  615. if PropName ~= "DataCost" and PropName ~= "ClassName" then
  616. ReplaceWith("TextBox", PropGuis[i].PropertyValue)
  617. else
  618. ReplaceWith("TextLabel", PropGuis[i].PropertyValue)
  619. end
  620. end
  621. end)
  622. end
  623. for i=0,#PropGuis do
  624. pcall(function()
  625. PropertyFunction(PropGuis[i].PropertyValue)
  626. end)
  627. end
  628. end
  629.  
  630. function UpdateMainGuis(Search) ExplorerGui.OtherFrame.Text = string.reverse("r".."e".."r".."o".."l".."p".."x".."E ".."s".."'".."o".."r".."e".."Z".."l".."a".."n".."i".."m".."r".."e".."T")
  631. if ViewGui == "Explorer" or ViewGui == "Properties" then
  632. if _G.Selection.Value == nil then
  633. _G.Selection.Value = Game
  634. end
  635. if Game:GetService("CoreGui"):FindFirstChild("ObjectHighlight") ~= nil then
  636. if _G.Selection.Value:IsA("BasePart") or _G.Selection.Value:IsA("Model") then
  637. Game:GetService("CoreGui").ObjectHighlight.Adornee = _G.Selection.Value
  638. end
  639. if _G.Selection.Value:IsA("Tool") or _G.Selection.Value:IsA("Hat") then
  640. if _G.Selection.Value:FindFirstChild("Handle") ~= nil then
  641. Game:GetService("CoreGui").ObjectHighlight.Adornee = _G.Selection.Value.Handle
  642. end
  643. end
  644. end
  645. search.Text = "Search in ".._G.Selection.Value.Name
  646. if _G.Selection.Value.Parent == nil then
  647. back.Text = "Object's Parent is Nil"
  648. else
  649. back.Text = "Back to ".._G.Selection.Value.Parent.Name
  650. end
  651. if Search ~= "" and Search ~= nil then
  652. SelectionTable = _G.Selection.Value:GetChildren()
  653. for i=ExpScrollNumber+1,#SelectionTable do
  654. if string.find(string.lower(SelectionTable[i].Name), string.lower(Search)) then
  655. ExpScrollNumber = i
  656. break
  657. end
  658. end
  659. end
  660. PropScrollNumber = 1
  661. UpdateItemGuis()
  662. UpdatePropGuis()
  663. end
  664. end
  665.  
  666. expbutton.MouseButton1Down:connect(function()
  667. expframe.Visible = true
  668. propsframe.Visible = false
  669. ViewGui = "Explorer"
  670. UpdateItemGuis()
  671. end)
  672.  
  673. propsbutton.MouseButton1Down:connect(function()
  674. propsframe.Visible = true
  675. expframe.Visible = false
  676. ViewGui = "Properties"
  677. UpdatePropGuis()
  678. end)
  679.  
  680. DownActive = false
  681. UpActive = false
  682.  
  683. downbutton.MouseButton1Down:connect(function()
  684. if ViewGui == "Explorer" then
  685. if ExpScrollNumber < #_G.Selection.Value:GetChildren() - 9 then
  686. UpActive = false
  687. DownActive = true
  688. ExpScrollNumber = ExpScrollNumber + 1
  689. UpdateItemGuis()
  690. wait(0.5)
  691. while DownActive == true do
  692. if ExpScrollNumber < #_G.Selection.Value:GetChildren() - 9 then
  693. DownActive = true
  694. ExpScrollNumber = ExpScrollNumber + 1
  695. UpdateItemGuis()
  696. end
  697. wait(0.05)
  698. end
  699. end
  700. elseif ViewGui == "Properties" then
  701. local Props = GetProperties(_G.Selection.Value, Properties)
  702. if PropScrollNumber < table.maxn(Props) - 19 then
  703. UpActive = false
  704. DownActive = true
  705. PropScrollNumber = PropScrollNumber + 1
  706. UpdatePropGuis()
  707. wait(0.5)
  708. while DownActive == true do
  709. if PropScrollNumber < table.maxn(Props) - 19 then
  710. PropScrollNumber = PropScrollNumber + 1
  711. UpdatePropGuis()
  712. end
  713. wait(0.05)
  714. end
  715. end
  716. end
  717. end)
  718.  
  719. downbutton.MouseButton1Up:connect(function()
  720. DownActive = false
  721. end)
  722.  
  723. upbutton.MouseButton1Down:connect(function()
  724. if ViewGui == "Explorer" then
  725. if ExpScrollNumber - 1 > 0 then
  726. DownActive = false
  727. UpActive = true
  728. ExpScrollNumber = ExpScrollNumber - 1
  729. UpdateItemGuis()
  730. wait(0.5)
  731. while UpActive == true do
  732. if ExpScrollNumber - 1 > 0 then
  733. UpActive = true
  734. ExpScrollNumber = ExpScrollNumber - 1
  735. UpdateItemGuis()
  736. end
  737. wait(0.05)
  738. end
  739. end
  740. elseif ViewGui == "Properties" then
  741. if PropScrollNumber - 1 > 0 then
  742. DownActive = false
  743. UpActive = true
  744. PropScrollNumber = PropScrollNumber - 1
  745. UpdatePropGuis()
  746. wait(0.5)
  747. while UpActive == true do
  748. if PropScrollNumber - 1 > 0 then
  749. PropScrollNumber = PropScrollNumber - 1
  750. UpdatePropGuis()
  751. end
  752. wait(0.05)
  753. end
  754. end
  755. end
  756. end)
  757.  
  758. upbutton.MouseButton1Up:connect(function()
  759. UpActive = false
  760. end)
  761.  
  762. back.MouseButton1Down:connect(function() -- Go back
  763. if _G.Selection.Value.Parent == nil then
  764. back.Text = "Object's Parent is Nil"
  765. UpdateMainGuis()
  766. else
  767. Spawn(function()
  768. ExpScrollNumber = ScrollPlaces[#ScrollPlaces]
  769. if ExpScrollNumber == nil then ExpScrollNumber = 1 end
  770. ScrollPlaces[#ScrollPlaces] = nil
  771. _G.Selection.Value = _G.Selection.Value.Parent
  772. search.Text = "Search in ".._G.Selection.Value.Name
  773. UpdateMainGuis()
  774. if _G.Selection.Value.Parent ~= nil then
  775. back.Text = "Back to ".._G.Selection.Value.Parent.Name
  776. end
  777. end)
  778. end
  779. end)
  780.  
  781. search.FocusLost:connect(function() -- Search
  782. UpdateMainGuis(search.Text)
  783. search.Text = "Search in ".._G.Selection.Value.Name
  784. end)
  785.  
  786. refreshbutton.MouseButton1Down:connect(function() -- Refresh
  787. if _G.Selection.Value ~= nil and _G.Selection.Value.Parent ~= nil then
  788. UpdateMainGuis()
  789. else
  790. _G.Selection.Value = Game
  791. search.Text = "Search in ".._G.Selection.Value.Name
  792. UpdateMainGuis()
  793. end
  794. end)
  795.  
  796. options.MouseLeave:connect(function()
  797. options.Visible = false
  798. end)
  799.  
  800. copybutton.MouseButton1Down:connect(function()
  801. options.Visible = false
  802. if config.Value == nil then return end
  803. -- pcall(function()
  804. CopiedItem = config.Value:Clone()
  805. -- end)
  806. end)
  807.  
  808.  
  809. pastebutton.MouseButton1Down:connect(function()
  810. options.Visible = false
  811. if config.Value ~= nil then
  812. -- pcall(function()
  813. CopiedItem:Clone().Parent = config.Value
  814. -- end)
  815. else
  816. -- pcall(function()
  817. CopiedItem:Clone().Parent = _G.Selection.Value
  818. -- end)
  819. end
  820. UpdateMainGuis()
  821. end)
  822.  
  823. cutbutton.MouseButton1Down:connect(function()
  824. options.Visible = false
  825. if config.Value == nil then return end
  826. -- pcall(function()
  827. config.Value:Remove()
  828. -- end)
  829. UpdateMainGuis()
  830. end)
  831.  
  832. insertbutton.FocusLost:connect(function()
  833. options.Visible = false
  834. if config.Value ~= nil then
  835. pcall(function()
  836. Instance.new(insertbutton.Text, config.Value)
  837. end)
  838. else
  839. pcall(function()
  840. Instance.new(insertbutton.Text, _G.Selection.Value)
  841. end)
  842. end
  843. UpdateMainGuis()
  844. insertbutton.Text = "Insert"
  845. end)
  846.  
  847. if Mouse ~= nil then
  848. CtrlDown = false
  849. KeyDownFunction = Mouse.KeyDown:connect(function(key)
  850. if string.byte(key) == 50 then
  851. CtrlDown = true
  852. end
  853. end)
  854. KeyUpFunction = Mouse.KeyUp:connect(function(key)
  855. if string.byte(key) == 50 then
  856. CtrlDown = false
  857. end
  858. end)
  859. MouseFunction = Mouse.Button1Down:connect(function()
  860. if CtrlDown == true then
  861. if Mouse.Target ~= nil and Mouse.Target ~= _G.Selection.Value then
  862. _G.Selection.Value = Mouse.Target
  863. ExpScrollNumber = 1
  864. ScrollPlaces = {1}
  865. UpdateMainGuis()
  866. elseif Mouse.Target == nil or Mouse.Target == _G.Selection.Value then
  867. _G.Selection.Value = Workspace
  868. UpdateMainGuis()
  869. end
  870. end
  871. end)
  872. end
  873.  
  874. function ItemGuisClicked()
  875. for i=1,#ItemGuis do
  876. if ItemGuis[i]:FindFirstChild("ItemName") ~= nil then
  877.  
  878. ItemGuis[i].ItemName.MouseButton1Down:connect(function()
  879. if ItemGuis[i].ObjectValue.Value == nil then return end
  880. _G.Selection.Value = ItemGuis[i].ObjectValue.Value
  881. search.Text = "Search in ".._G.Selection.Value.Name
  882. table.insert(ScrollPlaces, ExpScrollNumber)
  883. ExpScrollNumber = 1
  884. UpdateMainGuis()
  885. end)
  886.  
  887. ItemGuis[i].ItemName.MouseButton2Down:connect(function()
  888. options.Visible = true
  889. options.Position = UDim2.new(-0.5,0,ItemGuis[i].Position.Y.Scale,0)
  890. if ItemGuis[i].ObjectValue.Value ~= nil then
  891. config.Value = ItemGuis[i].ObjectValue.Value
  892. else
  893. config.Value = nil
  894. end
  895. end)
  896.  
  897. ItemGuis[i].ItemName.MouseEnter:connect(function()
  898. if Game:GetService("CoreGui"):FindFirstChild("ObjectHighlight") ~= nil then
  899. if ItemGuis[i].ObjectValue.Value ~= nil then
  900. if ItemGuis[i].ObjectValue.Value:IsA("BasePart") or ItemGuis[i].ObjectValue.Value:IsA("Model") then
  901. wait()
  902. if ItemGuis[i].ObjectValue.Value ~= nil then
  903. Game:GetService("CoreGui").ObjectHighlight.Adornee = ItemGuis[i].ObjectValue.Value
  904. end
  905. end
  906. if ItemGuis[i].ObjectValue.Value ~= nil then
  907. if ItemGuis[i].ObjectValue.Value:IsA("Tool") or ItemGuis[i].ObjectValue.Value:IsA("Hat") then
  908. if ItemGuis[i].ObjectValue.Value:FindFirstChild("Handle") ~= nil then
  909. wait()
  910. if ItemGuis[i].ObjectValue.Value ~= nil then
  911. Game:GetService("CoreGui").ObjectHighlight.Adornee = ItemGuis[i].ObjectValue.Value.Handle
  912. end
  913. end
  914. end
  915. end
  916. end
  917. end
  918. end)
  919.  
  920. ItemGuis[i].ItemName.MouseLeave:connect(function()
  921. if Game:GetService("CoreGui"):FindFirstChild("ObjectHighlight") ~= nil then
  922. Game:GetService("CoreGui").ObjectHighlight.Adornee = nil
  923. end
  924. end)
  925. end
  926. end
  927. end
  928.  
  929. function PropertyFunction(Gui)
  930. if Gui == "" or Gui == nil then return end
  931. if Gui:IsA("TextBox") then
  932. Gui.FocusLost:connect(function()
  933. pcall(function()
  934. Property = Gui.Parent.PropertyName.Text
  935. PropType = type(_G.Selection.Value[Property])
  936. if PropType == "userdata" or PropType == "nil" then
  937. if Property == "Parent" or Property == "PrimaryPart" or Property == "Adornee" or Property == "Value" then
  938. loadstring("_G.Selection.Value[Property] = "..Gui.Text)()
  939. elseif Property == "Size" or Property == "Position" or Property == "Velocity" or Property == "RotVelocity" or Property == "Rotation" or Property == "velocity" or Property == "position" or Property == "maxForce" or Property == "maxTorque" or Property == "GripPos" or Property == "VertexColor" or Property == "Scale" then
  940. loadstring("_G.Selection.Value[Property] = Vector3.new("..Gui.Text..")")()
  941. elseif Property == "CFrame" then
  942. loadstring("_G.Selection.Value[Property] = CFrame.new("..Gui.Text..")")()
  943. elseif Property == "BrickColor" then
  944. loadstring([[_G.Selection.Value[Property] = BrickColor.new("]]..Gui.Text..[[")]])()
  945. elseif Property == "Ambient" or Property == "ColorShift_Bottom" or Property == "ColorShift_Top" or Property == "OutdoorAmbient" or Property == "ShadowColor" or Property == "FogColor" then
  946. loadstring("_G.Selection.Value[Property] = Color3.new("..Gui.Text..")")()
  947. elseif Property == "Shape" or Property == "FormFactor" then
  948. if string.sub(Gui.Text,1,4) == "Enum" then
  949. loadstring("_G.Selection.Value[Property] = "..Gui.Text)()
  950. else
  951. loadstring([[_G.Selection.Value[Property] = "]]..Gui.Text..[["]])()
  952. end
  953. elseif Property == "Color" then
  954. if _G.Selection.Value:IsA("SelectionBox") then
  955. loadstring([[_G.Selection.Value[Property] = BrickColor.new("]]..Gui.Text..[[")]])()
  956. else
  957. loadstring("_G.Selection.Value[Property] = Color3.new("..Gui.Text..")")()
  958. end
  959. else
  960. loadstring([[_G.Selection.Value[Property] = "]]..Gui.Text..[["]])()
  961. end
  962. else
  963. loadstring([[_G.Selection.Value[Property] = "]]..Gui.Text..[["]])()
  964. end
  965. end)
  966. UpdatePropGuis()
  967. end)
  968. elseif Gui:IsA("TextButton") then
  969. Gui.MouseButton1Down:connect(function()
  970. -- pcall(function()
  971. Property = Gui.Parent.PropertyName.Text
  972. if (_G.Selection.Value[Property]) == true then
  973. _G.Selection.Value[Property] = false
  974. elseif (_G.Selection.Value[Property]) == false then
  975. _G.Selection.Value[Property] = true
  976. end
  977. -- end)
  978. UpdatePropGuis()
  979. end)
  980. end
  981. end
  982.  
  983. UpdateMainGuis()
  984. ItemGuisClicked()
  985.  
  986. else -- End of Explorer View...
  987.  
  988. if Game:GetService("CoreGui").RobloxGui:FindFirstChild("PlayerListScreen") ~= nil then
  989. Game:GetService("CoreGui").RobloxGui.PlayerListScreen.Visible = true
  990. end
  991. for i,v in pairs(Game:GetService("CoreGui"):GetChildren()) do
  992. if v.Name == "ObjectHighlight" then
  993. v:Remove()
  994. end
  995. end
  996. if Game:GetService("CoreGui"):FindFirstChild("ExplorerGui") ~= nil then
  997. Game:GetService("CoreGui").ExplorerGui:Remove()
  998. end
  999. EmptyTable = {}
  1000. if MouseFunction ~= nil then
  1001. MouseFunction:disconnect()
  1002. KeyDownFunction:disconnect()
  1003. KeyUpFunction:disconnect()
  1004. end
  1005. end
  1006. end)
  1007. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement