Advertisement
pitrioptixiop

Roxplorer - Explorer script

Jun 2nd, 2019
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.43 KB | None | 0 0
  1. --[[Changelog:
  2. V1.0: Release
  3. V1.1: Added support for remote backdoor. I will release the plugin soon!
  4. V1.2: Fixed something with remotes, and added create object
  5. V1.3: Added Dark mode. Just do "darkm = true" before running the script.
  6. ]]
  7.  
  8. --If it kicks you or crashes, change this to true
  9.  
  10.  
  11. changethis = false
  12.  
  13. if changethis then
  14. g = Instance.new("ScreenGui",game:GetService('CoreGui'))
  15. else
  16. g = Instance.new("ScreenGui",game:GetService('Players').LocalPlayer:FindFirstChildOfClass("PlayerGui"))
  17. end
  18. function announce(m,d)
  19. an = Instance.new("TextLabel",g)
  20. an.Text = m
  21. an.TextScaled = true
  22. an.BackgroundTransparency = 1
  23. an.Size = UDim2.new(1,0,1,0)
  24. an.TextStrokeTransparency = 0
  25. an.Font = Enum.Font.SourceSansLight
  26. if darkm then
  27. an.TextStrokeColor3 = Color3.new(1,1,1)
  28. an.TextColor3 = Color3.new(0,0,0)
  29. else
  30. an.TextStrokeColor3 = Color3.new(0,0,0)
  31. an.TextColor3 = Color3.new(1,1,1)
  32. end
  33. an.ZIndex = 99
  34. game:GetService('Debris'):AddItem(an,d)
  35. end
  36. remote = nil
  37. gc = game:GetService('ReplicatedStorage'):GetDescendants()
  38. for i=1, #gc do
  39. if gc[i]:IsA('RemoteEvent') and gc[i].Name == "RobloxChatEvent" then
  40. remote = gc[i]
  41. end
  42. end
  43. announce('Roxplorer Loaded!\nThank you for using Roxplorer',3)
  44. coroutine.resume(coroutine.create(function()
  45. wait(3)
  46. if remote then
  47. announce('A backdoor remote has been found, everything you will do is now happening on the server')
  48. end
  49. end))
  50. main = Instance.new("ScrollingFrame",g)
  51. main.Size = UDim2.new(0.25,0,1,0)
  52. main.Position = UDim2.new(-0.25,0,0,0)
  53. main:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic,1)
  54. if darkm then
  55. main.BackgroundColor3 = Color3.new(0.1,0.1,0.1)
  56. else
  57. main.BackgroundColor3 = Color3.new(0.9,0.9,0.9)
  58. end
  59. main.ScrollingEnabled = true
  60. if darkm then
  61. main.ScrollBarImageColor3 = Color3.new(0.9,0.9,0.9)
  62. else
  63. main.ScrollBarImageColor3 = Color3.new(0,0,0)
  64. end
  65. main.ScrollBarImageTransparency = 0
  66. main.ScrollBarThickness = 15
  67. main.ScrollingDirection = Enum.ScrollingDirection.XY
  68. defc = main.CanvasSize
  69. lt = Instance.new("TextLabel",g)
  70. if darkm then
  71. lt.BackgroundColor3 = Color3.new(0,0,0)
  72. lt.TextColor3 = Color3.new(1,1,1)
  73. else
  74. lt.BackgroundColor3 = Color3.new(1,1,1)
  75. end
  76. lt.TextScaled = true
  77. lt.Size = UDim2.new(0,150,0,50)
  78. lt.Position = UDim2.new(0.25,15,0,0)
  79. lt.Font = Enum.Font.SourceSansLight
  80. l = game
  81. lt.Text = "game"
  82. pb = Instance.new("TextButton",g)
  83. if darkm then
  84. pb.BackgroundColor3 = Color3.new(0,0,0)
  85. pb.TextColor3 = Color3.new(1,1,1)
  86. else
  87. pb.BackgroundColor3 = Color3.new(1,1,1)
  88. end
  89. pb.TextScaled = true
  90. pb.Size = UDim2.new(0,150,0,50)
  91. pb.Position = UDim2.new(0.25,15,0,lt.Size.Y.Offset)
  92. pb.Font = Enum.Font.SourceSansLight
  93. pb.Text = "Parent"
  94. pb.MouseButton1Click:Connect(function()
  95. if l ~= game then
  96. l = l.Parent
  97. else
  98. announce('Game has no parent',3)
  99. end
  100. end)
  101. no = Instance.new("TextButton",g)
  102. if darkm then
  103. no.BackgroundColor3 = Color3.new(0,0,0)
  104. no.TextColor3 = Color3.new(1,1,1)
  105. else
  106. no.BackgroundColor3 = Color3.new(1,1,1)
  107. end
  108. no.TextScaled = true
  109. no.Size = UDim2.new(0,150,0,50)
  110. no.Position = UDim2.new(0.25,15,0,pb.Size.Y.Offset*2)
  111. no.Font = Enum.Font.SourceSansLight
  112. no.Text = "Create object"
  113. no.MouseButton1Click:Connect(function()
  114. pcall(function()
  115. tbox:Destroy()
  116. tbox = nil
  117. end)
  118. tbox = Instance.new("TextBox",g)
  119. tbox.TextScaled = true
  120. tbox.Font = Enum.Font.SourceSansLight
  121. tbox.Size = UDim2.new(0.5,0,0.5,0)
  122. tbox.Position = UDim2.new(0.25,0,0.25,0)
  123. tbox.ZIndex = 9999
  124. tbox.MultiLine = false
  125. if darkm then
  126. tbox.BackgroundColor3 = Color3.new(0,0,0)
  127. tbox.TextColor3 = Color3.new(1,1,1)
  128. else
  129. tbox.BackgroundColor3 = Color3.new(1,1,1)
  130. end
  131. tbox.Text = ""
  132. tbox.PlaceholderText = "Type the object classname here and press enter to create it in the directory you are in"
  133. coroutine.resume(coroutine.create(function()
  134. repeat
  135. wait(0.01)
  136. tbox.MultiLine = false
  137. tbox.ClearTextOnFocus = false
  138. until tbox == nil
  139. end))
  140. wait(0.1)
  141. tbox:CaptureFocus()
  142. tbox.FocusLost:Connect(function(wase)
  143.     print('ooo unfocus')
  144.     if remote then
  145.         print('remote')
  146.         remote:FireServer(l, "create", nname)
  147.         tl = nil
  148.         tbox:Destroy()
  149.     else
  150.         print('nah')
  151.         nname = tbox.Text
  152.         pcall(function()
  153.             Instance.new(nname,l)
  154.             tl = nil
  155.         end)
  156.         tbox:Destroy()
  157.     end
  158. end)
  159. tl = nil
  160. end)
  161. --NOTE IF YOU ARE EDITING THIS SCRIPT: If you see "tl = nil" in the middle of the script, that refreshes the explorer.
  162. temp = Instance.new("TextButton",main)
  163. temp.Text = "please don't click this it can break the script"
  164. temp.AutoButtonColor = false
  165. temp.Size = UDim2.new(1,0,0,25)
  166. temp.Position = UDim2.new(0,0,0,0)
  167. temp.Name = "Item"
  168. temp.Visible = false
  169. if darkm then
  170. temp.BackgroundColor3 = Color3.new(0,0,0)
  171. temp.TextColor3 = Color3.new(1,1,1)
  172. else
  173. temp.BackgroundColor3 = Color3.new(1,1,1)
  174. end
  175. tv = Instance.new("ObjectValue",temp)
  176. tv.Name = "O"
  177. tv.Value = nil
  178. ypos = 0
  179. temp.TextScaled = true
  180. temp.Font = Enum.Font.SourceSansLight
  181. tl = nil
  182.  
  183. function menu(b,nx,ny)
  184. mouse = game:GetService('Players').LocalPlayer:GetMouse()
  185. if mouse then
  186.  
  187. pcall(function()
  188. me:Destroy()
  189. me = nil
  190. end)
  191. me = Instance.new("Frame",g)
  192. me.ZIndex = 999
  193. val = Instance.new("ObjectValue",me)
  194. val.Name = "O"
  195. val.Value = b
  196. me.Size = UDim2.new(0,150,0,225)
  197. me.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  198. ypo = 0
  199. -----------------
  200. teb = Instance.new("TextButton",me)
  201. teb.Size = UDim2.new(1,0,0,25)
  202. teb.Position = UDim2.new(0,0,0,ypo)
  203. teb.TextScaled = true
  204. teb.Text = "Close"
  205. teb.ZIndex = 1000
  206. teb.Font = Enum.Font.SourceSansLight
  207. if darkm then
  208. teb.BackgroundColor3 = Color3.new(0,0,0)
  209. teb.TextColor3 = Color3.new(1,1,1)
  210. else
  211. teb.BackgroundColor3 = Color3.new(1,1,1)
  212. end
  213. tebv = Instance.new("ObjectValue",teb)
  214. tebv.Name = "Menu"
  215. tebv.Value = teb.Parent
  216. teb.MouseButton1Click:Connect(function()
  217. teb.Menu.Value:Destroy()
  218. end)
  219. ypo = ypo + 25
  220. -----------------
  221. -----------------
  222. teb = Instance.new("TextButton",me)
  223. teb.Size = UDim2.new(1,0,0,25)
  224. teb.Position = UDim2.new(0,0,0,ypo)
  225. teb.TextScaled = true
  226. teb.Text = "Delete"
  227. teb.ZIndex = 1000
  228. teb.Font = Enum.Font.SourceSansLight
  229. tebv = Instance.new("ObjectValue",teb)
  230. tebv.Name = "Menu"
  231. tebv.Value = teb.Parent
  232. if darkm then
  233. teb.BackgroundColor3 = Color3.new(0,0,0)
  234. teb.TextColor3 = Color3.new(1,1,1)
  235. else
  236. teb.BackgroundColor3 = Color3.new(1,1,1)
  237. end
  238. teb.MouseButton1Click:Connect(function()
  239. if remote then
  240. remote:FireServer(teb.Menu.Value.O.Value,'delete')
  241. else
  242. teb.Menu.Value.O.Value:Destroy()
  243. end
  244. teb.Menu.Value:Destroy()
  245. tl = nil
  246. end)
  247. ypo = ypo + 25
  248. -----------------
  249. -----------------
  250. teb = Instance.new("TextButton",me)
  251. teb.Size = UDim2.new(1,0,0,25)
  252. teb.Position = UDim2.new(0,0,0,ypo)
  253. teb.TextScaled = true
  254. teb.Text = "Clear all children"
  255. teb.ZIndex = 1000
  256. teb.Font = Enum.Font.SourceSansLight
  257. tebv = Instance.new("ObjectValue",teb)
  258. tebv.Name = "Menu"
  259. tebv.Value = teb.Parent
  260. if darkm then
  261. teb.BackgroundColor3 = Color3.new(0,0,0)
  262. teb.TextColor3 = Color3.new(1,1,1)
  263. else
  264. teb.BackgroundColor3 = Color3.new(1,1,1)
  265. end
  266. teb.MouseButton1Click:Connect(function()
  267. pcall(function()
  268. if remote then
  269. remote:FireServer(teb.Menu.Value.O.Value,'cac')
  270. else
  271. teb.Menu.Value.O.Value:ClearAllChildren()
  272. end
  273. end)
  274. teb.Menu.Value:Destroy()
  275. tl = nil
  276. end)
  277. ypo = ypo + 25
  278. -----------------
  279.  
  280. pcall(function()
  281. if teb.Menu.Value.O.Value:IsA('Model') then
  282.  
  283. teb = Instance.new("TextButton",me)
  284. teb.Size = UDim2.new(1,0,0,25)
  285. teb.Position = UDim2.new(0,0,0,ypo)
  286. teb.TextScaled = true
  287. teb.Text = "Ungroup"
  288. teb.ZIndex = 1000
  289. teb.Font = Enum.Font.SourceSansLight
  290. tebv = Instance.new("ObjectValue",teb)
  291. tebv.Name = "Menu"
  292. tebv.Value = teb.Parent
  293. if darkm then
  294. teb.BackgroundColor3 = Color3.new(0,0,0)
  295. teb.TextColor3 = Color3.new(1,1,1)
  296. else
  297. teb.BackgroundColor3 = Color3.new(1,1,1)
  298. end
  299. teb.MouseButton1Click:Connect(function()
  300. if remote then
  301. remote:FireServer(teb.Menu.Value.O.Value,'ungroup')
  302. else
  303. gc = teb.Menu.Value.O.Value:GetChildren()
  304. for i=1, #gc do
  305. gc[i].Parent = teb.Menu.Value.O.Value.Parent
  306. end
  307. teb.Menu.Value.O.Value:Destroy()
  308. end
  309. teb.Menu.Value:Destroy()
  310. tl = nil
  311. end)
  312. ypo = ypo + 25
  313.  
  314. end
  315. end)
  316.  
  317. -----------------
  318. teb = Instance.new("TextButton",me)
  319. teb.Size = UDim2.new(1,0,0,25)
  320. teb.Position = UDim2.new(0,0,0,ypo)
  321. teb.TextScaled = true
  322. teb.Text = "Group"
  323. teb.ZIndex = 1000
  324. teb.Font = Enum.Font.SourceSansLight
  325. tebv = Instance.new("ObjectValue",teb)
  326. tebv.Name = "Menu"
  327. tebv.Value = teb.Parent
  328. if darkm then
  329. teb.BackgroundColor3 = Color3.new(0,0,0)
  330. teb.TextColor3 = Color3.new(1,1,1)
  331. else
  332. teb.BackgroundColor3 = Color3.new(1,1,1)
  333. end
  334. teb.MouseButton1Click:Connect(function()
  335. if remote then
  336. remote:FireServer(teb.Menu.Value.O.Value,'group')
  337. else
  338. pcall(function()
  339. mdl = Instance.new("Model",teb.Menu.Value.O.Value.Parent)
  340. teb.Menu.Value.O.Value.Parent = mdl
  341. end)
  342. end
  343. teb.Menu.Value:Destroy()
  344. tl = nil
  345. end)
  346. ypo = ypo + 25
  347. -----------------
  348. -----------------
  349. teb = Instance.new("TextButton",me)
  350. teb.Size = UDim2.new(1,0,0,25)
  351. teb.Position = UDim2.new(0,0,0,ypo)
  352. teb.TextScaled = true
  353. teb.Text = "Change name"
  354. teb.ZIndex = 1000
  355. teb.Font = Enum.Font.SourceSansLight
  356. tebv = Instance.new("ObjectValue",teb)
  357. tebv.Name = "Menu"
  358. tebv.Value = teb.Parent
  359. if darkm then
  360. teb.BackgroundColor3 = Color3.new(0,0,0)
  361. teb.TextColor3 = Color3.new(1,1,1)
  362. else
  363. teb.BackgroundColor3 = Color3.new(1,1,1)
  364. end
  365. teb.MouseButton1Click:Connect(function()
  366. pcall(function()
  367. tbox:Destroy()
  368. tbox = nil
  369. end)
  370. tbox = Instance.new("TextBox",g)
  371. boxv = Instance.new("ObjectValue",tbox)
  372. boxv.Name = "O"
  373. boxv.Value = tebv.Value.O.Value
  374. tbox.TextScaled = true
  375. tbox.Font = Enum.Font.SourceSansLight
  376. tbox.Size = UDim2.new(0.5,0,0.5,0)
  377. tbox.Position = UDim2.new(0.25,0,0.25,0)
  378. tbox.ZIndex = 9999
  379. tbox.MultiLine = false
  380. if darkm then
  381. tbox.BackgroundColor3 = Color3.new(0,0,0)
  382. tbox.TextColor3 = Color3.new(1,1,1)
  383. else
  384. tbox.BackgroundColor3 = Color3.new(1,1,1)
  385. end
  386. tbox.Text = ""
  387. tbox.PlaceholderText = "Type the new name here and then press enter"
  388. coroutine.resume(coroutine.create(function()
  389. repeat
  390. wait(0.01)
  391. tbox.MultiLine = false
  392. tbox.ClearTextOnFocus = false
  393. until tbox == nil
  394. end))
  395. wait(0.1)
  396. tbox:CaptureFocus()
  397. tbox.FocusLost:Connect(function(wase)
  398.     if remote then
  399.         remote:FireServer(tbox.O.Value, "changename", nname)
  400.         tbox:Destroy()
  401.         tl = nil
  402.     else
  403.         nname = tbox.Text
  404.         pcall(function()
  405.             tbox.O.Value.Name = nname
  406.             tl = nil
  407.         end)
  408.         tbox:Destroy()
  409.         end
  410. end)
  411. teb.Menu.Value:Destroy()
  412. tl = nil
  413. end)
  414. ypo = ypo + 25
  415. -----------------
  416. -----------------
  417. pcall(function()
  418. if string.find(teb.Menu.Value.O.Value.ClassName,"Part") or string.find(teb.Menu.Value.O.Value.ClassName,"Union") then
  419. teb = Instance.new("TextButton",me)
  420. teb.Size = UDim2.new(1,0,0,25)
  421. teb.Position = UDim2.new(0,0,0,ypo)
  422. teb.TextScaled = true
  423. teb.Text = "Teleport to"
  424. teb.ZIndex = 1000
  425. teb.Font = Enum.Font.SourceSansLight
  426. if darkm then
  427. teb.BackgroundColor3 = Color3.new(0,0,0)
  428. teb.TextColor3 = Color3.new(1,1,1)
  429. else
  430. teb.BackgroundColor3 = Color3.new(1,1,1)
  431. end
  432. tebv = Instance.new("ObjectValue",teb)
  433. tebv.Name = "Menu"
  434. tebv.Value = teb.Parent
  435. teb.MouseButton1Click:Connect(function()
  436. pcall(function()
  437. game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = teb.Menu.Value.O.Value.CFrame
  438. teb.Menu.Value:Destroy()
  439. end)
  440. end)
  441. ypo = ypo + 25
  442. end
  443. end)
  444. -----------------
  445. -----------------
  446. pcall(function()
  447. teb = Instance.new("TextButton",me)
  448. teb.Size = UDim2.new(1,0,0,25)
  449. teb.Position = UDim2.new(0,0,0,ypo)
  450. teb.TextScaled = true
  451. teb.Text = "Change parent"
  452. teb.ZIndex = 1000
  453. teb.Font = Enum.Font.SourceSansLight
  454. if darkm then
  455. teb.BackgroundColor3 = Color3.new(0,0,0)
  456. teb.TextColor3 = Color3.new(1,1,1)
  457. else
  458. teb.BackgroundColor3 = Color3.new(1,1,1)
  459. end
  460. tebv = Instance.new("ObjectValue",teb)
  461. tebv.Name = "Menu"
  462. tebv.Value = teb.Parent
  463. teb.MouseButton1Click:Connect(function()
  464. pcall(function()
  465. sel = true
  466. teb.Menu.Value.Visible = false
  467. announce('Please select an object to become the new parent',3)
  468. repeat
  469. wait(0.01)
  470. until selo ~= nil
  471. pcall(function()
  472. if remote then
  473. remote:FireServer(teb.Menu.Value.O.Value, "changeparent", selo)
  474. else
  475. teb.Menu.Value.O.Value.Parent = selo
  476. end
  477. announce('Parent changed!',2)
  478. end)
  479. selo = nil
  480. sel = false
  481. teb.Menu.Value:Destroy()
  482. tl = nil
  483. end)
  484. end)
  485. ypo = ypo + 25
  486. end)
  487. -----------------
  488. me.Size = UDim2.new(me.Size.X.Scale,me.Size.X.Offset,me.Size.Y.Scale,ypo)
  489. end
  490. end
  491.  
  492. sel = false
  493. selo = nil
  494.  
  495. function buttonify(v)
  496. v.AutoButtonColor = false
  497. v.MouseButton2Click:Connect(function(cx,cy)
  498. menu(v.O.Value,cx,cy)
  499. end)
  500. v.MouseButton1Click:Connect(function()
  501. pcall(function()
  502. if sel then
  503. selo = v.O.Value
  504. sel = false
  505. else
  506. l = v.O.Value
  507. end
  508. end)
  509. end)
  510. end
  511. asd = {}
  512. coroutine.resume(coroutine.create(function()
  513. while true do
  514. wait(0.01)
  515. if tl ~= l then
  516. print('.')
  517. tl = l
  518. if #l:GetChildren() == 0 then
  519.  
  520. l = l.Parent
  521. tl = l
  522. announce('This object has no children',3)
  523. else
  524.    
  525.  
  526. pcall(function()
  527. if l == game then
  528. lt.Text = 'game'
  529. else
  530. lt.Text = 'game.'..l:GetFullName()
  531. end
  532. end)
  533. for i=1, #asd do
  534. asd[i]:Destroy()
  535. end
  536. gc = l:GetChildren()
  537. ypos = 0
  538. asd = {}
  539. if #gc > 25 then
  540. main.CanvasSize = UDim2.new(defc.X.Scale,defc.X.Offset,defc.Y.Scale,#gc*25)
  541. else
  542. main.CanvasSize = defc
  543. end
  544. for i=1, #gc do
  545. tem = temp:Clone()
  546. tem.Parent = main
  547. table.insert(asd,1,tem)
  548. tem.Visible = true
  549. tem.Position = UDim2.new(0,0,0,ypos)
  550. tem.Visible = true
  551. ras, ram = pcall(function()
  552. tem.Text = gc[i].Name
  553. end)
  554. if ras == false then
  555. ras, ram = pcall(function()
  556. tem.Text = gc[i].ClassName
  557. end)
  558. end
  559. if tem then
  560. pcall(function()
  561. tem.O.Value = gc[i]
  562. buttonify(tem)
  563. end)
  564. end
  565. ypos = ypos + 25
  566. end
  567. end
  568. end
  569. end
  570. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement