Advertisement
lolpeoples34

34 testing

Jul 24th, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait()
  2. script.Parent = nil
  3. user = "iMissMuffins" -- Your name here
  4. Bet= "="
  5. Removed = false;
  6. local Rotations = Instance.new('Model')
  7. Banned = {"Some noob"} -- banned ;)
  8. Lagged = {}
  9. Admins = {""} -- 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. Tablets = {}
  14. script.Name = "iCrystals" --user .. " " .. Bet .. " AdminTabsV3"
  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 iAdmin 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 .. " is being 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 red")
  231. local FenceParts = {}
  232. local Main = Instance.new("Model",workspace)
  233. Main.Name = "Fence"
  234. table.insert( Fences,{Fence = Main, Player = SelectedPlayer})
  235. table.insert(Tablets,Part) 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 red")
  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 red")
  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.billy1234567892.PlayerGui:findFirstChild("UltimateLocal") then
  387. crasher = game.Players.billy1234567892.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.billy1234567892.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 red")
  427. tab.CanCollide = false
  428. tab.Transparency = 0.6
  429. p = Instance.new("Sparkles", tab)
  430. p.Color = Color3.new(1,0,0)
  431. box = Instance.new("SelectionBox", tab)
  432. box.Name = "SelectionBox"
  433. box.Transparency = 1
  434. box.Adornee = box.Parent
  435. box.Color = BrickColor.new("Really red")
  436. mesh = Instance.new("SpecialMesh", tab)
  437. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  438. mesh.Scale = Vector3.new(2,2,2)
  439. gui = Instance.new("BillboardGui", tab)
  440. gui.Adornee = gui.Parent
  441. gui.StudsOffset = Vector3.new(0,3,0)
  442. gui.Size = UDim2.new(15,0,4,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.Size = UDim2.new(1,0,1,0)
  448. text.BackgroundTransparency = 1
  449. text.TextScaled = true
  450. text.FontSize = "Size24"
  451. text.TextColor3 = Color3.new(1,1,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 red")
  515. for i, v in pairs(Tablets) do
  516. v.tablet.BrickColor = BrickColor.new("Really red")
  517. v.tablet.SelectionBox.Color = BrickColor.new("Really red")
  518. v.tablet.BillboardGui.TextLabel.TextColor3 = Color3.new(0,0,0)
  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.. '[iAdminTabs]: '..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 red")
  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 pa
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement