Advertisement
Demonlord27

ProbeMASTER

Apr 11th, 2015
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.88 KB | None | 0 0
  1. local Settings={["Un_Removable"]= "On"}
  2. local function mFloor(x) return x - x % 1 end
  3. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  4. if Un_Removable then
  5. Game.Workspace.DescendantRemoving:connect(function(Child)
  6. if not Remove_At_Will and Child == script then
  7. script:Clone().Parent = Game.Workspace
  8. end
  9. end)
  10. end
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. script.Name = "TTX Probe II"
  18. wait'';--Creator is Tinfold 2nd Creator is Unknown
  19. script.Parent= Instance.new'Glue';
  20. mode="none"
  21. sound=false
  22. engulfed=false
  23. song='walrus'
  24. pa=8
  25. banned={}
  26. local words={"script"}
  27. test=false;--testing mode
  28. scropt=''
  29. scropting=false
  30. ofx=true
  31. ifx=true
  32. probemode=false
  33. local ascript=[[]]
  34. h = Instance.new("Hint")
  35. local words1={"Script"}
  36. local words2={"Merry Christmas"}
  37. crazy=false
  38. hidden=false
  39. find=false
  40.  
  41. scropts={}
  42. plr=game.Players.LocalPlayer
  43. mouse=plr:GetMouse()
  44. cam=workspace.CurrentCamera
  45. p=Instance.new("Part")
  46. p.FormFactor='Custom'
  47. p.TopSurface="Smooth"
  48. p.BottomSurface='Smooth'
  49. p.BrickColor=BrickColor.new'White';
  50. p.Transparency=0.5;
  51. p.Size=Vector3.new(1.5,1.5,1.5)
  52. p.Anchored=true
  53. p.CanCollide=false;
  54. p.Name='ttx.lfl12345'
  55. p.Position=Vector3.new(10, 20, 10)
  56. p.Parent = plr.Character.Animate
  57. pc=p:clone'';
  58. pc.Name='pc'
  59.  
  60. pc.Size=Vector3.new(0.75,0.75,0.75);
  61. pc.BrickColor=BrickColor.new'Really black'
  62. local sel=Instance.new("SelectionBox")
  63. sel.Color=BrickColor.new("Really black")
  64. sel.Transparency=0
  65. sel.Name='sel'
  66. local color=sel.Color
  67. local sel2=Instance.new("SelectionBox")
  68. sel2.Color=BrickColor.new("Institutional white")
  69. sel2.Transparency=1
  70. sel2.Name='sel2'
  71. local blo=Instance.new("BlockMesh",pc)
  72. blo.Name='blo'
  73. local s=Instance.new("Sound")
  74. s.SoundId="http://www.roblox.com/asset?id=12222170"
  75. s.Volume=1
  76. s.Pitch=3.25
  77. s.Name='s'
  78. local s2=Instance.new("Sound")
  79. s2.SoundId="http://www.roblox.com/asset?id=130806888"
  80. s2.Volume=1
  81. s2.Pitch=1
  82. s2.Name='s2'
  83. local s3=Instance.new("Sound")
  84. s3.SoundId="http://www.roblox.com/asset?id=138092144"
  85. s3.Volume=1
  86. s3.Pitch=1
  87. s3.Name='s3'
  88. local s4=Instance.new("Sound")
  89. s4.SoundId="http://www.roblox.com/asset?id=130791043"
  90. s4.Volume=1
  91. s4.Pitch=1
  92. s4.Name='s4'
  93. local s5=Instance.new("Sound")
  94. s5.SoundId="http://www.roblox.com/asset?id=143301643"
  95. s5.Volume=1
  96. s5.Pitch=1
  97. s5.Name='s5'
  98. game:service'ContentProvider':Preload(s5.SoundId)
  99. local s6=Instance.new("Sound")
  100. s6.SoundId="http://www.roblox.com/asset?id=148424174"
  101. s6.Volume=1
  102. s6.Pitch=1
  103. s6.Name='s6'
  104.  
  105. local light=Instance.new('PointLight')
  106. light.Range=10
  107. light.Brightness=5
  108. light.Shadows=true
  109. light.Color=BrickColor.new("White").Color
  110. light.Name='light'
  111.  
  112. local bg = Instance.new("BillboardGui")
  113. bg.Adornee = p
  114. bg.Size = UDim2.new(6, 0, 1, 0)
  115. bg.StudsOffset = Vector3.new(-1.6, 2, 0)
  116. bg.Name='bg'
  117.  
  118. local frame = Instance.new("Frame")
  119. frame.Size = UDim2.new(1, 0, 1, 0)
  120. frame.BackgroundTransparency = 1
  121. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  122. frame.Name='frame'
  123.  
  124. local text = Instance.new("TextLabel")
  125. text.BackgroundTransparency=1
  126. text.Position = UDim2.new(0.15, 0, 0.25, 0)
  127. text.Size = UDim2.new(1.2, 0, 0.7, 0)
  128. text.Text = "" .. words[math.random(1,#words)] .. ""
  129. text.Font="SourceSansBold"
  130. text.TextScaled=true
  131. text.TextStrokeTransparency=0
  132. text.TextStrokeColor3=Color3.new(255,255,255)
  133. text.TextColor3=Color3.new(1,1,1)
  134. text.Name='text'
  135.  
  136. local text2 = Instance.new("TextButton")
  137. text2.BackgroundTransparency=1
  138. text2.Position = UDim2.new(1, 0, 0.25, 0)
  139. text2.Size = UDim2.new(1.2, 0, 0.7, 0)
  140. text2.Text = "" .. plr.Name .. "!e"
  141. text2.Font="SourceSansBold"
  142. text2.TextScaled=false
  143. text2.TextStrokeTransparency=0
  144. text2.TextStrokeColor3=Color3.new(255,255,255)
  145. text2.TextColor3=Color3.new(1,1,1)
  146. text2.Name='name'
  147.  
  148. function chat(txt)
  149. game:service'Chat':Chat(p,txt,math.random(1,2))
  150. s3:Play()
  151. local cb=sel.Color
  152. sel.Color=BrickColor.new("Lime green")
  153. wait(0.57)
  154. sel.Color=cb
  155. end
  156.  
  157.  
  158.  
  159. local schemes={
  160. Normal={
  161. pmc="White";
  162. pcm="Really black";
  163. selc="Really black";
  164. selc2="Institutional white";
  165. light='White';
  166. name="Normal"
  167. };
  168. Inverse={
  169. pmc="Really black";
  170. pcm="White";
  171. selc="Institutional white";
  172. selc2="Really black";
  173. light='White';
  174. name="Inverse"
  175. };
  176. Neon={
  177. pmc="Really red";
  178. pcm="Lime green";
  179. selc="Lime green";
  180. selc2="Really red";
  181. light='Lime green';
  182. name="Neon"
  183. };
  184. Greenlight={
  185. pmc="Really black";
  186. pcm='Institutional white';
  187. selc='Lime green';
  188. selc2='Really black';
  189. light='Lime green';
  190. name='Greenlight'
  191. };
  192. Calm={
  193. pmc="Really black";
  194. pcm='Institutional white';
  195. selc='Teal';
  196. selc2='Really black';
  197. light='Teal';
  198. name='Calm'
  199. };
  200. --Custom Schemes--
  201. CoolkidTheme={
  202. pmc="Camo";
  203. pcm="Lime green";
  204. selc="Really red";
  205. selc2="Toothpaste";
  206. light='Lime green';
  207. name="CoolkidTheme"
  208. };
  209. Epic={
  210. pmc="Royal Purple";
  211. pcm="Gold";
  212. selc="Gold";
  213. selc2="Royal Purple";
  214. light='Lime green';
  215. name="Epic"
  216. };
  217. Golden={
  218. pmc="Gold";
  219. pcm="Gold";
  220. selc="Gold";
  221. selc2="Gold";
  222. light='Gold';
  223. name="Golden"
  224. };
  225. rainbow={
  226. pmc="Color3.new(math.random(), math.random(), math.random())";
  227. pcm="Color3.new(math.random(), math.random(), math.random())";
  228. selc="Color3.new(math.random(), math.random(), math.random())";
  229. selc2="Color3.new(math.random(), math.random(), math.random())";
  230. light="Color3.new(math.random(), math.random(), math.random())";
  231. name="Rainbow"
  232. };
  233. }
  234.  
  235. local songbank={
  236. ['Caillou']='http://www.roblox.com/asset?id=173561400';
  237. ['Halloween']='http://www.roblox.com/asset?id=148427593';
  238. ['Trolled']='http://www.roblox.com/asset?id=142633540';
  239. ['Doge']='http://www.roblox.com/asset?id=150794704';
  240. ['PFS']='http://www.roblox.com/asset?id=130783719';
  241. ['120BOOM']='http://www.roblox.com/asset?id=142279108';
  242. ['Raining Tacos']='http://www.roblox.com/asset?id=142376088';
  243. ['Slender Man']='http://www.roblox.com/asset?id=142776228';
  244. ['Pop It']='http://www.roblox.com/asset?id=135584865';
  245. ['freshprince']='http://www.roblox.com/asset?id=154237445';
  246. ['My niq']='http://www.roblox.com/asset?id=141917909';
  247. ['Drop It']='http://www.roblox.com/asset?id=130783015'
  248. }
  249.  
  250.  
  251. for _,v in pairs(songbank) do
  252. ypcall(function()
  253. game:service"ContentProvider":Preload(v)
  254. end)
  255. end
  256.  
  257. if probemode == false and crazy == true then
  258. for i = 1,50 do
  259. wait(0.00001)
  260. p.Transparency = 1
  261. wait(0.00001)
  262. p.Transparency = 0
  263. end
  264. for i = 1,50 do
  265. wait(0.00001)
  266. p.BrickColor=BrickColor.new("Black")
  267. wait(0.00001)
  268. p.BrickColor=BrickColor.new("White")
  269. end
  270. for i = 1,50 do
  271. wait(0.00001)
  272. p.BrickColor=BrickColor.new("Black")
  273. wait(0.00001)
  274. p.BrickColor=BrickColor.new("White")
  275. wait(0.00001)
  276. p.BrickColor=BrickColor.new("Really red")
  277. wait(0.00001)
  278. p.BrickColor=BrickColor.new("Bright blue")
  279. wait(0.00001)
  280. p.BrickColor=BrickColor.new("Bright green")
  281. wait(0.00001)
  282. p.BrickColor=BrickColor.new("Bright yellow")
  283. wait(0.00001)
  284. p.BrickColor=BrickColor.new("White")
  285. end
  286. for i = 1,50 do
  287. wait(0.00001)
  288. p.Position = p.Position +Vector3.new(1, 0, 0)
  289. end
  290. for i = 1,50 do
  291. wait(0.00001)
  292. p.Position = p.Position +Vector3.new(0, 1, 0)
  293. end
  294. for i = 1,50 do
  295. wait(0.00001)
  296. p.Position = p.Position +Vector3.new(0, 0, 1)
  297. end
  298. for i = 1,50 do
  299. wait(0.00001)
  300. p.Position = p.Position -Vector3.new(0, 0, 1)
  301. end
  302. for i = 1,50 do
  303. wait(0.00001)
  304. p.Position = p.Position -Vector3.new(1, 0, 0)
  305. end
  306. for i = 1,50 do
  307. wait(0.00001)
  308. p.Position = p.Position -Vector3.new(0, 1, 0)
  309. end
  310. for i =1,50 do
  311. wait(0.00001)
  312. p.Size = p.Size +Vector3.new(1.5,1.5,1.5)
  313. end
  314. for i = 1,50 do
  315. wait(0.00001)
  316. p.Size = p.Size -Vector3.new(1.5,1.5,1.5)
  317. end
  318. for i = 1,360 do
  319. wait(0.00001)
  320. p.Rotation = p.Rotation +Vector3.new(1,1,1)
  321. end
  322. for i = 1,100 do
  323. wait(0.00001)
  324. p.Transparency = p.Transparency+0.01
  325. end
  326. for i = 1,100 do
  327. wait(0.00001)
  328. p.Transparency = p.Transparency-0.01
  329. end
  330. for i = 1,30 do
  331. wait(0.00000000000000000001)
  332. p2 = Instance.new("Part")
  333. p2.Parent = Game.Workspace
  334. p2.Anchored = true
  335. p2.Position = p2.Position Vector3.new(10,20,10)
  336. p2.BrickColor=BrickColor.New("Black")
  337. local pm = Instance.new("SpecialMesh",p)
  338. pm.Scale = Vector3.new(1,1,1)
  339. pm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  340. pm.Parent = p2
  341. for i =0, 1 , .2 do
  342. wait()
  343. pm.Scale = pm.Scale +Vector3.new(1,1,1)
  344. end
  345. end
  346. p2:Remove()
  347. p.Transparency = 1
  348. else
  349. coroutine.wrap(function()
  350. local angle=0;
  351. repeat
  352. angle=angle+1;
  353. local a=math.rad(angle);
  354. p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
  355. pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
  356. wait'';
  357. until false
  358. end)();
  359. end
  360.  
  361. if kingjulian == false then
  362. plr.Character.KindJulianHead:remove()
  363. plr.Character.KingJulianCrown:remove()
  364. plr.Character.KingJulianTall:remove()
  365. print"Your king julian clothes has been removed"
  366. print'to get them back you must enable the value "kingjulian" in the script and rejoin!'
  367. elseif kingjulian == true and msg == "King julian" then
  368. h = Instance.new("Hint")
  369. h.Parent = plr.PlayerGui
  370. h.Text = "Someone said King julian when it was turned on"
  371. end
  372. if find == true then
  373.  
  374. end
  375. newLocalScript=function(source,parent)
  376. local clone=script:clone'';
  377. clone:clearAllChildren'';
  378. for _,v in next,{'Source','DSource','source','code'}do
  379. local f=Instance.new('StringValue',clone);
  380. f.Name=v;
  381. f.Value=source;
  382. end;
  383. clone.Parent=parent;
  384. return clone;
  385. end;
  386. cmds={}
  387. modes={
  388. {n="Destroy",color="Neon orange",func=function(thing)
  389. local a=thing.Parent
  390. s4:Play()
  391. if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
  392. thing.Parent:Destroy()
  393. elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~="Baseplate" and thing.Name~='ttx' then
  394. thing:Destroy()
  395. end
  396. end
  397. };
  398. {n="Fade",color="Really red",func=function(thing)
  399. local b=thing.Parent
  400. s4:Play()
  401. if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
  402. thing.Parent.Transparency = 0
  403. wait(0.1)
  404. thing.Parent.Transparency = 0.1
  405. wait(0.1)
  406. thing.Parent.Transparency = 0.2
  407. wait(0.1)
  408. thing.Parent.Transparency = 0.3
  409. wait(0.1)
  410. thing.Parent.Transparency = 0.4
  411. wait(0.1)
  412. thing.Parent.Transparency = 0.5
  413. wait(0.1)
  414. thing.Parent.Transparency = 0.6
  415. wait(0.1)
  416. thing.Parent.Transparency = 0.7
  417. wait(0.1)
  418. thing.Parent.Transparency = 0.8
  419. wait(0.1)
  420. thing.Parent.Transparency = 0.9
  421. wait(0.1)
  422. thing.Parent.Transparency = 1
  423. elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~='ttx' then
  424. thing.Transparency = 0
  425. wait(0.1)
  426. thing.Transparency = 0.1
  427. wait(0.1)
  428. thing.Transparency = 0.2
  429. wait(0.1)
  430. thing.Transparency = 0.3
  431. wait(0.1)
  432. thing.Transparency = 0.4
  433. wait(0.1)
  434. thing.Transparency = 0.5
  435. wait(0.1)
  436. thing.Transparency = 0.6
  437. wait(0.1)
  438. thing.Transparency = 0.7
  439. wait(0.1)
  440. thing.Transparency = 0.8
  441. wait(0.1)
  442. thing.Transparency = 0.9
  443. wait(0.1)
  444. thing.Transparency = 1
  445. end
  446. end
  447. };
  448. {n="Pow",color="Red",func=function(thing)
  449. s4:Play()
  450. chat("POW!")
  451. wait(0.3)
  452. chat("HAHA!")
  453. end
  454. };
  455. {n="Break",color="Royal purple",func=function(thing)
  456. if thing.className=="Part" and thing.Name~='Base' and thing.Name~='Baseplate' then
  457. s4:Play()
  458. for i = 1,4 do
  459. local a=thing:clone()
  460. thing:BreakJoints()
  461. a.Parent=workspace
  462. a.FormFactor="Custom"
  463. a.Size=Vector3.new(thing.Size.x/math.random(1.2,2),thing.Size.y/math.random(1.05,2),thing.Size.z/math.random(1.2,2))
  464. a:BreakJoints()
  465. local f=Instance.new("Fire",a)
  466. f.Size=(a.Size.x+a.Size.y+a.Size.z)/2
  467. local ex=Instance.new("Explosion")
  468. ex.Position=thing.Position
  469. ex.BlastPressure=35
  470. ex.BlastRadius=15
  471. ex.Parent=workspace
  472. thing:Destroy()
  473. Spawn(function()
  474. wait(3)
  475. a:Destroy()
  476. end)
  477. end
  478. end
  479. end
  480. };
  481. {n="Kick",color="Really red",func=function(thing)
  482. if thing.Parent.Name~="Workspace" then
  483. s4:Play()
  484. ypcall(function()
  485. if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  486. ypcall(function()
  487. game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
  488. end)
  489. end
  490. end)
  491. end
  492. end
  493. };
  494. {n="Lazer",color="Gold",func=function(thing)
  495. if thing.Parent.Name~="Workspace" then
  496. s4:Play()
  497. end end
  498. };
  499. {n="Ban",color="Br. yellowish green",func=function(thing)
  500. s4:Play()
  501. if thing.Parent.Name~="Workspace" then
  502. ypcall(function()
  503. if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  504. ypcall(function()
  505. table.insert(banned,thing.Parent.Name)
  506. game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
  507. end)
  508. end
  509. end)
  510. end
  511. end
  512. };
  513. {n="Kill",color="Dark red",func=function(thing)
  514. s4:Play()
  515. if thing.Parent.Name~="Workspace" then
  516. ypcall(function()
  517. if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  518. ypcall(function()
  519. game:service'Players':findFirstChild(thing.Parent.Name).Character:BreakJoints()
  520. end)
  521. end
  522. end)
  523. end
  524. end
  525. };
  526. {n="Ff",color="Really blue",func=function(thing)
  527. s4:Play()
  528. if thing.Parent.Name~="Workspace" then
  529. if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  530. ypcall(function()
  531. if not thing.Parent.Parent.Players.player.Character.ForceField then
  532. Instance.new("ForceField",thing.Parent.Parent.Players.player.Character)
  533. else
  534. thing.Parent.Parent.Players.player.Character.ForceField:Destroy()
  535. end
  536. end)
  537. end
  538. end
  539. end
  540. }
  541. }
  542. addCommand=function(commandName,_cmds,commandDesc,commandFunc)
  543. cmds[commandName]={['cmds']=_cmds,desc=commandDesc,func=commandFunc};
  544. end
  545. onChatted=function(msg)
  546. for _,v in next,cmds do
  547. local used=false;
  548. for cmd in v.cmds:gmatch'([^(.*),?]+)'do
  549. if(msg:match(cmd)and used==false)then
  550. local rest=msg:match(cmd..'(.*)');
  551. pcall(v.func,rest);
  552. used=true;
  553. end;
  554. end;
  555. end;
  556. end;
  557. getPlayers=function(msg)
  558. local players={};--noob nob
  559. for _,v in next,game.Players:players''do
  560. if(v.Name:lower():sub(1,#msg)==msg:lower()) then
  561. table.insert(players,v);
  562. end;
  563. end;
  564. return players;
  565. end;
  566. addCommand('Disconnect','disc/,disconnect/','Disconnects your player from the game',function(msg)
  567. plr:Destroy()'';
  568. end);
  569. addCommand('Kick','kick/','Kicks <Player>',function(msg)
  570. for _,player in next,getPlayers(msg)do
  571. player:Destroy()'';
  572. end;
  573. end);
  574. addCommand('Banish', 'ban/', 'Banish <Player>', function(msg)
  575. for _,player in next,getPlayers(msg)do
  576. table.insert(banned,player.Name)
  577. player:Destroy()'';
  578. end;
  579. end);
  580. addCommand('Fix', 'fix/', 'Fix probe', function(msg)
  581. local current=workspace:findFirstChild'ttx';
  582. if(current)then
  583. current:destroy();
  584. end;
  585. p=backup:clone();
  586. p.Parent=workspace;
  587. pc=p.pc
  588. sel=p.sel
  589. bg=p.bg
  590. frame=p.frame
  591. text=p.Text
  592. sel2=pc.sel2
  593. s=p.s
  594. s2=p.s2
  595. s3=p.s3
  596. s4=p.s4
  597. s5=p.s5
  598. light=pc.light
  599. end);
  600.  
  601. addCommand('Nil disconnect','nild/', "Disconnect a nil player", function(msg)
  602.  
  603. end)
  604.  
  605. addCommand('Clean' ,'clean/', 'Clean Workspace', function(msg)
  606. for _,v in pairs(workspace:children()) do
  607. ypcall(function()
  608. if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
  609. if v.Name~="Base" and v.Name~="Baseplate" and v.Name~='ttx.lfl12345' then
  610. v:Destroy()
  611. end
  612. end
  613. end)
  614. end
  615. end);
  616.  
  617. addCommand('Crash','cr/','Crashes a <Player>',function(msg)
  618. for _,player in next,getPlayers(msg)do
  619. newLocalScript([[game.Players.LocalPlayer:kick'']], player.Backpack or player.Character)
  620. end;
  621. end)
  622. print'a';
  623. addCommand('Lag', 'lag/', 'Lags a <Player>',function(msg)
  624. for _,player in ipairs(getPlayers(msg))do
  625. newLocalScript([[
  626. wait'';
  627. script.Parent=workspace.currentCamera;
  628. addLoop=function()
  629. repeat
  630. for _,v in next,{'Message','Hint','Part','Message','Message','Hint','Seat'}do
  631. pcall(function()
  632. local i=Instance.new(v,workspace.currentCamera);
  633. i.Text='lag';
  634. end);
  635. end;
  636. wait'';
  637. if(math.random(1,10)==1)then
  638. coroutine.wrap(addLoop)();
  639. end;
  640. until false;
  641. end;
  642. coroutine.wrap(addLoop)();
  643. ]],player.Character);
  644. end;
  645. end);
  646.  
  647. addCommand('No CBA','nocba/','Removes CBA',function(msg)
  648. local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  649. RemoveCBA.Name = "CBA Attachment"
  650. RemoveCBA.Value = 'CBA.remove = false;'
  651. chat("CBA has been removed!")
  652. end)
  653.  
  654. addCommand('reload CBA','reloadcba/','Reloads CBA admin removes it and replaces it with mine k',function(msg)
  655. local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  656. RemoveCBA.Name = "CBA Attachment"
  657. RemoveCBA.Value = 'CBA.remove = false;'
  658. local HttpService = game:GetService("HttpService")
  659. loadstring(HttpService:GetAsync("https://code.stypi.com/raw/clarramore/lilililililil.lua"))()
  660. chat("CBA has been replaced")
  661. end)
  662. addCommand('Fixl','fixl/','Fixes lighting',function(msg)
  663. game.Lighting.Brightness=7
  664. game.Lighting.TimeOfDay='14:00:00'
  665. game.Lighting.GlobalShadows=true
  666. game.Lighting.Outlines=true
  667. game.Lighting.ShadowColor=Color3.new(179,179,179)
  668. game.Lighting.Ambient=Color3.new(128,128,128)
  669. game.Lighting.FogStart=0
  670. game.Lighting.FogEnd=100000
  671. end)
  672. addCommand('Anti Probe','Nottx/','Removes all TTX probes',function(msg)
  673. workspace.Changed:connect(function()
  674. find = workspace:FindFirstChild("ttx")
  675. if find then
  676. find.Position = Vector3.new(100000, 5000, 100000)
  677. end
  678. end)
  679. chat('made probes leave')
  680. end)
  681.  
  682. addCommand('Madchat','modec/mad','Mad chat (Beta feature)',function(msg)
  683. modec="mad"
  684. chat("Switched modec to Mad!")
  685. end)
  686.  
  687. addCommand('Test','test/','Tests this probe',function(msg)
  688. if msg == "" then
  689. chat("This script successfully works!")
  690. else
  691. chat("This script successfully works " .. msg .. "!")
  692. end
  693. end)
  694.  
  695. addCommand('Fu\5ck up CBA','screwCBA/','Fu\5cks up CBA',function(msg)
  696. local showlvlCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  697. showlvlCBA.Name = "CBA Attachment"
  698. showlvlCBA.Value = 'CBA.showlvls = true;'
  699. chat("Levels have been shown!")
  700. wait(5)
  701. chat("Hacking into the CBA server!")
  702. wait(5)
  703. chat("1%")
  704. wait(5)
  705. chat("13%")
  706. wait(3)
  707. chat("24%")
  708. wait(2)
  709. chat("50%")
  710. wait(3)
  711. chat("99%")
  712. wait(3)
  713. chat("100% hacked!")
  714. wait(3)
  715. chat("Disabling CBA bubble chat!")
  716. wait(5)
  717. local disableCBAbubble = Instance.new("StringValue", Workspace.ttx.lfl12345)
  718. disableCBAbubble.Name = "CBA Attachment"
  719. disableCBAbubble.Value = 'CBA.bubblechat = false;'
  720. chat("CBA bubble chat has been disabled!")
  721. wait(0.5)
  722. chat("Now overriding CBA!")
  723. local overCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  724. overCBA.Name = "CBA Attachment"
  725. overCBA.Value = 'CBA.override = true;'
  726. chat("CBA has been overrided!")
  727. wait(2)
  728. chat("Man of the base will die when i kill this!")
  729. wait(5)
  730. chat("CBA is gonna Die")
  731. wait(2)
  732. chat("Today!")
  733. wait(4)
  734. chat("Pwning CBA!")
  735. wait(6)
  736. local hideCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  737. hideCBA.Name = "CBA Attachment"
  738. hideCBA.Value = 'CBA.showlvls = false;'
  739. chat("CBA lvls have been hidden!")
  740. wait(1)
  741. chat("Now i will murder CBA!")
  742. wait(4)
  743. local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
  744. RemoveCBA.Name = "CBA Attachment"
  745. RemoveCBA.Value = 'CBA.remove = false;'
  746. chat("CBA has been murdered! Goodbye!")
  747. wait(5)
  748. chat("Wait!")
  749. wait(2)
  750. chat("If CBA is removed then the server is too!")
  751. wait(4)
  752. chat("CBA server Shutdown has been executed!")
  753. wait(5)
  754. chat("CBA server shutdown countdown has been initiated!")
  755. wait(5)
  756. chat("Server shutdown : 10")
  757. wait(1)
  758. chat("Server shutdown : 9")
  759. wait(1)
  760. chat("Server shutdown : 8")
  761. wait(1)
  762. chat("Server shutdown : 7")
  763. wait(1)
  764. chat("Server shutdown : 6")
  765. wait(1)
  766. chat("Server shutdown : 5")
  767. wait(1)
  768. chat("Server shutdown : 4")
  769. wait(1)
  770. chat("Server shutdown : 3")
  771. wait(1)
  772. chat("Server shutdown : 2")
  773. wait(1)
  774. chat("Server shutdown : 1")
  775. wait(1)
  776. chat("Server shutdown : 0")
  777. wait(5)
  778. chat("Error: CBA server shutdown has been cancelled!")
  779. wait(3)
  780. chat("It was totally a fool")
  781. wait(1)
  782. chat("There is no such thing as a CBA server shutdown thing if its removed!")
  783. wait(5)
  784. chat("We're not stupid")
  785. wait(2)
  786. chat("CLarramore actually hates CBA!")
  787. wait(3)
  788. chat("If you actually want to know if CBA is available!")
  789. wait(0.3)
  790. chat("And how to remove it on the local You can!")
  791. wait(1)
  792. chat('Say "nocba/" to remove it!')
  793. wait(1)
  794. chat("Goodbye!")
  795. end)
  796.  
  797. addCommand('Player info','pinfo/','Shows a players info',function(msg)
  798. for _,player in next,getPlayers(msg)do
  799. if msg == "" then
  800. chat("Please enter a user")
  801. else
  802. chat("" .. player.Name .. "'s userid is " .. player.UserId .. " and his/her's account age is " .. player.AccountAge .."!")
  803. end
  804. end
  805. end)
  806.  
  807. addCommand('get User id','getid/','Gets a users id',function(msg)
  808. for _,player in next,getPlayers(msg)do
  809. if msg == "" then
  810. chat("Please Enter someones username")
  811. elseif msg == "asd" or msg == "lol" or msg == "f*ck" or msg == "asshole" then
  812. chat("That Name is nothing")
  813. else
  814. chat("" .. player.Name .. "'s ID is " .. player.Userid .. "!")
  815. end
  816. end
  817. end)
  818.  
  819. addCommand('age','age/','Shows someones age',function(msg)
  820. for _,player in next,getPlayers(msg)do
  821. chat("" .. player.Name .. "' is " .. player.AccountAge .. " Days Old!")
  822. end
  823. end)
  824.  
  825. addCommand('Grab code','code/','Grabs the 4 digit code',function(msg)
  826. if msg == "" then
  827. chat("The current code is " .. string.reverse("" .. Code .. "") .. "!")
  828. else
  829. chat("The current code is " .. string.reverse("" .. Code .. "") .. " " .. msg .. "!")
  830. end
  831. end)
  832. addCommand('Calmchat','modec/calm','Calm chat (Beta feature)',function(msg)
  833. modec="calm"
  834. chat("Switched modec to Calm!")
  835. end)
  836.  
  837. addCommand('Rejoin','rj/','Rejoins player',function(msg)
  838. game:GetService('TeleportService'):Teleport(game.PlaceId)
  839. end)
  840.  
  841. addCommand('Create','create/', 'Creates a <script>',function(msg)
  842. table.insert(scropts,{n=msg,c=""})
  843. chat("Created script: " .. msg .. "!",math.random(0,2));
  844. end)
  845.  
  846. addCommand('Edit','edit/','Edits a <script>', function(msg)
  847. chat("Editing script: " .. msg .. "!",math.random(0,2));
  848. for _,v in pairs(scropts) do
  849. if v.n==msg then
  850. scropting=true
  851. scropt=v.n
  852. chat(scropt,math.random(0,2));
  853. end
  854. end
  855. end)
  856.  
  857. addCommand('Exit','exit/','Exits a <script>', function(msg)
  858. scropting=false
  859. chat("Exited script: " .. scropt .. "!",math.random(0,2));
  860. end)
  861.  
  862. addCommand('Run','run/','Runs a <script>', function(msg)
  863. for _,v in pairs(scropts) do
  864. if v.n==scropt then
  865. ypcall(function()
  866. --newLocalScript(v.c,workspace)
  867. wait(); loadstring(v.c)()
  868. chat(v.c,math.random(0,2))
  869. end)
  870. end
  871. end
  872. chat("Running script: " .. msg .. "!",math.random(0,2));
  873. end)
  874.  
  875. addCommand('Clear','clear/','Clears a <script>',function(msg)
  876. for _,v in pairs(scropts) do
  877. if v.n==msg then
  878. v.c=''
  879. end
  880. end
  881. chat("Cleared script: " .. msg .. "!",math.random(0,2));
  882. end)
  883.  
  884. addCommand('Remove','remove/','Removes a <script>',function(msg)
  885. for _,v in pairs(scropts) do
  886. if v.n==msg then
  887. table.remove(scropts,v)
  888. end
  889. end
  890. chat("Removed script: " .. msg .. "!",math.random(0,2));
  891. end)
  892.  
  893. addCommand('Mode','mode/','Switches mode',function(msg)
  894. ypcall(function()
  895. mode=msg
  896. chat("Switched to mode: " .. msg .. "!",math.random(0,2));
  897. end)
  898. end)
  899.  
  900. addCommand('Change scheme', 'cs/', 'Changes scheme', function(msg)
  901. ypcall(function()
  902. for _,v in pairs(schemes) do
  903. if v.name==msg then
  904. p.BrickColor=BrickColor.new(v.pmc)
  905. pc.BrickColor=BrickColor.new(v.pcm)
  906. sel.Color=BrickColor.new(v.selc)
  907. sel2.Color=BrickColor.new(v.selc2)
  908. light.Color=BrickColor.new(v.light).Color
  909. chat("Switched to scheme: " .. msg .. "!",math.random(0,2));
  910. end
  911. end
  912. end)
  913. end
  914. )
  915.  
  916.  
  917. addCommand('Set size','ss/', 'Sets size',function(msg)
  918. local m=tonumber(msg)
  919. p.Size=Vector3.new(m,m,m)
  920. pc.Size=Vector3.new(m/2,m/2,m/2)
  921. end)
  922.  
  923. addCommand('Set #Particles','pa/', 'Sets # particles', function(msg)
  924. pa=tonumber(msg)
  925. end)
  926.  
  927. addCommand('Set outer lining color','solc/', 'Sets olc',function(msg)
  928. sel.Color=BrickColor.new(msg)
  929. end)
  930.  
  931. addCommand('Set inner lining color','silc/', 'Sets ilc',function(msg)
  932. sel2.Color=BrickColor.new(msg)
  933. end)
  934.  
  935. addCommand('Set outer box color','sobc/', 'Sets obc',function(msg)
  936. p.BrickColor=BrickColor.new(msg)
  937. end)
  938.  
  939. addCommand('Set inner box color','sibc/', 'Sets ibc',function(msg)
  940. p.BrickColor=BrickColor.new(msg)
  941. end)
  942.  
  943. addCommand('Disable outer fx','dof/','Disables outer FX',function(msg)
  944. ofx=false
  945. end)
  946.  
  947. addCommand('Enable outer fx','eof/','Enables outer FX',function(msg)
  948. ofx=true
  949. end)
  950.  
  951. addCommand('Disable inner fx','dif/','Disables inner FX',function(msg)
  952. ifx=false
  953. end)
  954.  
  955. addCommand('Enable inner fx','eif/','Enables inner FX',function(msg)
  956. ifx=true
  957. end)
  958. --lavish commands
  959. addCommand('Ff', 'ff/', 'Ffs a <Player>',function(msg)
  960. for _,player in next,getPlayers(msg)do
  961. Instance.new("ForceField",player.Character)
  962. end;
  963. end)
  964.  
  965. addCommand('Play', 'play/', 'Plays a <song>',function(msg)
  966. if songbank[msg] then
  967. song=msg
  968. local a=Instance.new("Sound")
  969. a.Volume=1
  970. a.Pitch=1
  971. a.Looped=true
  972. a.SoundId=songbank[msg]
  973. a.Name=msg
  974. a.Parent=p
  975. wait()
  976. a:Play()
  977. wait()
  978. a:Stop()
  979. wait()
  980. a:Play()
  981. color=sel.Color
  982. sound=true
  983. chat('Playing "' .. msg .. '"!')
  984. else
  985. chat('Song "' .. msg .. '" does not exist.')
  986. end
  987. end)
  988.  
  989. addCommand('Play id','playid/', 'plays a <Songid>',function(msg)
  990. song=msg
  991. local a=Instance.new('Sound',workspace)
  992. a.SoundId=('rbxassetid://'.. msg)
  993. a.Volume=1
  994. a.Pitch=1
  995. a.name=msg
  996. wait()
  997. a:Play()
  998. color=sel.Color
  999. sound=true
  1000. chat('Playing soundid:' .. msg .. '!')
  1001. end)
  1002.  
  1003. addCommand('Stop', 'stop/', 'Stops a song',function(msg)
  1004. ypcall(function()
  1005. sound=false
  1006. sel.Color=color
  1007. wait()
  1008. if p[msg] then
  1009. ypcall(function()
  1010. p[msg]:Destroy()
  1011. end)
  1012. end
  1013. song='nil'
  1014. a:Destroy()
  1015. chat('Song "' .. msg .. '" stopped!')
  1016. end)
  1017. end)
  1018.  
  1019. addCommand('hide my chat', 'hidec/', 'hides your chat', function(msg)
  1020. if msg == "-s" then
  1021. chat("Chat shown")
  1022. hidden = false
  1023. else
  1024. chat("Chat hidden")
  1025. hidden = true
  1026. end
  1027. end)
  1028.  
  1029. addCommand('Pitch', 'pitch/', 'Changes pitch of a song',function(msg)
  1030. ypcall(function()
  1031. if p[song] then
  1032. ypcall(function()
  1033. p[song].Pitch=tonumber(msg)
  1034. end)
  1035. end
  1036. chat('Song "' .. msg .. "'s" .. ' pitch has been changed to ' .. msg .. ".")
  1037. end)
  1038. end)
  1039.  
  1040. addCommand('Engulf','eng/','Engulf yourself in FX', function(msg)
  1041. engulfed=true
  1042. p.Transparency=1
  1043. pc.Transparency=1
  1044. sel.Transparency=1
  1045. sel2.Transparency=1
  1046. end)
  1047.  
  1048. addCommand('Unengulf','ueng/','Unengulf yourself in FX', function(msg)
  1049. engulfed=false
  1050. p.Transparency=0
  1051. pc.Transparency=0
  1052. sel.Transparency=0
  1053. sel2.Transparency=0
  1054. end)
  1055.  
  1056. addCommand('Chatmsg','chat/', 'Chats you', function(msg)
  1057. chat('Me: ' .. msg .. '')
  1058. end)
  1059. addCommand('Me','/me', 'Emotions', function(msg)
  1060. chat('*' .. plr.Name .. ' '.. msg .. '')
  1061. end)
  1062. addCommand('Kill','kill/', 'Kills someone', function(msg)
  1063. for _,player in next,getPlayers(msg)do
  1064. if msg == "" then
  1065. chat('Please enter a player name')
  1066. else
  1067. chat('This command is not implemented yet!')
  1068. end
  1069. end;
  1070. end)
  1071.  
  1072. addCommand('Trippy','trippy/', 'Trippy', function(msg)
  1073. for i = 1,10000 do
  1074. wait(0.00001)
  1075. p.BrickColor=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  1076. pc.BrickColor=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  1077. sel.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  1078. sel2.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  1079. light.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random())).Color
  1080. end
  1081. end)
  1082.  
  1083. addCommand('Staple the person','Staple/', 'staples you to the wall', function(msg)
  1084. local showlvlCBA = Instance.new("StringValue", Workspace.ttx)
  1085. showlvlCBA.Name = "CBA Attachment"
  1086. showlvlCBA.Value = 'while true do end'
  1087. p1 = Instance.new("Part")
  1088. p1.Parent = Workspace
  1089. end)
  1090.  
  1091. addCommand('Unff','unff/', 'Unffs a <Player>', function(msg)
  1092. for _,player in next,getPlayers(msg)do
  1093. for i,v in pairs(player.Character:GetChildren()) do
  1094. if v:IsA("ForceField") then
  1095. v:remove()
  1096. end
  1097. end
  1098. end;
  1099. end)
  1100.  
  1101. addCommand('Probe','probe/','Turns you into a probe',function(msg)
  1102. if(not test)then
  1103. plr:remove'';
  1104. probemode = true
  1105. end;
  1106. coroutine.wrap(function()
  1107. local angle=0;
  1108. repeat
  1109. angle=angle+1;
  1110. local a=math.rad(angle);
  1111. p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
  1112. pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
  1113. wait'';
  1114. until false
  1115. end)();
  1116. plr.Character=nil;
  1117. end)
  1118.  
  1119. plr.Chatted:connect(function(msg)
  1120. ypcall(function()
  1121. print(msg);
  1122.  
  1123. onChatted(msg);
  1124. if hidden==true then
  1125. cco=0
  1126. cco2=0
  1127. text.Text = "[[--This chat was Hidden--]]"
  1128. for i = 1,a do
  1129. cco=0
  1130. cco2=0
  1131. end
  1132. find=true
  1133. end
  1134. if scropting==true then
  1135. if not msg:find('exit/') and not msg:find('edit/') then
  1136. for _,v in pairs(scropts) do
  1137. if v.n==scropt then
  1138. v.c=v.c .. msg
  1139. chat("Input code!",math.random(0,2));
  1140. end
  1141. end
  1142. end
  1143. end
  1144. if scropting==false or hidden==false then
  1145. local a=string.len(msg)
  1146. local bbd="%u"
  1147. local bbc="%l"
  1148. local cco=0
  1149. local cco2=0
  1150. local modec="calm"
  1151. find=false
  1152. for i=1,a do
  1153. if string.sub(msg,i,i):match(bbd) then
  1154. cco=cco+1
  1155. elseif string.sub(msg,i,i):match(bbc) then
  1156. cco2=cco2+1
  1157. end
  1158. end
  1159. print("uppercase letters :" .. tostring(cco))
  1160. print("lowercase letters:" .. tostring(cco2))
  1161. if cco<cco2 then
  1162. modec="calm"
  1163. text.TextColor3=BrickColor.new("White").Color
  1164. cco=0
  1165. cco2=0
  1166. elseif cco2<cco then
  1167. modec="mad"
  1168. text.TextColor3=BrickColor.new("Really red").Color
  1169. cco=0
  1170. cco2=0
  1171. end
  1172. --[[
  1173. local bbd="%u+"
  1174. local bbc="%l+"
  1175. local mc=msg:match(bbd)
  1176. local mc2=msg:match(bbc)
  1177. if a/2<=string.len(mc) then
  1178. ypcall(function()
  1179. text.TextColor3=BrickColor.new("Really red").Color
  1180. s2:Play()
  1181. end)
  1182. elseif a/2<=string.len(mc2) then
  1183. ypcall(function()
  1184. text.TextColor3=BrickColor.new("White").Color
  1185. end)
  1186. end
  1187. ]]
  1188.  
  1189. if modec=="mad" then
  1190. s2:Play()
  1191. end
  1192. if modec=="Druggy" then
  1193. while modec=="Druggy" do
  1194. wait(0.00001)
  1195. text.Textcolor3=BrickColor.new("Black").Color
  1196. wait(0.00001)
  1197. text.Textcolor3=BrickColor.new("White").Color
  1198. end
  1199. end
  1200. text.Text=''
  1201. for i=1,a do
  1202. wait(0.055)
  1203. s.Pitch=math.random(2.45,3.1)
  1204. s:Play()
  1205. text.Text=string.sub(msg,1,i)
  1206. end
  1207. --[[
  1208. wait(5)
  1209. local var=0
  1210. if text.Text==msg then
  1211. for i=1,a do
  1212. var=var-1
  1213. wait(0.055)
  1214. s.Pitch=math.random(3.0,4.0)
  1215. s:Play()
  1216. text.Text=string.sub(msg,a,var)
  1217. end
  1218. end
  1219. ]]
  1220. end
  1221. end)
  1222. end);
  1223.  
  1224.  
  1225.  
  1226. game.Players.ChildAdded:connect(function(playur)
  1227. if playur.className == "Player" then
  1228. for _,v in pairs(banned) do
  1229. if v == playur.Name then
  1230. while wait() do
  1231. playur:Kick()
  1232. end
  1233. end
  1234. end
  1235. end
  1236. end)
  1237.  
  1238. game:service'RunService'.Stepped:connect(function()
  1239. ypcall(function()
  1240. p.Parent=workspace
  1241. pc.Parent=p
  1242. sel.Parent=p
  1243. sel.Adornee=p
  1244. bg.Adornee=p
  1245. bg.Parent=p
  1246. frame.Parent=bg
  1247. text.Parent=frame
  1248. sel2.Parent=pc
  1249. sel2.Adornee=pc
  1250. s.Parent=p
  1251. s2.Parent=p
  1252. s3.Parent=p
  1253. s4.Parent=p
  1254. s5.Parent=p
  1255. light.Parent=pc
  1256. text.TextStrokeColor3=sel.Color.Color
  1257. end)
  1258. end)
  1259.  
  1260. s5.Looped=true
  1261. s5.Volume=0.5
  1262. s5:Play()
  1263. wait()
  1264. s5:Stop()
  1265. wait()
  1266. s5:Play()
  1267.  
  1268. local walrus=game.Lighting
  1269. mouse.Button1Down:connect(function()
  1270. ypcall(function()
  1271. for _,v in pairs(modes) do
  1272. if v.n==mode and mouse.Target.Name~="Workspace" then
  1273. local ray = Ray.new(p.CFrame.p, (mouse.Hit.p - p.CFrame.p).unit*300)
  1274. v.func(mouse.Target)
  1275. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  1276. local distance = (position - p.CFrame.p).magnitude
  1277. local rp=Instance.new("Part",workspace)
  1278. rp.Anchored=true
  1279. rp.TopSurface="Smooth"
  1280. rp.BottomSurface="Smooth"
  1281. rp.Transparency=0.45
  1282. rp.BrickColor=BrickColor.new(v.color)
  1283. rp.FormFactor="Custom"
  1284. rp.CanCollide=false
  1285. rp.Size=Vector3.new(0.6,0.6,distance)
  1286. rp.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1287. local cy=Instance.new("BlockMesh",rp)
  1288. local rp2=Instance.new("Part",rp)
  1289. rp2.Anchored=true
  1290. rp2.TopSurface="Smooth"
  1291. rp2.BottomSurface="Smooth"
  1292. rp2.Transparency=0.45
  1293. rp2.BrickColor=BrickColor.new("Institutional white")
  1294. rp2.FormFactor="Custom"
  1295. rp2.CanCollide=false
  1296. rp2.Size=Vector3.new(1,1,distance)
  1297. rp2.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1298. local cy2=Instance.new("BlockMesh",rp2)
  1299. for i=1,10 do
  1300. wait()
  1301. cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0)
  1302. cy2.Scale=cy2.Scale-Vector3.new(0.1,0.1,0)
  1303. end
  1304. rp:Destroy()
  1305. rp2:Destroy()
  1306. print'done'
  1307. end
  1308. end
  1309. end)
  1310. end)
  1311.  
  1312. coroutine.resume(coroutine.create(function()
  1313. while wait() do
  1314. for i=1,50 do
  1315. wait()
  1316. blo.Scale=blo.Scale+Vector3.new(0.01,0.01,0.01)
  1317. end
  1318. for i=1,50 do
  1319. wait()
  1320. blo.Scale=blo.Scale-Vector3.new(0.01,0.01,0.01)
  1321. end
  1322. end
  1323. end))
  1324.  
  1325. coroutine.resume(coroutine.create(function()
  1326. while wait() do
  1327. if engulfed==false then
  1328. for i=1,100 do
  1329. wait()
  1330. sel.Transparency=sel.Transparency+0.01
  1331. sel2.Transparency=sel2.Transparency-0.01
  1332. end
  1333. for i=1,100 do
  1334. wait()
  1335. sel.Transparency=sel.Transparency-0.01
  1336. sel2.Transparency=sel2.Transparency+0.01
  1337. end
  1338. end
  1339. end
  1340. end))
  1341.  
  1342. coroutine.resume(coroutine.create(function()
  1343. while wait() do
  1344. if ifx==true then
  1345. local pos=p.Position
  1346. wait(0.01)
  1347. if p.Position~=pos or engulfed==true then
  1348. local a=p:clone()
  1349. a.Parent=workspace
  1350. a.Transparency=0
  1351. a.FormFactor='Custom'
  1352. a.BrickColor=sel.Color
  1353. clearAllChildren()
  1354. local b=Instance.new("BlockMesh",a)
  1355. Spawn(function()
  1356. for i=1,30 do
  1357. wait(0.02)
  1358. b.Scale=b.Scale-Vector3.new(0.10,0.10,0.10)
  1359. a.Transparency=a.Transparency+0.05
  1360. end
  1361. a:Destroy()
  1362. end)
  1363. else
  1364. end
  1365. end
  1366. end
  1367. end))
  1368.  
  1369.  
  1370.  
  1371. coroutine.resume(coroutine.create(function()
  1372. while wait(0.06245) do
  1373. if ofx==true then
  1374. local a=Instance.new('Part',p)
  1375. a.Anchored=true
  1376. local b=Instance.new("BlockMesh",a)
  1377. a.Size=Vector3.new(1.1,1)
  1378. a.CFrame=p.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  1379. a.BrickColor=sel.Color
  1380. Spawn(function()
  1381. for i=1,pa do
  1382. wait()
  1383. a.CFrame=a.CFrame*CFrame.new(math.random(-.1,.1),math.random(-.1,.1),math.random(-.1,.1))*CFrame.Angles(math.rad(i),math.rad(i),math.rad(i))
  1384. a.Transparency=a.Transparency+0.1
  1385. b.Scale=b.Scale-Vector3.new(0.1,0.1,0.1)
  1386. end
  1387. a:Destroy()
  1388. end)
  1389. end
  1390. end
  1391. end))
  1392.  
  1393. pc.ChildRemoved:connect(function()
  1394. sound=false
  1395. sel.Color=color
  1396. end)
  1397.  
  1398.  
  1399.  
  1400. local backup=p:clone()
  1401. backup.Parent=nil
  1402.  
  1403.  
  1404.  
  1405. --[[
  1406. workspace.ChildRemoved:connect(function(asd)
  1407. if asd.Name=="ttx" then
  1408. wait(5)
  1409. if not workspace['ttx'] then
  1410. local f=backup:clone()
  1411. f.Parent=workspace
  1412. p=f
  1413. end
  1414. end
  1415. end)
  1416. coroutine.resume(coroutine.create(function()
  1417. while wait(4) do
  1418. if not workspace['ttx'] then
  1419. local abc=backup:clone()
  1420. abc.Parent=workspace
  1421. p=abc
  1422. end
  1423. end
  1424. end))
  1425. ]]
  1426. coroutine.resume(coroutine.create(function()
  1427. local a=p.Position
  1428. wait(0.02)
  1429. if p.Position~=a then
  1430. s5.Pitch=s5.Pitch+0.035
  1431. else
  1432. s5.Pitch=1
  1433. end
  1434. end))
  1435. --[[
  1436. while wait() do
  1437. local fx=Instance.new("Part")
  1438. fx.FormFactor="Custom"
  1439. fx.Anchored=true
  1440. fx.TopSurface="Smooth"
  1441. fx.BottomSurface="Smooth"
  1442. fx.Size=Vector3.new(0.4,0.4,0.4)
  1443. fx.CFrame=p.CFrame*CFrame.new(math.random(1,3),math.random(3,4),math.random(1,3))
  1444. if sound==true then
  1445. sel.Color=BrickColor.Random()
  1446. end
  1447. if engulfed==true then
  1448. p.Transparency=1
  1449. pc.Transparency=1
  1450. sel.Transparency=1
  1451. sel2.Transparency=1
  1452. end
  1453. coroutine.wrap(function()
  1454. local walrus=0
  1455. while fx~=nil do
  1456. wait()
  1457. walrus=walrus+0.02
  1458. fx.CFrame=fx.CFrame*(p.CFrame)*CFrame.new(0,walrus,0)
  1459. end
  1460. end)()
  1461. game.Debris:addItem(fx,3)
  1462. end
  1463. ]]--
  1464. -- In this library, you'll be making a client admin.
  1465. -- Meaning that it will be smoother and only you can use it.
  1466. -- Remember, this is only a library.
  1467. -- It will help you make an admin, not give you an entire admin.
  1468. -- So you will need to add all the ban features and all that.
  1469. -- Behold! Tablet Library Version 1!
  1470.  
  1471. -- THIS IS LOCAL!!!!! I cannot express that enough!
  1472.  
  1473.  
  1474. -- Assigning Variables
  1475.  
  1476. local Player = Game:GetService("Players").LocalPlayer; -- The Player
  1477. local Character = Player.Character;
  1478. local Torso = Character:WaitForChild"Torso";
  1479. local Tablets = {};
  1480. local Commands = {};
  1481. local Rotation = 0;
  1482. local RotationIncrease = 0.1;
  1483.  
  1484. -- OnChatted (For Commands - Don't Touch!)
  1485. function OnChatted(Message)
  1486. local Command = ""
  1487. for i,v in pairs(Commands)do
  1488. if Message:sub(1,v.Cmd:len()):lower() == v.Cmd and Command == "" then
  1489. Command = v.Cmd
  1490. Spawn(function()
  1491. a,b = pcall(function()
  1492. v.Func(Message:sub(v.Cmd:len()+1):lower())
  1493. end)
  1494. if not a then
  1495. error(b)
  1496. end
  1497. end)
  1498. end
  1499. end
  1500. end
  1501. -- More Commands!
  1502. function AddCommand(Command,Description,Example,Function)
  1503. table.insert(Commands,{Cmd=Command,Desc=Description,Example=Example,Func=Function});
  1504. end
  1505. -- Output! Time to design your tablets!
  1506. function Output(Text,Colour,Function)
  1507. local part = Instance.new("Part",workspace)
  1508. part.Anchored = true
  1509. part.FormFactor = "Custom"
  1510. part.Size = Vector3.new(2.3,2.3,2.3)
  1511. part.Transparency = 0.5
  1512. part.CanCollide = false
  1513. part.BrickColor = BrickColor.new(Colour)
  1514. part.CFrame = CFrame.new(Torso.CFrame.p)
  1515. part.TopSurface,part.BottomSurface = 0,0
  1516. local bg = Instance.new("BodyGyro", part)
  1517. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  1518. local sel = Instance.new('SelectionBox',part)
  1519. sel.Adornee = part
  1520. sel.Color = part.BrickColor
  1521. sel.Transparency = 0.7
  1522. local bg = Instance.new("BillboardGui",part)
  1523. bg.Enabled = true
  1524. bg.Adornee = part
  1525. bg.AlwaysOnTop = true
  1526. bg.Size = UDim2.new(1,0,1,0)
  1527. bg.ExtentsOffset = Vector3.new(0,2,0)
  1528. local text = Instance.new("TextLabel",bg)
  1529. text.Text = Text
  1530. text.Size = UDim2.new(1,0,1,0)
  1531. text.BackgroundTransparency = 1
  1532. text.Font = "Arial"
  1533. text.FontSize = "Size14"
  1534. text.TextStrokeTransparency = 0.7
  1535. text.TextStrokeColor3 = Color3.new(0,0,0);
  1536. text.TextColor3 = part.BrickColor.Color
  1537. local point = Instance.new("PointLight",part)
  1538. point.Brightness = 1/0
  1539. point.Color = part.BrickColor.Color
  1540. point.Range = 6
  1541. local click = Instance.new("ClickDetector",part)
  1542. click.MaxActivationDistance = 1/0
  1543. coroutine.resume(coroutine.create(function()
  1544. if Text == "Dismiss" then
  1545. col = 21
  1546. part.BrickColor = BrickColor.new(col)
  1547. text.TextColor3 = part.BrickColor.Color
  1548. sel.Color = part.BrickColor
  1549. elseif Text == "Back" then
  1550. col = 1010
  1551. part.BrickColor = BrickColor.new(col)
  1552. text.TextColor3 = part.BrickColor.Color
  1553. sel.Color = part.BrickColor
  1554. end
  1555. click.MouseClick:connect(function(p)
  1556. if p == Player then
  1557. if Function == nil then
  1558. pcall(function()
  1559. coroutine.resume(coroutine.create(function()
  1560. local Tabs = Tablets
  1561. for i,v in pairs(Tabs) do
  1562. if v==part then
  1563. table.remove(Tabs,i)
  1564. end
  1565. end
  1566. part:Destroy()
  1567. end))
  1568. end)
  1569. else
  1570. pcall(function()
  1571. coroutine.resume(coroutine.create(function()
  1572. local a,b = coroutine.resume(coroutine.create(function()
  1573. Function();
  1574. end))
  1575. if a then
  1576. return
  1577. else
  1578. Output(b,21)
  1579. end
  1580. local Tabs = Tablets
  1581. for i,v in pairs(Tabs) do
  1582. if v==part then
  1583. table.remove(Tabs,i)
  1584. end
  1585. end
  1586. part:Destroy()
  1587. end))
  1588. end)
  1589. end
  1590. end
  1591. end)
  1592. end))
  1593. pcall(function()
  1594. table.insert(Tablets,part)
  1595. end)
  1596. end
  1597. -- Rotation (DON'T TOUCH)
  1598. function UpdateTablets()
  1599. Rotation = Rotation + RotationIncrease
  1600. for i,v in pairs(Tablets)do
  1601. if not v.Parent then table.remove(Tablets,i) return nil end
  1602. local TorsoPosition = CFrame.new(Torso.CFrame.p);
  1603. local CFR = TorsoPosition * CFrame.Angles(0,math.rad((i*(360/#Tablets)+Rotation)),0)
  1604. CFR = CFR * CFrame.new(0,0,1.5+(#Tablets))
  1605. local LerpedCFR = v.Position
  1606. LerpedCFR = LerpedCFR:Lerp(CFR.p,.1)
  1607. v.CFrame = CFrame.new(LerpedCFR)
  1608. end
  1609. end
  1610. -- Adding Functions (I'll give ya one)
  1611. function RemoveTablets()
  1612. for o,p in pairs(Tablets)do
  1613. for i,v in pairs(Tablets)do
  1614. wait(0)
  1615. pcall(function()
  1616. table.remove(Tablets,i)
  1617. v:Destroy()
  1618. end)
  1619. end
  1620. end
  1621. end
  1622. -- Adding Commands (I'll give you three commands)
  1623. AddCommand("ff;","Gives a player a forcefield","ff;12packkid",function(Message)
  1624. for i,v in pairs(Game:GetService("Players"):GetPlayers())do
  1625. if v.Name:lower():find(Message:lower())then
  1626. pcall(function()
  1627. Instance.new('ForceField',v.Character);
  1628. Output("Gave a forcefield to "..v.Name,1020);
  1629. end)
  1630. end
  1631. end
  1632. end)
  1633. AddCommand("unff;","Remove(s) (all) forcefields from a player","unff;12packkid",function(Message)
  1634. for i,v in pairs(Game:GetService("Players"):GetPlayers())do
  1635. if v.Name:lower():find(Message:lower())then
  1636. pcall(function()
  1637. local ForceFields = {};
  1638. for i,v in pairs(v.Character:GetChildren())do
  1639. if v:IsA"ForceField" then
  1640. table.insert(ForceFields,v)
  1641. end
  1642. end
  1643. if #ForceFields == 0 then
  1644. Output(v.Name.." doesn't have any forcefields!",21);
  1645. else
  1646. Output("Removed "..tostring(#ForceFields).." forcefield(s) from "..v.Name,1020)
  1647. for i,v in pairs(ForceFields) do
  1648. v:Destroy()
  1649. end
  1650. end
  1651. end)
  1652. end
  1653. end
  1654. end)
  1655. AddCommand("dt;","Dismisses the tablets!","dt;",function(Message)
  1656. RemoveTablets();
  1657. end)
  1658. AddCommand("audio;","Plays an audio!","audio;id",function(Message)
  1659. pcall(function()
  1660. for i,v in pairs(Workspace:GetChildren())do
  1661. if v:IsA"Sound" then
  1662. v:Stop()
  1663. v:Destroy()
  1664. end
  1665. end
  1666. local Sound = Instance.new("Sound",Workspace)
  1667. Sound.SoundId = "rbxassetid://"..Message
  1668. Sound.Volume = 1
  1669. wait(0)
  1670. Sound:Play()
  1671. Output("Song Playing: "..Message,1020)
  1672. Chat("Playing id: ".. Message .."!")
  1673. end)
  1674. end)
  1675. AddCommand("stop;","Stops all audios in Workspace","stop;",function(Message)
  1676. pcall(function()
  1677. local Sounds = {}
  1678. for i,v in pairs(Workspace:GetChildren())do
  1679. if v:IsA"Sound" then
  1680. table.insert(Sounds,v)
  1681. end
  1682. end
  1683. if #Sounds == 0 then
  1684. Output("There are no sounds in Workspace",21)
  1685. else
  1686. Output("Stopped all sounds in Workspace!",1020)
  1687. for i,v in pairs(Sounds)do
  1688. v:Stop()
  1689. v:Destroy()
  1690. end
  1691. end
  1692. end)
  1693. end)
  1694.  
  1695. AddCommand("Ask/","Ask's the Probe!","Ask/",function(Message)
  1696. chat("Test")
  1697. Output("Test",1020)
  1698. end)
  1699. AddCommand("no;","No tablets plz","no;",function(Message)
  1700. Output("Goodbye tabs",0)
  1701. wait(3)
  1702. Output("Are you sure you wanna do this?",403)
  1703. wait(3)
  1704. Output("OK!",333)
  1705. wait(3)
  1706. Output("Dismiss",21,"Dismiss")
  1707. wait(3)
  1708. Output("Remove Plz dont",1000,function(Click)
  1709. RemoveTablets()
  1710. Commands = nil
  1711. Tablets = nil
  1712. end)
  1713. end)
  1714. AddCommand("asterslol","asters","asterslol/",function(Message)
  1715. Output("I like asters",1020)
  1716. Output("And so do you",1020)
  1717. Output("Now you would play them",1020)
  1718. Output("Why Wont you!",1020)
  1719. wait(5)
  1720. Output("Dont click me!",21,function(Click)
  1721. Output("You fool!",10)
  1722. Output("I told you not to click on it!",10)
  1723. Wait(5)
  1724. RemoveTablets()
  1725. for i = 1,100 do
  1726. Output("You fool!",math.random(420))
  1727. end
  1728. wait(5)
  1729. RemoveTablets()
  1730. Output("What the fuuuuuuuuuuuuuuuuuuuu!",0)
  1731. wait(5)
  1732. Output("Now your really gonna get it now!",200)
  1733. wait(3)
  1734. Commands = nil
  1735. Tablets = nil
  1736. while true do
  1737. Output("iojfdvkjgfsdojiofdjgiojfdiojgiojdiogjiofsdjgiojdiofjgiojsijgiojsdioj",0)
  1738. end
  1739. Output("TTX probe Tablets have Crashed! Game over! You clicked on him!",21)
  1740. end)
  1741. Output("Dismiss",21,"Dismiss")
  1742. end)
  1743.  
  1744. Player.Chatted:connect(OnChatted)
  1745.  
  1746. Output("Welcome to TTX Probe II",1020)
  1747. Output("This is Currently under DevelopMent",1020)
  1748. Output("Hope you have fun, "..Player.Name.."!",1020)
  1749. Output("Credit to 12packkid For tablets!",1020)
  1750. Output("And Dont you dare Click on that tablet When you execute asterslol/",21)
  1751. Output("Dismiss",21,"Dismiss")
  1752. coroutine.resume(coroutine.create(function()
  1753. Game:GetService("RunService").RenderStepped:connect(function()
  1754. UpdateTablets()
  1755. end)
  1756. end))
  1757.  
  1758.  
  1759. -- almost at 2000 lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement