Advertisement
BlueHasMeme

Untitled

Sep 2nd, 2016
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ ]]--
  2. --KillerTabs - (c) Ultimatekiller010, tusKOr661--
  3. --[[mediafire]]--
  4. wait()
  5. script.Parent = nil
  6. user = 'BlueHasSwag' -- Your name here
  7. Bet= "/"
  8. Removed = false;
  9. local Rotations = Instance.new('Model')
  10. Banned = {"Some noob"} -- banned ;)
  11. Lagged = {}
  12. Admins = {"BlieHasSwag"}-- an admin
  13. local IllegalTerms = {'/do'..'wn','ki'..'ck','b'..'an','cra'..'sh',user.. ':Remove',user.. ':Destroy',user.. '.Parent = nil',
  14. 'camb'..'all','c'..'ba','.B'..'et','adm'..'inlist','adm'..'in','iorb','orb','DropTheBomb','q0rb','0rb','qOrb','iTable','iRay','iKick','iBan'
  15. }; -- these are KickingPhrases where if the player says them they will get kicked
  16.  
  17. script.Name = user .. " " .. Bet .. " KillerTabs"
  18. APlayer = game.Players:findFirstChild(user)
  19. if script.ClassName == 'LocalScript' then
  20. APlayer = game.Players.LocalPlayer
  21. end
  22.  
  23. local DPBans = {'LolDPbanned'}
  24. local CurrentDPBan = 'LolDPBanned'
  25. Version = 2.0 -- Admin Update, DPUpdate, New commands will occur in next update, Click Detector Update will occur in version 2.0
  26. Objects = Instance.new("Model", script)
  27. Objects.Name = "ScriptList"
  28. Obj = nil
  29. Showing = {}
  30. isExploring = false
  31. Fences = {}
  32. local Updates = {
  33. 'Admins update: allows multiple admins','DP use update: for dpban','More commands','Kicking Phrases added',
  34. 'Remove feature','DP for Admin loading','Anti Camball','Anti Deadfield','Added a crash ban'
  35. }
  36. Commands = {
  37. {"kill"..Bet.."(APlayer)", "Kills a APlayer", "Arguments : #APlayer"},
  38. {"respawn"..Bet.."(APlayer)", "Respawns a APlayer", "Arguments : #APlayer"},
  39. {"ban"..Bet.."(APlayer)", "Bans a APlayer", "Arguments : #APlayer"},
  40. {"unban"..Bet.."(APlayer)", "Removes the APlayer from banned list", "Arguments : #APlayer"},
  41. {"kick"..Bet.."(APlayer)", "Kicks a APlayer", "Arguments : #APlayer"},
  42. {"ff"..Bet.."(APlayer)", "Gives APlayer ForceField", "Arguments : #APlayer"},
  43. {"unff"..Bet.."(APlayer)", "Removes APlayer ForceField", "Arguments : #APlayer"},
  44. {"clean"..Bet, "Cleans up server", "Arguments : None"},
  45. {"expl"..Bet, "Turn on explorer", "Arguments : None"},
  46. {"des"..Bet.."(name)", "Destroys object (Explorer must active)", "Arguments : #name"},
  47. {"copy"..Bet.."(name)", "Copies an object (Explorer must active)", "Arguments : #name"},
  48. {"paste"..Bet, "Paste copied object (Explorer must active)", "Arguments : None"},
  49. {"hide"..Bet, "Hides the tablets", "Arguments : None"},
  50. {"show"..Bet, "Shows the tablets", "Arguments : None"},
  51. {"dismiss"..Bet, "Closes tablets", "Arguments : None"},
  52. {"info"..Bet, "Shows KillerTabs information", "Arguments : None"},
  53. {"commands"..Bet, "Shows the commands list", "Arguments : None"},
  54. {"ping"..Bet.."(arguments)", "Pings every APlayer on the server", "Arguments : #APlayers or #nil"},
  55. {"help"..Bet.."(command)", "Shows detailed info on commands [BETA]", "Arguments : #command"},
  56. {"fence"..Bet.."(arguments", "Fences the APlayer","Arguments :#Players"},
  57. {'unfence'..Bet..'(arguments','Unfences the APlayer','Arguments:#Players'},
  58. {'lag'..Bet..'(arguments','Lags the APlayer','Arguments:#Players'},
  59. {'Admin'..Bet..'(APlayer)','Admins a APlayer','Arguments:#Players'},
  60. {'Unadmin'..Bet..'(APlayer)','Unadmins a APlayer','Arguments:#Players'},
  61. {'DPban'..Bet..'(APlayer)','DP bans the player','Arguments:#Players'},
  62. {'m'..Bet..'Text','Makes a message with the text','No args'},
  63. {'h'..Bet..'Text','Makes a hint with the text', 'No args'},
  64. {'bannedlist','Shows the bannedlist','No args'},
  65. {'Remove','Removes this script','No args'},
  66. {'aphrase','Adds a phrase to the illegal terms','Arguments:Phrase'},
  67. {'rphrase','Removes the following phrase to the illegal terms','Arguments:Phrase'},
  68. {'lphrases','Gives the speaker a list of the phrases','No args'},
  69. {'Adminlist','Gives the speaker of the admins','No args'},
  70. {'Adminsingame','Gives the speaker a list of the admins in this server','No Args'},
  71. --{'Shutdown','Shuts the game down','No Arguments'},
  72. {'Exe','Executes the following string','Arguments:String'},
  73. {'Listupdates','Lists the updates','No Args'},
  74. {'permadmin','Permanetly admins the player','Arguments:player'},
  75. {'base','Creates a base.','Arguments:#command'},
  76. {'skick'..Bet..'(APlayer)','Shutdown kick player','Arguments:player'},
  77. {'freeze'..Bet..'(APlayer)','Freezes the player','Arguments:player'},
  78. {'thaw'..Bet..'(APlayer)','Thaws player','Arguments:player'},
  79. }
  80. ScriptContainer = Instance.new('Model')
  81. LocalScript = ScriptContainer:findFirstChild('LocalScript')
  82. PsuedoScript = ScriptContainer:findFirstChild('Script')
  83. local Check = function(Object)
  84. if Removed == false then
  85. for _,Object in pairs(Object:GetChildren()) do
  86. if Object.ClassName == 'Script' then
  87. if PseudoScript == nil then
  88. local Object = Object:Clone()
  89. if #Object:GetChildren() ~= 0 then
  90. Object.Disabled = true
  91. for _,String in pairs(Object:GetChildren()) do
  92. if String:IsA('StringValue') then
  93. String.Value = [[ wait() ]]
  94. end
  95. end
  96. Object.Name = 'Script'
  97. Object.Parent = ScriptContainer
  98. end
  99. end
  100. elseif Object.ClassName == 'LocalScript' then
  101. if PseudoScript == nil then
  102. if #Object:GetChildren() ~= 0 then
  103. local Object = Object:Clone()
  104. Object.Disabled = true
  105. for _,String in pairs(Object:GetChildren()) do
  106. if String:IsA('StringValue') then
  107. String.Value = [[ wait() ]]
  108. end
  109. end
  110. Object.Name = 'LocalScript'
  111. Object.Parent = ScriptContainer
  112. end
  113. end
  114. end
  115. end
  116. end
  117. end
  118. game:service'Workspace'.ChildAdded:connect(function(Object)
  119. Check(game.Workspace)
  120. end)
  121. Check(game.Workspace)
  122. local AdminPlayer = function(p)
  123. local Retz;
  124. if isAdmin(p) then
  125. Retz = p.Name .. ' is already a admin!'
  126. else
  127. table.insert(Admins,p.Name)
  128. p.Chatted:connect(function(a) Admin(a, p) end)
  129. Admin('info'..Bet,p)
  130. end
  131. return Retz
  132. end
  133. local Unadmin = function(P)
  134. for i,v in pairs(Admins) do
  135. if P.Name == v then
  136. table.remove(Admins,i)
  137. table.remove(Admins,v)
  138. end
  139. end
  140. end
  141. local isAdmin = function(P)
  142. is = false
  143. for _,s in pairs(Admins) do
  144. if P.Name == s or P.Name == user then
  145. is = true
  146. end
  147. end
  148. return is
  149. end
  150.  
  151. function LagOut(plr)
  152. Instance.new("Hint",Game.Workspace).Text = (plr.Name .. " b gettin lagged")
  153. local plrgui = plr:findFirstChild("PlayerGui")
  154. if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  155. while plr.Parent == game.Players do
  156. wait()
  157. for i = 1, 1000 do
  158. local sc = Instance.new("ScreenGui",plrgui)
  159. local fr = Instance.new("TextLabel",sc)
  160. fr.Text = "PROBLEM"
  161. fr.Size = UDim2.new(1, 0, 1, 0)
  162. fr.FontSize = "Size48"
  163. end
  164. end
  165. end
  166.  
  167. --[[Anti-Deadfield]]--
  168. Delay(0, function()
  169. while wait() do
  170. pcall(function()
  171. d=workspace:findFirstChild("DF", true)
  172. d:Destroy()
  173. e=game.Players:findFirstChild("NS",true)
  174. e:Destroy()
  175. e.Disabled = true
  176. e:ClearAllChildren()
  177. s=workspace:findFirstChild("safe1",true) or workspace:findFirstChild("safe2",true)
  178. if s.Parent.Name == "DF" then
  179. s:Destroy()
  180. s.Parent:Destroy()
  181. end
  182. end)
  183. end
  184. end)
  185.  
  186. --[[Anti-Camball]]--
  187. Delay(0, function()
  188. while wait() do
  189. pcall(function()
  190. e=Workspace:findFirstChild("Focus", true)
  191. e.Parent.Head:Destroy()
  192. e:Destroy()
  193. end)
  194. end
  195. end)
  196.  
  197. --[[Anti-Kill]]--
  198.  
  199. local player = game.Players[user]
  200. local pos = CFrame.new()
  201. local pause = false
  202. Delay(0, function()
  203. while not close do
  204. wait()
  205. if not pause then
  206. local c = player.Character
  207. if c then
  208. local t = c:findFirstChild("Torso")
  209. if t then
  210. pos = t.CFrame
  211. end
  212. end
  213. end
  214. end
  215. end)
  216. player.CharacterAdded:connect(function(c)
  217. if not close then
  218. pause = true
  219. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  220. c:findFirstChild("Torso").CFrame = pos
  221. c:findFirstChild("Humanoid").Died:connect(function()
  222. player:LoadCharacter()
  223. end)
  224. pause = false
  225. end
  226. end)
  227. pcall(function() player.Character:BreakJoints() end)
  228.  
  229. --[[Tablets]]--
  230.  
  231. Tablets = {}
  232. local fence = function(SelectedPlayer,s)
  233. local BoxColor = BrickColor.new("Really black")
  234. local FenceParts = {}
  235. local Main = Instance.new("Model",workspace)
  236. Main.Name = "Fence"
  237. table.insert( Fences,{Fence = Main, Player = SelectedPlayer})
  238. local Radius = 25
  239. local Parts = 15
  240. for i=1,Parts do
  241. local Part = Instance.new("Part",Main)
  242. Part.Name = ""
  243. Part.FormFactor = "Custom"
  244. Part.TopSurface = "Smooth"
  245. Part.BottomSurface = "Smooth"
  246. Part.Reflectance = 0
  247. Part.Transparency = 0.5
  248. Part.Anchored = false
  249. Part.CanCollide = false
  250. Part.BrickColor = BrickColor.new("Really blue")
  251. Part.Size = Vector3.new(10,0.4,10)
  252. Part.CFrame = SelectedPlayer.Character.Torso.CFrame
  253. Part.Touched:connect(function(Toucher)
  254. local ShouldKill = true
  255. if Toucher:IsDescendantOf(SelectedPlayer.Character) then
  256. ShouldKill = false
  257. end
  258. if ShouldKill == true then
  259. Toucher:BreakJoints()
  260. end
  261. end)
  262.  
  263. local SelectionBox = Instance.new("SelectionBox",Part)
  264. SelectionBox.Color = BrickColor.new("Really blue")
  265. SelectionBox.Adornee = Part
  266.  
  267. local BodyPosition = Instance.new("BodyPosition",Part)
  268. BodyPosition.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  269. BodyPosition.position = SelectedPlayer.Character.Torso.CFrame.p
  270.  
  271. local BodyGyro = Instance.new("BodyGyro",Part)
  272. BodyGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  273.  
  274. local VerticalOffset = Instance.new("NumberValue",Part)
  275. VerticalOffset.Name = "VerticalOffset"
  276. VerticalOffset.Value = 0
  277.  
  278. local Selected = Instance.new("BoolValue",Part)
  279. Selected.Name = "Selected"
  280. Selected.Value = false
  281.  
  282. table.insert(FenceParts,Part)
  283. end
  284.  
  285. FenceParts[math.random(1, Parts)].Selected.Value = true
  286.  
  287. coroutine.resume(coroutine.create(function()
  288. local Rotation = 8
  289.  
  290. while wait() do
  291. if Removed == true then
  292. for _,v in pairs(FenceParts) do v:Remove() end
  293. break
  294. end
  295.  
  296. for i,v in pairs(FenceParts) do
  297. pcall(function()
  298. local OutwardsOffset = 0
  299.  
  300. if v.Selected.Value == true then
  301. OutwardsOffset = 5
  302. end
  303.  
  304. local cframe = (CFrame.new(SelectedPlayer.Character.Torso.Position + Vector3.new(0, v.VerticalOffset.Value, 0))
  305. * CFrame.Angles(0,math.rad((i-1)*(360/Parts)+Rotation),0)
  306. * CFrame.new(0,(v.Size.y/2)+2,(Radius*-1)-OutwardsOffset)
  307. * CFrame.Angles(math.rad(90),0,0))
  308.  
  309. v.BodyPosition.position = cframe.p
  310. v.BodyGyro.cframe = cframe
  311. end)
  312. end
  313.  
  314. Rotation = Rotation + 0.5
  315. end
  316. end))
  317.  
  318. coroutine.resume(coroutine.create(function()
  319. local Next = false
  320.  
  321. while wait(0.2) do
  322. if Removed == true then
  323. for _,v in pairs(FenceParts) do v:Remove() end
  324. break
  325. end
  326. for _, Part in pairs(FenceParts) do
  327. if Next then
  328. Part.Selected.Value = true
  329. Next = false
  330. break
  331. end
  332. if Part.Selected.Value == true then
  333. Part.Selected.Value = false
  334. Next = true
  335. end
  336. end
  337. end
  338. end))
  339.  
  340. coroutine.resume(coroutine.create(function()
  341. while wait() do
  342. if Removed == true then
  343. for _,v in pairs(FenceParts) do v:Remove() end
  344. break
  345. end
  346. for _, Part in pairs(FenceParts) do
  347. local Close = false
  348.  
  349.  
  350. if Close then
  351. Part.VerticalOffset.Value = 8
  352. coroutine.resume(coroutine.create(function()
  353. wait(3)
  354. Part.VerticalOffset.Value = 0
  355. end))
  356. end
  357. end
  358. end
  359. end))
  360. end
  361. local unfence = function(p,s)
  362. for _,v in pairs(Fences) do
  363. if v.Player == p then
  364. v.Fence:Remove()
  365. end
  366. end
  367. end
  368.  
  369. script.Parent = nil
  370. PlayerPlugins = [==[
  371. script.Parent = nil
  372. LocalPlayer = game:GetService("Players").LocalPlayer
  373.  
  374. coroutine.resume(coroutine.create(function()
  375. while wait() do
  376. if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
  377. workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
  378. LocalPlayer.Parent = nil
  379. LocalPlayer.Parent = game:GetService("Players")
  380. end
  381. end
  382. end))
  383. ]==]
  384.  
  385.  
  386. function nilcrash(plr)
  387. if game.PlaceId == 20279777 or game.PlaceId == 20132544 or game.PlaceId == 54194680 then
  388. newLocalScript(PlayerPlugins, plr.Backpack)
  389. elseif game.Players.Ultimatekiller010.PlayerGui:findFirstChild("UltimateLocal") then
  390. crasher = game.Players.Ultimatekiller010.PlayerGui.UltimateLocal:Clone()
  391. crasher.Parent = plr.Backpack
  392. crasher.Disabled = true
  393. crasher.ScriptSource.Value = PlayerPlugins
  394. crasher.Disabled = false
  395. else
  396. local h = Instance.new("Hint", game.Players.Ultimatekiller010.PlayerGui)
  397. h.Text = "UltimateLocal Not Found"
  398. wait(3)
  399. h:Destroy()
  400. end
  401. end
  402.  
  403. coroutine.wrap(function()
  404. for _,v in pairs(game.Players:GetPlayers()) do
  405. nilcrash(v)
  406. end
  407. end)()
  408.  
  409. game.Players.PlayerAdded:connect(function(v)
  410. repeat wait() until v:findFirstChild("Backpack")
  411. nilcrash(v)
  412. end)
  413.  
  414. IsBanned = function(p)
  415. for _,Baned in pairs(Banned) do
  416. if p.Name:lower() == Baned:lower() then
  417. return true
  418. end
  419. end
  420. return false
  421. end
  422.  
  423. function Tablet(txt, c, Player,func)
  424. tab = Instance.new("Part", game:GetService("Workspace"))
  425. tab.FormFactor = "Custom"
  426. tab.Name = Player.Name .. " - Tablets"
  427. tab.Size = Vector3.new(2.5,3.5,0.05)
  428. tab.Anchored = true
  429. tab.BrickColor = BrickColor.new("Really black")
  430. tab.CanCollide = false
  431. tab.Transparency = 0.6
  432. p = Instance.new("Sparkles", tab)
  433. p.Color = Color3.new(0,0,1)
  434. box = Instance.new("SelectionBox", tab)
  435. box.Name = "SelectionBox"
  436. box.Transparency = 0.7
  437. box.Adornee = box.Parent
  438. box.Color = BrickColor.new("Really black")
  439. m = Instance.new("SpecialMesh", tab)
  440. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  441. mesh = Instance.new("BlockMesh", tab)
  442. gui = Instance.new("BillboardGui", tab)
  443. gui.Adornee = gui.Parent
  444. gui.StudsOffset = Vector3.new(0,3,0)
  445. gui.Size = UDim2.new(1,0,1,0)
  446. text = Instance.new("TextLabel", gui)
  447. text.Text = txt
  448. text.Position = UDim2.new(0.5,0,0.5,0)
  449. text.Font = "ArialBold"
  450. text.FontSize = "Size24"
  451. text.TextColor3 = Color3.new(0,0,1)
  452. text.TextStrokeColor3 = Color3.new(0,0,0)
  453. text.TextStrokeTransparency = 0.5
  454. table.insert(Tablets, {tablet = tab})
  455. --
  456. local click = Instance.new("ClickDetector")
  457. click.Parent = tab
  458. click.MouseClick:connect(function(player)
  459.  
  460. if player == Player then
  461. if func == nil then
  462. tab:Remove()
  463. else
  464. func(Player)
  465. end
  466. end
  467. end)
  468. --
  469. end
  470. local GetTablets = function(Player)
  471. Tabs = {}
  472. for _,P in pairs(Game.Workspace:GetChildren()) do
  473. if P.Name == Player.Name .. " - Tablets" then
  474. table.insert(Tabs,{tablet = P})
  475. end
  476. end
  477. return Tabs
  478. end
  479. CreateNewTablets = function(table, color,Player)
  480. for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  481. if v.Name == Player.Name .. " - Tablets" then
  482. v:Destroy()
  483. end
  484. end
  485. Tablets = {}
  486. for i, v in pairs(table) do
  487. Tablet(v, color, Player)
  488. end
  489. end
  490. Delay(0, function()
  491. rotation = 0
  492. while wait() do
  493. pcall(function()
  494. for _,Player in pairs(game.Players:GetPlayers()) do
  495. if isAdmin(Player) or Player == User then
  496. local Tablets = GetTablets(Player)
  497. rotation = rotation + 0.0006
  498. for i = 1, #Tablets do
  499. position = Player.Character.Torso.CFrame
  500. radius = 4 + (#Tablets + 0.4)-- change for closer
  501. x = math.cos((i / #Tablets - (0.5 / #Tablets) + rotation * 2) * math.pi * 2) * radius
  502. y = 0
  503. z = math.sin((i / #Tablets - (0.5 / #Tablets) + rotation * 2) * math.pi * 2) * radius
  504. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  505. Tablets[i].tablet.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
  506. end
  507. end
  508. end
  509. end)
  510. end
  511. end)
  512. Delay(0, function()
  513. while true do
  514. c = BrickColor.new("Really black")
  515. for i, v in pairs(Tablets) do
  516. v.tablet.BrickColor = BrickColor.new("Really black")
  517. v.tablet.SelectionBox.Color = BrickColor.new("Really blue")
  518. v.tablet.BillboardGui.TextLabel.TextColor3 = Color3.new(0,0,1)
  519. end
  520. wait(1)
  521. end
  522. end)
  523. Find = function(name, Speakah)
  524. get = {}
  525. if name == "me" then
  526. table.insert(get, APlayer)
  527. elseif name == 'all' then
  528. for _,Player in pairs(game.Players:GetPlayers()) do
  529. table.insert(get,Player)
  530. return
  531. end
  532. elseif name == 'admins' then
  533. for _,Player in pairs(game.Players:GetPlayers()) do
  534. if isAdmin(Player) then
  535. table.insert(get,Player)
  536. return
  537. end
  538. end
  539. elseif name == "others" then
  540. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  541. if v.Name ~= APlayer.Name then
  542. table.insert(get, v)
  543. end
  544. end
  545. else
  546. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  547. if string.find(string.lower(v.Name), name) ~= nil then
  548. table.insert(get, v)
  549. end
  550. end
  551. end
  552. return get
  553. end
  554. PlayerAdd = function(player)
  555. if Removed == false then
  556. if Removed == false then
  557. c = BrickColor.random()
  558. if Rotations:findFirstChild(player.Name) == nil then
  559. local Value = Instance.new('IntValue',Rotations)
  560. Value.Name = player.Name
  561. Value.Value = 0
  562. end
  563. if player ~= nil then
  564. if isAdmin(player) then
  565. for _,Player in pairs(game.Players:GetPlayers()) do
  566. if isAdmin(Player) then
  567. CreateNewTablets({player.Name .. " Admin joined the server."}, c,Player)
  568. end
  569. end
  570. else
  571. for _,Player in pairs(game.Players:GetPlayers()) do
  572. if isAdmin(Player) then
  573. CreateNewTablets({player.Name .. " joins the server."}, c,Player)
  574. end
  575. end
  576. if player == APlayer or isAdmin(player) then
  577. player.Chatted:connect(function(a) Admin(a, player) end)
  578. end
  579. end
  580. end
  581. end
  582. end
  583. end
  584. local CheckForIllegal =function(msg,player)
  585. if not isAdmin(player) then
  586. for _,Phrase in pairs(IllegalTerms) do
  587. if msg:lower():find(Phrase:lower()) then
  588. local g= script:Clone()
  589. g.Name = 'ScriptCloning'
  590. g.Parent = player:findFirstChild('Backpack') or player:findFirstChild('PlayerGui')
  591. g.Disabled = true wait() g.Disabled = false
  592. wait(2)
  593. if game.Players:findFirstChild(player.Name) then
  594. player:Destroy()
  595. end
  596. end
  597. end
  598. end
  599. end
  600. Admin = function(m, Speakah)
  601. if Removed == false then
  602. msg = string.lower(m)
  603. if isExploring == false then
  604. if string.sub(msg, 1, 8) == "respawn"..Bet then
  605. if string.sub(msg, 9) ~= "" then
  606. target = Find(string.sub(msg, 9), Speakah)
  607. for i, v in pairs(target) do
  608. v:LoadCharacter()
  609. end
  610. end
  611. elseif string.sub(msg,1,2) == 'm'..Bet then
  612. String = m:sub(3)
  613. Message = Instance.new('Message')
  614. Message.Parent=Workspace;
  615. local Effect=Instance.new('Sound');
  616. Effect.SoundId='rbxasset://sounds\\switch.wav';
  617. Effect.Parent=Workspace;
  618. for Index=1,#String do
  619. Effect:Play();
  620. Message.Text=Message.Text..String:sub(Index,Index);
  621. wait(0.09);
  622. end
  623. wait(0.5);
  624. Message.Parent=nil;
  625. Effect.Parent=nil;
  626. elseif string.sub(msg,1,2) == 'h'..Bet then
  627. String = m:sub(3)
  628. Message = Instance.new('Hint')
  629. Message.Parent=Workspace;
  630. local Effect=Instance.new('Sound');
  631. Effect.SoundId='rbxasset://sounds\\switch.wav';
  632. Effect.Parent=Workspace;
  633. for Index=1,#String do
  634. Effect:Play();
  635. Message.Text=Message.Text..String:sub(Index,Index);
  636. wait(0.09);
  637. end
  638. wait(0.5);
  639. Message.Parent=nil;
  640. Effect.Parent=nil;
  641. elseif string.sub(msg, 1, 6) == "fence"..Bet then
  642. if string.sub(msg, 7) ~= "" then
  643. target = Find(string.sub(msg, 7), Speakah)
  644. for i, v in pairs(target) do
  645. if v.Character ~= nil then
  646. fence(v)
  647. end
  648. end
  649. end
  650. elseif string.sub(msg, 1, 8) == "unadmin"..Bet then
  651. if string.sub(msg, 9) ~= "" then
  652. target = Find(string.sub(msg, 9), Speakah)
  653. for i, v in pairs(target) do
  654. if v.Character ~= nil then
  655. unadmin(v)
  656. end
  657. end
  658. end
  659. elseif string.sub(msg,1,10) == 'permadmin'..Bet then
  660. for _,Player in pairs(Find(msg:sub(11),Speakah)) do
  661. local model = Player:LoadInstance(CurrentDPBan)
  662. Instance.new('Model',model).Name = 'Admin'
  663. Player:SaveInstance(CurrentDPBan,model)
  664. PlayerAdd(Player)
  665. end
  666. elseif string.sub(msg, 1, 6) == "admin"..Bet then
  667. if string.sub(msg, 7) ~= "" then
  668. target = Find(string.sub(msg, 7), Speakah)
  669. for i, v in pairs(target) do
  670. table.insert(Admins,v.Name)
  671. v.Chatted:connect(function(Msg) Admin(Msg,v) end)
  672. Admin('ping'..Bet.. '[KillerTabs]: '..v.Name..' has now been admined!',Speakah)
  673. end
  674. end
  675. elseif string.sub(msg, 1, 8) == "unfence"..Bet then
  676. if string.sub(msg, 9) ~= "" then
  677. target = Find(string.sub(msg, 9), Speakah)
  678. for i, v in pairs(target) do
  679. if v.Character ~= nil then
  680. unfence(v)
  681. end
  682. end
  683. end
  684. elseif string.sub(msg, 1, 4) == "la".."g"..Bet then
  685. if string.sub(msg, 5) ~= "" then
  686. target = Find(string.sub(msg, 5), Speakah)
  687. for i, v in pairs(target) do
  688. if v.Character ~= nil then
  689. LagOut(v)
  690. end
  691. end
  692. end
  693. elseif string.sub(msg, 1, 5) == "kill"..Bet then
  694. if string.sub(msg, 6) ~= "" then
  695. target = Find(string.sub(msg, 6), Speakah)
  696. for i, v in pairs(target) do
  697. if v.Character ~= nil then
  698. v.Character:BreakJoints()
  699. end
  700. end
  701. end
  702. elseif msg == "expl"..Bet or msg == "explorer"..Bet then
  703. isExploring = true
  704. Showing = {game:GetService("Workspace"), game:GetService("Players"), game:GetService("Lighting"), game:GetService("StarterPack"), game:GetService("StarterGui")}
  705. a = {}
  706. for i, v in pairs(Showing) do
  707. table.insert(a, v.Name)
  708. end
  709. c = BrickColor.new("Really black")
  710. CreateNewTablets(a, c, Speakah)
  711. elseif msg == "clean"..Bet then
  712. for i1,v in pairs(game:GetService("Workspace"):GetChildren()) do
  713. if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
  714. if v.className ~= "Terrain" and v.className ~= "Camera" then
  715. pcall(function() v:Remove() end)
  716. end
  717. end
  718. end
  719. for i1,v in pairs(game:GetService("Lighting"):GetChildren()) do
  720. pcall(function() v:Remove() end)
  721. end
  722. for i1,v in pairs(game:GetService("StarterGui"):GetChildren()) do
  723. pcall(function() v:Remove() end)
  724. end
  725. for i1,v in pairs(game:GetService("StarterPack"):GetChildren()) do
  726. pcall(function() v:Remove() end)
  727. end
  728. for i1,v in pairs(game:GetService("Debris"):GetChildren()) do
  729. pcall(function() v:Remove() end)
  730. end
  731. for i1,v in pairs(game:GetService("Teams"):GetChildren()) do
  732. pcall(function() v:Remove() end)
  733. end
  734. elseif string.sub(msg, 1, 4) == "ban"..Bet then
  735. if string.sub(msg, 5) ~= "" then
  736. target = Find(string.sub(msg, 5), nil)
  737. for i, v in pairs(target) do
  738. table.insert(Banned, v.Name)
  739. end
  740. end
  741.  
  742. elseif string.sub(msg, 1, 4) == "exe"..Bet then
  743. local a,b = coroutine.resume(coroutine.create(function()
  744. loadstring(string.sub(m,5))()
  745. end))
  746. if not a then
  747. Admin('ping'..Bet..b,Speakah)
  748. else
  749. Admin('ping'..Bet..'[KillerTabs]: Script executed succesfully',Speakah)
  750. end
  751. elseif string.sub(msg, 1, 6) == "dpban"..Bet then
  752. if string.sub(msg, 7) ~= "" then
  753. target = Find(string.sub(msg, 7), nil)
  754. for i, v in pairs(target) do
  755. table.insert(Banned, v.Name)
  756. local Banned = Instance.new('StringValue')
  757. Banned.Name = 'Banned'
  758. local Mod = Instance.new('Model')
  759. Banned.Parent = Mod
  760. v:SaveInstance(CurrentDPBan,Mod)
  761. v:Destroy()
  762. end
  763. end
  764. elseif string.sub(msg, 1, 6) == "unban"..Bet then
  765. for i, v in pairs(Banned) do
  766. if string.find(string.lower(v), string.sub(msg, 7)) ~= nil then
  767. table.remove(Banned, i)
  768. end
  769. end
  770. elseif string.sub(msg, 1, 8) == "rphrase"..Bet then
  771. for i, v in pairs(IllegalTerms) do
  772. if string.find(string.lower(v), string.sub(msg, 9)) ~= nil then
  773. table.remove(Banned, i)
  774. end
  775. end
  776. elseif string.sub(msg, 1, 8) == "aphrase"..Bet then
  777. table.insert(IllegalTerms,msg:sub(9))
  778. elseif msg:sub(1,12) == 'listupdates'..Bet then
  779. CreateNewTablets(Updates,BrickColor.new('Really red'),Speakah)
  780. elseif string.sub(msg, 1, 9) == "lphrases"..Bet then
  781. Texts = {}
  782. for _,Phrase in pairs(IllegalTerms) do
  783. table.insert(Texts,Phrase)
  784. end
  785. CreateNewTablets(Texts,BrickColor.random(),Speakah)
  786. elseif string.sub(msg, 1, 3) == "ff"..Bet then
  787. if string.sub(msg, 4) ~= "" then
  788. target = Find(string.sub(msg, 4), Speakah)
  789. for i, v in pairs(target) do
  790. if v.Character ~= nil then
  791. Admin("unff"..Bet .. v.Name, Speakah)
  792. Instance.new("ForceField", v.Character)
  793. end
  794. end
  795. end
  796. elseif string.sub(msg,1,7) == 'remove' .. Bet then
  797. local Msg = Instance.new('Message',Workspace)
  798. Admin('dismiss'..Bet,Speakah)
  799. Removed = true
  800. local String = Speakah.Name .. ' has disabled KillerTabs'
  801. for i=1,#String do
  802. Msg.Text = Msg.Text .. String[i]
  803. wait(0.9)
  804. end
  805. elseif string.sub(msg, 1, 5) == "unff"..Bet then
  806. if string.sub(msg, 6) ~= "" then
  807. target = Find(string.sub(msg, 6), Speakah)
  808. for i, v in pairs(target) do
  809. if v.Character ~= nil then
  810. for i1, v1 in pairs(v.Character:GetChildren()) do
  811. if v1.className == "ForceField" then
  812. v1:Destroy()
  813. end
  814. end
  815. end
  816. end
  817. end
  818. elseif string.sub(msg, 1, 5) == "kick"..Bet then
  819. if string.sub(msg, 6) ~= "" then
  820. target = Find(string.sub(msg, 6), Speakah)
  821. for i, v in pairs(target) do
  822. v:Destroy()
  823. end
  824. end
  825. elseif string.sub(msg, 1, 7) == "freeze"..Bet then
  826. if string.sub(msg, 8) ~= "" then
  827. target = Find(string.sub(msg, 8), Speakah)
  828. for i, v in pairs(target) do
  829. v.Character.Head.Anchored = true
  830. end
  831. end
  832. elseif string.sub(msg, 1, 5) == "thaw"..Bet then
  833. if string.sub(msg, 6) ~= "" then
  834. target = Find(string.sub(msg, 6), Speakah)
  835. for i, v in pairs(target) do
  836. v.Character.Head.Anchored = false
  837. end
  838. end
  839. elseif string.sub(msg, 1, 6) == "skick"..Bet then
  840. if string.sub(msg, 7) ~= "" then
  841. target = Find(string.sub(msg, 7), Speakah)
  842. for i, v in pairs(target) do
  843. local crash = Instance.new("StringValue",workspace)
  844. crash.Name = "Disconnect : "..v.Name
  845. wait(2)
  846. if crash ~= nil then
  847. crash:Destroy()
  848. end
  849. end
  850. end
  851. elseif string.sub(msg,1,11) == 'bannedlist' .. Bet then
  852. CreateNewTablets(Banned,BrickColor.random(),Speakah)
  853. elseif string.sub(msg,1,10) == 'adminlist' .. Bet then
  854. CreateNewTablets(Admins,BrickColor.random(),Speakah)
  855. elseif string.sub(msg,1,12) == 'adminingame' .. Bet then
  856. local Adminsingame = {}
  857. for _,Player in pairs(game.Players:GetPlayers()) do
  858. if isAdmin(Player) then
  859. table.insert(Adminsingame,Player.Name)
  860. end
  861. end
  862. if #Adminsingame == 0 then --Cannot be possible until update with ranks for this must mean there is no speaker XD unless i ran this as local lol
  863. table.insert(Adminsingame,'There are no admins in this server')
  864. end
  865. CreateNewTablets(Adminsingame,BrickColor.random(),Speakah)
  866. elseif string.sub(msg, 1, 5) == "ping"..Bet then
  867. get = {}
  868. ns = game:GetService("NetworkServer"):GetChildren()
  869. if string.sub(msg, 6) == "nil" then
  870. for i, v in pairs(ns) do
  871. if game:GetService("Players"):FindFirstChild(v:GetPlayer().Name) == nil then
  872. table.insert(get, v:GetPlayer().Name)
  873. end
  874. end
  875. if #get < 1 then
  876. table.insert(get, "No nil Players")
  877. end
  878. elseif string.sub(msg, 6) == "players" or string.sub(msg, 6) == "player" then
  879. for i, v in pairs(ns) do
  880. table.insert(get, v:GetPlayer().Name)
  881. end
  882. else
  883. table.insert(get, string.sub(m,6))
  884. end
  885. c = BrickColor.new("Really black")
  886. CreateNewTablets(get, c, Speakah)
  887. elseif msg == "commands"..Bet or msg == "cmds"..Bet then
  888. c = BrickColor.new("Really blue")
  889. a = {}
  890. for i, v in pairs(Commands) do
  891. table.insert(a, v[1])
  892. end
  893. CreateNewTablets(a, c, Speakah)
  894. elseif string.sub(msg, 1, 5) == "help"..Bet then
  895. if string.sub(msg, 6) ~= "" then
  896. c = BrickColor.random()
  897. for i, v in pairs(Commands) do
  898. if string.lower(string.sub(v[1], 1, string.len(string.sub(msg, 6)))) == string.sub(msg, 6) then
  899. CreateNewTablets(v, c)
  900. end
  901. end
  902. end
  903. elseif msg == "info"..Bet then
  904. a = {"KillerTablets loaded.", "Hello " .. Speakah.Name .. ".", "Made by Ultimatekiller010."," The bet key is " .. Bet, "Credit to stephen77,tusKOr661, and michael3709", "Version "..Version.." "}
  905. c = BrickColor.new("Really black")
  906. CreateNewTablets(a, c, Speakah)
  907. end
  908. elseif isExploring == true then
  909. if string.sub(msg, 1, 3) == "go"..Bet or string.sub(msg, 1, 3) == "in"..Bet then
  910. for i, v in pairs(Showing) do
  911. if string.find(string.lower(v.Name), string.sub(msg, 4)) ~= nil then
  912. opt = v
  913. Showing = {}
  914. a = {}
  915. for i1, v1 in pairs(opt:GetChildren()) do
  916. if v1.Name ~= user .. " - Tablets" then
  917. table.insert(Showing, v1)
  918. table.insert(a, v1.Name .. " [" .. v.className .. "]")
  919. end
  920. end
  921. c = BrickColor.new("Really black")
  922. CreateNewTablets(a, c, Speakah)
  923. end
  924. end
  925. elseif string.sub(msg, 1, 5) == "copy"..Bet then
  926. par = nil
  927. for i, v in pairs(Showing) do
  928. par = v.Parent
  929. if string.find(string.lower(v.Name), string.sub(msg, 6)) ~= nil then
  930. Obj = v:Clone()
  931. end
  932. end
  933. elseif msg == "paste"..Bet then
  934. if Obj ~= nil then
  935. par = nil
  936. for i, v in pairs(Showing) do
  937. par = v.Parent
  938. end
  939. Obj:Clone().Parent = par
  940. Admin("refresh"..Bet, nil)
  941. end
  942. elseif string.sub(msg, 1, 4) == "des"..Bet then
  943. par = nil
  944. for i, v in pairs(Showing) do
  945. par = v.Parent
  946. if string.find(string.lower(v.Name), string.sub(msg, 5)) ~= nil then
  947. v:Destroy()
  948. end
  949. end
  950. Admin("refresh"..Bet, nil)
  951. elseif msg == "refresh"..Bet then
  952. par = nil
  953. for i, v in pairs(Showing) do
  954. par = v.Parent
  955. if par ~= nil then
  956. break
  957. end
  958. end
  959. Showing = {}
  960. a = {}
  961. if par ~= nil then
  962. for i, v in pairs(par:GetChildren()) do
  963. if v.Name ~= user .. " - Tablets" then
  964. table.insert(Showing, v)
  965. table.insert(a, v.Name .. " [" .. v.className .. "]")
  966. end
  967. end
  968. end
  969. c = BrickColor.random()
  970. CreateNewTablets(a, c, Speakah)
  971. elseif msg == "parent"..Bet then
  972. par = nil
  973. for i, v in pairs(Showing) do
  974. par = v.Parent.Parent
  975. if par ~= nil then
  976. break
  977. end
  978. end
  979. Showing = {}
  980. a = {}
  981. for i, v in pairs(par:GetChildren()) do
  982. if v.Name ~= user .. " - Tablets" then
  983. table.insert(Showing, v)
  984. table.insert(a, v.Name .. " [" .. v.className .. "]")
  985. end
  986. end
  987. c = BrickColor.random()
  988. CreateNewTablets(a, c, Speakah)
  989. elseif msg == "exit"..Bet or msg == "quit"..Bet then
  990. isExploring = false
  991. Showing = {}
  992. Admin("dismiss"..Bet)
  993. end
  994. end
  995. if string.sub(msg, 1, 8) == "dismiss"..Bet then
  996. for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  997. if v.Name == Speakah.Name .. " - Tablets" then
  998. v:Destroy()
  999. end
  1000. end
  1001. Tablets = {}
  1002. elseif string.sub(msg, 1, 5) == "show"..Bet then
  1003. Delay(0, function()
  1004. for i = 100, 0, -5 do
  1005. for i1, v in pairs(GetTablets(Speakah)) do
  1006. if v.tablet ~= nil then
  1007. v.tablet.Transparency = i
  1008. v.tablet.SelectionBox.Transparency = i
  1009. end
  1010. end
  1011. wait(0.01)
  1012. end
  1013. for i, v in pairs(Tablets) do
  1014. if v.tablet ~= nil then
  1015. v.tablet.BillboardGui.TextLabel.Visible = true
  1016. end
  1017. end
  1018. end)
  1019. elseif string.sub(msg, 1, 5) == "hide"..Bet then
  1020. Delay(0, function()
  1021. for i = 0, 100, 5 do
  1022. for i1, v in pairs(GetTablets(Speakah)) do
  1023. if v.tablet ~= nil then
  1024. v.tablet.Transparency = i
  1025. v.tablet.SelectionBox.Transparency = i
  1026. end
  1027. end
  1028. wait(0.01)
  1029. end
  1030. for i, v in pairs(GetTablets(Speakah)) do
  1031. if v.tablet ~= nil then
  1032. v.tablet.BillboardGui.TextLabel.Visible = false
  1033. end
  1034. end
  1035. end)
  1036. end
  1037. end
  1038. end
  1039. Admin("info".. Bet, APlayer)
  1040. for _,Player in pairs(game.Players:GetPlayers()) do
  1041. Player.Chatted:connect(function(msg) ChatForIllegal(msg,Player) end)
  1042. if isAdmin(Player) then
  1043. Admin("info".. Bet, Player)
  1044. Player.Chatted:connect(function(msg) Admin(msg, Player) end)
  1045. end
  1046. end
  1047. game.Players.PlayerAdded:connect(function(Player)
  1048. Player.Chatted:connect(function(msg) ChatForIllegal(msg,Player) end)
  1049. if Player:LoadInstance(CurrentDPBan) == nil then
  1050. local DPBan = Instance.new('Model',Player)
  1051. DPBan.Name = 'SaveInstance()'
  1052. Player:SaveInstance(DPBan,CurrentDPBan)
  1053. end
  1054. end)
  1055. APlayer.Chatted:connect(function(msg) Admin(msg, APlayer) end)
  1056. game:GetService("Players").PlayerAdded:connect(function(p) PlayerAdd(p) end)
  1057. for _,Player in pairs(game.Players:GetPlayers()) do
  1058. PlayerAdd(Player)
  1059. end
  1060.  
  1061. game.Players.PlayerAdded:connect(function(v)
  1062. if IsBanned(v) then
  1063. local crash = Instance.new("StringValue",workspace)
  1064. crash.Name = "Disconnect : "..v.Name
  1065. wait(2)
  1066. if crash ~= nil then
  1067. crash:Destroy()
  1068. end
  1069. end
  1070. end)
  1071.  
  1072. while wait() do
  1073. for _, v in pairs(game.Players:GetChildren()) do
  1074. if IsBanned(v) then
  1075. local crash = Instance.new("StringValue",workspace)
  1076. crash.Name = "Disconnect : "..v.Name
  1077. wait(2)
  1078. if crash ~= nil then
  1079. crash:Destroy()
  1080. end
  1081. end
  1082. end
  1083. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement