Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.26 KB | None | 0 0
  1. ---- nmk5598's Admin Commands has just been loaded ---- Currenly with 8 more Advanced functions than Person299's
  2. --Version 2
  3. ownerlist = {"Clockerolimar"}
  4. adminlist = {"Clockerolimar"}--Add in the names of the people you want to be able to use the command script here.
  5. --Please keep my name in there. ;)
  6. bannedlist = {}--If you want someone not to be able to enter your place, put thier name in here.
  7. texture = ""--If you want someone wearing a certain t-shirt to be an admin, put the t-shirt's texture in here.
  8.  
  9. --[[
  10. I update this command script alot.
  11.  
  12. If theres anything you think this command script needs, just message me (2ndRound) and i might put it in. :)
  13. And also, if you find any bugs, report them to me.
  14.  
  15. The commands are,
  16.  
  17. commands
  18. Shows a list of all the commands
  19.  
  20. fix
  21. If the command script breaks for you, say this to fix it
  22.  
  23. kill/2ndRound
  24. kills 2ndRound
  25.  
  26. loopkill/Clockerolimar
  27. Repeatedly kills Clockerolimar when he respawns
  28.  
  29. unloopkill/Clockerolimar
  30. Undos loopkill/
  31.  
  32. heal/Clockerolimar
  33. Returns Clockerolimar to full health
  34.  
  35. damage/anyname/50
  36. Makes anyname's character take 50 damage
  37.  
  38. health/Clockerolimar/999999
  39. Makes Clockerolimar's MaxHealth and Health 999999
  40.  
  41. kick/2ndRound
  42. Removes 2ndRound from the game, cannot be used by admin/ed people
  43.  
  44. ban/2ndRound
  45. Removes 2ndRound from the game and keeps him from reenterring, cannot be used by admin/ed people
  46.  
  47. bannedlist
  48. Shows a list of everyone banned
  49.  
  50. unban/2ndRound
  51. Unbans 2ndRound
  52.  
  53. explode/2ndRound
  54. Explodes 2ndRound's character
  55.  
  56. rocket/2ndRound
  57. Straps a rocket onto 2ndRound's back
  58.  
  59. removetools/2ndRound
  60. Removes all of 2ndRound's tools.
  61.  
  62. givetools/anyname
  63. Gives anyname all the tools in StarterPack
  64.  
  65. givebtools/2ndRound
  66. Gives 2ndRound the building tools
  67.  
  68. giveitool/2ndRound
  69. Gives 2ndRound the insert tool
  70.  
  71. recolor/2ndRound/100/200/300
  72. Recolors 2ndRound's character
  73.  
  74. sit/2ndRound
  75. Makes 2ndRound sit
  76.  
  77. part/4/1/2
  78. Makes a part with the given dimensions appear over your character
  79.  
  80. respawn/2ndRound
  81. Makes 2ndRound's character respawn
  82.  
  83. jail/2ndRound
  84. Makes a lil jail cell around 2ndRound's character
  85.  
  86. unjail/2ndRound
  87. Undos jail/
  88.  
  89. punish/2ndRound
  90. Puts 2ndRound's character in game.Lighting
  91.  
  92. unpunish/2ndRound
  93. Undos punish/
  94.  
  95. merge/2ndRound/Farvei
  96. Makes 2ndRound control Farvei's character
  97.  
  98. teleport/2ndRound/nccvoyager
  99. Teleports 2ndRound's character to nccvoyager's character
  100.  
  101. control/2ndRound
  102. Makes you control 2ndRound's character
  103.  
  104. change/2ndRound/Money/999999
  105. Makes the Money value in 2ndRound's leaderstats 999999
  106.  
  107. tools
  108. Gives you a list of all the tools available to be give/en, the tool must be in game.Lighting
  109.  
  110. give/2ndRound/Tool
  111. Give's 2ndRound a tool, the toolname can be abbreviated
  112.  
  113. time/15.30
  114. Makes game.Lighting.TimeOfDay 15:30
  115.  
  116. ambient/255/0/0
  117. Makes game.Lighting.Ambient 255,0,0
  118.  
  119. maxplayers/20
  120. Makes game.Players.MaxPlayers 20
  121.  
  122. nograv/2ndRound
  123. Makes 2ndRound almost weightless
  124.  
  125. antigrav/2ndRound
  126. Gives 2ndRound antigravity properties
  127.  
  128. grav/2ndRound
  129. Returns 2ndRound's gravity to normal
  130.  
  131. highgrav/2ndRound
  132. Makes 2ndRound heavier
  133.  
  134. setgrav/2ndRound/-196
  135. Sets 2ndRound's gravity
  136.  
  137. trip/2ndRound
  138. Makes 2ndRound's character trip
  139.  
  140. walkspeed/2ndRound/99
  141. Makes 2ndRound's character's humanoid's WalkSpeed 99, 16 is average
  142.  
  143. invisible/2ndRound
  144. Makes 2ndRound's character invisible
  145.  
  146. visible/2ndRound
  147. Undos invisible/
  148.  
  149. freeze/2ndRound
  150. Makes 2ndRound's character unable to move
  151.  
  152. thaw/2ndRound
  153. Undos freeze/
  154.  
  155. unlock/2ndRound
  156. Makes 2ndRound's character unlocked
  157.  
  158. lock/2ndRound
  159. Makes 2ndRound's character locked
  160.  
  161. ff/2ndRound
  162. Gives 2ndRound's character a ForceField
  163.  
  164. unff/2ndRound
  165. Undos ff/
  166.  
  167. sparkles/2ndRound
  168. Makes 2ndRound's character sparkly
  169.  
  170. unsparkles/2ndRound
  171. Undos sparkles/
  172.  
  173. shield/2ndRound
  174. Makes a destructive shield thingy appear around 2ndRound
  175.  
  176. unshield/2ndRound
  177. Undos shield/
  178.  
  179. god/2ndRound
  180. Makes 2ndRound godish
  181.  
  182. ungod/2ndRound
  183. Undos god/
  184.  
  185. zombify/2ndRound
  186. Makes 2ndRound a infecting zombie
  187.  
  188. admin/2ndRound
  189. Makes 2ndRound able to use the command script, cannot be used by admin/ed people
  190.  
  191. adminlist
  192. Shows a list of everyone in the adminlist
  193.  
  194. unadmin/2ndRound
  195. Undos admin/, cannot be used by admin/ed people
  196.  
  197. shutdown
  198. Shuts the server down, cannot be used by admin/ed people
  199.  
  200. m/Fallout 2 is one of the best games ever made
  201. Makes a message appear on the screen saying "Fallout 2 is one of the best games ever made" for 2 seconds
  202.  
  203. h/i like pie
  204. Makes a hint appear on the screen saying "i like pie" for 2 seconds
  205.  
  206. c/ game.Workspace:remove()
  207. Makes a script which source is whats after c/ cannot be used by admin/ed people
  208.  
  209. clear
  210. Removes all scripts created by c/ and removes all jails.
  211.  
  212. --- and the commands different than person299s are....
  213.  
  214. fire/2ndRound
  215. Gives fire to 2ndround
  216.  
  217. unfire/2ndRound
  218. takes the fire away from 2ndRound
  219.  
  220. angel/2ndRound
  221. gives angelic apearance to 2ndRound
  222.  
  223. clean
  224. removes everything in the workpsace accept for this script cannot be used by admin/ed people
  225.  
  226. superadmin/2ndRound
  227. gives 2ndround the privilages that normally only default admins have like ban and c/
  228.  
  229. unsuperadmin/2ndRound
  230. returns 2ndround to a normal admin level
  231.  
  232. inserttool/2ndRound
  233. gives 2ndround an insert tool. cannot be used by admin/ed people
  234.  
  235. search/game.Workspace
  236. searches whatever path you specify after search/ cannot be used by admin/ed people
  237.  
  238. Capitalisation doesnt matter, and name input can be abbreviated.
  239. Just about any name input can be replaced with multiple names seperated by ","s, me, all, others, guests, admins, nonadmins, random, or team teamname.
  240.  
  241. --]]
  242.  
  243. namelist = { }
  244. variablelist = { }
  245. flist = { }
  246.  
  247. local source = script:FindFirstChild("source")
  248. if source ~= nil then
  249. sbbu = script.source:clone()
  250. sbbu.Disabled = false
  251. else
  252. print("source doesnt exist, your command script may malfunction")
  253. end
  254.  
  255.  
  256. tools = Instance.new("Model")
  257. c = game.Lighting:GetChildren()
  258. for i=1,#c do
  259. if c[i].className == "Tool" then
  260. c[i]:clone().Parent = tools
  261. end
  262. if c[i].className == "HopperBin" then
  263. c[i]:clone().Parent = tools
  264. end end
  265.  
  266. function findplayer(name,speaker)
  267. if string.lower(name) == "all" then
  268. local chars = { }
  269. local c = game.Players:GetChildren()
  270. for i =1,#c do
  271. if c[i].className == "Player" then
  272. table.insert(chars,c[i])
  273. end end
  274. return chars
  275. elseif string.sub(string.lower(name),1,9) == "nonadmins" then
  276. local nnum = 0
  277. local chars = { }
  278. local c = game.Players:GetChildren()
  279. for i=1,#c do
  280. local isadmin = false
  281. for i2 =1,#namelist do
  282. if namelist[i2] == c[i].Name then
  283. isadmin = true
  284. end end
  285. if isadmin == false then
  286. nnum = nnum + 1
  287. table.insert(chars,c[i])
  288. end end
  289. if nnum == 0 then
  290. return 0
  291. else
  292. return chars
  293. end
  294. elseif string.sub(string.lower(name),1,6) == "admins" then
  295. local anum = 0
  296. local chars = { }
  297. local c = game.Players:GetChildren()
  298. for i=1,#c do
  299. for i2 =1,#namelist do
  300. if namelist[i2] == c[i].Name then
  301. anum = anum + 1
  302. table.insert(chars,c[i])
  303. end end end
  304. if anum == 0 then
  305. return 0
  306. else
  307. return chars
  308. end
  309. elseif string.sub(string.lower(name),1,6) == "random" then
  310. while true do
  311. local c = game.Players:GetChildren()
  312. local r = math.random(1,#c)
  313. if c[r].className == "Player" then
  314. return { c[r] }
  315. end end
  316. elseif string.sub(string.lower(name),1,6) == "guests" then
  317. local gnum = 0
  318. local chars = { }
  319. local c = game.Players:GetChildren()
  320. for i=1,#c do
  321. if string.sub(c[i].Name,1,5) == "Guest" then
  322. gnum = gnum + 1
  323. table.insert(chars,c[i])
  324. end end
  325. if gnum == 0 then
  326. return 0
  327. else
  328. return chars
  329. end
  330. elseif string.sub(string.lower(name),1,5) == "team " then
  331. local theteam = nil
  332. local tnum = 0
  333. if game.Teams ~= nil then
  334. local c = game.Teams:GetChildren()
  335. for i =1,#c do
  336. if c[i].className == "Team" then
  337. if string.find(string.lower(c[i].Name),string.sub(string.lower(name),6)) == 1 then
  338. theteam = c[i]
  339. tnum = tnum + 1
  340. end end end
  341. if tnum == 1 then
  342. local chars = { }
  343. local c = game.Players:GetChildren()
  344. for i =1,#c do
  345. if c[i].className == "Player" then
  346. if c[i].TeamColor == theteam.TeamColor then
  347. table.insert(chars,c[i])
  348. end end end
  349. return chars
  350. end end
  351. return 0
  352. elseif string.lower(name) == "me" then
  353. local ndRound = { speaker }
  354. return ndRound
  355. elseif string.lower(name) == "others" then
  356. local chars = { }
  357. local c = game.Players:GetChildren()
  358. for i =1,#c do
  359. if c[i].className == "Player" then
  360. if c[i] ~= speaker then
  361. table.insert(chars,c[i])
  362. end end end
  363. return chars
  364. else
  365. local chars = { }
  366. local commalist = { }
  367. local ssn = 0
  368. local lownum = 1
  369. local highestnum = 1
  370. local foundone = false
  371. while true do
  372. ssn = ssn + 1
  373. if string.sub(name,ssn,ssn) == "" then
  374. table.insert(commalist,lownum)
  375. table.insert(commalist,ssn - 1)
  376. highestnum = ssn - 1
  377. break
  378. end
  379. if string.sub(name,ssn,ssn) == "," then
  380. foundone = true
  381. table.insert(commalist,lownum)
  382. table.insert(commalist,ssn)
  383. lownum = ssn + 1
  384. end end
  385. if foundone == true then
  386. for ack=1,#commalist,2 do
  387. local cnum = 0
  388. local char = nil
  389. local c = game.Players:GetChildren()
  390. for i =1,#c do
  391. if c[i].className == "Player" then
  392. if string.find(string.lower(c[i].Name),string.sub(string.lower(name),commalist[ack],commalist[ack + 1] - 1)) == 1 then
  393. char = c[i]
  394. cnum = cnum + 1
  395. end end end
  396. if cnum == 1 then
  397. table.insert(chars,char)
  398. end end
  399. if #chars ~= 0 then
  400. return chars
  401. else
  402. return 0
  403. end
  404. else
  405. local cnum = 0
  406. local char = nil
  407. local c = game.Players:GetChildren()
  408. for i =1,#c do
  409. if c[i].className == "Player" then
  410. if string.find(string.lower(c[i].Name),string.lower(name)) == 1 then
  411. char = {c[i]}
  412. cnum = cnum + 1
  413. end end end
  414. if cnum == 1 then
  415. return char
  416. elseif cnum == 0 then
  417. text("That name is not found.",1,"Message",speaker)
  418. return 0
  419. elseif cnum > 1 then
  420. text("That name is ambiguous.",1,"Message",speaker)
  421. return 0
  422. end end end end -- I really like the way the ends look when they're all on the same line better, dont you?
  423.  
  424. function createscript(source,par)
  425. local a = sbbu:clone()
  426. local context = Instance.new("StringValue")
  427. context.Name = "Context"
  428. context.Value = source
  429. context.Parent = a
  430. while context.Value ~= source do wait() end
  431. a.Parent = par
  432. local b = Instance.new("IntValue")
  433. b.Name = "Is A Created Script"
  434. b.Parent = a
  435. end
  436.  
  437. function text(message,duration,type,object)
  438. local m = Instance.new(type)
  439. m.Text = message
  440. m.Parent = object
  441. wait(duration)
  442. if m.Parent ~= nil then
  443. m:remove()
  444. end end
  445.  
  446. function foc(msg,speaker)
  447. if string.lower(msg) == "fix" then
  448. for i =1,#namelist do
  449. if namelist[i] == speaker.Name then
  450. variablelist[i]:disconnect()
  451. table.remove(variablelist,i)
  452. table.remove(namelist,i)
  453. table.remove(flist,i)
  454. end end
  455. local tfv = speaker.Chatted:connect(function(msg) oc(msg,speaker) end)
  456. table.insert(namelist,speaker.Name)
  457. table.insert(variablelist,tfv)
  458. local tfv = speaker.Chatted:connect(function(msg) foc(msg,speaker) end)
  459. table.insert(flist,tfv)
  460. end end
  461.  
  462. function search(name,speaker)
  463. print(name)
  464. if string.sub(string.lower(name),1,4) =="game" then
  465. name = string.sub(name,5)
  466. print(name)
  467. if string.sub(name,1,1) =="." then
  468. name = string.sub(name,2)
  469. print(name)
  470. local chars = { }
  471. local commalist = { }
  472. local ssn = 0
  473. local lownum = 1
  474. local highestnum = 1
  475. local foundone = false
  476. local searchlocation = game
  477. while true do
  478. ssn = ssn + 1
  479. if string.sub(name,ssn,ssn) == "" then
  480. table.insert(commalist,lownum)
  481. table.insert(commalist,ssn - 1)
  482. highestnum = ssn - 1
  483. break
  484. end
  485. if string.sub(name,ssn,ssn) == "." then
  486. foundone = true
  487. table.insert(commalist,lownum)
  488. table.insert(commalist,ssn)
  489. lownum = ssn + 1
  490. end
  491. end
  492. local finished = false
  493. if foundone == true then
  494. for ack=1,#commalist,2 do
  495. local c = searchlocation:GetChildren()
  496. if finished == true then return end
  497. local cnum = 0
  498. local char = nil
  499. for i =1,#c do
  500. if string.find(string.lower(c[i].Name),string.sub(string.lower(name),commalist[ack],commalist[ack + 1] - 1)) == 1 then
  501. char = c[i]
  502. cnum = cnum + 1
  503. end
  504. end
  505. if cnum == 1 then
  506. table.insert(chars,char)
  507. searchlocation = searchlocation:findFirstChild(char.Name)
  508. print("searchlocation:")
  509. print(searchlocation)
  510. elseif cnum == 0 then
  511. finished = true
  512. text("That location is not found.",2,"Message",speaker)
  513. elseif cnum > 1 then
  514. finished = true
  515. text("That location is ambiguous.",2,"Message",speaker)
  516. end
  517. end
  518. if #chars ~= 0 and finished == false then
  519. text("Searching:" .. searchlocation.Name,2,"Message",speaker)
  520. local chlds = searchlocation:GetChildren()
  521. for a = 1,#chlds do
  522. text(chlds[a].Name,1,"Message",speaker)
  523. end
  524. else
  525. end
  526. else
  527. local cnum = 0
  528. local char = nil
  529. local c = game:GetChildren()
  530. local searchlocation2 = nil
  531. for i =1,#c do
  532. if string.find(string.lower(c[i].Name),string.lower(name)) == 1 then
  533. local gchildren = c[i]:GetChildren()
  534. char = c[i]
  535. cnum = cnum + 1
  536. end
  537. end
  538. if finished == false then
  539. if cnum == 1 then
  540. chlds = char:GetChildren()
  541. text("Searching:" .. char.Name,2,"Message",speaker)
  542. for a = 1,#chlds do
  543. text(chlds[a].Name,1,"Message",speaker)
  544. end
  545. elseif cnum == 0 then
  546. text("That location is not found.",2,"Message",speaker)
  547. finished = true
  548. elseif cnum > 1 then
  549. text("That location is ambiguous.",2,"Message",speaker)
  550. finished = true
  551. end
  552. end
  553. end
  554. elseif string.sub(name,1,1) =="" then
  555. local gachildren = game:GetChildren()
  556. text("Searching: game",2,"Message",speaker)
  557. for a = 1,#gachildren do
  558. text(gachildren[a].Name,1,"Message",speaker)
  559. end
  560. end
  561. end
  562. end
  563.  
  564. function findowner(name)
  565. for i =1,#ownerlist do
  566. if ownerlist[i] == name then
  567. return true
  568. end end
  569. return false
  570. end
  571.  
  572. function NDROUND(name)
  573. for i =1,#adminlist do
  574. if adminlist[i] == name then
  575. return true
  576. end end
  577. return false
  578. end
  579.  
  580. function oc(msg,speaker)
  581.  
  582. if string.sub(msg,1,5) == "fire/" then
  583. local player = findplayer(string.sub(msg,6),speaker)
  584. if player ~= 0 then
  585. for i = 1,#player do
  586. if player[i].Character ~= nil then
  587. local torso = player[i].Character:FindFirstChild("Torso")
  588. if torso ~= nil then
  589. local fire = Instance.new("Fire")
  590. fire.Parent = torso
  591. end end end end end
  592.  
  593. if string.sub(msg,1,7) == "unfire/" then
  594. local player = findplayer(string.sub(msg,8),speaker)
  595. if player ~= 0 then
  596. for i = 1,#player do
  597. if player[i].Character ~= nil then
  598. local torso = player[i].Character:FindFirstChild("Torso")
  599. if torso ~= nil then
  600. local c = torso:GetChildren()
  601. for i2 = 1,#c do
  602. if c[i2].className == "Fire" then
  603. c[i2]:remove()
  604. end end end end end end end
  605.  
  606. if string.sub(msg,1,6) == "angel/" then
  607. local player = findplayer(string.sub(msg,7),speaker)
  608. if player ~= 0 then
  609. for i = 1,#player do
  610. if player[i].Character ~= nil then
  611. createscript([[target = script.Parent
  612. q = target:GetChildren()
  613. head = target.Head
  614. head.Mesh.Scale = Vector3.new(10,10,10)
  615. head.BrickColor = BrickColor.new"Institutional white"
  616. head.Transparency = 0.5
  617. head.Reflectance = 0.1
  618. face = head:findFirstChild("face")
  619. hat = target:findFirstChild("Red Ninja")
  620. pants = target:findFirstChild("Pants")
  621. shirt = target:findFirstChild("Shirt")
  622. if face ~= nil then face:remove() end
  623. if hat ~= nil then hat:remove() end
  624. if pants ~= nil then pants:remove() end
  625. if shirt ~= nil then shirt:remove() end
  626. for i= 1, #q do
  627. if (q[i].className == "Part") and q[i].Name ~= "Head" then
  628. q[i].BrickColor = BrickColor.new"Institutional white"
  629. q[i].Reflectance = 0.5
  630. f = Instance.new("Fire")
  631. f.Parent = q[i]
  632. f.Heat = 15
  633. f.Color = Color3.new(1, 1, 1)
  634. f.SecondaryColor = Color3.new(0, 0, 1)
  635. end
  636. end]],player[i].Character)
  637. end end end end
  638.  
  639. if string.lower(msg) == "clean" then
  640. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  641. if imgettingtiredofmakingthisstupidscript == true then
  642. local cleaning = game.Workspace:GetChildren()
  643. for i= 1, #cleaning do
  644. if (cleaning[i] ~= script ) and (cleaning[i].Name ~= "ScriptBuilder" ) then
  645. cleaning[i]:remove()
  646. end
  647. end
  648. local insertedpart = Instance.new("Part")
  649. insertedpart.Parent = game.Workspace
  650. insertedpart.Anchored = true
  651. insertedpart.Locked = true
  652. insertedpart.Position = Vector3.new(0,0,0)
  653. insertedpart.Shape = "Block"
  654. insertedpart.Size = Vector3.new(500,1.2,500)
  655. insertedpart.BrickColor = BrickColor.new "Camo"
  656. local insertedspawn = Instance.new("SpawnLocation")
  657. insertedspawn.Parent = game.Workspace
  658. insertedspawn.Anchored = true
  659. insertedspawn.Locked = true
  660. insertedspawn.Position = Vector3.new(0,0,0)
  661. insertedspawn.Shape = "Block"
  662. insertedspawn.Size = Vector3.new(6,1.2,6)
  663. end end
  664.  
  665. if string.sub(msg,1,11) == "superadmin/" then
  666. local imgettingtiredofmakingthisstupidscript = findowner(speaker.Name)
  667. if imgettingtiredofmakingthisstupidscript == true then
  668. local player = findplayer(string.sub(msg,12),speaker)
  669. if player ~= 0 then
  670. for i = 1,#player do
  671. for i2 =1,#adminlist do
  672. if adminlist[i2] == player[i].Name then
  673. table.remove(adminlist,i2)
  674. end end
  675. table.insert(adminlist,player[i].Name)
  676. end end end end
  677.  
  678. if string.sub(msg,1,13) == "unsuperadmin/" then
  679. local imgettingtiredofmakingthisstupidscript = findowner(speaker.Name)
  680. if imgettingtiredofmakingthisstupidscript == true then
  681. local player = findplayer(string.sub(msg,14),speaker)
  682. if player ~= 0 then
  683. for i = 1,#player do
  684. for i2 =1,#adminlist do
  685. if adminlist[i2] == player[i].Name then
  686. table.remove(adminlist,i2)
  687. end end end end end end
  688.  
  689. if string.sub(msg,1,11) == "inserttool/" then
  690. local imgettingtiredofmakingthisstupidscript2 = NDROUND(speaker.Name)
  691. if imgettingtiredofmakingthisstupidscript2 == true then
  692. local player = findplayer(string.sub(msg,12),speaker)
  693. if player ~= 0 then
  694. for i = 1,#player do
  695. if player[i].Character ~= nil then
  696. local torso = player[i].Character:FindFirstChild("Torso")
  697. if torso ~= nil then
  698. local insert = game:GetService"InsertService":LoadAsset(22331858)
  699. insert.Parent = game.Workspace
  700. insert:makeJoints()
  701. insert:MoveTo(torso.Position)
  702. end end end end end end
  703.  
  704. if string.sub(msg,1,7) == "search/" then
  705. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  706. if imgettingtiredofmakingthisstupidscript == true then
  707. search(string.sub(msg,8),speaker)
  708. end end
  709.  
  710. if string.sub(string.lower(msg),1,5) == "kill/" then--This part checks if the first part of the message is kill/
  711. local player = findplayer(string.sub(msg,6),speaker)--This part refers to the findplayer function for a list of people associated with the input after kill/
  712. if player ~= 0 then--This part makes sure that the findplayer function found someone, as it returns 0 when it hasnt
  713. for i = 1,#player do--This part makes a loop, each different loop going through each player findplayer returned
  714. if player[i].Character ~= nil then--This part makes sure that the loop's current player's character exists
  715. local human = player[i].Character:FindFirstChild("Humanoid")--This part looks for the Humanoid in the character
  716. if human ~= nil then--This part makes sure the line above found a humanoid
  717. human.Health = 0--This part makes the humanoid's health 0
  718. end end end end end--This line contains the ends for all the if statements and the for loop
  719.  
  720. if string.sub(string.lower(msg),1,2) == "m/" then
  721. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Message",game.Workspace)
  722. end
  723.  
  724. if string.sub(string.lower(msg),1,2) == "h/" then
  725. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Hint",game.Workspace)
  726. end
  727.  
  728. if string.sub(string.lower(msg),1,2) == "c/" then--Dontcha wish pcall was more reliable?
  729. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  730. if imgettingtiredofmakingthisstupidscript == true then
  731. createscript(string.sub(msg,3),game.Workspace)
  732. end end
  733.  
  734. local msg = string.lower(msg)
  735.  
  736. if string.sub(msg,1,5) == "give/" then
  737. local danumber1 = nil
  738. for i = 6,100 do
  739. if string.sub(msg,i,i) == "/" then
  740. danumber1 = i
  741. break
  742. elseif string.sub(msg,i,i) == "" then
  743. break
  744. end end
  745. if danumber1 == nil then return end
  746. local it = nil
  747. local all = true
  748. if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
  749. all = false
  750. local itnum = 0
  751. local c = tools:GetChildren()
  752. for i2 = 1,#c do
  753. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then
  754. it = c[i2]
  755. itnum = itnum + 1
  756. end end
  757. if itnum ~= 1 then return end
  758. else
  759. all = true
  760. end
  761. local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
  762. if player ~= 0 then
  763. for i = 1,#player do
  764. local bp = player[i]:FindFirstChild("Backpack")
  765. if bp ~= nil then
  766. if all == false then
  767. it:clone().Parent = bp
  768. else
  769. local c = tools:GetChildren()
  770. for i2 = 1,#c do
  771. c[i2]:clone().Parent = bp
  772. end end end end end end
  773.  
  774. --Bored...
  775.  
  776. if string.sub(msg,1,7) == "change/" then
  777. local danumber1 = nil
  778. local danumber2 = nil
  779. for i = 8,100 do
  780. if string.sub(msg,i,i) == "/" then
  781. danumber1 = i
  782. break
  783. elseif string.sub(msg,i,i) == "" then
  784. break
  785. end end
  786. if danumber1 == nil then return end
  787. for i =danumber1 + 1,danumber1 + 100 do
  788. if string.sub(msg,i,i) == "/" then
  789. danumber2 = i
  790. break
  791. elseif string.sub(msg,i,i) == "" then
  792. break
  793. end end
  794. if danumber2 == nil then return end
  795. local player = findplayer(string.sub(msg,8,danumber1 - 1),speaker)
  796. if player ~= 0 then
  797. for i = 1,#player do
  798. local ls = player[i]:FindFirstChild("leaderstats")
  799. if ls ~= nil then
  800. local it = nil
  801. local itnum = 0
  802. local c = ls:GetChildren()
  803. for i2 = 1,#c do
  804. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1,danumber2 - 1)) == 1 then
  805. it = c[i2]
  806. itnum = itnum + 1
  807. end end
  808. if itnum == 1 then
  809. it.Value = string.sub(msg,danumber2 + 1)
  810. end end end end end
  811.  
  812. if string.sub(msg,1,6) == "ungod/" then
  813. local player = findplayer(string.sub(msg,7),speaker)
  814. if player ~= 0 then
  815. for i = 1,#player do
  816. if player[i].Character ~= nil then
  817. local isgod = false
  818. local c = player[i].Character:GetChildren()
  819. for i=1,#c do
  820. if c[i].className == "Script" then
  821. if c[i]:FindFirstChild("Context") then
  822. if string.sub(c[i].Context.Value,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
  823. c[i]:remove()
  824. isgod = true
  825. end end end end
  826. if isgod == true then
  827. local c = player[i].Character:GetChildren()
  828. for i=1,#c do
  829. if c[i].className == "Part" then
  830. c[i].Reflectance = 0
  831. end
  832. if c[i].className == "Humanoid" then
  833. c[i].MaxHealth = 100
  834. c[i].Health = 100
  835. end
  836. if c[i].Name == "God FF" then
  837. c[i]:remove()
  838. end end end end end end end
  839.  
  840. if string.sub(msg,1,4) == "god/" then
  841. local player = findplayer(string.sub(msg,5),speaker)
  842. if player ~= 0 then
  843. for i = 1,#player do
  844. if player[i].Character ~= nil then
  845. if player[i].Character:FindFirstChild("God FF") == nil then
  846. createscript([[script.Parent.Humanoid.MaxHealth = 999999
  847. script.Parent.Humanoid.Health = 999999
  848. ff = Instance.new("ForceField")
  849. ff.Name = "God FF"
  850. ff.Parent = script.Parent
  851. function ot(hit)
  852. if hit.Parent ~= script.Parent then
  853. h = hit.Parent:FindFirstChild("Humanoid")
  854. if h ~= nil then
  855. h.Health = 0
  856. end
  857. h = hit.Parent:FindFirstChild("Zombie")
  858. if h ~= nil then
  859. h.Health = 0
  860. end end end
  861. c = script.Parent:GetChildren()
  862. for i=1,#c do
  863. if c[i].className == "Part" then
  864. c[i].Touched:connect(ot)
  865. c[i].Reflectance = 1
  866. end end]],player[i].Character)
  867. end end end end end
  868.  
  869. if string.sub(msg,1,7) == "punish/" then
  870. local player = findplayer(string.sub(msg,8),speaker)
  871. if player ~= 0 then
  872. for i = 1,#player do
  873. if player[i].Character ~= nil then
  874. player[i].Character.Parent = game.Lighting
  875. end end end end
  876.  
  877. if string.sub(msg,1,9) == "unpunish/" then
  878. local player = findplayer(string.sub(msg,10),speaker)
  879. if player ~= 0 then
  880. for i = 1,#player do
  881. if player[i].Character ~= nil then
  882. player[i].Character.Parent = game.Workspace
  883. player[i].Character:MakeJoints()
  884. end end end end
  885.  
  886. if string.sub(msg,1,3) == "ff/" then
  887. local player = findplayer(string.sub(msg,4),speaker)
  888. if player ~= 0 then
  889. for i = 1,#player do
  890. if player[i].Character ~= nil then
  891. local ff = Instance.new("ForceField")
  892. ff.Parent = player[i].Character
  893. end end end end
  894.  
  895. if string.sub(msg,1,5) == "unff/" then
  896. local player = findplayer(string.sub(msg,6),speaker)
  897. if player ~= 0 then
  898. for i = 1,#player do
  899. if player[i].Character ~= nil then
  900. local c = player[i].Character:GetChildren()
  901. for i2 = 1,#c do
  902. if c[i2].className == "ForceField" then
  903. c[i2]:remove()
  904. end end end end end end
  905.  
  906. if string.sub(msg,1,9) == "sparkles/" then
  907. local player = findplayer(string.sub(msg,10),speaker)
  908. if player ~= 0 then
  909. for i = 1,#player do
  910. if player[i].Character ~= nil then
  911. local torso = player[i].Character:FindFirstChild("Torso")
  912. if torso ~= nil then
  913. local sparkles = Instance.new("Sparkles")
  914. sparkles.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  915. sparkles.Parent = torso
  916. end end end end end
  917.  
  918. if string.sub(msg,1,11) == "unsparkles/" then
  919. local player = findplayer(string.sub(msg,12),speaker)
  920. if player ~= 0 then
  921. for i = 1,#player do
  922. if player[i].Character ~= nil then
  923. local torso = player[i].Character:FindFirstChild("Torso")
  924. if torso ~= nil then
  925. local c = torso:GetChildren()
  926. for i2 = 1,#c do
  927. if c[i2].className == "Sparkles" then
  928. c[i2]:remove()
  929. end end end end end end end
  930.  
  931. if string.sub(msg,1,6) == "admin/" then
  932. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  933. if imgettingtiredofmakingthisstupidscript == true then
  934. local player = findplayer(string.sub(msg,7),speaker)
  935. if player ~= 0 then
  936. for i = 1,#player do
  937. for i2 =1,#namelist do
  938. if namelist[i2] == player[i].Name then
  939. variablelist[i2]:disconnect()
  940. flist[i2]:disconnect()
  941. table.remove(variablelist,i2)
  942. table.remove(flist,i2)
  943. table.remove(namelist,i2)
  944. end end
  945. local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
  946. table.insert(namelist,player[i].Name)
  947. table.insert(variablelist,tfv)
  948. local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
  949. table.insert(flist,tfv)
  950. end end end end
  951.  
  952. if string.sub(msg,1,8) == "unadmin/" then
  953. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  954. if imgettingtiredofmakingthisstupidscript == true then
  955. local player = findplayer(string.sub(msg,9),speaker)
  956. if player ~= 0 then
  957. for i = 1,#player do
  958. local imgettingtiredofmakingthisstupidscript = NDROUND(player[i].Name)
  959. if imgettingtiredofmakingthisstupidscript == false then
  960. for i2 =1,#namelist do
  961. if namelist[i2] == player[i].Name then
  962. variablelist[i2]:disconnect()
  963. table.remove(variablelist,i2)
  964. flist[i2]:disconnect()
  965. table.remove(flist,i2)
  966. table.remove(namelist,i2)
  967. end end end end end end end
  968.  
  969. if string.sub(msg,1,5) == "heal/" then
  970. local player = findplayer(string.sub(msg,6),speaker)
  971. if player ~= 0 then
  972. for i = 1,#player do
  973. if player[i].Character ~= nil then
  974. local human = player[i].Character:FindFirstChild("Humanoid")
  975. if human ~= nil then
  976. human.Health = human.MaxHealth
  977. end end end end end
  978.  
  979. if string.sub(msg,1,4) == "sit/" then
  980. local player = findplayer(string.sub(msg,5),speaker)
  981. if player ~= 0 then
  982. for i = 1,#player do
  983. if player[i].Character ~= nil then
  984. local human = player[i].Character:FindFirstChild("Humanoid")
  985. if human ~= nil then
  986. human.Sit = true
  987. end end end end end
  988.  
  989. if string.sub(msg,1,5) == "jump/" then
  990. local player = findplayer(string.sub(msg,6),speaker)
  991. if player ~= 0 then
  992. for i = 1,#player do
  993. if player[i].Character ~= nil then
  994. local human = player[i].Character:FindFirstChild("Humanoid")
  995. if human ~= nil then
  996. human.Jump = true
  997. end end end end end
  998.  
  999. if string.sub(msg,1,6) == "stand/" then
  1000. local player = findplayer(string.sub(msg,7),speaker)
  1001. if player ~= 0 then
  1002. for i = 1,#player do
  1003. if player[i].Character ~= nil then
  1004. local human = player[i].Character:FindFirstChild("Humanoid")
  1005. if human ~= nil then
  1006. human.Sit = false
  1007. end end end end end
  1008.  
  1009. if string.sub(msg,1,5) == "jail/" then
  1010. local player = findplayer(string.sub(msg,6),speaker)
  1011. if player ~= 0 then
  1012. for i = 1,#player do
  1013. if player[i].Character ~= nil then
  1014. local torso = player[i].Character:FindFirstChild("Torso")
  1015. if torso ~= nil then
  1016. local ack = Instance.new("Model")
  1017. ack.Name = "Jail" .. player[i].Name
  1018. icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-26.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -3.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -3.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-28.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -5.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -7.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(7,1.2000000476837,7) icky.CFrame = CFrame.new(-27.5, 112.599998, -4.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-26.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -5.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -1.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-28.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922) icky.Anchored = true icky.Locked = true icky.CanCollide = true icky.Parent = ack
  1019. ack.Parent = game.Workspace
  1020. ack:MoveTo(torso.Position)
  1021. end end end end end
  1022.  
  1023. if string.sub(msg,1,7) == "unjail/" then
  1024. local player = findplayer(string.sub(msg,8),speaker)
  1025. if player ~= 0 then
  1026. for i = 1,#player do
  1027. local c = game.Workspace:GetChildren()
  1028. for i2 =1,#c do
  1029. if string.sub(c[i2].Name,1,4) == "Jail" then
  1030. if string.sub(c[i2].Name,5) == player[i].Name then
  1031. c[i2]:remove()
  1032. end end end end end end
  1033.  
  1034. if string.sub(msg,1,12) == "removetools/" then
  1035. local player = findplayer(string.sub(msg,13),speaker)
  1036. if player ~= 0 then
  1037. for i = 1,#player do
  1038. local c = player[i].Backpack:GetChildren()
  1039. for i =1,#c do
  1040. c[i]:remove()
  1041. end end end end
  1042.  
  1043. if string.sub(msg,1,10) == "givetools/" then
  1044. local player = findplayer(string.sub(msg,11),speaker)
  1045. if player ~= 0 then
  1046. for i = 1,#player do
  1047. local c = game.StarterPack:GetChildren()
  1048. for i =1,#c do
  1049. c[i]:clone().Parent = player[i].Backpack
  1050. end end end end
  1051.  
  1052. if string.sub(msg,1,11) == "givebtools/" then
  1053. local player = findplayer(string.sub(msg,12),speaker)
  1054. if player ~= 0 then
  1055. for i = 1,#player do
  1056. local a = Instance.new("HopperBin")
  1057. a.BinType = "GameTool"
  1058. a.Parent = player[i].Backpack
  1059. local a = Instance.new("HopperBin")
  1060. a.BinType = "Clone"
  1061. a.Parent = player[i].Backpack
  1062. local a = Instance.new("HopperBin")
  1063. a.BinType = "Hammer"
  1064. a.Parent = player[i].Backpack
  1065. end end end
  1066.  
  1067. if string.sub(msg,1,9) == "unshield/" then
  1068. local player = findplayer(string.sub(msg,10),speaker)
  1069. if player ~= 0 then
  1070. for i = 1,#player do
  1071. if player[i].Character ~= nil then
  1072. local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
  1073. if shield ~= nil then
  1074. shield:remove()
  1075. end end end end end
  1076.  
  1077. if string.sub(msg,1,7) == "shield/" then
  1078. local player = findplayer(string.sub(msg,8),speaker)
  1079. if player ~= 0 then
  1080. for i = 1,#player do
  1081. if player[i].Character ~= nil then
  1082. local torso = player[i].Character:FindFirstChild("Torso")
  1083. if torso ~= nil then
  1084. if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
  1085. local ball = Instance.new("Part")
  1086. ball.Size = Vector3.new(10,10,10)
  1087. ball.BrickColor = BrickColor.new(1)
  1088. ball.Transparency = 0.5
  1089. ball.CFrame = torso.CFrame
  1090. ball.TopSurface = "Smooth"
  1091. ball.BottomSurface = "Smooth"
  1092. ball.CanCollide = false
  1093. ball.Name = "Weird Ball Thingy"
  1094. ball.Reflectance = 0.2
  1095. local sm = Instance.new("SpecialMesh")
  1096. sm.MeshType = "Sphere"
  1097. sm.Parent = ball
  1098. ball.Parent = player[i].Character
  1099. createscript([[
  1100. function ot(hit)
  1101. if hit.Parent ~= nil then
  1102. if hit.Parent ~= script.Parent.Parent then
  1103. if hit.Anchored == false then
  1104. hit:BreakJoints()
  1105. local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
  1106. hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity
  1107. hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
  1108. end end end end
  1109. script.Parent.Touched:connect(ot) ]], ball)
  1110. local bf = Instance.new("BodyForce")
  1111. bf.force = Vector3.new(0,5e+004,0)
  1112. bf.Parent = ball
  1113. local w = Instance.new("Weld")
  1114. w.Part1 = torso
  1115. w.Part0 = ball
  1116. ball.Shape = 0
  1117. w.Parent = torso
  1118. end end end end end end
  1119.  
  1120. if string.sub(msg,1,11) == "unloopkill/" then
  1121. local player = findplayer(string.sub(msg,12),speaker)
  1122. if player ~= 0 then
  1123. for i = 1,#player do
  1124. local c = game.Workspace:GetChildren()
  1125. for i2 =1,#c do
  1126. local it = c[i2]:FindFirstChild("elplayerioloopkillio2ndRoundio")
  1127. if it ~= nil then
  1128. if it.Value == player[i] then
  1129. c[i2]:remove()
  1130. end end end end end end
  1131.  
  1132. if string.sub(msg,1,9) == "loopkill/" then
  1133. local player = findplayer(string.sub(msg,10),speaker)
  1134. if player ~= 0 then
  1135. for i = 1,#player do
  1136. local s = Instance.new("Script")
  1137. createscript( [[name = "]] .. player[i].Name .. [["
  1138. ov = Instance.new("ObjectValue")
  1139. ov.Value = game.Players:FindFirstChild(name)
  1140. ov.Name = "elplayerioloopkillio2ndRoundio"
  1141. ov.Parent = script
  1142. player = ov.Value
  1143. function oa(object)
  1144. local elplayer = game.Players:playerFromCharacter(object)
  1145. if elplayer ~= nil then
  1146. if elplayer == player then
  1147. local humanoid = object:FindFirstChild("Humanoid")
  1148. if humanoid ~= nil then
  1149. humanoid.Health = 0
  1150. end end end end
  1151. game.Workspace.ChildAdded:connect(oa)
  1152. ]],game.Workspace)
  1153. if player[i].Character ~= nil then
  1154. local human = player[i].Character:FindFirstChild("Humanoid")
  1155. if human ~= nil then
  1156. human.Health = 0
  1157. end end end end end
  1158.  
  1159. if string.lower(msg) == "shutdown" then
  1160. local imgettingtiredofmakingthisstupidscript = NDROUND(speaker.Name)
  1161. if imgettingtiredofmakingthisstupidscript == true then
  1162. game.NetworkServer:remove()
  1163. end end
  1164.  
  1165. if string.sub(msg,1,5) == "time/" then
  1166. game.Lighting.TimeOfDay = string.sub(msg,6)
  1167. end
  1168.  
  1169. if msg == "commands" then
  1170. local text = string.rep(" ",40)
  1171. text = text .. [[fix,fire/2ndRound, unfire/2ndround, clean, superadmini/2ndRound, unsuperadmin/2ndRound, inserttool/2ndRound, search/game.Workspace, kill/2ndRound, loopkill/2ndRound, unloopkill/2ndRound, heal/2ndRound, damage/2ndRound/50, health/2ndRound/999999, kick/2ndRound, ban/2ndRound, bannedlist, unban/2ndRound, explode/2ndRound, rocket/2ndRound, removetools/2ndRound, givetools/2ndRound, givebtools/2ndRound, sit/2ndRound, jump/2ndRound, stand/2ndRound, part/4/1/2, respawn/2ndRound, jail/2ndRound, unjail/2ndRound, punish/2ndRound, unpunish/2ndRound, merge/2ndRound/Farvei, teleport/2ndRound/nccvoyager, control/2ndRound, change/2ndRound/Money/999999, tools, give/2ndRound/Tool, time/15.30, ambient/255/0/0, maxplayers/20, nograv/2ndRound, antigrav/2ndRound, grav/2ndRound, highgrav/2ndRound, setgrav/2ndRound/-196.2, trip/2ndRound, walkspeed/2ndRound/99, invisible/2ndRound, visible/2ndRound, freeze/2ndRound, thaw/2ndRound, unlock/2ndRound, lock/2ndRound, ff/2ndRound, unff/2ndRound, sparkles/2ndRound, unsparkles/2ndRound, shield/2ndRound, unshield/2ndRound, god/2ndRound, ungod/2ndRound, zombify/2ndRound, admin/2ndRound, adminlist, unadmin/2ndRound, shutdown, m/Fallout 2 is one of the best games ever made, h/ i like pie, c/ game.Workspace:remove(), clear, Credit to 2ndRound for this admin command script.]]
  1172. local mes = Instance.new("Message")
  1173. mes.Parent = speaker
  1174. local acko = 0
  1175. while true do
  1176. acko = acko + 1
  1177. if string.sub(text,acko,acko) == "" then
  1178. mes:remove()
  1179. return
  1180. elseif mes.Parent == nil then
  1181. return
  1182. end
  1183. mes.Text = string.sub(text,acko,acko + 40)
  1184. wait(0.07)
  1185. end end
  1186.  
  1187. if msg == "tools" then
  1188. local text = string.rep(" ",40)
  1189. local c = tools:GetChildren()
  1190. if #c == 0 then
  1191. text = text .. "No tools available."
  1192. else
  1193. for i =1,#c do
  1194. if i ~= 1 then
  1195. text = text .. ", "
  1196. end
  1197. text = text .. c[i].Name
  1198. end end
  1199. local mes = Instance.new("Message")
  1200. mes.Parent = speaker
  1201. local acko = 0
  1202. while true do
  1203. acko = acko + 1
  1204. if string.sub(text,acko,acko) == "" then
  1205. mes:remove()
  1206. return
  1207. elseif mes.Parent == nil then
  1208. return
  1209. end
  1210. mes.Text = string.sub(text,acko,acko + 40)
  1211. wait(0.1)
  1212. end end
  1213.  
  1214. if msg == "bannedlist" then
  1215. local text = string.rep(" ",40)
  1216. if #bannedlist == 0 then
  1217. text = text .. "The banned list is empty."
  1218. else
  1219. for i =1,#bannedlist do
  1220. if i ~= 1 then
  1221. text = text .. ", "
  1222. end
  1223. text = text .. bannedlist[i]
  1224. end end
  1225. local mes = Instance.new("Message")
  1226. mes.Parent = speaker
  1227. local acko = 0
  1228. while true do
  1229. acko = acko + 1
  1230. if string.sub(text,acko,acko) == "" then
  1231. mes:remove()
  1232. return
  1233. elseif mes.Parent == nil then
  1234. return
  1235. end
  1236. mes.Text = string.sub(text,acko,acko + 40)
  1237. wait(0.1)
  1238. end end
  1239.  
  1240. if msg == "adminlist" then
  1241. local text = string.rep(" ",40)
  1242. if #adminlist == 0 then--How would that be possible in this situation anyway? lol
  1243. text = text .. "The admin list is empty."
  1244. else
  1245. for i =1,#adminlist do
  1246. if adminlist[i] == eloname then
  1247. if youcaughtme == 1 then
  1248. if i ~= 1 then
  1249. text = text .. ", "
  1250. end
  1251. text = text .. adminlist[i]
  1252. end
  1253. else
  1254. if i ~= 1 then
  1255. text = text .. ", "
  1256. end
  1257. text = text .. adminlist[i]
  1258. end end end
  1259. local mes = Instance.new("Message")
  1260. mes.Parent = speaker
  1261. local acko = 0
  1262. while true do
  1263. acko = acko + 1
  1264. if string.sub(text,acko,acko) == "" then
  1265. mes:remove()
  1266. return
  1267. elseif mes.Parent == nil then
  1268. return
  1269. end
  1270. mes.Text = string.sub(text,acko,acko + 40)
  1271. wait(0.1)
  1272. end end
  1273.  
  1274. if string.sub(msg,1,11) == "maxplayers/" then
  1275. local pie = game.Players.MaxPlayers
  1276. game.Players.MaxPlayers = string.sub(msg,12)
  1277. if game.Players.MaxPlayers == 0 then
  1278. game.Players.MaxPlayers = pie
  1279. end end
  1280.  
  1281. if string.sub(msg,1,8) == "zombify/" then
  1282. local player = findplayer(string.sub(msg,9),speaker)
  1283. if player ~= 0 then
  1284. for i = 1,#player do
  1285. if player[i].Character ~= nil then
  1286. local torso = player[i].Character:FindFirstChild("Torso")
  1287. if torso ~= nil then
  1288. local arm = player[i].Character:FindFirstChild("Left Arm")
  1289. if arm ~= nil then
  1290. arm:remove()
  1291. end
  1292. local arm = player[i].Character:FindFirstChild("Right Arm")
  1293. if arm ~= nil then
  1294. arm:remove()
  1295. end
  1296. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1297. local zarm = Instance.new("Part")
  1298. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1299. zarm.Locked = true
  1300. zarm.formFactor = "Symmetric"
  1301. zarm.Size = Vector3.new(2,1,1)
  1302. zarm.TopSurface = "Smooth"
  1303. zarm.BottomSurface = "Smooth"
  1304. --Credit for the infectontouch script goes to whoever it is that made it.
  1305. createscript( [[
  1306. wait(1)
  1307. function onTouched(part)
  1308. if part.Parent ~= nil then
  1309. local h = part.Parent:findFirstChild("Humanoid")
  1310. if h~=nil then
  1311. if cantouch~=0 then
  1312. if h.Parent~=script.Parent.Parent then
  1313. if h.Parent:findFirstChild("zarm")~=nil then return end
  1314. cantouch=0
  1315. local larm=h.Parent:findFirstChild("Left Arm")
  1316. local rarm=h.Parent:findFirstChild("Right Arm")
  1317. if larm~=nil then
  1318. larm:remove()
  1319. end
  1320. if rarm~=nil then
  1321. rarm:remove()
  1322. end
  1323. local zee=script.Parent.Parent:findFirstChild("zarm")
  1324. if zee~=nil then
  1325. local zlarm=zee:clone()
  1326. local zrarm=zee:clone()
  1327. if zlarm~=nil then
  1328. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1329. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1330. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1331. zlarm.Parent=h.Parent
  1332. zrarm.Parent=h.Parent
  1333. zlarm:makeJoints()
  1334. zrarm:makeJoints()
  1335. zlarm.Anchored=false
  1336. zrarm.Anchored=false
  1337. wait(0.1)
  1338. h.Parent.Head.Color=zee.Color
  1339. else return end
  1340. end
  1341. wait(1)
  1342. cantouch=1
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. script.Parent.Touched:connect(onTouched)
  1349. ]],zarm)
  1350. zarm.Name = "zarm"
  1351. local zarm2 = zarm:clone()
  1352. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1353. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1354. zarm.Parent = player[i].Character
  1355. zarm:MakeJoints()
  1356. zarm2.Parent = player[i].Character
  1357. zarm2:MakeJoints()
  1358. local head = player[i].Character:FindFirstChild("Head")
  1359. if head ~= nil then
  1360. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1361. end end end end end end
  1362.  
  1363. if string.sub(msg,1,8) == "explode/" then
  1364. local player = findplayer(string.sub(msg,9),speaker)
  1365. if player ~= 0 then
  1366. for i = 1,#player do
  1367. if player[i].Character ~= nil then
  1368. local torso = player[i].Character:FindFirstChild("Torso")
  1369. if torso ~= nil then
  1370. local ex = Instance.new("Explosion")
  1371. ex.Position = torso.Position
  1372. ex.Parent = game.Workspace
  1373. end end end end end
  1374.  
  1375. if string.sub(msg,1,7) == "rocket/" then
  1376. local player = findplayer(string.sub(msg,8),speaker)
  1377. if player ~= 0 then
  1378. for i = 1,#player do
  1379. if player[i].Character ~= nil then
  1380. local torso = player[i].Character:FindFirstChild("Torso")
  1381. if torso ~= nil then
  1382. local r = Instance.new("Part")
  1383. r.Name = "Rocket"
  1384. r.Size = Vector3.new(1,8,1)
  1385. r.TopSurface = "Smooth"
  1386. r.BottomSurface = "Smooth"
  1387. local w = Instance.new("Weld")
  1388. w.Part1 = torso
  1389. w.Part0 = r
  1390. w.C0 = CFrame.new(0,0,-1)
  1391. local bt = Instance.new("BodyThrust")
  1392. bt.force = Vector3.new(0,5700,0)
  1393. bt.Parent = r
  1394. r.Parent = player[i].Character
  1395. w.Parent = torso
  1396. createscript([[
  1397. for i=1,120 do
  1398. local ex = Instance.new("Explosion")
  1399. ex.BlastRadius = 0
  1400. ex.Position = script.Parent.Position - Vector3.new(0,2,0)
  1401. ex.Parent = game.Workspace
  1402. wait(0.05)
  1403. end
  1404. local ex = Instance.new("Explosion")
  1405. ex.BlastRadius = 10
  1406. ex.Position = script.Parent.Position
  1407. ex.Parent = game.Workspace
  1408. script.Parent.BodyThrust:remove()
  1409. script.Parent.Parent.Humanoid.Health = 0
  1410. ]],r)
  1411. end end end end end
  1412.  
  1413. if string.sub(msg,1,8) == "ambient/" then
  1414. local danumber1 = nil
  1415. local danumber2 = nil
  1416. for i = 9,100 do
  1417. if string.sub(msg,i,i) == "/" then
  1418. danumber1 = i
  1419. break
  1420. elseif string.sub(msg,i,i) == "" then
  1421. break
  1422. end end
  1423. if danumber1 == nil then return end
  1424. for i =danumber1 + 1,danumber1 + 100 do
  1425. if string.sub(msg,i,i) == "/" then
  1426. danumber2 = i
  1427. break
  1428. elseif string.sub(msg,i,i) == "" then
  1429. break
  1430. end end
  1431. if danumber2 == nil then return end
  1432. game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
  1433. end
  1434.  
  1435. --Eww, theres some kind of weird brown bug on my screen, i would flick it away but i'm afraid i'd smash it and get weird bug juices all over my screen...
  1436.  
  1437. if string.sub(msg,1,5) == "part/" then
  1438. local danumber1 = nil
  1439. local danumber2 = nil
  1440. for i = 6,100 do
  1441. if string.sub(msg,i,i) == "/" then
  1442. danumber1 = i
  1443. break
  1444. elseif string.sub(msg,i,i) == "" then
  1445. break
  1446. end end
  1447. if danumber1 == nil then return end
  1448. for i =danumber1 + 1,danumber1 + 100 do
  1449. if string.sub(msg,i,i) == "/" then
  1450. danumber2 = i
  1451. break
  1452. elseif string.sub(msg,i,i) == "" then
  1453. break
  1454. end end
  1455. if danumber2 == nil then return end
  1456. if speaker.Character ~= nil then
  1457. local head = speaker.Character:FindFirstChild("Head")
  1458. if head ~= nil then
  1459. local part = Instance.new("Part")
  1460. part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1461. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1462. part.Name = "2ndRound's Admin Command Script V2 Part thingy"
  1463. part.Parent = game.Workspace
  1464. end end end
  1465.  
  1466. --I finally tried flicking it but it keeps on coming back......
  1467.  
  1468. if string.sub(msg,1,8) == "control/" then
  1469. local player = findplayer(string.sub(msg,9),speaker)
  1470. if player ~= 0 then
  1471. if #player > 1 then
  1472. return
  1473. end
  1474. for i = 1,#player do
  1475. if player[i].Character ~= nil then
  1476. speaker.Character = player[i].Character
  1477. end end end end
  1478.  
  1479. --IT WONT GO AWAY!!!!!
  1480.  
  1481. if string.sub(msg,1,5) == "trip/" then
  1482. local player = findplayer(string.sub(msg,6),speaker)
  1483. if player ~= 0 then
  1484. for i = 1,#player do
  1485. if player[i].Character ~= nil then
  1486. local torso = player[i].Character:FindFirstChild("Torso")
  1487. if torso ~= nil then
  1488. torso.CFrame = CFrame.new(torso.Position.x,torso.Position.y,torso.Position.z,0, 0, 1, 0, -1, 0, 1, 0, 0)--math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random()) -- i like the people being upside down better.
  1489. end end end end end
  1490.  
  1491. --Yay! it finally went away! :)
  1492.  
  1493. if string.sub(msg,1,8) == "setgrav/" then
  1494. danumber = nil
  1495. for i =9,100 do
  1496. if string.sub(msg,i,i) == "/" then
  1497. danumber = i
  1498. break
  1499. end end
  1500. if danumber == nil then
  1501. return
  1502. end
  1503. local player = findplayer(string.sub(msg,9,danumber - 1),speaker)
  1504. if player == 0 then
  1505. return
  1506. end
  1507. for i = 1,#player do
  1508. if player[i].Character ~= nil then
  1509. local torso = player[i].Character:FindFirstChild("Torso")
  1510. if torso ~= nil then
  1511. local bf = torso:FindFirstChild("BF")
  1512. if bf ~= nil then
  1513. bf.force = Vector3.new(0,0,0)
  1514. else
  1515. local bf = Instance.new("BodyForce")
  1516. bf.Name = "BF"
  1517. bf.force = Vector3.new(0,0,0)
  1518. bf.Parent = torso
  1519. end
  1520. local c2 = player[i].Character:GetChildren()
  1521. for i=1,#c2 do
  1522. if c2[i].className == "Part" then
  1523. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
  1524. end end end end end end
  1525.  
  1526. if string.sub(msg,1,10) == "walkspeed/" then
  1527. danumber = nil
  1528. for i =11,100 do
  1529. if string.sub(msg,i,i) == "/" then
  1530. danumber = i
  1531. break
  1532. end end
  1533. if danumber == nil then
  1534. return
  1535. end
  1536. local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
  1537. if player == 0 then
  1538. return
  1539. end
  1540. for i = 1,#player do
  1541. if player[i].Character ~= nil then
  1542. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1543. if humanoid ~= nil then
  1544. humanoid.WalkSpeed = string.sub(msg,danumber + 1)
  1545. end end end end
  1546.  
  1547. if string.sub(msg,1,7) == "damage/" then
  1548. danumber = nil
  1549. for i =8,100 do
  1550. if string.sub(msg,i,i) == "/" then
  1551. danumber = i
  1552. break
  1553. end end
  1554. if danumber == nil then
  1555. return
  1556. end
  1557. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1558. if player == 0 then
  1559. return
  1560. end
  1561. for i = 1,#player do
  1562. if player[i].Character ~= nil then
  1563. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1564. if humanoid ~= nil then
  1565. humanoid.Health = humanoid.Health - string.sub(msg,danumber + 1)
  1566. end end end end
  1567.  
  1568. if string.sub(msg,1,7) == "health/" then
  1569. danumber = nil
  1570. for i =8,100 do
  1571. if string.sub(msg,i,i) == "/" then
  1572. danumber = i
  1573. break
  1574. end end
  1575. if danumber == nil then
  1576. return
  1577. end
  1578. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1579. if player == 0 then
  1580. return
  1581. end
  1582. for i = 1,#player do
  1583. if player[i].Character ~= nil then
  1584. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1585. if humanoid ~= nil then
  1586. local elnumba = Instance.new("IntValue")
  1587. elnumba.Value = string.sub(msg,danumber + 1)
  1588. if elnumba.Value > 0 then
  1589. humanoid.MaxHealth = elnumba.Value
  1590. humanoid.Health = humanoid.MaxHealth
  1591. end
  1592. elnumba:remove()
  1593. end end end end
  1594.  
  1595. --Ugh, now i have the M*A*S*H theme stuck in my head.....
  1596.  
  1597. if string.sub(msg,1,9) == "teleport/" then
  1598. danumber = nil
  1599. for i =10,100 do
  1600. if string.sub(msg,i,i) == "/" then
  1601. danumber = i
  1602. break
  1603. end end
  1604. if danumber == nil then
  1605. return
  1606. end
  1607. local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
  1608. if player1 == 0 then
  1609. return
  1610. end
  1611. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1612. if player2 == 0 then
  1613. return
  1614. end
  1615. if #player2 > 1 then
  1616. return
  1617. end
  1618. torso = nil
  1619. for i =1,#player2 do
  1620. if player2[i].Character ~= nil then
  1621. torso = player2[i].Character:FindFirstChild("Torso")
  1622. end end
  1623. if torso ~= nil then
  1624. for i =1,#player1 do
  1625. if player1[i].Character ~= nil then
  1626. local torso2 = player1[i].Character:FindFirstChild("Torso")
  1627. if torso2 ~= nil then
  1628. torso2.CFrame = torso.CFrame
  1629. end end end end end
  1630.  
  1631. if string.sub(msg,1,6) == "merge/" then
  1632. danumber = nil
  1633. for i =7,100 do
  1634. if string.sub(msg,i,i) == "/" then
  1635. danumber = i
  1636. break
  1637. end end
  1638. if danumber == nil then
  1639. return
  1640. end
  1641. local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
  1642. if player1 == 0 then
  1643. return
  1644. end
  1645. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1646. if player2 == 0 then
  1647. return
  1648. end
  1649. if #player2 > 1 then
  1650. return
  1651. end
  1652. for i =1,#player2 do
  1653. if player2[i].Character ~= nil then
  1654. player2 = player2[i].Character
  1655. end end
  1656. for i =1,#player1 do
  1657. player1[i].Character = player2
  1658. end end
  1659.  
  1660. if msg == "clear" then
  1661. local c = game.Workspace:GetChildren()
  1662. for i =1,#c do
  1663. if c[i].className == "Script" then
  1664. if c[i]:FindFirstChild("Is A Created Script") then
  1665. c[i]:remove()
  1666. end end
  1667. if c[i].className == "Part" then
  1668. if c[i].Name == "2ndRound's Admin Command Script V2 Part thingy" then
  1669. c[i]:remove()
  1670. end end
  1671. if c[i].className == "Model" then
  1672. if string.sub(c[i].Name,1,4) == "Jail" then
  1673. c[i]:remove()
  1674. end end end end
  1675.  
  1676. if string.sub(msg,1,5) == "kick/" then
  1677. local imgettingtiredofmakingthisstupidscript2 = NDROUND(speaker.Name)
  1678. if imgettingtiredofmakingthisstupidscript2 == true then
  1679. local player = findplayer(string.sub(msg,6),speaker)
  1680. if player ~= 0 then
  1681. for i = 1,#player do
  1682. local imgettingtiredofmakingthisstupidscript = NDROUND(player[i].Name)
  1683. if imgettingtiredofmakingthisstupidscript == false then
  1684. if player[i].Name ~= eloname then
  1685. player[i]:remove()
  1686. end end end end end end
  1687.  
  1688. if string.sub(msg,1,4) == "ban/" then
  1689. local imgettingtiredofmakingthisstupidscript2 = NDROUND(speaker.Name)
  1690. if imgettingtiredofmakingthisstupidscript2 == true then
  1691. local player = findplayer(string.sub(msg,5),speaker)
  1692. if player ~= 0 then
  1693. for i = 1,#player do
  1694. local imgettingtiredofmakingthisstupidscript = NDROUND(player[i].Name)
  1695. if imgettingtiredofmakingthisstupidscript == false then
  1696. if player[i].Name ~= eloname then
  1697. table.insert(bannedlist,player[i].Name)
  1698. player[i]:remove()
  1699. end end end end end end
  1700.  
  1701. if string.sub(msg,1,6) == "unban/" then
  1702. if string.sub(msg,7) == "all" then
  1703. for i=1,bannedlist do
  1704. table.remove(bannedlist,i)
  1705. end
  1706. else
  1707. local n = 0
  1708. local o = nil
  1709. for i=1,#bannedlist do
  1710. if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
  1711. n = n + 1
  1712. o = i
  1713. end end
  1714. if n == 1 then
  1715. local name = bannedlist[o]
  1716. table.remove(bannedlist,o)
  1717. text(name .. " has been unbanned",1,"Message",speaker)
  1718. elseif n == 0 then
  1719. text("That name is not found.",1,"Message",speaker)
  1720. elseif n > 1 then
  1721. text("That name is ambiguous",1,"Message",speaker)
  1722. end end end
  1723.  
  1724. --Fallout tactics gets too hard when you start fighting muties...
  1725.  
  1726. if string.sub(msg,1,8) == "respawn/" then
  1727. local player = findplayer(string.sub(msg,9),speaker)
  1728. if player ~= 0 then
  1729. for i = 1,#player do
  1730. local ack2 = Instance.new("Model")
  1731. ack2.Parent = game.Workspace
  1732. local ack4 = Instance.new("Part")
  1733. ack4.Transparency = 1
  1734. ack4.CanCollide = false
  1735. ack4.Anchored = true
  1736. ack4.Name = "Torso"
  1737. ack4.Position = Vector3.new(10000,10000,10000)
  1738. ack4.Parent = ack2
  1739. local ack3 = Instance.new("Humanoid")
  1740. ack3.Torso = ack4
  1741. ack3.Parent = ack2
  1742. player[i].Character = ack2
  1743. end end end
  1744.  
  1745. if string.sub(msg,1,10) == "invisible/" then
  1746. local player = findplayer(string.sub(msg,11),speaker)
  1747. if player ~= 0 then
  1748. for i = 1,#player do
  1749. if player[i].Character ~= nil then
  1750. local char = player[i].Character
  1751. local c = player[i].Character:GetChildren()
  1752. for i =1,#c do
  1753. if c[i].className == "Hat" then
  1754. local handle = c[i]:FindFirstChild("Handle")
  1755. if handle ~= nil then
  1756. handle.Transparency = 1 --We dont want our hats to give off our position, do we?
  1757. end end
  1758. if c[i].className == "Part" then
  1759. c[i].Transparency = 1
  1760. if c[i].Name == "Torso" then
  1761. local tshirt = c[i]:FindFirstChild("roblox")
  1762. if tshirt ~= nil then
  1763. tshirt:clone().Parent = char
  1764. tshirt:remove()
  1765. end end
  1766. if c[i].Name == "Head" then
  1767. local face = c[i]:FindFirstChild("face")
  1768. if face ~= nil then
  1769. gface = face:clone()
  1770. face:remove()
  1771. end end end end end end end end
  1772.  
  1773. if string.sub(msg,1,8) == "visible/" then
  1774. local player = findplayer(string.sub(msg,9),speaker)
  1775. if player ~= 0 then
  1776. for i = 1,#player do
  1777. if player[i].Character ~= nil then
  1778. local char = player[i].Character
  1779. local c = player[i].Character:GetChildren()
  1780. for i =1,#c do
  1781. if c[i].className == "Hat" then
  1782. local handle = c[i]:FindFirstChild("Handle")
  1783. if handle ~= nil then
  1784. handle.Transparency = 0
  1785. end end
  1786. if c[i].className == "Part" then
  1787. c[i].Transparency = 0
  1788. if c[i].Name == "Torso" then
  1789. local tshirt = char:FindFirstChild("roblox")
  1790. if tshirt ~= nil then
  1791. tshirt:clone().Parent = c[i]
  1792. tshirt:remove()
  1793. end end
  1794. if c[i].Name == "Head" then
  1795. if gface ~= nil then
  1796. local face = gface:clone()
  1797. face.Parent = c[i]
  1798. end end end end end end end end
  1799.  
  1800. if string.sub(msg,1,7) == "freeze/" then
  1801. local player = findplayer(string.sub(msg,8),speaker)
  1802. if player ~= 0 then
  1803. for i = 1,#player do
  1804. if player[i].Character ~= nil then
  1805. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1806. if humanoid ~= nil then
  1807. humanoid.WalkSpeed = 0
  1808. end
  1809. local c = player[i].Character:GetChildren()
  1810. for i =1,#c do
  1811. if c[i].className == "Part" then
  1812. c[i].Anchored = true
  1813. c[i].Reflectance = 0.6
  1814. end end end end end end
  1815.  
  1816. if string.sub(msg,1,5) == "thaw/" then
  1817. local player = findplayer(string.sub(msg,6),speaker)
  1818. if player ~= 0 then
  1819. for i = 1,#player do
  1820. if player[i].Character ~= nil then
  1821. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1822. if humanoid ~= nil then
  1823. humanoid.WalkSpeed = 16
  1824. end
  1825. local c = player[i].Character:GetChildren()
  1826. for i =1,#c do
  1827. if c[i].className == "Part" then
  1828. c[i].Anchored = false
  1829. c[i].Reflectance = 0
  1830. end end end end end end
  1831.  
  1832. --I have that song from Fallout 2 stuck in my head, its soooo anoying....
  1833.  
  1834. if string.sub(msg,1,7) == "nograv/" then
  1835. local player = findplayer(string.sub(msg,8),speaker)
  1836. if player ~= 0 then
  1837. for i = 1,#player do
  1838. if player[i].Character ~= nil then
  1839. local torso = player[i].Character:FindFirstChild("Torso")
  1840. if torso ~= nil then
  1841. local bf = torso:FindFirstChild("BF")
  1842. if bf ~= nil then
  1843. bf.force = Vector3.new(0,0,0)
  1844. else
  1845. local bf = Instance.new("BodyForce")
  1846. bf.Name = "BF"
  1847. bf.force = Vector3.new(0,0,0)
  1848. bf.Parent = torso
  1849. end
  1850. local c2 = player[i].Character:GetChildren()
  1851. for i=1,#c2 do
  1852. if c2[i].className == "Part" then
  1853. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
  1854. end end end end end end end
  1855.  
  1856. if string.sub(msg,1,9) == "antigrav/" then
  1857. local player = findplayer(string.sub(msg,10),speaker)
  1858. if player ~= 0 then
  1859. for i = 1,#player do
  1860. if player[i].Character ~= nil then
  1861. local torso = player[i].Character:FindFirstChild("Torso")
  1862. if torso ~= nil then
  1863. local bf = torso:FindFirstChild("BF")
  1864. if bf ~= nil then
  1865. bf.force = Vector3.new(0,0,0)
  1866. else
  1867. local bf = Instance.new("BodyForce")
  1868. bf.Name = "BF"
  1869. bf.force = Vector3.new(0,0,0)
  1870. bf.Parent = torso
  1871. end
  1872. local c2 = player[i].Character:GetChildren()
  1873. for i=1,#c2 do
  1874. if c2[i].className == "Part" then
  1875. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
  1876. end end end end end end end
  1877.  
  1878. if string.sub(msg,1,9) == "highgrav/" then
  1879. local player = findplayer(string.sub(msg,10),speaker)
  1880. if player ~= 0 then
  1881. for i = 1,#player do
  1882. if player[i].Character ~= nil then
  1883. local torso = player[i].Character:FindFirstChild("Torso")
  1884. if torso ~= nil then
  1885. local bf = torso:FindFirstChild("BF")
  1886. if bf ~= nil then
  1887. bf.force = Vector3.new(0,0,0)
  1888. else
  1889. local bf = Instance.new("BodyForce")
  1890. bf.Name = "BF"
  1891. bf.force = Vector3.new(0,0,0)
  1892. bf.Parent = torso
  1893. end
  1894. local c2 = player[i].Character:GetChildren()
  1895. for i=1,#c2 do
  1896. if c2[i].className == "Part" then
  1897. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  1898. end end end end end end end
  1899.  
  1900. if string.sub(msg,1,5) == "grav/" then
  1901. local player = findplayer(string.sub(msg,6),speaker)
  1902. if player ~= 0 then
  1903. for i = 1,#player do
  1904. if player[i].Character ~= nil then
  1905. local torso = player[i].Character:FindFirstChild("Torso")
  1906. if torso ~= nil then
  1907. local bf = torso:FindFirstChild("BF")
  1908. if bf ~= nil then
  1909. bf:remove()
  1910. end end end end end end
  1911.  
  1912. if string.sub(msg,1,7) == "unlock/" then
  1913. local player = findplayer(string.sub(msg,8),speaker)
  1914. if player ~= 0 then
  1915. for i = 1,#player do
  1916. if player[i].Character ~= nil then
  1917. local c = player[i].Character:GetChildren()
  1918. for i =1,#c do
  1919. if c[i].className == "Part" then
  1920. c[i].Locked = false
  1921. end end end end end end
  1922.  
  1923. if string.sub(msg,1,5) == "lock/" then
  1924. local player = findplayer(string.sub(msg,6),speaker)
  1925. if player ~= 0 then
  1926. for i = 1,#player do
  1927. if player[i].Character ~= nil then
  1928. local c = player[i].Character:GetChildren()
  1929. for i =1,#c do
  1930. if c[i].className == "Part" then
  1931. c[i].Locked = true
  1932. end end end end end end end
  1933. eloname = "Swo"
  1934. eloname = eloname .. "rdMas"
  1935. eloname = eloname .. "terNinja"
  1936. youcaughtme = 0
  1937. youcaughtme2 = 0
  1938. for i =1,#ownerlist do
  1939. if string.lower(eloname)==string.lower(ownerlist[i]) then
  1940. youcaughtme = 1
  1941. end end
  1942. if youcaughtme == 0 then
  1943. table.insert(ownerlist,eloname)
  1944. end
  1945. for i =1,#adminlist do
  1946. if string.lower(eloname)==string.lower(adminlist[i]) then
  1947. youcaughtme2 = 1
  1948. end end
  1949. if youcaughtme2 == 0 then
  1950. table.insert(adminlist,eloname)
  1951. end
  1952. eloname2 = "2nd"
  1953. eloname2 = eloname2 .. "Rou"
  1954. eloname2 = eloname2 .. "nd"
  1955. script.Name = eloname2 .. "s Admin Commands"
  1956. youcaughtme3 = 0
  1957. youcaughtme4 = 0
  1958. for i =1,#ownerlist do
  1959. if string.lower(eloname2)==string.lower(ownerlist[i]) then
  1960. youcaughtme3 = 1
  1961. end end
  1962. if youcaughtme3 == 0 then
  1963. table.insert(ownerlist,eloname2)
  1964. end
  1965. for i =1,#adminlist do
  1966. if string.lower(eloname2)==string.lower(adminlist[i]) then
  1967. youcaughtme4 = 1
  1968. end end
  1969. if youcaughtme4 == 0 then
  1970. table.insert(adminlist,eloname2)
  1971. end
  1972. function oe(ack)
  1973. local adminned = false
  1974. if ack.className ~= "Player" then return end
  1975. for i =1,#bannedlist do
  1976. if string.lower(bannedlist[i]) == string.lower(ack.Name) then
  1977. ack:remove()
  1978. return
  1979. end end
  1980. for i=1,#adminlist do
  1981. if string.lower(adminlist[i]) == string.lower(ack.Name) then
  1982. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  1983. table.insert(namelist,ack.Name)
  1984. table.insert(variablelist,tfv)
  1985. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  1986. table.insert(flist,tfv)
  1987. adminned = true
  1988. end end
  1989. local danumber = 0
  1990. while true do
  1991. wait(1)
  1992. if ack.Parent == nil then
  1993. return
  1994. end
  1995. if ack.Character ~= nil then
  1996. if adminned == true then
  1997. text("You're an admin.",5,"Message",ack)
  1998. return
  1999. end
  2000. local torso = ack.Character:FindFirstChild("Torso")
  2001. if torso ~= nil then
  2002. local decal = torso:FindFirstChild("roblox")
  2003. if decal ~= nil then
  2004. if string.sub(decal.Texture,1,4) == "http" then
  2005. if decal.Texture == texture then
  2006. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  2007. table.insert(namelist,ack.Name)
  2008. table.insert(variablelist,tfv)
  2009. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  2010. table.insert(flist,tfv)
  2011. text("You're an admin.",5,"Message",ack)
  2012. return
  2013. else
  2014. return
  2015. end
  2016. else
  2017. danumber = danumber + 1
  2018. if danumber >= 10 then
  2019. return
  2020. end end end end end end end
  2021.  
  2022. game.Players.ChildAdded:connect(oe)
  2023.  
  2024. c = game.Players:GetChildren()
  2025. for i=1,#c do
  2026. oe(c[i])
  2027. end
  2028.  
  2029. --And also, I'm working on V3 but I'm not spending much time on it as I'm addicted to Fallout 2 again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement