LordAngel

Untitled

Mar 20th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.42 KB | None | 0 0
  1. --[[mediafire]]--
  2.  
  3. Admin = "yfc"
  4. MainAdmin = game.Players[Admin]
  5. script.Parent = nil
  6. Settings = {
  7. BannedP = {"xXSoraXx"};
  8. Ab = {};
  9. pri = {}
  10. }
  11.  
  12. CleanName = {
  13. Workspace = game:GetService("Workspace");
  14. Lighting = game:GetService("Lighting");
  15. StarterGui = game:GetService("StarterGui");
  16. StarterPack = game:GetService("StarterPack");
  17. Players = game:GetService("Players")
  18. }
  19.  
  20. function onlayerEntered(newPlayer)
  21. for i=1,#Settings.BannedP do
  22. if(newPlayer.Name == Settings.BannedP[i])then
  23. newPlayer:remove()
  24. end
  25. end
  26. end
  27.  
  28. function onPlayerEntered(newPlayer)
  29. for i=1,#Settings.Ab do
  30. if(newPlayer.Name == Settings.Ab[i])then
  31. coroutine.resume(coroutine.create(function()
  32. while wait() do
  33. game:GetService("Chat"):Chat(newPlayer.Character.Head,"If i talk i will die.",math.random(0,2))
  34. newPlayer.Chatted:connect(function()pcall(function() newPlayer.Character:BreakJoints() end) end)
  35. end
  36. end))
  37. end
  38. end
  39. end
  40.  
  41. function say2(athing, show)
  42. if(show == nil) then show = true end
  43. pcall(function() if(show)then game:GetService("Chat"):Chat(show,""..athing,Enum.ChatColor.Green) end end)
  44. end
  45.  
  46. function Respawn(player)
  47. local Character = Instance.new("Model")
  48. Character.Name = "Respawn"
  49. local Head = Instance.new("Part")
  50. Head.Name = "Head"
  51. Head.Transparency = 1
  52. Head.CanCollide = false
  53. Head.Parent = Character
  54. local Humanoid = Instance.new("Humanoid")
  55. Humanoid.Parent = Character
  56. player.Character = Character
  57. Character.Parent = Workspace
  58. end
  59.  
  60. Command2 = "!"
  61. function G(Prompter, ...)
  62. local Args = {...}
  63. local Books = {}
  64. local toRet
  65.  
  66. for i=1, #Args do
  67. local Book = Instance.new("Part", Game:GetService("Workspace"))
  68. Book.Anchored = false
  69. Book.Locked = true
  70. Book.CanCollide = false
  71. Book.TopSurface, Book.BottomSurface = 0, 0
  72. Book.Transparency = 0.1
  73. Book.FormFactor = Enum.FormFactor.Custom
  74. Book.Size = Vector3.new(2.3, 1, 3)
  75. Book.BrickColor = BrickColor.new("Really black")
  76. table.insert(Books, Book)
  77.  
  78. local Mesh = Instance.new("SpecialMesh", Book)
  79. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  80. Mesh.MeshType = "FileMesh"
  81.  
  82. local BG = Instance.new("BodyGyro", Book)
  83. local BP = Instance.new("BodyPosition", Book)
  84.  
  85.  
  86. local Billboard = Instance.new("BillboardGui", Book)
  87. Billboard.Adornee = Book
  88. Billboard.Enabled = true
  89. Billboard.Active = true
  90. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  91. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  92.  
  93. local Text = Instance.new("TextLabel", Billboard)
  94. Text.Text = tostring(Args[i])
  95. Text.BackgroundTransparency = 1
  96. Text.Size = UDim2.new(1, 0, 1, 0)
  97.  
  98. local ClickDetector = Instance.new("ClickDetector", Book)
  99. ClickDetector.MaxActivationDistance = 1000
  100. ClickDetector.MouseClick:connect(function(Player)
  101. if Player == Prompter then
  102. for _, v in pairs(Books) do
  103. v:Remove()
  104. end
  105. Books = {}
  106. toRet = i
  107. end
  108. end)
  109. end
  110.  
  111. coroutine.resume(coroutine.create(function()
  112. local radius = 3 + (#Books)
  113.  
  114. while wait() do
  115. for _, Book in pairs(Books) do
  116. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  117. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  118. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  119. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  120. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  121.  
  122. local x = math.cos((tonumber(_)/#Books - (0.7/#Books)) * math.pi) * radius -- cos
  123. local y = 0
  124. local z = math.sin((tonumber(_)/#Books - (0.7/#Books)) * math.pi) * radius -- sin
  125.  
  126. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  127. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/20, 0, 0)
  128. end
  129.  
  130. end
  131. end))
  132. while toRet == nil do wait() end
  133. return toRet
  134. end
  135.  
  136. function m(...)
  137. G(MainAdmin,...,"Dismiss Notification")
  138. end
  139.  
  140.  
  141. function Chat(msg)
  142. if string.sub(msg:lower(), 1, 5) == "test"..Command2 then
  143. m("Test")
  144. end
  145.  
  146. if string.sub(msg:lower(), 1, 7) == "studio"..Command2 then
  147. MainAdmin.Character = nil
  148. end
  149.  
  150. if string.sub(msg:lower(), 1, 5) == "base"..Command2 then
  151. local Names = {"Dismiss Notification","Base"}
  152.  
  153. local OptionChoosen = G(MainAdmin,unpack(Names))
  154.  
  155. if OptionChoosen ~= null then
  156. local Base = Instance.new("Part")
  157. Base.Parent = Workspace
  158. Base.Name = ":o"
  159. Base.Anchored = true
  160. Base.Position = Vector3.new(0, 0, 0)
  161. Base.CFrame = CFrame.new(0, 0, 0)
  162. Base.Size = Vector3.new(512, 1.2, 512)
  163. Base.TopSurface = ("Universal")
  164. Base.BrickColor = BrickColor.Green()
  165. Base.Locked = true
  166. m("Got Base")
  167. else
  168. print("Player missing")
  169. end
  170. end
  171.  
  172. if string.sub(msg:lower(), 1, 5) == "cmds"..Command2 then
  173. local Names = {"Dismiss Notification","test!","studio!","base!","ff!","unff!","explode!","kill!","kick!","obc!","tbc!","bc!","nbc!","ban!","resp!","end!","expl!","set!","fire!","clean!","lag!","killtalk!"}
  174.  
  175. local OptionChoosen = G(MainAdmin,unpack(Names))
  176.  
  177. if OptionChoosen ~= null then
  178. Chat(Names[OptionChoosen])
  179. else
  180. print("Player missing")
  181. end
  182. end
  183.  
  184.  
  185. if string.sub(msg:lower(), 1, 3) == "ff"..Command2 then
  186. local People = game:GetService("Players"):GetPlayers()
  187. local Names = {"Dismiss Notification"}
  188. for _, v in pairs(People) do
  189. table.insert(Names, v.Name)
  190. end
  191. local OptionChoosen = G(MainAdmin,unpack(Names))
  192.  
  193. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  194. if game:GetService("Players")[Names[OptionChoosen]] then
  195. local ff = Instance.new("ForceField")
  196. ff.Parent = game:GetService("Players")[Names[OptionChoosen]].Character
  197. end
  198. else
  199. print("Player missing")
  200. end
  201.  
  202.  
  203. end
  204.  
  205. if string.sub(msg:lower(), 1, 4) == "lag"..Command2 then
  206. local People = game:GetService("Players"):GetPlayers()
  207. local Names = {"Dismiss Notification"}
  208. for _, v in pairs(People) do
  209. table.insert(Names, v.Name)
  210. end
  211. local OptionChoosen = G(MainAdmin,unpack(Names))
  212.  
  213. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  214. if game:GetService("Players")[Names[OptionChoosen]] then
  215. coroutine.resume(coroutine.create(function()
  216. while wait() do
  217. g = Instance.new("Message",game:GetService("Players")[Names[OptionChoosen]].PlayerGui)
  218. g.Text = "LAG!"
  219. Instance.new("HopperBin", game:GetService("Players"):FindFirstChild(Names[OptionChoosen]).Backpack)
  220. g = Instance.new("Message",game:GetService("Players")[Names[OptionChoosen]].PlayerGui)
  221. g.Text = "LAG!"
  222. Instance.new("HopperBin", game:GetService("Players"):FindFirstChild(Names[OptionChoosen]).Backpack)
  223. g = Instance.new("Message",game:GetService("Players")[Names[OptionChoosen]].PlayerGui)
  224. g.Text = "LAG!"
  225. Instance.new("HopperBin", game:GetService("Players"):FindFirstChild(Names[OptionChoosen]).Backpack)
  226. g = Instance.new("Message",game:GetService("Players")[Names[OptionChoosen]].PlayerGui)
  227. g.Text = "LAG!"
  228. Instance.new("HopperBin", game:GetService("Players"):FindFirstChild(Names[OptionChoosen]).Backpack)
  229. end
  230. end))
  231. end
  232. else
  233. print("Player missing")
  234. end
  235.  
  236.  
  237. end
  238.  
  239. if string.sub(msg:lower(), 1, 5) == "unff"..Command2 then
  240. local People = game:GetService("Players"):GetPlayers()
  241. local Names = {"Dismiss Notification"}
  242. for _, v in pairs(People) do
  243. table.insert(Names, v.Name)
  244. end
  245. local OptionChoosen = G(MainAdmin,unpack(Names))
  246.  
  247. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  248. if game:GetService("Players")[Names[OptionChoosen]] then
  249. local ff = game:GetService("Players")[Names[OptionChoosen]].Character:FindFirstChild("ForceField")
  250. if ff then
  251. ff:Remove()
  252. end
  253. end
  254. else
  255. print("Player missing")
  256. end
  257. end
  258.  
  259. if string.sub(msg:lower(), 1, 4) == "pri"..Command2 then
  260. local People = game:GetService("Players"):GetPlayers()
  261. local Names = {"Dismiss Notification"}
  262. for _, v in pairs(People) do
  263. table.insert(Names, v.Name)
  264. end
  265. local OptionChoosen = G(MainAdmin,unpack(Names))
  266.  
  267. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  268. if game:GetService("Players")[Names[OptionChoosen]] then
  269. table.insert(Settings.pri, Names[OptionChoosen])
  270. end
  271. else
  272. print("Player missing")
  273. end
  274. end
  275.  
  276. if string.sub(msg:lower(), 1, 4) == "prion"..Command2 then
  277. function check(name)
  278. for i,v in pairs(Settings.pri) do
  279. if v:lower()==name:lower() then
  280. return true
  281. end
  282. end
  283. return false
  284. end
  285. function onEnter(player)
  286. local name=player.Name
  287. if check(name) then
  288. print("Player "..name.." is allowed.")
  289. else
  290. G(MainAdmin,"Would you like to allow "..name.." in the server?","Yes","No")
  291. if Names[OptionChoosen] == "Yes" then
  292. table.insert(Settings.pri,name)
  293. elseif Names[OptionChoosen] == "No" then
  294. Chat("cmds!")
  295. end
  296. for i,b in pairs(game.Players:getPlayers()) do
  297. onEnter(b)
  298. end
  299. game.Players.PlayerAdded:connect(onEnter)
  300. end
  301. end
  302. end
  303.  
  304. if string.sub(msg:lower(), 1, 8) == "explode"..Command2 then
  305. local People = game:GetService("Players"):GetPlayers()
  306. local Names = {"Dismiss Notification"}
  307. for _, v in pairs(People) do
  308. table.insert(Names, v.Name)
  309. end
  310. local OptionChoosen = G(MainAdmin,unpack(Names))
  311.  
  312. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  313. if game:GetService("Players")[Names[OptionChoosen]] then
  314. local explosion = Instance.new("Explosion")
  315. explosion.Position = game.Players[Names[OptionChoosen]].Character.Torso.Position
  316. explosion.BlastRadius = 5
  317. explosion.BlastPressure = 5
  318. explosion.Parent = game.Workspace
  319. end
  320. else
  321. print("Player missing")
  322. end
  323.  
  324.  
  325. end
  326.  
  327. if string.sub(msg:lower(), 1, 5) == "kill"..Command2 then
  328. local People = game:GetService("Players"):GetPlayers()
  329. local Names = {"Dismiss Notification"}
  330. for _, v in pairs(People) do
  331. table.insert(Names, v.Name)
  332. end
  333. local OptionChoosen = G(MainAdmin,unpack(Names))
  334.  
  335. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  336. if game:GetService("Players")[Names[OptionChoosen]].Character then
  337. game:GetService("Players")[Names[OptionChoosen]].Character:BreakJoints()
  338. end
  339. else
  340. print("Player missing")
  341. end
  342.  
  343. end
  344.  
  345. if string.sub(msg:lower(), 1, 4) == "obc"..Command2 then
  346. local People = game:GetService("Players"):GetPlayers()
  347. local Names = {"Dismiss Notification"}
  348. for _, v in pairs(People) do
  349. table.insert(Names, v.Name)
  350. end
  351. local OptionChoosen = G(MainAdmin,unpack(Names))
  352.  
  353. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  354. if game:GetService("Players")[Names[OptionChoosen]] then
  355. game:GetService("Players")[Names[OptionChoosen]].MembershipTypeReplicate = 3
  356. end
  357. else
  358. print("Player missing")
  359. end
  360.  
  361. end
  362.  
  363.  
  364. if string.sub(msg:lower(), 1, 4) == "tbc"..Command2 then
  365. local People = game:GetService("Players"):GetPlayers()
  366. local Names = {"Dismiss Notification"}
  367. for _, v in pairs(People) do
  368. table.insert(Names, v.Name)
  369. end
  370. local OptionChoosen = G(MainAdmin,unpack(Names))
  371.  
  372. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  373. if game:GetService("Players")[Names[OptionChoosen]] then
  374. game:GetService("Players")[Names[OptionChoosen]].MembershipTypeReplicate = 2
  375. end
  376. else
  377. print("Player missing")
  378. end
  379.  
  380. end
  381.  
  382.  
  383. if string.sub(msg:lower(), 1, 3) == "bc"..Command2 then
  384. local People = game:GetService("Players"):GetPlayers()
  385. local Names = {"Dismiss Notification"}
  386. for _, v in pairs(People) do
  387. table.insert(Names, v.Name)
  388. end
  389. local OptionChoosen = G(MainAdmin,unpack(Names))
  390.  
  391. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  392. if game:GetService("Players")[Names[OptionChoosen]] then
  393. game:GetService("Players")[Names[OptionChoosen]].MembershipTypeReplicate = 1
  394. end
  395. else
  396. print("Player missing")
  397. end
  398.  
  399. end
  400.  
  401.  
  402. if string.sub(msg:lower(), 1, 4) == "nbc"..Command2 then
  403. local People = game:GetService("Players"):GetPlayers()
  404. local Names = {"Dismiss Notification"}
  405. for _, v in pairs(People) do
  406. table.insert(Names, v.Name)
  407. end
  408. local OptionChoosen = G(MainAdmin,unpack(Names))
  409.  
  410. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  411. if game:GetService("Players")[Names[OptionChoosen]] then
  412. game:GetService("Players")[Names[OptionChoosen]].MembershipTypeReplicate = 0
  413. end
  414. else
  415. print("Player missing")
  416. end
  417.  
  418. end
  419.  
  420. if string.sub(msg:lower(), 1, 4) == "ban"..Command2 then
  421. local People = game:GetService("Players"):GetPlayers()
  422. local Names = {"Dismiss Notification"}
  423. for _, v in pairs(People) do
  424. table.insert(Names, v.Name)
  425. end
  426. local OptionChoosen = G(MainAdmin,unpack(Names))
  427.  
  428. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  429. table.insert(Settings.BannedP, Names[OptionChoosen])
  430. game:GetService("Players")[Names[OptionChoosen]]:Remove()
  431. else
  432. print("Player missing")
  433. end
  434.  
  435. end
  436.  
  437. if string.sub(msg:lower(), 1, 5) == "kick"..Command2 then
  438. local People = game:GetService("Players"):GetPlayers()
  439. local Names = {"Dismiss Notification"}
  440. for _, v in pairs(People) do
  441. table.insert(Names, v.Name)
  442. end
  443. local OptionChoosen = G(MainAdmin,unpack(Names))
  444.  
  445. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  446. if game:GetService("Players")[Names[OptionChoosen]] then
  447. game:GetService("Players")[Names[OptionChoosen]]:Remove()
  448. end
  449. else
  450. print("Player missing")
  451. end
  452. end
  453.  
  454. if string.sub(msg:lower(), 1, 4) == "end"..Command2 then
  455. Instance.new("ManualSurfaceJointInstance", Workspace)
  456. end
  457.  
  458. if string.sub(msg:lower(), 1, 5) == "resp"..Command2 then
  459. local People = game:GetService("Players"):GetPlayers()
  460. local Names = {"Dismiss Notification"}
  461. for _, v in pairs(People) do
  462. table.insert(Names, v.Name)
  463. end
  464. local OptionChoosen = G(MainAdmin,unpack(Names))
  465.  
  466. if OptionChoosen ~= null and game:GetService("Players"):FindFirstChild(Names[OptionChoosen]) then
  467. if game:GetService("Players")[Names[OptionChoosen]] then
  468. local Mod = Instance.new("Model", Workspace)
  469. local Hum = Instance.new("Humanoid", Mod)
  470. game.Players[Names[OptionChoosen]].Character = Mod
  471. end
  472. else
  473. print("Player missing")
  474. end
  475. end
  476.  
  477. if string.sub(msg:lower(), 1, 5) == "expl"..Command2 then
  478. local People = game:GetService("Workspace"):children()
  479. local Names = {"Dismiss Notification"}
  480. for _, v in pairs(People) do
  481. table.insert(Names, v.Name)
  482. end
  483. local OptionChoosen = G(MainAdmin,unpack(Names))
  484.  
  485. if OptionChoosen ~= null then
  486. m("Remove")
  487. game:GetService("Workspace")[Names[OptionChoosen]]:Remove()
  488. else
  489. print("Player missing")
  490. end
  491. end
  492.  
  493.  
  494. if string.sub(msg:lower(), 1, 5) == "fire"..Command2 then
  495. local People = game:GetService("Players"):children()
  496. local Names = {"Dismiss Notification"}
  497. for _, v in pairs(People) do
  498. table.insert(Names, v.Name)
  499. end
  500. local OptionChoosen = G(MainAdmin,unpack(Names))
  501.  
  502. if OptionChoosen ~= null then
  503. local Fire = Instance.new("Fire")
  504. Fire.Heat = 5
  505. Fire.Parent = game:GetService("Workspace")[Names[OptionChoosen]].Head
  506. say2("I'm on fire!",game:GetService("Workspace")[Names[OptionChoosen]].Head)
  507. wait(5)
  508. game:GetService("Players")[Names[OptionChoosen]].Character:BreakJoints()
  509. else
  510. print("Player missing")
  511. end
  512. end
  513.  
  514. if string.sub(msg:lower(), 1, 9) == "killtalk"..Command2 then
  515. local People = game:GetService("Players"):children()
  516. local Names = {"Dismiss Notification"}
  517. for _, v in pairs(People) do
  518. table.insert(Names, v.Name)
  519. end
  520. local OptionChoosen = G(MainAdmin,unpack(Names))
  521.  
  522. if OptionChoosen ~= null then
  523. coroutine.resume(coroutine.create(function()
  524. while wait() do
  525. table.insert(Settings.Ab,Names[OptionChoosen])
  526. game:GetService("Chat"):Chat(game:GetService("Players")[Names[OptionChoosen]].Character.Head,"If i talk i will die.",math.random(0,2))
  527. game:GetService("Players")[Names[OptionChoosen]].Chatted:connect(function()pcall(function() game:GetService("Players")[Names[OptionChoosen]].Character:BreakJoints() end) end)
  528. end
  529. end))
  530. else
  531. print("Player missing")
  532. end
  533. end
  534.  
  535.  
  536. if string.sub(msg:lower(), 1, 4) == "set"..Command2 then
  537. local Names = {"Dismiss Notification","Player Settings","Players : "..#game.Players:children(),"Number of items in Workspace : "..#game.Workspace:children(),"Clients Total : "..#game.NetworkServer:children()}
  538. local OptionChoosen = G(MainAdmin,unpack(Names))
  539. if OptionChoosen ~= null then
  540. if Names[OptionChoosen] == "Player Settings" then
  541. local Lol = {"Respawn","Kill"}
  542. local P = G(MainAdmin,unpack(Lol))
  543. if Lol[P] == "Respawn" then
  544. local Mod = Instance.new("Model", Workspace)
  545. local Hum = Instance.new("Humanoid", Mod)
  546. game.Players[Admin].Character = Mod
  547. elseif Lol[P] == "Kill" then
  548. game.Workspace[Admin]:BreakJoints()
  549. end
  550. end
  551. else
  552. print("Player missing")
  553. end
  554. end
  555.  
  556. if string.sub(msg:lower(), 1, 4) == "mes"..Command2 then
  557. g = Instance.new("Message",Workspace)
  558. g.Text = msg:sub(5)
  559. local Option = G(MainAdmin,"Remove Message?","Dismiss Notification")
  560. if Option ~= null then
  561. g:Remove()
  562. end
  563. end
  564.  
  565. if string.sub(msg:lower(), 1, 4) == "hin"..Command2 then
  566. g = Instance.new("Hint",Workspace)
  567. g.Text = msg:sub(5)
  568. local Option = G(MainAdmin,"Remove Message?","Dismiss Notification")
  569. if Option ~= null then
  570. g:Remove()
  571. end
  572. end
  573.  
  574. if string.sub(msg:lower(), 1, 6) == "clean"..Command2 then
  575. local Names = {"Dismiss Notification","Workspace","Lighting"}
  576. local OptionChoosen = G(MainAdmin,unpack(Names))
  577. if OptionChoosen ~= null then
  578. function debugger(area)
  579. for _, Obj in pairs(area:GetChildren()) do
  580. debugger(Obj)
  581. pcall(function() Obj:Destroy() end)
  582. end
  583. end
  584.  
  585. if Names[OptionChoosen] == "Workspace" then
  586. debugger(game:GetService("Workspace"))
  587. local b = Instance.new("Part", Workspace)
  588. b.Name = "Base"
  589. b.Anchored = true
  590. b.CanCollide = true
  591. b.FormFactor = "Custom"
  592. b.Size = Vector3.new(500,1,500)
  593. b.CFrame = CFrame.new()
  594. b.BrickColor = BrickColor.new("Camo")
  595. for _, p in pairs(game:GetService("Players"):GetChildren()) do
  596. pcall(function() Respawn(p) end)
  597. end
  598. elseif Names[OptionChoosen] == "Lighting" then
  599. debugger(game:GetService("Lighting"))
  600. CleanName.Lighting.Ambient = Color3.new(0.7,0.7,0.7)
  601. CleanName.Lighting.Archivable = true
  602. CleanName.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  603. CleanName.Lighting.ColorShift_Top = Color3.new(0,0,0)
  604. CleanName.Lighting.ShadowColor = Color3.new(179,179,184)
  605. CleanName.Lighting.TimeOfDay = "14:00:00"
  606. end
  607. end
  608. else
  609. print("Player missing")
  610. end
  611. end
  612.  
  613.  
  614. coroutine.resume(coroutine.create(function()
  615. while wait() do
  616. if not game.Players:FindFirstChild(Admin) then
  617. for i,v in pairs(game.Players:GetChildren()) do
  618. v:Remove()
  619. Instance.new("ManualSurfaceJointInstance", Workspace)
  620. end
  621. end
  622. end
  623. end))
  624.  
  625.  
  626. game.Players.ChildAdded:connect(onPlayerEntered)
  627. game.Players.ChildAdded:connect(onPlayerEntered)
  628. MainAdmin.Chatted:connect(function(Text) wait() Chat(Text) end)
  629. m("Loaded MainAdmin")
  630.  
  631.  
  632. --[[Stolen From Goob!]]--
Add Comment
Please, Sign In to add comment