Advertisement
Orichalcum

Explorer

Oct 4th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.12 KB | None | 0 0
  1. --Put your name on line 23 & 7
  2. -- Scripted's custom explorer
  3. --Now works with NEW and Old chatbar
  4. --This update Includes new Updated Interface
  5. --and More Explorer Custom options
  6.  
  7. ThePlayersNameHere="NicholasLelz"--YOUR NAME HERE
  8.  
  9. local function PLRMSG()
  10. if
  11. ValidationCode == "ELT007"
  12. then
  13. plrmsg = Instance.new("Message",Workspace)
  14. plrmsg.Text = " Explorer V2 BETA 1 Has Been Loaded !"
  15. Wait(3)
  16. plrmsg.Text = ""--add whatever you want here
  17. Wait(3)
  18. plrmsg.Parent = nil
  19. end
  20. end
  21. PLRMSG()
  22.  
  23. local name = "NicholasLelz"--YOUR NAME HERE
  24.  
  25. repeat wait() until #Game.Players:GetChildren(
  26. ) > 0
  27.  
  28. local char = Game.Players:FindFirstChild(name) or (Game.Players:GetChildren(
  29. )[1].Name:sub(1,6) == "Player" and Game.Players:GetChildren(
  30. )[1]
  31. )
  32. if not char then return end
  33. local current = Workspace
  34. local cp = 0
  35. local fontcolor = Color3.new(1,1,1)
  36. local bordercolor = Color3.new(1,0,0)
  37. local backgroundcolor = Color3.new(0,0,0)
  38. local backgroundtrans = .35
  39. local copy = nil
  40. local sP = {
  41. "Name";
  42. "ClassName";
  43. "BrickColor";
  44. "Position"
  45. }
  46.  
  47. local sg = Instance.new("ScreenGui")
  48. sg.Parent = char.PlayerGui
  49.  
  50. local ok = Instance.new("TextButton", sg)
  51. ok.Size = UDim2.new(.6,0,.05,0)
  52. ok.Position = UDim2.new(.2,0,.6,0)
  53. ok.FontSize = "Size18"
  54. ok.Text = "Accept"
  55. ok.TextColor3 = Color3.new(1,1,1)
  56. ok.Style = "RobloxButton"
  57.  
  58. local fontS1 = Instance.new("Frame", sg)
  59. fontS1.Size = UDim2.new(.2,0,.2,0)
  60. fontS1.Style = "RobloxRound"
  61. fontS1.Position = UDim2.new(.2,0,.4,0)
  62. local tb1 = Instance.new("TextLabel", fontS1)
  63. tb1.Text = "Font Color"
  64. tb1.FontSize = "Size12"
  65. tb1.BackgroundTransparency = 1
  66. tb1.TextColor3 = Color3.new(1,1,1)
  67. tb1.Size = UDim2.new(1,0,.25,0)
  68. local r1 = Instance.new("TextBox", fontS1)
  69. r1.Position = UDim2.new(0,0,.25,0)
  70. r1.TextColor3 = Color3.new(1,1,1)
  71. r1.BackgroundTransparency = 1
  72. r1.Size = UDim2.new(.3,0,.25,0)
  73. r1.Text = "0"
  74. local g1 = Instance.new("TextBox", fontS1)
  75. g1.Position = UDim2.new(.3,0,.25,0)
  76. g1.TextColor3 = Color3.new(1,1,1)
  77. g1.BackgroundTransparency = 1
  78. g1.Size = UDim2.new(.3,0,.25,0)
  79. g1.Text = "0"
  80. local b1 = Instance.new("TextBox", fontS1)
  81. b1.Position = UDim2.new(.6,0,.25,0)
  82. b1.TextColor3 = Color3.new(1,1,1)
  83. b1.BackgroundTransparency = 1
  84. b1.Size = UDim2.new(.3,0,.25,0)
  85. b1.Text = "0"
  86. local prev1 = Instance.new("Frame", fontS1)
  87. prev1.Size = UDim2.new(1,0,.5,0)
  88. prev1.Position = UDim2.new(0,0,.5,0)
  89. prev1.BackgroundColor3 = Color3.new(0,0,0)
  90. prev1.BorderColor3 = Color3.new(0,0,0)
  91. r1.Changed:connect(function()
  92. local color = tonumber(r1.Text) or 0
  93. prev1.BackgroundColor3 = Color3.new(color, tonumber(g1.Text) or 0, tonumber(b1.Text) or 0)
  94. end)
  95. g1.Changed:connect(function()
  96. local color = tonumber(g1.Text) or 0
  97. prev1.BackgroundColor3 = Color3.new(tonumber(r1.Text) or 0, color, tonumber(b1.Text) or 0)
  98. end)
  99. b1.Changed:connect(function()
  100. local color = tonumber(b1.Text) or 0
  101. prev1.BackgroundColor3 = Color3.new(tonumber(r1.Text) or 0, tonumber(g1.Text) or 0, color)
  102. end)
  103. ValidationCode="ELT007"--don't change this or the script wont work
  104. local FontS2 = Instance.new("Frame", sg)
  105. FontS2.Size = UDim2.new(.2,0,.2,0)
  106. FontS2.Style = "RobloxRound"
  107. FontS2.Position = UDim2.new(.4,0,.4,0)
  108. local tb2 = Instance.new("TextLabel", FontS2)
  109. tb2.Text = "Background Color"
  110. tb2.FontSize = "Size12"
  111. tb2.BackgroundTransparency = 1
  112. tb2.TextColor3 = Color3.new(1,1,1)
  113. tb2.Size = UDim2.new(1,0,.25,0)
  114. local r2 = Instance.new("TextBox", FontS2)
  115. r2.Position = UDim2.new(0,0,.25,0)
  116. r2.TextColor3 = Color3.new(1,1,1)
  117. r2.BackgroundTransparency = 1
  118. r2.Size = UDim2.new(.3,0,.25,0)
  119. r2.Text = "0"
  120. local g2 = Instance.new("TextBox", FontS2)
  121. g2.Position = UDim2.new(.3,0,.25,0)
  122. g2.TextColor3 = Color3.new(1,1,1)
  123. g2.BackgroundTransparency = 1
  124. g2.Size = UDim2.new(.3,0,.25,0)
  125. g2.Text = "0"
  126. local b2 = Instance.new("TextBox", FontS2)
  127. b2.Position = UDim2.new(.6,0,.25,0)
  128. b2.TextColor3 = Color3.new(1,1,1)
  129. b2.BackgroundTransparency = 1
  130. b2.Size = UDim2.new(.3,0,.25,0)
  131. b2.Text = "0"
  132. local prev2 = Instance.new("Frame", FontS2)
  133. prev2.Size = UDim2.new(1,0,.5,0)
  134. prev2.Position = UDim2.new(0,0,.5,0)
  135. prev2.BackgroundColor3 = Color3.new(0,0,0)
  136. prev2.BorderColor3 = Color3.new(0,0,0)
  137. r2.Changed:connect(function()
  138. local color = tonumber(r2.Text) or 0
  139. prev2.BackgroundColor3 = Color3.new(color, tonumber(g2.Text) or 0, tonumber(b2.Text) or 0)
  140. end)
  141. g2.Changed:connect(function()
  142. local color = tonumber(g2.Text) or 0
  143. prev2.BackgroundColor3 = Color3.new(tonumber(r2.Text) or 0, color, tonumber(b2.Text) or 0)
  144. end)
  145. b2.Changed:connect(function()
  146. local color = tonumber(b2.Text) or 0
  147. prev2.BackgroundColor3 = Color3.new(tonumber(r2.Text) or 0, tonumber(g2.Text) or 0, color)
  148. end)
  149.  
  150. local fontS3 = Instance.new("Frame", sg)
  151. fontS3.Size = UDim2.new(.2,0,.2,0)
  152. fontS3.Style = "RobloxRound"
  153. fontS3.Position = UDim2.new(.6,0,.4,0)
  154. local tb3 = Instance.new("TextLabel", fontS3)
  155. tb3.Text = "Border Color"
  156. tb3.FontSize = "Size12"
  157. tb3.BackgroundTransparency = 1
  158. tb3.TextColor3 = Color3.new(1,1,1)
  159. tb3.Size = UDim2.new(1,0,.25,0)
  160. local r3 = Instance.new("TextBox", fontS3)
  161. r3.Position = UDim2.new(0,0,.25,0)
  162. r3.TextColor3 = Color3.new(1,1,1)
  163. r3.BackgroundTransparency = 1
  164. r3.Size = UDim2.new(.3,0,.25,0)
  165. r3.Text = "0"
  166. local g3 = Instance.new("TextBox", fontS3)
  167. g3.Position = UDim2.new(.3,0,.25,0)
  168. g3.TextColor3 = Color3.new(1,1,1)
  169. g3.BackgroundTransparency = 1
  170. g3.Size = UDim2.new(.3,0,.25,0)
  171. g3.Text = "0"
  172. local b3 = Instance.new("TextBox", fontS3)
  173. b3.Position = UDim2.new(.6,0,.25,0)
  174. b3.TextColor3 = Color3.new(1,1,1)
  175. b3.BackgroundTransparency = 1
  176. b3.Size = UDim2.new(.3,0,.25,0)
  177. b3.Text = "0"
  178. local prev3 = Instance.new("Frame", fontS3)
  179. prev3.Size = UDim2.new(1,0,.5,0)
  180. prev3.Position = UDim2.new(0,0,.5,0)
  181. prev3.BackgroundColor3 = Color3.new(0,0,0)
  182. prev3.BorderColor3 = Color3.new(0,0,0)
  183. r3.Changed:connect(function()
  184. local color = tonumber(r3.Text) or 0
  185. prev3.BackgroundColor3 = Color3.new(color, tonumber(g3.Text) or 0, tonumber(b3.Text) or 0)
  186. end)
  187. g3.Changed:connect(function()
  188. local color = tonumber(g3.Text) or 0
  189. prev3.BackgroundColor3 = Color3.new(tonumber(r3.Text) or 0, color, tonumber(b3.Text) or 0)
  190. end)
  191. b3.Changed:connect(function()
  192. local color = tonumber(b3.Text) or 0
  193. prev3.BackgroundColor3 = Color3.new(tonumber(r3.Text) or 0, tonumber(g3.Text) or 0, color)
  194. end)
  195.  
  196. ok.MouseButton1Click:wait()
  197.  
  198. local fontcolor = prev1.BackgroundColor3
  199. local backgroundcolor = prev2.BackgroundColor3
  200. local bordercolor = prev3.BackgroundColor3
  201. fontS1:Destroy()
  202. FontS2:Destroy()
  203. fontS3:Destroy()
  204. ok:Destroy()
  205.  
  206. local fr = Instance.new("Frame", sg)
  207. fr.Style = "RobloxRound"
  208. fr.Size = UDim2.new(.35,0,.5,0)
  209. fr.Position = UDim2.new(0,0,.25,0)
  210.  
  211. local sb = Instance.new("TextButton", sg) -- Scrollbar
  212. local issbDown = false
  213. local sblasty = nil
  214. sb.Size = UDim2.new(.035,0,.5,0)
  215. sb.Position = UDim2.new(.35,0,.25,0)
  216. sb.BackgroundTransparency = backgroundtrans
  217. sb.TextColor3 = fontcolor
  218. sb.BorderColor3 = bordercolor
  219. sb.BackgroundColor3 = backgroundcolor
  220. sb.Text = "="
  221. sb.MouseButton1Down:connect(function()
  222. issbDown = true
  223. end)
  224. sb.MouseButton1Up:connect(function()
  225. issbDown = false
  226. end)
  227. sb.MouseLeave:connect(function()
  228. issbDown = false
  229. end)
  230. sb.MouseEnter:connect(function()
  231. issbDown = false
  232. end)
  233. sb.MouseMoved:connect(function(x,y)
  234. if issbDown then
  235. if not sblasty then sblasty = y end
  236. if sblasty - y < 0 then
  237. -- moving up
  238. for i,v in pairs(fr:GetChildren()) do
  239. v.Position = v.Position + UDim2.new(0,0,-.05,0)
  240. if v.Position.Y.Scale < .08 then
  241. v.BackgroundTransparency = 1
  242. v.TextButton.BackgroundTransparency = 1
  243. v.TextTransparency = 1
  244. v.TextButton.TextTransparency = 1
  245. elseif v.Position.Y.Scale >= .95 then
  246. else
  247. v.BackgroundTransparency = backgroundtrans
  248. v.TextButton.BackgroundTransparency = backgroundtrans
  249. v.TextTransparency = 0
  250. v.TextButton.TextTransparency = 0
  251. end
  252. end
  253. else
  254. -- moving down
  255. for i,v in pairs(fr:GetChildren()) do
  256. v.Position = v.Position + UDim2.new(0,0,.05,0)
  257. if v.Position.Y.Scale >= .95 then
  258. v.BackgroundTransparency = 1
  259. v.TextButton.BackgroundTransparency = 1
  260. v.TextTransparency = 1
  261. v.TextButton.TextTransparency = 1
  262. elseif v.Position.Y.Scale < .08 then
  263. else
  264. v.BackgroundTransparency = backgroundtrans
  265. v.TextButton.BackgroundTransparency = backgroundtrans
  266. v.TextTransparency = 0
  267. v.TextButton.TextTransparency = 0
  268. end
  269. end
  270. end
  271. end
  272. sblasty = y
  273. end)
  274.  
  275. local work = Instance.new("TextButton", sg)
  276. work.Position = UDim2.new(0,0,.2,0)
  277. work.Size = UDim2.new(.05,0,.05,0)
  278. work.BackgroundTransparency = backgroundtrans
  279. work.TextColor3 = fontcolor
  280. work.BorderColor3 = bordercolor
  281. work.BackgroundColor3 = backgroundcolor
  282. work.Text = "Workspace"
  283. work.MouseButton1Click:connect(function()
  284. current = Workspace
  285. Clear()
  286. GetList()
  287. end)
  288. work.MouseButton2Up:connect(function(x,y)
  289. local pos = UDim2.new(0,x,0,y)
  290. CreatePasteMenu(pos, Workspace)
  291. end)
  292.  
  293. local light = Instance.new("TextButton", sg)
  294. light.Position = UDim2.new(0.06,0,.2,0)
  295. light.Size = UDim2.new(.05,0,.05,0)
  296. light.BackgroundTransparency = backgroundtrans
  297. light.TextColor3 = fontcolor
  298. light.BorderColor3 = bordercolor
  299. light.BackgroundColor3 = backgroundcolor
  300. light.Text = "Lighting"
  301. light.MouseButton1Click:connect(function()
  302. current = game.Lighting
  303. Clear()
  304. GetList()
  305. end)
  306. light.MouseButton2Up:connect(function(x,y)
  307. local pos = UDim2.new(0,x,0,y)
  308. CreatePasteMenu(pos, game.Lighting)
  309. end)
  310.  
  311. local players = Instance.new("TextButton", sg)
  312. players.Position = UDim2.new(0.12,0,.2,0)
  313. players.Size = UDim2.new(.05,0,.05,0)
  314. players.BackgroundTransparency = backgroundtrans
  315. players.TextColor3 = fontcolor
  316. players.BorderColor3 = bordercolor
  317. players.BackgroundColor3 = backgroundcolor
  318. players.Text = "Players"
  319. players.MouseButton1Click:connect(function()
  320. current = game.Players
  321. Clear()
  322. GetList()
  323. end)
  324. players.MouseButton2Up:connect(function(x,y)
  325. local pos = UDim2.new(0,x,0,y)
  326. CreatePasteMenu(pos, game.Players)
  327. end)
  328.  
  329. local starterp = Instance.new("TextButton", sg)
  330. starterp.Position = UDim2.new(0.18,0,.2,0)
  331. starterp.Size = UDim2.new(.05,0,.05,0)
  332. starterp.BackgroundTransparency = backgroundtrans
  333. starterp.TextColor3 = fontcolor
  334. starterp.BorderColor3 = bordercolor
  335. starterp.BackgroundColor3 = backgroundcolor
  336. starterp.Text = "StarterPack"
  337. starterp.MouseButton1Click:connect(function()
  338. current = game.StarterPack
  339. Clear()
  340. GetList()
  341. end)
  342. starterp.MouseButton2Up:connect(function(x,y)
  343. local pos = UDim2.new(0,x,0,y)
  344. CreatePasteMenu(pos, game.StarterPack)
  345. end)
  346.  
  347.  
  348. local starterg = Instance.new("TextButton", sg)
  349. starterg.Position = UDim2.new(0.24,0,.2,0)
  350. starterg.Size = UDim2.new(.05,0,.05,0)
  351. starterg.BackgroundTransparency = backgroundtrans
  352. starterg.TextColor3 = fontcolor
  353. starterg.BorderColor3 = bordercolor
  354. starterg.BackgroundColor3 = backgroundcolor
  355. starterg.Text = "StarterGui"
  356. starterg.MouseButton1Click:connect(function()
  357. current = game.StarterGui
  358. Clear()
  359. GetList()
  360. end)
  361. starterg.MouseButton2Up:connect(function(x,y)
  362. local pos = UDim2.new(0,x,0,y)
  363. CreatePasteMenu(pos, game.StarterGui)
  364. end)
  365.  
  366. function CreateButtons(object, otr)
  367. local tb = Instance.new("TextButton", fr)
  368. tb.Size = UDim2.new(.9,0,.05,0)
  369. tb.Text = object.Name
  370. tb.Position = UDim2.new(0,0,cp + .05,0)
  371. tb.BackgroundTransparency = otr or backgroundtrans
  372. tb.TextColor3 = fontcolor
  373. tb.BorderColor3 = bordercolor
  374. tb.BackgroundColor3 = backgroundcolor
  375. tb.TextTransparency = otr or 0
  376. cp = cp + .05
  377. local ov = Instance.new("ObjectValue", tb)
  378. ov.Value = object
  379. local x = Instance.new("TextButton", tb)
  380. x.BackgroundTransparency = otr or backgroundtrans
  381. x.TextColor3 = fontcolor
  382. x.BorderColor3 = bordercolor
  383. x.BackgroundColor3 = backgroundcolor
  384. x.TextTransparency = otr or 0
  385. x.Size = UDim2.new(.1,0,1,0)
  386. x.Position = UDim2.new(1,0,0,0)
  387. x.FontSize = "Size12"
  388. x.Text = "+"
  389. tb.MouseButton1Click:connect(function()-- properties window open
  390. CreatePropertiesWindow(ov.Value)
  391. end)
  392. tb.MouseButton2Up:connect(function(x,y)
  393. CreateDropDownMenu(UDim2.new(0,x,0,y), ov.Value)
  394. end)
  395. x.MouseButton1Click:connect(function()
  396. current = ov.Value
  397. Clear()
  398. GetList()
  399. end)
  400. end
  401.  
  402. function CreatePropertiesWindow(obj)
  403. if not obj then return end
  404. pcall(function() sg.P:Destroy() end)
  405. local push = 0
  406. local f = Instance.new("Frame", sg)
  407. f.Name = "P"
  408. f.Style = "RobloxRound"
  409. f.Size = UDim2.new(.4,0,.7,0)
  410. f.Position = UDim2.new(.6,0,.15,0)
  411. if pcall(function() _ = obj["Name"] end) then
  412. local pN = Instance.new("TextLabel", f)
  413. pN.Size = UDim2.new(.5,0,.05,0)
  414. pN.Position = UDim2.new(0,0, push,0)
  415. pN.Text = "Name"
  416. pN.BackgroundColor3 = backgroundcolor
  417. pN.BorderColor3 = bordercolor
  418. pN.TextColor3 = bordercolor
  419. pN.FontSize = "Size10"
  420. local pV = Instance.new("TextBox", f)
  421. pV.ClearTextOnFocus = false
  422. pV.Size = UDim2.new(.5,0,.05,0)
  423. pV.Position = UDim2.new(.5,0,push,0)
  424. push = push + .05
  425. pV.Text = obj.Name
  426. pV.BackgroundColor3 = backgroundcolor
  427. pV.BorderColor3 = bordercolor
  428. pV.TextColor3 = fontcolor
  429. pV.FontSize = "Size10"
  430. pV.Changed:connect(function()
  431. pcall(function()
  432. obj.Name = pV.Text
  433. end)
  434. end)
  435. end
  436. if pcall(function() _ = obj["ClassName"] end) then
  437. local pN = Instance.new("TextLabel", f)
  438. pN.Size = UDim2.new(.5,0,.05,0)
  439. pN.Position = UDim2.new(0,0, push,0)
  440. pN.Text = "ClassName"
  441. pN.BackgroundColor3 = backgroundcolor
  442. pN.BorderColor3 = bordercolor
  443. pN.TextColor3 = bordercolor
  444. pN.FontSize = "Size10"
  445. local pV = Instance.new("TextLabel", f)
  446. pV.Size = UDim2.new(.5,0,.05,0)
  447. pV.Position = UDim2.new(.5,0,push,0)
  448. push = push + .05
  449. pV.Text = obj.ClassName
  450. pV.BackgroundColor3 = backgroundcolor
  451. pV.BorderColor3 = bordercolor
  452. pV.TextColor3 = bordercolor
  453. pV.FontSize = "Size10"
  454. end
  455.  
  456.  
  457. if pcall(function() _ = obj["Transparency"] end) then
  458. local pN = Instance.new("TextLabel", f)
  459. pN.Size = UDim2.new(.5,0,.05,0)
  460. pN.Position = UDim2.new(0,0, push,0)
  461. pN.Text = "Transparency"
  462. pN.BackgroundColor3 = backgroundcolor
  463. pN.BorderColor3 = bordercolor
  464. pN.TextColor3 = bordercolor
  465. pN.FontSize = "Size10"
  466. local pV = Instance.new("TextBox", f)
  467. pV.Size = UDim2.new(.5,0,.05,0)
  468. pV.Position = UDim2.new(.5,0,push,0)
  469. push = push + .05
  470. pV.Text = tostring(obj.Transparency)
  471. pV.BackgroundColor3 = backgroundcolor
  472. pV.BorderColor3 = bordercolor
  473. pV.TextColor3 = fontcolor
  474. pV.FontSize = "Size10"
  475. pV.Changed:connect(function()
  476. pcall(function()
  477. obj.Transparency = pV.Text
  478. end)
  479. end)
  480. end
  481. if pcall(function() _ = obj["Parent"] end) then
  482. local pN = Instance.new("TextLabel", f)
  483. pN.Size = UDim2.new(.5,0,.05,0)
  484. pN.Position = UDim2.new(0,0, push,0)
  485. pN.Text = "Parent"
  486. pN.BackgroundColor3 = backgroundcolor
  487. pN.BorderColor3 = bordercolor
  488. pN.TextColor3 = bordercolor
  489. pN.FontSize = "Size10"
  490. local pV = Instance.new("TextBox", f)
  491. pV.Size = UDim2.new(.5,0,.05,0)
  492. pV.Position = UDim2.new(.5,0,push,0)
  493. push = push + .05
  494. pV.Text = tostring(obj.Parent)
  495. pV.BackgroundColor3 = backgroundcolor
  496. pV.BorderColor3 = bordercolor
  497. pV.TextColor3 = fontcolor
  498. pV.FontSize = "Size10"
  499. pV.Changed:connect(function()
  500. pcall(function()
  501. obj.Parent = pV.Text
  502. end)
  503. end)
  504. end
  505.  
  506. if pcall(function() _ = obj["BrickColor"] end) then
  507. local pN = Instance.new("TextLabel", f)
  508. pN.Size = UDim2.new(.5,0,.05,0)
  509. pN.Position = UDim2.new(0,0, push,0)
  510. pN.Text = "BrickColor"
  511. pN.BackgroundColor3 = backgroundcolor
  512. pN.BorderColor3 = bordercolor
  513. pN.TextColor3 = bordercolor
  514. pN.FontSize = "Size10"
  515. local pV = Instance.new("TextBox", f)
  516. pV.Size = UDim2.new(.5,0,.05,0)
  517. pV.Position = UDim2.new(.5,0,push,0)
  518. push = push + .05
  519. pV.Text = tostring(obj.BrickColor)
  520. pV.BackgroundColor3 = backgroundcolor
  521. pV.BorderColor3 = bordercolor
  522. pV.TextColor3 = fontcolor
  523. pV.FontSize = "Size10"
  524. pV.Changed:connect(function()
  525. pcall(function()
  526. obj.BrickColor = BrickColor.new(pV.Text)
  527. end)
  528. end)
  529. end
  530. if pcall(function() _ = obj["Text"] end) then
  531. local pN = Instance.new("TextLabel", f)
  532. pN.Size = UDim2.new(.5,0,.05,0)
  533. pN.Position = UDim2.new(0,0, push,0)
  534. pN.Text = "Text"
  535. pN.BackgroundColor3 = backgroundcolor
  536. pN.BorderColor3 = bordercolor
  537. pN.TextColor3 = bordercolor
  538. pN.FontSize = "Size10"
  539. local pV = Instance.new("TextBox", f)
  540. pV.Size = UDim2.new(.5,0,.05,0)
  541. pV.Position = UDim2.new(.5,0,push,0)
  542. push = push + .05
  543. pV.Text = obj.Text
  544. pV.BackgroundColor3 = backgroundcolor
  545. pV.BorderColor3 = bordercolor
  546. pV.TextColor3 = fontcolor
  547. pV.FontSize = "Size10"
  548. pV.Changed:connect(function()
  549. pcall(function()
  550. obj.Text = pV.Text
  551. end)
  552. end)
  553. end
  554. if pcall(function() _ = obj["Value"] end) and (obj.ClassName == "StringValue" or obj.ClassName == "IntValue" or obj.ClassName == "NumberValue") then
  555. local pN = Instance.new("TextLabel", f)
  556. pN.Size = UDim2.new(.5,0,.05,0)
  557. pN.Position = UDim2.new(0,0, push,0)
  558. pN.Text = "Value"
  559. pN.BackgroundColor3 = backgroundcolor
  560. pN.BorderColor3 = bordercolor
  561. pN.TextColor3 = bordercolor
  562. pN.FontSize = "Size10"
  563. local pV = Instance.new("TextBox", f)
  564. pV.Size = UDim2.new(.5,0,.05,0)
  565. pV.Position = UDim2.new(.5,0,push,0)
  566. push = push + .05
  567. pV.Text = obj.Value
  568. pV.BackgroundColor3 = backgroundcolor
  569. pV.BorderColor3 = bordercolor
  570. pV.TextColor3 = fontcolor
  571. pV.FontSize = "Size10"
  572. pV.Changed:connect(function()
  573. pcall(function()
  574. if type(obj.Value) == "number" then
  575. obj.Value = tonumber(pV.Text) or 0
  576. else
  577. obj.Value = pV.Text
  578. end
  579. end)
  580. end)
  581. end
  582. end
  583.  
  584. function CreateDropDownMenu(pos, obj)
  585. local f = Instance.new("Frame", sg)
  586. f.BackgroundColor3 = backgroundcolor
  587. f.BorderColor3 = bordercolor
  588. f.Size = UDim2.new(.1,0,.2,0)
  589. f.BackgroundTransparency = .3
  590. f.Position = pos
  591. local d = Instance.new("TextButton", f)
  592. d.BackgroundTransparency = 1
  593. d.Text = "Delete"
  594. d.FontSize = "Size10"
  595. d.TextColor3 = fontcolor
  596. d.Size = UDim2.new(1,0,.15,0)
  597. d.MouseButton1Click:connect(function()
  598. pcall(function()
  599. obj:Destroy()
  600. end)
  601. Clear()
  602. GetList()
  603. f:Destroy()
  604. end)
  605. local c = Instance.new("TextButton", f)
  606. c.BackgroundTransparency = 1
  607. c.Text = "Copy"
  608. c.FontSize = "Size10"
  609. c.TextColor3 = fontcolor
  610. c.Size = UDim2.new(1,0,.15,0)
  611. c.Position = UDim2.new(0,0,.15,0)
  612. c.MouseButton1Click:connect(function()
  613. pcall(function()
  614. copy = obj:Clone()
  615. end)
  616. f:Destroy()
  617. end)
  618.  
  619. local p = Instance.new("TextButton", f)
  620. p.BackgroundTransparency = 1
  621. p.Text = "Paste into"
  622. p.FontSize = "Size10"
  623. p.TextColor3 = fontcolor
  624. p.Size = UDim2.new(1,0,.15,0)
  625. p.Position = UDim2.new(0,0,.3,0)
  626. p.MouseButton1Click:connect(function()
  627. pcall(function()
  628. copy.Parent = obj
  629. end)
  630. f:Destroy()
  631. end)
  632.  
  633. local ka = Instance.new("TextButton", f)
  634. ka.BackgroundTransparency = 1
  635. ka.Text = "Kill"
  636. ka.FontSize = "Size10"
  637. ka.TextColor3 = fontcolor
  638. ka.Size = UDim2.new(1,0,.15,0)
  639. ka.Position = UDim2.new(0,0,.65,0)
  640. ka.MouseButton1Click:connect(function()
  641. pcall(function()
  642. obj:BreakJoints()
  643. end)
  644. Clear()
  645. GetList()
  646. f:Destroy()
  647. end)
  648. local x = Instance.new("TextButton", f)
  649. x.BackgroundTransparency = 1
  650. x.Text = "Close"
  651. x.FontSize = "Size10"
  652. x.TextColor3 = fontcolor
  653. x.Size = UDim2.new(1,0,.15,0)
  654. x.Position = UDim2.new(0,0,.45,0)
  655. x.MouseButton1Click:connect(function()
  656. f:Destroy()
  657. end)
  658. end
  659.  
  660. function CreatePasteMenu(pos, obj)
  661. local f = Instance.new("Frame", sg)
  662. f.BackgroundColor3 = backgroundcolor
  663. f.BorderColor3 = bordercolor
  664. f.Size = UDim2.new(.1,0,.2,0)
  665. f.BackgroundTransparency = .3
  666. f.Position = pos
  667. local p = Instance.new("TextButton", f)
  668. p.BackgroundTransparency = 1
  669. p.Text = "Paste into"
  670. p.FontSize = "Size10"
  671. p.TextColor3 = fontcolor
  672. p.Size = UDim2.new(1,0,.15,0)
  673. p.Position = UDim2.new(0,0,0,0)
  674. p.MouseButton1Click:connect(function()
  675. pcall(function()
  676. copy.Parent = obj
  677. end)
  678. f:Destroy()
  679. end)
  680. local x = Instance.new("TextButton", f)
  681. x.BackgroundTransparency = 1
  682. x.Text = "Close"
  683. x.FontSize = "Size10"
  684. x.TextColor3 = fontcolor
  685. x.Size = UDim2.new(1,0,.15,0)
  686. x.Position = UDim2.new(0,0,.45,0)
  687. x.MouseButton1Click:connect(function()
  688. f:Destroy()
  689. end)
  690. end
  691.  
  692. function Clear()
  693. for i,v in pairs(fr:GetChildren()) do
  694. v:Destroy()
  695. cp = 0
  696. end
  697. end
  698.  
  699. function GetList()
  700. local max = 100
  701. local it = 0
  702. for i,v in pairs(current:GetChildren()) do
  703. if cp < .9 then
  704. CreateButtons(v)
  705. else
  706. CreateButtons(v, 1)
  707. end
  708. it = it + 1
  709. if it == max then break end
  710. end
  711. end
  712. GetList()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement