Its_Sky

aaaaa

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