Advertisement
Drewiscool123

Untitled

Jul 26th, 2018
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.46 KB | None | 0 0
  1. --Version 2 1.02 I fixed some problems caused by the updates.
  2. adminlist = {"drew11pogi", "ic3w0lf589"}--Add in the names of the people you want to be able to use the command script here.
  3. --Please keep 'toby151' in there. ;)
  4. bannedlist = {"Nobody is banned right now..."}--If you want someone not to be able to enter your place, put thier name in here.
  5. texture = ""--If you want someone wearing a certain t-shirt to be an admin, put the t-shirt's texture in here.
  6.  
  7. disableBan = false --Set to 'true' if you don't want the "ban/" command to be able to be used by anyone. (Also disables 'kick/')
  8. disableAdmin = false --Set to 'true' if you don't want the "admin/" command to be able to be used by anyone.
  9.  
  10. owner = "drew11pogi" --Change this to your name
  11.  
  12. --[[Hey guys! Its nominate10 here. I've decided to update these commands myself, as I see Person299 probably gave up on it.
  13. You will be able to find the commands made by me, down below. Send me feedback & ideas. Thanks!
  14. For the most recent script (I update frequently), go to http://www.roblox.com/Nominate10s-Admin-Commands-V2-5-item?id=34853394
  15. --]]
  16.  
  17.  
  18. --[[
  19. I update this command script alot, so if you want to get the newest version of the script, go to http://www.roblox.com/Item.aspx?ID=5277383 every once in a while.
  20.  
  21. If theres anything you think this command script needs, just message me (Person299) and i might put it in. :)
  22. And also, if you find any bugs, report them to me.
  23.  
  24. The commands are,
  25.  
  26. commands
  27. Shows a list of all the commands
  28.  
  29. BY tyrell123ng8
  30. rickroll/tyrell123ng8
  31. makes tyrell123ng8 dance to annoying rickroll XD
  32.  
  33. unrickrool/tyrell123ng8
  34. saves tyrell123ng8 from the rick astley 0_0
  35.  
  36. music/soundid
  37. creates a song for others to here with the sound id as soundid,
  38. it only plays once...
  39.  
  40. BY tyrell123ng8:
  41. fire/tyrell123ng8
  42. Gives tyrell123ng8 fire
  43.  
  44. unfire/tyrell123ng8
  45. Removes any fire in tyrell123ng8's Torso
  46.  
  47. smoke/tyrell123ng8
  48. Gives tyrell123ng8 smoke
  49.  
  50. unsmoke/tyrell123ng8
  51. Removes any smoke in tyrell123ng8's Torso
  52.  
  53. color/tyrell123ng8/blue
  54. Colors tyrell123ng8's body blue and removes its clothes.
  55.  
  56. advancedbtools/tyrell123ng8
  57. Gives tyrell123ng8 advanced building tools.
  58.  
  59. insert/tyrell123ng8
  60. Gives tyrell123ng8 an insert tool.
  61.  
  62. noinsert/tyrell123ng8
  63. Removes tyrell123ng8's insert tool.
  64.  
  65. resetambient/
  66. Resets the ambient to 255; 255; 255
  67.  
  68. randomambient/
  69. Sets the Ambient to a random color.
  70.  
  71. getambient/
  72. Displays the current ambient to the speaker.
  73.  
  74. platformstand/tyrell123ng8
  75. Sets the PlatformStand property of tyrell123ng8's Humanoid to true
  76.  
  77. unplatformstand/tyrell123ng8
  78. Sets the PlatformStand property of tyrell123ng8's Humanoid to false
  79.  
  80. cframe1/tyrell123ng8
  81. Gives tyrell123ng8 a CFrame Tool
  82.  
  83. cframe2/tyrell123ng8
  84. Gives tyrell123ng8 a GUI CFrame Tool
  85.  
  86. skateboard/tyrell123ng8
  87. Gives tyrell123ng8 a skateboard
  88.  
  89. appearance/tyrell123ng8/416314
  90. Changes tyrell123ng8's character look to the ID of 416314 and kills him.
  91.  
  92. wedge/4/1/2
  93. creates a wedge with the given dimensions.
  94.  
  95. cylinder/4/1/2
  96. Creates a cylinder with the given dimensions.
  97.  
  98. block/4/1/2
  99. Creates a brick with a BlockMesh with the given dimensions.
  100.  
  101. sphere/4/4/4
  102. Creates a sphere with the given dimensions
  103.  
  104. plate/4/1/2
  105. Creates a plate with the given dimensions
  106.  
  107. burn/tyrell123ng8
  108. Sets tyrell123ng8 on fire and slowly depleats his health.
  109.  
  110. watch/tyrell123ng8
  111. Sets YOUR camera to view tyrell123ng8.
  112.  
  113. removegear/tyrell123ng8
  114. Removes all tools in tyrell123ng8's StarterGear
  115.  
  116. savetools/tyrell123ng8
  117. Copies all of tyrell123ng8's tools in Backpack and clones them to his StarterGear.
  118.  
  119. localscript/tyrell123ng8/[source]
  120. Makes a LocalScript inside nominate10 with the defined source
  121.  
  122. setupteams/
  123. MUST BE DONE BEFORE USING TEAM-RELATED COMMANDS! (unless teams already exist)
  124.  
  125. team/Bloxxers/Bright blue
  126. Makes a new team with the name "Bloxxers" and the TeamColor "Bright Blue" (CASE SENSITIVE!)
  127.  
  128. changeteam/tyrell123ng8/Bloxxers
  129. Changes tyrell123ng8's team to Bloxxers
  130.  
  131. removeteam/Bloxxers
  132. Removes the Bloxxers team and moves its members to an "Unassigned" team
  133.  
  134. ====================================
  135. ====================================
  136. BY Person299
  137.  
  138. fix
  139. If the command script breaks for you, say this to fix it
  140.  
  141. kill/Person299
  142. kills Person299
  143.  
  144. loopkill/Person299
  145. Repeatedly kills Person299 when he respawns
  146.  
  147. unloopkill/Person299
  148. Undos loopkill/
  149.  
  150. heal/Person299
  151. Returns Person299 to full health
  152.  
  153. damage/Person299/50
  154. Makes Person299's character take 50 damage
  155.  
  156. health/Person299/999999
  157. Makes Person299's MaxHealth and Health 999999
  158.  
  159. kick/Person299
  160. Removes Person299 from the game, cannot be used by admin/ed people
  161.  
  162. ban/Person299
  163. Removes Person299 from the game and keeps him from reenterring, cannot be used by admin/ed people
  164.  
  165. bannedlist
  166. Shows a list of everyone banned
  167.  
  168. unban/Person299
  169. Unbans Person299
  170.  
  171. explode/Person299
  172. Explodes Person299's character
  173.  
  174. rocket/Person299
  175. Straps a rocket onto Person299's back
  176.  
  177. removetools/Person299
  178. Removes all of Person299's tools.
  179.  
  180. givetools/Person299
  181. Gives Person299 all the tools in StarterPack
  182.  
  183. givebtools/Person299
  184. Gives Person299 the building tools
  185.  
  186. sit/Person299
  187. Makes Person299 sit
  188.  
  189. part/4/1/2
  190. Makes a part with the given dimensions appear over your character
  191.  
  192. respawn/Person299
  193. Makes Person299's character respawn
  194.  
  195. jail/Person299
  196. Makes a lil jail cell around Person299's character
  197.  
  198. unjail/Person299
  199. Undos jail/
  200.  
  201. punish/Person299
  202. Puts Person299's character in game.Lighting
  203.  
  204. unpunish/Person299
  205. Undos punish/
  206.  
  207. merge/Person299/Farvei
  208. Makes Person299 control Farvei's character
  209.  
  210. teleport/Person299/nccvoyager
  211. Teleports Person299's character to nccvoyager's character
  212.  
  213. control/Person299
  214. Makes you control Person299's character
  215.  
  216. change/Person299/Money/999999
  217. Makes the Money value in Person299's leaderstats 999999
  218.  
  219. tools
  220. Gives you a list of all the tools available to be give/en, the tool must be in game.Lighting
  221.  
  222. give/Person299/Tool
  223. Give's Person299 a tool, the toolname can be abbreviated
  224.  
  225. time/15.30
  226. Makes game.Lighting.TimeOfDay 15:30
  227.  
  228. ambient/255/0/0
  229. Makes game.Lighting.Ambient 255,0,0
  230.  
  231. maxplayers/20
  232. Makes game.Players.MaxPlayers 20
  233.  
  234. nograv/Person299
  235. Makes Person299 almost weightless
  236.  
  237. antigrav/Person299
  238. Gives Person299 antigravity properties
  239.  
  240. grav/Person299
  241. Returns Person299's gravity to normal
  242.  
  243. highgrav/Person299
  244. Makes Person299 heavier
  245.  
  246. setgrav/Person299/-196
  247. Sets Person299's gravity
  248.  
  249. trip/Person299
  250. Makes Person299's character trip
  251.  
  252. walkspeed/Person299/99
  253. Makes Person299's character's humanoid's WalkSpeed 99, 16 is average
  254.  
  255. invisible/Person299
  256. Makes Person299's character invisible
  257.  
  258. visible/Person299
  259. Undos invisible/
  260.  
  261. freeze/Person299
  262. Makes Person299's character unable to move
  263.  
  264. thaw/Person299
  265. Undos freeze/
  266.  
  267. unlock/Person299
  268. Makes Person299's character unlocked
  269.  
  270. lock/Person299
  271. Makes Person299's character locked
  272.  
  273. ff/Person299
  274. Gives Person299's character a ForceField
  275.  
  276. unff/Person299
  277. Undos ff/
  278.  
  279. sparkles/Person299
  280. Makes Person299's character sparkly
  281.  
  282. unsparkles/Person299
  283. Undos sparkles/
  284.  
  285. shield/Person299
  286. Makes a destructive shield thingy appear around Person299
  287.  
  288. unshield/Person299
  289. Undos shield/
  290.  
  291. god/Person299
  292. Makes Person299 godish
  293.  
  294. ungod/Person299
  295. Undos god/
  296.  
  297. zombify/Person299
  298. Makes Person299 a infecting zombie
  299.  
  300. admin/Person299
  301. Makes Person299 able to use the command script, cannot be used by admin/ed people
  302.  
  303. adminlist
  304. Shows a list of everyone in the adminlist
  305.  
  306. unadmin/Person299
  307. Undos admin/, cannot be used by admin/ed people
  308.  
  309. shutdown
  310. Shuts the server down, cannot be used by admin/ed people
  311.  
  312. m/Fallout 2 is one of the best games ever made
  313. Makes a message appear on the screen saying "Fallout 2 is one of the best games ever made" for 2 seconds
  314.  
  315. h/i like pie
  316. Makes a hint appear on the screen saying "i like pie" for 2 seconds
  317.  
  318. c/ game.Workspace:remove()
  319. Makes a script which source is whats after c/
  320.  
  321. clearscripts
  322. Removes all scripts created by c/ or localscript/
  323.  
  324. clearbricks
  325. Removes any created bricks and jails
  326.  
  327. Capitalisation doesnt matter, and name input can be abbreviated.
  328. Just about any name input can be replaced with multiple names seperated by ","s, me, all, others, guests, admins, nonadmins, random, or team teamname.
  329.  
  330. --]]
  331.  
  332. namelist = { }
  333. variablelist = { }
  334. flist = { }
  335.  
  336. local source = script:FindFirstChild("source")
  337. if source ~= nil then
  338. sbbu = source:clone()
  339. sbbu.Disabled = false
  340. else
  341. print("source doesnt exist, your command script may malfunction")
  342. end
  343.  
  344.  
  345. tools = Instance.new("Model")
  346. c = game.Lighting:GetChildren()
  347. for i=1,#c do
  348. if c[i].className == "Tool" then
  349. c[i]:clone().Parent = tools
  350. end
  351. if c[i].className == "HopperBin" then
  352. c[i]:clone().Parent = tools
  353. end end
  354.  
  355. function NOMINATE10(person)
  356. if person.Name == owner then return true end
  357. return false
  358. end
  359.  
  360. function findintable(name,tab)
  361. for i,v in pairs(tab) do
  362. if v == name then return i end
  363. end
  364. return false
  365. end
  366.  
  367. function findplayer(name,speaker)
  368. if string.lower(name) == "all" then
  369. local chars = { }
  370. local c = game.Players:GetChildren()
  371. for i =1,#c do
  372. if c[i].className == "Player" then
  373. table.insert(chars,c[i])
  374. end end
  375. return chars
  376. elseif string.sub(string.lower(name),1,9) == "nonadmins" then
  377. local nnum = 0
  378. local chars = { }
  379. local c = game.Players:GetChildren()
  380. for i=1,#c do
  381. local isadmin = false
  382. for i2 =1,#namelist do
  383. if namelist[i2] == c[i].Name then
  384. isadmin = true
  385. end end
  386. if isadmin == false then
  387. nnum = nnum + 1
  388. table.insert(chars,c[i])
  389. end end
  390. if nnum == 0 then
  391. return 0
  392. else
  393. return chars
  394. end
  395. elseif string.sub(string.lower(name),1,6) == "admins" then
  396. local anum = 0
  397. local chars = { }
  398. local c = game.Players:GetChildren()
  399. for i=1,#c do
  400. for i2 =1,#namelist do
  401. if namelist[i2] == c[i].Name then
  402. anum = anum + 1
  403. table.insert(chars,c[i])
  404. end end end
  405. if anum == 0 then
  406. return 0
  407. else
  408. return chars
  409. end
  410. elseif string.sub(string.lower(name),1,6) == "random" then
  411. while true do
  412. local c = game.Players:GetChildren()
  413. local r = math.random(1,#c)
  414. if c[r].className == "Player" then
  415. return { c[r] }
  416. end end
  417. elseif string.sub(string.lower(name),1,6) == "guests" then
  418. local gnum = 0
  419. local chars = { }
  420. local c = game.Players:GetChildren()
  421. for i=1,#c do
  422. if string.sub(c[i].Name,1,5) == "Guest" then
  423. gnum = gnum + 1
  424. table.insert(chars,c[i])
  425. end end
  426. if gnum == 0 then
  427. return 0
  428. else
  429. return chars
  430. end
  431. elseif string.sub(string.lower(name),1,5) == "team " then
  432. local theteam = nil
  433. local tnum = 0
  434. if game.Teams ~= nil then
  435. local c = game.Teams:GetChildren()
  436. for i =1,#c do
  437. if c[i].className == "Team" then
  438. if string.find(string.lower(c[i].Name),string.sub(string.lower(name),6)) == 1 then
  439. theteam = c[i]
  440. tnum = tnum + 1
  441. end end end
  442. if tnum == 1 then
  443. local chars = { }
  444. local c = game.Players:GetChildren()
  445. for i =1,#c do
  446. if c[i].className == "Player" then
  447. if c[i].TeamColor == theteam.TeamColor then
  448. table.insert(chars,c[i])
  449. end end end
  450. return chars
  451. end end
  452. return 0
  453. elseif string.lower(name) == "me" then
  454. local person299 = { speaker }
  455. return person299
  456. elseif string.lower(name) == "others" then
  457. local chars = { }
  458. local c = game.Players:GetChildren()
  459. for i =1,#c do
  460. if c[i].className == "Player" then
  461. if c[i] ~= speaker then
  462. table.insert(chars,c[i])
  463. end end end
  464. return chars
  465. else
  466. local chars = { }
  467. local commalist = { }
  468. local ssn = 0
  469. local lownum = 1
  470. local highestnum = 1
  471. local foundone = false
  472. while true do
  473. ssn = ssn + 1
  474. if string.sub(name,ssn,ssn) == "" then
  475. table.insert(commalist,lownum)
  476. table.insert(commalist,ssn - 1)
  477. highestnum = ssn - 1
  478. break
  479. end
  480. if string.sub(name,ssn,ssn) == "," then
  481. foundone = true
  482. table.insert(commalist,lownum)
  483. table.insert(commalist,ssn)
  484. lownum = ssn + 1
  485. end end
  486. if foundone == true then
  487. for ack=1,#commalist,2 do
  488. local cnum = 0
  489. local char = nil
  490. local c = game.Players:GetChildren()
  491. for i =1,#c do
  492. if c[i].className == "Player" then
  493. if string.find(string.lower(c[i].Name),string.sub(string.lower(name),commalist[ack],commalist[ack + 1] - 1)) == 1 then
  494. char = c[i]
  495. cnum = cnum + 1
  496. end end end
  497. if cnum == 1 then
  498. table.insert(chars,char)
  499. end end
  500. if #chars ~= 0 then
  501. return chars
  502. else
  503. return 0
  504. end
  505. else
  506. local cnum = 0
  507. local char = nil
  508. local c = game.Players:GetChildren()
  509. for i =1,#c do
  510. if c[i].className == "Player" then
  511. if string.find(string.lower(c[i].Name),string.lower(name)) == 1 then
  512. char = {c[i]}
  513. cnum = cnum + 1
  514. end end end
  515. if cnum == 1 then
  516. return char
  517. elseif cnum == 0 then
  518. text("That name is not found.",1,"Message",speaker)
  519. return 0
  520. elseif cnum > 1 then
  521. text("That name is ambiguous.",1,"Message",speaker)
  522. return 0
  523. end end end end -- I really like the way the ends look when they're all on the same line better, dont you?
  524.  
  525. function findteam(name,speak)
  526. teams = {}
  527. if name then
  528. for i,v in pairs(game:GetService("Teams"):GetChildren()) do
  529. if v.Name:sub(1,name:len()):lower() == name:lower() then
  530. table.insert(teams,v)
  531. end
  532. end
  533. if #teams == 0 then
  534. text("that team is not found.",1,"Message",speak)
  535. return false
  536. end
  537. if teams > 1 then
  538. text("That team is ambiguous.",1,"Message",speaker)
  539. return false
  540. end
  541. return teams[1]
  542. end end
  543.  
  544. function createscript(source,par)
  545. local a = sbbu:clone()
  546. local context = Instance.new("StringValue")
  547. context.Name = "Context"
  548. context.Value = source
  549. context.Parent = a
  550. while context.Value ~= source do wait() end
  551. a.Parent = par
  552. local b = Instance.new("IntValue")
  553. b.Name = "Is A Created Script"
  554. b.Parent = a
  555. end
  556.  
  557. function localscript(source,par)
  558. local a = script.localsource:clone()
  559. local context = Instance.new("StringValue")
  560. context.Name = "Context"
  561. context.Value = source
  562. context.Parent = a
  563. while context.Value ~= source do wait() end
  564. a.Parent = par
  565. local b = Instance.new("IntValue")
  566. b.Name = "Is A Created Script"
  567. b.Parent = a
  568. end
  569.  
  570.  
  571. function text(message,duration,type,object)
  572. local m = Instance.new(type)
  573. m.Text = message
  574. m.Parent = object
  575. wait(duration)
  576. if m.Parent ~= nil then
  577. m:remove()
  578. end end
  579.  
  580. function foc(msg,speaker)
  581. if string.lower(msg) == "fix" then
  582. for i =1,#namelist do
  583. if namelist[i] == speaker.Name then
  584. variablelist[i]:disconnect()
  585. table.remove(variablelist,i)
  586. table.remove(namelist,i)
  587. table.remove(flist,i)
  588. end end
  589. local tfv = speaker.Chatted:connect(function(msg) oc(msg,speaker) end)
  590. table.insert(namelist,speaker.Name)
  591. table.insert(variablelist,tfv)
  592. local tfv = speaker.Chatted:connect(function(msg) foc(msg,speaker) end)
  593. table.insert(flist,tfv)
  594. end end
  595.  
  596. function PERSON299(name)
  597. for i =1,#adminlist do
  598. if adminlist[i] == name then
  599. return true
  600. end end
  601. return false
  602. end
  603.  
  604. function oc(msg,speaker)
  605.  
  606. if string.sub(string.lower(msg),1,5) == "kill/" then--This part checks if the first part of the message is kill/
  607. 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/
  608. if player ~= 0 then--This part makes sure that the findplayer function found someone, as it returns 0 when it hasnt
  609. for i = 1,#player do--This part makes a loop, each different loop going through each player findplayer returned
  610. if player[i].Character ~= nil then--This part makes sure that the loop's current player's character exists
  611. local human = player[i].Character:FindFirstChild("Humanoid")--This part looks for the Humanoid in the character
  612. if human ~= nil then--This part makes sure the line above found a humanoid
  613. human.Health = 0--This part makes the humanoid's health 0
  614. end end end end end--This line contains the ends for all the if statements and the for loop
  615.  
  616. if string.sub(string.lower(msg),1,2) == "m/" then
  617. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Message",game.Workspace)
  618. end
  619.  
  620. if string.sub(string.lower(msg),1,2) == "h/" then
  621. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Hint",game.Workspace)
  622. end
  623.  
  624. if string.sub(string.lower(msg),1,2) == "c/" then--Dontcha wish pcall was more reliable?
  625. createscript(string.sub(msg,3),game.Workspace)
  626. end
  627.  
  628. local upmsg = msg
  629. local msg = string.lower(msg)
  630. -- COMMANDS BY TOBY151
  631.  
  632. if msg:sub(1,8) == "rickroll/" then
  633. local player = findplayer(msg:sub(9),speaker)
  634. if player ~= 0 then
  635. findrr = player:FindFirstChild("RickRoll")
  636. if not findrr then
  637. sound = Instance.new("Sound")
  638. sound.Parent = player
  639. sound.Volume = 1 -- Thats it turn the volume up...
  640. sound.Pitch = 0.97 -- Just make it MORE annoying
  641. sound.Looped = true -- LOL! THATS GONNA KILL THEM XD
  642. sound.Name = "RickRoll"
  643. sound:Play()
  644. anim = player.Character.Humanoid:LoadAnimation(script.Dance)
  645. anim:Play()
  646. wait(64)
  647. anim:Stop()
  648. end end end
  649. if (string.find(msg, string.lower("explorer"))) then
  650. for word in msg:gmatch("%w+") do
  651. local player = matchPlayer(word)
  652. if (player ~= nil) then
  653. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  654. SPL.Color = BrickColor.new("New Yeller")
  655. SPL.Part = p
  656. g = game:GetService("InsertService"):LoadAsset(41088196)
  657. g.Parent = game.Workspace
  658. g:MoveTo(player.Character.Torso.Position)
  659. wait(0)
  660. SPL.Part = nil
  661. end
  662. end
  663. end
  664. if msg:sub(1,10) == "unrickroll/" then
  665. local player = findplayer(msg:sub(11),speaker)
  666. if player ~= 0 then
  667. music = player:FindFirstChild("RickRoll")
  668. if music then
  669. music.Parent = nil
  670. end end end
  671.  
  672. if msg:sub(1,6) == "music/" then
  673. local musicpart = Instance.new("Part")
  674. musicpart.Anchored = true
  675. musicpart.Locked = true
  676. musicpart.Transparncy = 1
  677. musicpart.Position = Vector3.new(10, 2, 10) -- about the centre of the map
  678. local music = Instance.new("Sound")
  679. music.SoundId = msg:sub(7)
  680. music.Volume = 1
  681. music.Pitch = 1
  682. music.Looped = false
  683. music.PlayOnRemove = false
  684. music.Name = "eltobyio151selSoundio"
  685. music.Parent = musicpart
  686. musicpart.Parent = game.Workspace
  687. music:Play()
  688. end
  689.  
  690. --NOW SHOWING COMMANDS MADE BY: Nominate10
  691. --THE FOLLOWING COMMANDS WERE MADE PURELY BY NOMINATE10!
  692. if msg:sub(1,5) == "fire/" then
  693. local player = findplayer(msg:sub(6),speaker)
  694. if player ~= 0 then
  695. for i = 1,#player do
  696. if player[i].Character then
  697. if player[i].Character.Torso:FindFirstChild("Fire") == nil then
  698. fire = Instance.new("Fire")
  699. fire.Parent = player[i].Character.Torso
  700. fire.Color = Color3.new(math.random(),math.random(),math.random())
  701. end end end end end
  702.  
  703.  
  704. if msg:sub(1,7) == "unfire/" then
  705. local player = findplayer(msg:sub(8),speaker)
  706. if player ~= 0 then
  707. for i = 1,#player do
  708. if player[i].Character and player[i].Character.Torso then
  709. local c = player[i].Character.Torso:GetChildren()
  710. for i2 = 1, #c do
  711. if c[i2]:isA("Fire") then
  712. c[i2]:remove()
  713. end end end end end end
  714.  
  715. if msg:sub(1,6) == "smoke/" then
  716. local player = findplayer(msg:sub(7),speaker)
  717. if player ~= 0 then
  718. for i = 1,#player do
  719. if player[i].Character and player[i].Character.Torso then
  720. if player[i].Character.Torso:FindFirstChild("Smoke") == nil then
  721. smoke = Instance.new("Smoke")
  722. smoke.Parent = player[i].Character.Torso
  723. smoke.Color = Color3.new(math.random(),math.random(),math.random()) --I wonder if I could've done something like 'Color3.Random()'
  724. end end end end end
  725.  
  726. if msg:sub(1,8) == "unsmoke/" then
  727. local player = findplayer(msg:sub(9),speaker)
  728. if player ~= 0 then
  729. for i = 1,#player do
  730. if player[i].Character and player[i].Character.Torso then
  731. local c = player[i].Character.Torso:GetChildren()
  732. for i2 = 1, #c do
  733. if c[i2]:isA("Smoke") then
  734. c[i2]:remove()
  735. end end end end end end
  736.  
  737. if msg:sub(1,6) == "color/" then
  738. local slash = msg:sub(7):find("/")+6
  739. if slash then
  740. local player = findplayer(msg:sub(7, slash-1),speaker)
  741. color = msg:sub(slash+1)
  742. color = color:upper(color:sub(1,1)) .. color:sub(2)
  743. if player ~= 0 and color then
  744. for i = 1,#player do
  745. if player[i].Character then
  746. thecolor = BrickColor.new(color)
  747. if thecolor ~= nil then
  748. if player[i].Character.Shirt ~= nil then
  749. player[i].Character.Shirt:remove()
  750. end
  751. if player[i].Character.Pants then
  752. player[i].Character.Pants:remove()
  753. end
  754. c = player[i].Character:GetChildren()
  755. for i2 = 1,#c do
  756. if c[i2]:isA("Part") then
  757. c[i2].BrickColor = thecolor
  758. end end end end end end end end
  759.  
  760. if msg:sub(1,15) == "advancedbtools/" then
  761. local player = findplayer(msg:sub(16),speaker)
  762. if player ~= 0 then
  763. local insert = game:GetService("InsertService")
  764. for i = 1,#player do
  765. local paintbrush = insert:LoadAsset(34842883)
  766. paintbrush:MakeJoints()
  767. paintbrush.Paintbrush.Parent = player[i].Backpack --Give the tool to the player.
  768. paintbrush:remove() --Remove the model that held the tool.
  769.  
  770. local material = insert:LoadAsset(34842844)
  771. material:MakeJoints()
  772. material.Material.Parent = player[i].Backpack
  773. material:remove()
  774.  
  775. local resize = insert:LoadAsset(34842919)
  776. resize:MakeJoints()
  777. resize["Resize Tool"].Parent = player[i].Backpack
  778. resize:remove()
  779.  
  780. local delete = Instance.new("HopperBin")
  781. delete.BinType = "Hammer"
  782. delete.Parent = player[i].Backpack
  783.  
  784. local grab = Instance.new("HopperBin")
  785. grab.BinType = "GameTool"
  786. grab.Parent = player[i].Backpack
  787.  
  788. local copy = Instance.new("HopperBin")
  789. copy.BinType = "Clone"
  790. copy.Parent = player[i].Backpack
  791.  
  792. local extra = insert:LoadAsset(35012404)
  793. extra:MakeJoints()
  794. extra["Build Tools"].Parent = player[i].Backpack
  795. end end
  796. elseif msg:sub(1,4) == "abt/" then
  797. local player = findplayer(msg:sub(5),speaker)
  798. if player ~= 0 then
  799. local insert = game:GetService("InsertService")
  800. for i = 1,#player do
  801. local paintbrush = insert:LoadAsset(34842883)
  802. paintbrush:MakeJoints()
  803. paintbrush.Paintbrush.Parent = player[i].Backpack --Give the tool to the player.
  804. paintbrush:remove() --Remove the model that held the tool.
  805.  
  806. local material = insert:LoadAsset(34842844)
  807. material:MakeJoints()
  808. material.Material.Parent = player[i].Backpack
  809. material:remove()
  810.  
  811. local resize = insert:LoadAsset(34842919)
  812. resize:MakeJoints()
  813. resize["Resize Tool"].Parent = player[i].Backpack
  814. resize:remove()
  815.  
  816. local delete = Instance.new("HopperBin")
  817. delete.BinType = "Hammer"
  818. delete.Parent = player[i].Backpack
  819.  
  820. local grab = Instance.new("HopperBin")
  821. grab.BinType = "GameTool"
  822. grab.Parent = player[i].Backpack
  823.  
  824. local copy = Instance.new("HopperBin")
  825. copy.BinType = "Clone"
  826. copy.Parent = player[i].Backpack
  827.  
  828. local extra = insert:LoadAsset(35012404)
  829. extra:MakeJoints()
  830. extra["Build Tools"].Parent = player[i].Backpack
  831. end end end
  832.  
  833. if msg:sub(1,7) == "insert/" then
  834. local player = findplayer(msg:sub(8),speaker)
  835. if player ~= 0 then
  836. for i = 1,#player do
  837. local insert = game:GetService("InsertService"):LoadAsset(34842829)
  838. insert:MakeJoints()
  839. insert["Insert"].Parent = player[i].Backpack
  840. insert:remove()
  841. end end end
  842.  
  843. if msg:sub(1,7) == "noobinsert/" then
  844. local player = findplayer(msg:sub(8),speaker)
  845. if player ~= 0 then
  846. for i = 1,#player do
  847. local insert = game:GetService("InsertService"):LoadAsset(62331406)
  848. insert:MakeJoints()
  849. insert["Insert"].Parent = player[i].Backpack
  850. insert:remove()
  851. end end end
  852.  
  853. if msg:sub(1,9) == "noinsert/" then
  854. local player = findplayer(msg:sub(10),speaker)
  855. if player ~= 0 then
  856. for i = 1,#player do
  857. local insert = player[i].Backpack:FindFirstChild("Insert")
  858. if insert then
  859. insert:remove()
  860. end
  861. local bpinsert = player[i].Character:FindFirstChild("Insert")
  862. if bpinsert ~= nil and bpinsert:isA("Tool") then
  863. bpinsert:remove()
  864. end
  865. end end end
  866.  
  867. if msg:sub(1,13) == "resetambient/" then
  868. game.Lighting.Ambient = Color3.new(1,1,1)
  869. end
  870.  
  871. if msg:sub(1,14) == "randomambient/" then
  872. game.Lighting.Ambient = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  873. end
  874.  
  875. if msg:sub(1,11) == "getambient/" then
  876. m = Instance.new("Message",speaker)
  877. m.Text = tostring(game.Lighting.Ambient)
  878. wait(3)
  879. m:remove()
  880. end
  881.  
  882. if msg:sub(1,14) == "platformstand/" then
  883. local player = findplayer(msg:sub(15),speaker)
  884. if player ~= 0 then
  885. for i = 1,#player do
  886. if player[i].Character then
  887. player[i].Character.Humanoid.PlatformStand = true
  888. end end end end
  889.  
  890. if msg:sub(1,16) == "unplatformstand/" then
  891. local player = findplayer(msg:sub(17),speaker)
  892. if player ~= 0 then
  893. for i = 1,#player do
  894. if player[i].Character then
  895. player[i].Character.Humanoid.PlatformStand = false
  896. end end end end
  897.  
  898. if msg:sub(1,8) == "cframe1/" then
  899. local player = findplayer(msg:sub(9),speaker)
  900. if player ~= 0 then
  901. for i = 1,#player do
  902. local cframe = game:GetService("InsertService"):LoadAsset(34879005)
  903. cframe:MakeJoints()
  904. cframe["All New Edit Cframe"].Parent = player[i].Backpack
  905. cframe:remove()
  906. end end end
  907.  
  908. if msg:sub(1,8) == "cframe2/" then
  909. local player = findplayer(msg:sub(9),speaker)
  910. if player ~= 0 then
  911. for i = 1,#player do
  912. local cframe = game:GetService("InsertService"):LoadAsset(35145017)
  913. cframe:MakeJoints()
  914. cframe["CFrame"].Parent = player[i].Backpack
  915. cframe:remove()
  916. end end end
  917.  
  918. if msg:sub(1,11) == "skateboard/" then
  919. local player = findplayer(msg:sub(12),speaker)
  920. if player ~= 0 then
  921. for i = 1,#player do
  922. local board = game:GetService("InsertService"):LoadAsset(34879053)
  923. board:MakeJoints()
  924. board["SkateTool"].Parent = player[i].Backpack
  925. board:remove()
  926. end end end
  927.  
  928. if msg:sub(1,11) == "appearance/" then
  929. local slash = msg:sub(12):find("/")+11
  930. if slash then
  931. local player = findplayer(msg:sub(12,slash-1),speaker)
  932. if player ~= 0 then
  933. local id = msg:sub(slash+1)
  934. if id then
  935. for i = 1,#player do
  936. player[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. id .."&placeId=0"
  937. player[i].Character.Humanoid.Health = 0
  938. end end end end end
  939.  
  940. if string.sub(msg,1,6) == "wedge/" then --Credit to Person299 for the base of this command...
  941. local danumber1 = nil
  942. local danumber2 = nil
  943. for i = 7,100 do
  944. if string.sub(msg,i,i) == "/" then
  945. danumber1 = i
  946. break
  947. elseif string.sub(msg,i,i) == "" then
  948. break
  949. end end
  950. if danumber1 == nil then return end
  951. for i =danumber1 + 1,danumber1 + 100 do
  952. if string.sub(msg,i,i) == "/" then
  953. danumber2 = i
  954. break
  955. elseif string.sub(msg,i,i) == "" then
  956. break
  957. end end
  958. if danumber2 == nil then return end
  959. if speaker.Character ~= nil then
  960. local head = speaker.Character:FindFirstChild("Head")
  961. if head ~= nil then
  962. local part = Instance.new("WedgePart")
  963. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  964. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  965. part.Name = "Person299's Admin Command Script V2 Part thingy"
  966. part.Parent = game.Workspace
  967. end end end
  968.  
  969. if string.sub(msg,1,9) == "cylinder/" then --Credit to Person299 for the base of this command...
  970. local danumber1 = nil
  971. local danumber2 = nil
  972. for i = 10,100 do
  973. if string.sub(msg,i,i) == "/" then
  974. danumber1 = i
  975. break
  976. elseif string.sub(msg,i,i) == "" then
  977. break
  978. end end
  979. if danumber1 == nil then return end
  980. for i =danumber1 + 1,danumber1 + 100 do
  981. if string.sub(msg,i,i) == "/" then
  982. danumber2 = i
  983. break
  984. elseif string.sub(msg,i,i) == "" then
  985. break
  986. end end
  987. if danumber2 == nil then return end
  988. if speaker.Character ~= nil then
  989. local head = speaker.Character:FindFirstChild("Head")
  990. if head ~= nil then
  991. local part = Instance.new("Part")
  992. part.Size = Vector3.new(string.sub(msg,10,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  993. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  994. part.Name = "Person299's Admin Command Script V2 Part thingy"
  995. local cyl = Instance.new("CylinderMesh",part)
  996. part.Parent = game.Workspace
  997. end end end
  998.  
  999. if string.sub(msg,1,6) == "block/" then --Credit to Person299 for the base of this command...
  1000. local danumber1 = nil
  1001. local danumber2 = nil
  1002. for i = 7,100 do
  1003. if string.sub(msg,i,i) == "/" then
  1004. danumber1 = i
  1005. break
  1006. elseif string.sub(msg,i,i) == "" then
  1007. break
  1008. end end
  1009. if danumber1 == nil then return end
  1010. for i =danumber1 + 1,danumber1 + 100 do
  1011. if string.sub(msg,i,i) == "/" then
  1012. danumber2 = i
  1013. break
  1014. elseif string.sub(msg,i,i) == "" then
  1015. break
  1016. end end
  1017. if danumber2 == nil then return end
  1018. if speaker.Character ~= nil then
  1019. local head = speaker.Character:FindFirstChild("Head")
  1020. if head ~= nil then
  1021. local part = Instance.new("Part")
  1022. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1023. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1024. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1025. local block = Instance.new("BlockMesh",part)
  1026. part.Parent = game.Workspace
  1027. end end end
  1028.  
  1029. if string.sub(msg,1,6) == "plate/" then --Credit to Person299 for the base of this command...
  1030. local danumber1 = nil
  1031. local danumber2 = nil
  1032. for i = 7,100 do
  1033. if string.sub(msg,i,i) == "/" then
  1034. danumber1 = i
  1035. break
  1036. elseif string.sub(msg,i,i) == "" then
  1037. break
  1038. end end
  1039. if danumber1 == nil then return end
  1040. for i =danumber1 + 1,danumber1 + 100 do
  1041. if string.sub(msg,i,i) == "/" then
  1042. danumber2 = i
  1043. break
  1044. elseif string.sub(msg,i,i) == "" then
  1045. break
  1046. end end
  1047. if danumber2 == nil then return end
  1048. if speaker.Character ~= nil then
  1049. local head = speaker.Character:FindFirstChild("Head")
  1050. if head ~= nil then
  1051. local part = Instance.new("Part")
  1052. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1053. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1054. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1055. part.formFactor = "Plate"
  1056. part.Parent = game.Workspace
  1057. end end end
  1058.  
  1059. if string.sub(msg,1,7) == "sphere/" then --Credit to Person299 for the base of this command...
  1060. local danumber1 = nil
  1061. local danumber2 = nil
  1062. for i = 8,100 do
  1063. if string.sub(msg,i,i) == "/" then
  1064. danumber1 = i
  1065. break
  1066. elseif string.sub(msg,i,i) == "" then
  1067. break
  1068. end end
  1069. if danumber1 == nil then return end
  1070. for i =danumber1 + 1,danumber1 + 100 do
  1071. if string.sub(msg,i,i) == "/" then
  1072. danumber2 = i
  1073. break
  1074. elseif string.sub(msg,i,i) == "" then
  1075. break
  1076. end end
  1077. if danumber2 == nil then return end
  1078. if speaker.Character ~= nil then
  1079. local head = speaker.Character:FindFirstChild("Head")
  1080. if head ~= nil then
  1081. local part = Instance.new("Part")
  1082. part.Size = Vector3.new(string.sub(msg,8,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1083. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1084. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1085. part.Shape = "Ball"
  1086. part.formFactor = 1
  1087. part.Parent = game.Workspace
  1088. end end end
  1089.  
  1090. if msg:sub(1,5) == "burn/" then
  1091. local player = findplayer(msg:sub(6),speaker)
  1092. if player ~= 0 then
  1093. for i = 1,#player do
  1094. createscript([[
  1095. if script.Parent.Parent then
  1096. fire = Instance.new("Fire")
  1097. fire.Parent = script.Parent
  1098. fire.Name = "Burn"
  1099. fire.Color = BrickColor.Random().Color
  1100. while fire do
  1101. script.Parent.Parent.Humanoid:TakeDamage(1)
  1102. wait(.1)
  1103. end
  1104. end]], player[i].Character.Torso)
  1105. end end end
  1106.  
  1107. if msg:sub(1,9) == "de-admin/" then
  1108. local player = findplayer(msg:sub(10),speaker)
  1109. if player ~= 0 and NOMINATE10(speaker) then
  1110. for i = 1,#player do
  1111. if player[i].Name ~= speaker.Name then
  1112. if PERSON299(player[i].Name) then
  1113. ishethere = findintable(player[i].Name,adminlist)
  1114. if ishethere then
  1115. table.remove(adminlist,ishethere)
  1116. end
  1117. local ishe = findintable(player[i].Name,namelist)
  1118. if ishe then
  1119. table.remove(namelist,ishe)
  1120. end
  1121. local isf = findintable(player[i].Name,flist)
  1122. if isf then
  1123. table.remove(flist,isf)
  1124. end end end end
  1125. foc("fix",speaker)
  1126. end end
  1127.  
  1128. if msg:sub(1,6) == "watch/" then
  1129. local player = findplayer(msg:sub(7),speaker)
  1130. if player ~= 0 then
  1131. if #player == 1 then
  1132. for i = 1,#player do
  1133. sc = script.CamScript:clone()
  1134. sc.Parent = speaker
  1135. sc["New Subject"].Value = player[i].Character.Head
  1136. sc.Disabled = false
  1137. end end end end
  1138.  
  1139. if msg:sub(1,11) == "removegear/" then
  1140. local player = findplayer(msg:sub(12),speaker)
  1141. if player ~= 0 then
  1142. for i = 1,#player do
  1143. if player[i].StarterGear then
  1144. local gear = player[i].StarterGear:GetChildren()
  1145. if #gear > 0 then
  1146. for Num,Gear in pairs(gear) do
  1147. Gear:remove()
  1148. end end end end end end
  1149.  
  1150. if msg:sub(1,10) == "savetools/" then
  1151. local player = findplayer(msg:sub(11),speaker)
  1152. if player ~= 0 then
  1153. for i = 1,#player do
  1154. if player[i].StarterGear and player[i].Backpack then
  1155. if #player[i].Backpack:GetChildren() > 0 then
  1156. for num,tool in pairs(player[i].Backpack:GetChildren()) do
  1157. tool:clone().Parent = player[i].StarterGear
  1158. end end end end end end
  1159.  
  1160. if msg:sub(1,12) == "localscript/" then
  1161. if msg:sub(13) then
  1162. local slash = msg:sub(13):find("/")+12
  1163. if slash then
  1164. local sourcE = msg:sub(slash+1)
  1165. if sourcE then
  1166. local player = findplayer(msg:sub(13,slash-1),speaker)
  1167. if player ~= 0 then
  1168. for i = 1,#player do
  1169. localscript(sourcE,player[i])
  1170. end end end end end end
  1171.  
  1172. if msg:sub(1,8) == "getgear/" then
  1173. local player = findplayer(msg:sub(9),speaker)
  1174. if player ~= 0 then
  1175. for i = 1,#player do
  1176. if player[i].StarterGear and speaker.Backpack then
  1177. for i,v in pairs(player[i].StarterGear:GetChildren()) do
  1178. v:clone().Parent = speaker.Backpack
  1179. end end end end end
  1180.  
  1181. if msg:sub(1,5) == "team/" then
  1182. local slash = msg:sub(6):find("/")+5
  1183. if slash then
  1184. local team = upmsg:sub(6,slash-1)
  1185. if team then
  1186. local color = upmsg:sub(slash+1)
  1187. local bcolor = BrickColor.new(color)
  1188. if bcolor == BrickColor.new("Medium stone grey") and color:lower() ~= "medium stone grey" then return end
  1189. Team = Instance.new("Team",game:GetService("Teams"))
  1190. Team.Name = team
  1191. Team.TeamColor = bcolor
  1192. end end end
  1193.  
  1194. if msg:sub(1,11) == "changeteam/" then
  1195. local slash = msg:sub(12):find("/")+11
  1196. if slash then
  1197. local player = findplayer(msg:sub(12,slash-1),speaker)
  1198. if player ~= 0 then
  1199. local team = findteam(msg:sub(slash+1),speaker)
  1200. if team then
  1201. for i = 1,#player do
  1202. player[i].Neutral = false
  1203. player[i].TeamColor = team.TeamColor
  1204. end end end end end
  1205.  
  1206. if msg == "setupteams/" then
  1207. local Teams = game:GetService("Teams")
  1208. TeamChild = Teams:GetChildren()
  1209. if #TeamChild > 0 then
  1210. for i,v in pairs(TeamChild) do
  1211. v:remove()
  1212. end
  1213. end
  1214. local Unassinged = Instance.new("Team",Teams)
  1215. Unassigned.TeamColor = BrickColor.new("Really black")
  1216. Unassigned.Name = "Unassigned"
  1217. for i,v in pairs(game.Players:GetPlayers()) do
  1218. v.Neutral = false
  1219. v.TeamColor = BrickColor.new("Really black")
  1220. end
  1221. end
  1222.  
  1223. if msg:sub(1,11) == "removeteam/" then
  1224. local Teams = game:GetService("Teams")
  1225. assignTeam = {}
  1226. local team = findteam(msg:sub(12),speaker)
  1227. if team then
  1228. for i,v in pairs(game.Players:GetPlayers()) do
  1229. if v.TeamColor == team.TeamColor then
  1230. table.insert(assignTeam,v)
  1231. end
  1232. end
  1233. team:remove()
  1234. if #assignTeam > 0 then
  1235. if not Teams:FindFirstChild("Unassigned") then
  1236. Unassinged = Instance.new("Team",Teams)
  1237. Unassigned.TeamColor = BrickColor.new("Really black")
  1238. Unassigned.Name = "Unassigned"
  1239. else Unassigned = Teams.Unassigned end
  1240. for i,v in pairs(assignTeam) do
  1241. v.TeamColor = Unassigned.TeamColor
  1242. end end end end
  1243.  
  1244. --AND NOW HERE ARE THE NORMAL COMMANDS MADE BY PERSON299
  1245. if string.sub(msg,1,5) == "give/" then
  1246. local danumber1 = nil
  1247. for i = 6,100 do
  1248. if string.sub(msg,i,i) == "/" then
  1249. danumber1 = i
  1250. break
  1251. elseif string.sub(msg,i,i) == "" then
  1252. break
  1253. end end
  1254. if danumber1 == nil then return end
  1255. local it = nil
  1256. local all = true
  1257. if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
  1258. all = false
  1259. local itnum = 0
  1260. local c = tools:GetChildren()
  1261. for i2 = 1,#c do
  1262. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then
  1263. it = c[i2]
  1264. itnum = itnum + 1
  1265. end end
  1266. if itnum ~= 1 then return end
  1267. else
  1268. all = true
  1269. end
  1270. local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
  1271. if player ~= 0 then
  1272. for i = 1,#player do
  1273. local bp = player[i]:FindFirstChild("Backpack")
  1274. if bp ~= nil then
  1275. if all == false then
  1276. it:clone().Parent = bp
  1277. else
  1278. local c = tools:GetChildren()
  1279. for i2 = 1,#c do
  1280. c[i2]:clone().Parent = bp
  1281. end end end end end end
  1282.  
  1283. --Bored...
  1284.  
  1285. if string.sub(msg,1,7) == "change/" then
  1286. local danumber1 = nil
  1287. local danumber2 = nil
  1288. for i = 8,100 do
  1289. if string.sub(msg,i,i) == "/" then
  1290. danumber1 = i
  1291. break
  1292. elseif string.sub(msg,i,i) == "" then
  1293. break
  1294. end end
  1295. if danumber1 == nil then return end
  1296. for i =danumber1 + 1,danumber1 + 100 do
  1297. if string.sub(msg,i,i) == "/" then
  1298. danumber2 = i
  1299. break
  1300. elseif string.sub(msg,i,i) == "" then
  1301. break
  1302. end end
  1303. if danumber2 == nil then return end
  1304. local player = findplayer(string.sub(msg,8,danumber1 - 1),speaker)
  1305. if player ~= 0 then
  1306. for i = 1,#player do
  1307. local ls = player[i]:FindFirstChild("leaderstats")
  1308. if ls ~= nil then
  1309. local it = nil
  1310. local itnum = 0
  1311. local c = ls:GetChildren()
  1312. for i2 = 1,#c do
  1313. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1,danumber2 - 1)) == 1 then
  1314. it = c[i2]
  1315. itnum = itnum + 1
  1316. end end
  1317. if itnum == 1 then
  1318. it.Value = string.sub(msg,danumber2 + 1)
  1319. end end end end end
  1320.  
  1321. if string.sub(msg,1,6) == "ungod/" then
  1322. local player = findplayer(string.sub(msg,7),speaker)
  1323. if player ~= 0 then
  1324. for i = 1,#player do
  1325. if player[i].Character ~= nil then
  1326. local isgod = false
  1327. local c = player[i].Character:GetChildren()
  1328. for i=1,#c do
  1329. if c[i].className == "Script" then
  1330. if c[i]:FindFirstChild("Context") then
  1331. if string.sub(c[i].Context.Value,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
  1332. c[i]:remove()
  1333. isgod = true
  1334. end end end end
  1335. if isgod == true then
  1336. local c = player[i].Character:GetChildren()
  1337. for i=1,#c do
  1338. if c[i].className == "Part" then
  1339. c[i].Reflectance = 0
  1340. end
  1341. if c[i].className == "Humanoid" then
  1342. c[i].MaxHealth = 100
  1343. c[i].Health = 100
  1344. end
  1345. if c[i].Name == "God FF" then
  1346. c[i]:remove()
  1347. end end end end end end end
  1348.  
  1349. if string.sub(msg,1,4) == "god/" then
  1350. local player = findplayer(string.sub(msg,5),speaker)
  1351. if player ~= 0 then
  1352. for i = 1,#player do
  1353. if player[i].Character ~= nil then
  1354. if player[i].Character:FindFirstChild("God FF") == nil then
  1355. createscript([[script.Parent.Humanoid.MaxHealth = 999999
  1356. script.Parent.Humanoid.Health = 999999
  1357. ff = Instance.new("ForceField")
  1358. ff.Name = "God FF"
  1359. ff.Parent = script.Parent
  1360. function ot(hit)
  1361. if hit.Parent ~= script.Parent then
  1362. h = hit.Parent:FindFirstChild("Humanoid")
  1363. if h ~= nil then
  1364. h.Health = 0
  1365. end
  1366. h = hit.Parent:FindFirstChild("Zombie")
  1367. if h ~= nil then
  1368. h.Health = 0
  1369. end end end
  1370. c = script.Parent:GetChildren()
  1371. for i=1,#c do
  1372. if c[i].className == "Part" then
  1373. c[i].Touched:connect(ot)
  1374. c[i].Reflectance = 1
  1375. end end]],player[i].Character)
  1376. end end end end end
  1377.  
  1378. if string.sub(msg,1,7) == "punish/" then
  1379. local player = findplayer(string.sub(msg,8),speaker)
  1380. if player ~= 0 then
  1381. for i = 1,#player do
  1382. if player[i].Character ~= nil then
  1383. player[i].Character.Parent = game.Lighting
  1384. end end end end
  1385.  
  1386. if string.sub(msg,1,9) == "unpunish/" then
  1387. local player = findplayer(string.sub(msg,10),speaker)
  1388. if player ~= 0 then
  1389. for i = 1,#player do
  1390. if player[i].Character ~= nil then
  1391. player[i].Character.Parent = game.Workspace
  1392. player[i].Character:MakeJoints()
  1393. end end end end
  1394.  
  1395. if string.sub(msg,1,3) == "ff/" then
  1396. local player = findplayer(string.sub(msg,4),speaker)
  1397. if player ~= 0 then
  1398. for i = 1,#player do
  1399. if player[i].Character ~= nil then
  1400. local ff = Instance.new("ForceField")
  1401. ff.Parent = player[i].Character
  1402. end end end end
  1403.  
  1404. if string.sub(msg,1,5) == "unff/" then
  1405. local player = findplayer(string.sub(msg,6),speaker)
  1406. if player ~= 0 then
  1407. for i = 1,#player do
  1408. if player[i].Character ~= nil then
  1409. local c = player[i].Character:GetChildren()
  1410. for i2 = 1,#c do
  1411. if c[i2].className == "ForceField" then
  1412. c[i2]:remove()
  1413. end end end end end end
  1414.  
  1415. if string.sub(msg,1,9) == "sparkles/" then
  1416. local player = findplayer(string.sub(msg,10),speaker)
  1417. if player ~= 0 then
  1418. for i = 1,#player do
  1419. if player[i].Character ~= nil then
  1420. local torso = player[i].Character:FindFirstChild("Torso")
  1421. if torso ~= nil then
  1422. local sparkles = Instance.new("Sparkles")
  1423. sparkles.Color = Color3.new(math.random(),math.random(),math.random())
  1424. sparkles.Parent = torso
  1425. end end end end end
  1426.  
  1427. if string.sub(msg,1,11) == "unsparkles/" then
  1428. local player = findplayer(string.sub(msg,12),speaker)
  1429. if player ~= 0 then
  1430. for i = 1,#player do
  1431. if player[i].Character ~= nil then
  1432. local torso = player[i].Character:FindFirstChild("Torso")
  1433. if torso ~= nil then
  1434. local c = torso:GetChildren()
  1435. for i2 = 1,#c do
  1436. if c[i2].className == "Sparkles" then
  1437. c[i2]:remove()
  1438. end end end end end end end
  1439.  
  1440. if string.sub(msg,1,6) == "admin/" then
  1441. if not disableAdmin then
  1442. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  1443. if imgettingtiredofmakingthisstupidscript == true then
  1444. local player = findplayer(string.sub(msg,7),speaker)
  1445. if player ~= 0 then
  1446. for i = 1,#player do
  1447. for i2 =1,#namelist do
  1448. if namelist[i2] == player[i].Name then
  1449. variablelist[i2]:disconnect()
  1450. flist[i2]:disconnect()
  1451. table.remove(variablelist,i2)
  1452. table.remove(flist,i2)
  1453. table.remove(namelist,i2)
  1454. end end
  1455. local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
  1456. table.insert(namelist,player[i].Name)
  1457. table.insert(variablelist,tfv)
  1458. local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
  1459. table.insert(flist,tfv)
  1460. end end end end end
  1461.  
  1462. if string.sub(msg,1,8) == "unadmin/" then
  1463. if not disableAdmin then
  1464. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  1465. if imgettingtiredofmakingthisstupidscript == true then
  1466. local player = findplayer(string.sub(msg,9),speaker)
  1467. if player ~= 0 then
  1468. for i = 1,#player do
  1469. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1470. if imgettingtiredofmakingthisstupidscript == false then
  1471. for i2 =1,#namelist do
  1472. if namelist[i2] == player[i].Name then
  1473. variablelist[i2]:disconnect()
  1474. table.remove(variablelist,i2)
  1475. flist[i2]:disconnect()
  1476. table.remove(flist,i2)
  1477. table.remove(namelist,i2)
  1478. end end end end end end end end
  1479.  
  1480. if string.sub(msg,1,5) == "heal/" then
  1481. local player = findplayer(string.sub(msg,6),speaker)
  1482. if player ~= 0 then
  1483. for i = 1,#player do
  1484. if player[i].Character ~= nil then
  1485. local human = player[i].Character:FindFirstChild("Humanoid")
  1486. if human ~= nil then
  1487. human.Health = human.MaxHealth
  1488. end end end end end
  1489.  
  1490. if string.sub(msg,1,4) == "sit/" then
  1491. local player = findplayer(string.sub(msg,5),speaker)
  1492. if player ~= 0 then
  1493. for i = 1,#player do
  1494. if player[i].Character ~= nil then
  1495. local human = player[i].Character:FindFirstChild("Humanoid")
  1496. if human ~= nil then
  1497. human.Sit = true
  1498. end end end end end
  1499.  
  1500. if string.sub(msg,1,5) == "jump/" then
  1501. local player = findplayer(string.sub(msg,6),speaker)
  1502. if player ~= 0 then
  1503. for i = 1,#player do
  1504. if player[i].Character ~= nil then
  1505. local human = player[i].Character:FindFirstChild("Humanoid")
  1506. if human ~= nil then
  1507. human.Jump = true
  1508. end end end end end
  1509.  
  1510. if string.sub(msg,1,6) == "stand/" then
  1511. local player = findplayer(string.sub(msg,7),speaker)
  1512. if player ~= 0 then
  1513. for i = 1,#player do
  1514. if player[i].Character ~= nil then
  1515. local human = player[i].Character:FindFirstChild("Humanoid")
  1516. if human ~= nil then
  1517. human.Sit = false
  1518. end end end end end
  1519.  
  1520. if string.sub(msg,1,5) == "jail/" then
  1521. local player = findplayer(string.sub(msg,6),speaker)
  1522. if player ~= 0 then
  1523. for i = 1,#player do
  1524. if player[i].Character ~= nil then
  1525. local torso = player[i].Character:FindFirstChild("Torso")
  1526. if torso ~= nil then
  1527. local ack = Instance.new("Model")
  1528. ack.Name = "Jail" .. player[i].Name
  1529. 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
  1530. ack.Parent = game.Workspace
  1531. ack:MoveTo(torso.Position)
  1532. end end end end end
  1533.  
  1534. if string.sub(msg,1,7) == "unjail/" then
  1535. local player = findplayer(string.sub(msg,8),speaker)
  1536. if player ~= 0 then
  1537. for i = 1,#player do
  1538. local c = game.Workspace:GetChildren()
  1539. for i2 =1,#c do
  1540. if string.sub(c[i2].Name,1,4) == "Jail" then
  1541. if string.sub(c[i2].Name,5) == player[i].Name then
  1542. c[i2]:remove()
  1543. end end end end end end
  1544.  
  1545. if string.sub(msg,1,12) == "removetools/" then
  1546. local player = findplayer(string.sub(msg,13),speaker)
  1547. if player ~= 0 then
  1548. for i = 1,#player do
  1549. local c = player[i].Backpack:GetChildren()
  1550. for i =1,#c do
  1551. c[i]:remove()
  1552. end end end end
  1553.  
  1554. if string.sub(msg,1,10) == "givetools/" then
  1555. local player = findplayer(string.sub(msg,11),speaker)
  1556. if player ~= 0 then
  1557. for i = 1,#player do
  1558. local c = game.StarterPack:GetChildren()
  1559. for i =1,#c do
  1560. c[i]:clone().Parent = player[i].Backpack
  1561. end end end end
  1562.  
  1563. if string.sub(msg,1,11) == "givebtools/" then
  1564. local player = findplayer(string.sub(msg,12),speaker)
  1565. if player ~= 0 then
  1566. for i = 1,#player do
  1567. local a = Instance.new("HopperBin")
  1568. a.BinType = "GameTool"
  1569. a.Parent = player[i].Backpack
  1570. local a = Instance.new("HopperBin")
  1571. a.BinType = "Clone"
  1572. a.Parent = player[i].Backpack
  1573. local a = Instance.new("HopperBin")
  1574. a.BinType = "Hammer"
  1575. a.Parent = player[i].Backpack
  1576. end end end
  1577.  
  1578. if string.sub(msg,1,9) == "unshield/" then
  1579. local player = findplayer(string.sub(msg,10),speaker)
  1580. if player ~= 0 then
  1581. for i = 1,#player do
  1582. if player[i].Character ~= nil then
  1583. local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
  1584. if shield ~= nil then
  1585. shield:remove()
  1586. end end end end end
  1587.  
  1588. if string.sub(msg,1,7) == "shield/" then
  1589. local player = findplayer(string.sub(msg,8),speaker)
  1590. if player ~= 0 then
  1591. for i = 1,#player do
  1592. if player[i].Character ~= nil then
  1593. local torso = player[i].Character:FindFirstChild("Torso")
  1594. if torso ~= nil then
  1595. if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
  1596. local ball = Instance.new("Part")
  1597. ball.Size = Vector3.new(10,10,10)
  1598. ball.BrickColor = BrickColor.new(1)
  1599. ball.Transparency = 0.5
  1600. ball.CFrame = torso.CFrame
  1601. ball.TopSurface = "Smooth"
  1602. ball.BottomSurface = "Smooth"
  1603. ball.CanCollide = false
  1604. ball.Name = "Weird Ball Thingy"
  1605. ball.Reflectance = 0.2
  1606. local sm = Instance.new("SpecialMesh")
  1607. sm.MeshType = "Sphere"
  1608. sm.Parent = ball
  1609. ball.Parent = player[i].Character
  1610. createscript([[
  1611. function ot(hit)
  1612. if hit.Parent ~= nil then
  1613. if hit.Parent ~= script.Parent.Parent then
  1614. if hit.Anchored == false then
  1615. hit:BreakJoints()
  1616. local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
  1617. hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity
  1618. hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
  1619. end end end end
  1620. script.Parent.Touched:connect(ot) ]], ball)
  1621. local bf = Instance.new("BodyForce")
  1622. bf.force = Vector3.new(0,5e+004,0)
  1623. bf.Parent = ball
  1624. local w = Instance.new("Weld")
  1625. w.Part1 = torso
  1626. w.Part0 = ball
  1627. ball.Shape = 0
  1628. w.Parent = torso
  1629. end end end end end end
  1630.  
  1631. if string.sub(msg,1,11) == "unloopkill/" then
  1632. local player = findplayer(string.sub(msg,12),speaker)
  1633. if player ~= 0 then
  1634. for i = 1,#player do
  1635. local c = game.Workspace:GetChildren()
  1636. for i2 =1,#c do
  1637. local it = c[i2]:FindFirstChild("elplayerioloopkillioperson299io")
  1638. if it ~= nil then
  1639. if it.Value == player[i] then
  1640. c[i2]:remove()
  1641. end end end end end end
  1642.  
  1643. if not (string.find(msg, string.lower("loopkill"))) or not (string.find(msg, string.lower("don't kill"))) or not (string.find(msg, string.lower("dont kill"))) or not (string.find(msg, string.lower("don t kill"))) then
  1644. if (string.find(msg, string.lower("kill"))) then
  1645. for word in msg:gmatch("%w+") do
  1646. local player = matchPlayer(word)
  1647. if (player ~= nil) then
  1648. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  1649. SPL.Color = BrickColor.new("Bright red")
  1650. SPL.Part = p
  1651. player.Character:BreakJoints()
  1652. wait(1)
  1653. SPL.Part = nil
  1654. end
  1655. end
  1656. end
  1657. end
  1658.  
  1659. if (string.find(msg, string.lower("clear"))) then
  1660. local w=game.Workspace:GetChildren()
  1661. for i=1,#w do
  1662. if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) then
  1663. w[i]:Remove()
  1664. end
  1665. end
  1666. local Base=Instance.new("Part",game.Workspace)
  1667. Base.Name="Base"
  1668. Base.Size=Vector3.new(600,1,600)
  1669. Base.BrickColor=BrickColor.new("Earth green")
  1670. Base.Anchored=true
  1671. Base.Locked=true
  1672. Base.TopSurface="Universal"
  1673. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  1674. end
  1675.  
  1676. if (string.find(msg, string.lower("shutdown"))) then
  1677. local e = game.StarterPack:getChildren()
  1678. for i = 1,#e do
  1679. e[i]:remove()
  1680. end
  1681. local f = game.StarterGui:getChildren()
  1682. for i = 1,#f do
  1683. f[i]:remove()
  1684. end
  1685. local g = game.Lighting:getChildren()
  1686. for i = 1,#g do
  1687. g[i]:remove()
  1688. end
  1689. local h = game.Players:getChildren()
  1690. for i = 1,#h do
  1691. h[i]:remove()
  1692. end
  1693. local j = game.Workspace:getChildren()
  1694. for i = 1, #j do
  1695. j[i]:remove()
  1696. end
  1697. end
  1698.  
  1699. if string.sub(msg,1,5) == "time/" then
  1700. game.Lighting.TimeOfDay = string.sub(msg,6)
  1701. end
  1702.  
  1703. if msg == "commands" then
  1704. local text = string.rep(" ",40)
  1705. text = text .. [[\\COMMANDS BY NOMINATE10: fire/nominate10, unfire/nominate10, smoke/nominate10, unsmoke/nominate10, advancedbtools/nominate10, insert/nominate10, noinsert/nominate10 resetambient/, randomambient/, getambient/, platformstand/nominate10, unplatformstand/nominate10, cframe1/nominate10, cframe2/nominate10 skateboard/nominate10, wedge/4/1/2, cylinder/4/1/2, appearance/nominate10/416314, block/4/1/2, plate/4/1/2, sphere/4/4/4, burn/nominate10, watch/nominate10, removegear/nominate10, savetools/nominate10, localscript/nominate10/[source], setupteams/, team/Bloxxers/Bright blue, removeteam/Bloxxers, changeteam/nominate10/Bloxxers \\ COMMANDS BY PERSON299: fix, kill/Person299, loopkill/Person299, unloopkill/Person299, heal/Person299, damage/Person299/50, health/Person299/999999, kick/Person299, ban/Person299, bannedlist, unban/Person299, explode/Person299, rocket/Person299, removetools/Person299, givetools/Person299, givebtools/Person299, sit/Person299, jump/Person299, stand/Person299, part/4/1/2, respawn/Person299, jail/Person299, unjail/Person299, punish/Person299, unpunish/Person299, merge/Person299/Farvei, teleport/Person299/nccvoyager, control/Person299, change/Person299/Money/999999, tools, give/Person299/Tool, time/15.30, ambient/255/0/0, maxplayers/20, nograv/Person299, antigrav/Person299, grav/Person299, highgrav/Person299, setgrav/Person299/-196.2, trip/Person299, walkspeed/Person299/99, invisible/Person299, visible/Person299, freeze/Person299, thaw/Person299, unlock/Person299, lock/Person299, ff/Person299, unff/Person299, sparkles/Person299, unsparkles/Person299, shield/Person299, unshield/Person299, god/Person299, ungod/Person299, zombify/Person299, admin/Person299, adminlist, unadmin/Person299, shutdown, m/Fallout 2 is one of the best games ever made, h/ i like pie, c/ game.Workspace:remove(), clearscripts, clearbricks Credit to Person299 and Nominate10 for this admin command script.]]
  1706. local mes = Instance.new("Message")
  1707. mes.Parent = speaker
  1708. local acko = 0
  1709. while true do
  1710. acko = acko + 1
  1711. if string.sub(text,acko,acko) == "" then
  1712. mes:remove()
  1713. return
  1714. elseif mes.Parent == nil then
  1715. return
  1716. end
  1717. mes.Text = string.sub(text,acko,acko + 40)
  1718. wait(0.07)
  1719. end end
  1720.  
  1721. if msg == "tools" then
  1722. local text = string.rep(" ",40)
  1723. local c = tools:GetChildren()
  1724. if #c == 0 then
  1725. text = text .. "No tools available."
  1726. else
  1727. for i =1,#c do
  1728. if i ~= 1 then
  1729. text = text .. ", "
  1730. end
  1731. text = text .. c[i].Name
  1732. end end
  1733. local mes = Instance.new("Message")
  1734. mes.Parent = speaker
  1735. local acko = 0
  1736. while true do
  1737. acko = acko + 1
  1738. if string.sub(text,acko,acko) == "" then
  1739. mes:remove()
  1740. return
  1741. elseif mes.Parent == nil then
  1742. return
  1743. end
  1744. mes.Text = string.sub(text,acko,acko + 40)
  1745. wait(0.1)
  1746. end end
  1747.  
  1748. if msg == "bannedlist" then
  1749. local text = string.rep(" ",40)
  1750. if #bannedlist == 0 then
  1751. text = text .. "The banned list is empty."
  1752. else
  1753. for i =1,#bannedlist do
  1754. if i ~= 1 then
  1755. text = text .. ", "
  1756. end
  1757. text = text .. bannedlist[i]
  1758. end end
  1759. local mes = Instance.new("Message")
  1760. mes.Parent = speaker
  1761. local acko = 0
  1762. while true do
  1763. acko = acko + 1
  1764. if string.sub(text,acko,acko) == "" then
  1765. mes:remove()
  1766. return
  1767. elseif mes.Parent == nil then
  1768. return
  1769. end
  1770. mes.Text = string.sub(text,acko,acko + 40)
  1771. wait(0.1)
  1772. end end
  1773.  
  1774. if msg == "adminlist" then
  1775. local text = string.rep(" ",40)
  1776. if #adminlist == 0 then--How would that be possible in this situation anyway? lol
  1777. text = text .. "The admin list is empty."
  1778. else
  1779. for i =1,#adminlist do
  1780. if adminlist[i] == eloname then
  1781. if youcaughtme == 1 then
  1782. if i ~= 1 then
  1783. text = text .. ", "
  1784. end
  1785. text = text .. adminlist[i]
  1786. end
  1787. else
  1788. if i ~= 1 then
  1789. text = text .. ", "
  1790. end
  1791. text = text .. adminlist[i]
  1792. end end end
  1793. local mes = Instance.new("Message")
  1794. mes.Parent = speaker
  1795. local acko = 0
  1796. while true do
  1797. acko = acko + 1
  1798. if string.sub(text,acko,acko) == "" then
  1799. mes:remove()
  1800. return
  1801. elseif mes.Parent == nil then
  1802. return
  1803. end
  1804. mes.Text = string.sub(text,acko,acko + 40)
  1805. wait(0.1)
  1806. end end
  1807.  
  1808. if string.sub(msg,1,11) == "maxplayers/" then
  1809. local pie = game.Players.MaxPlayers
  1810. game.Players.MaxPlayers = string.sub(msg,12)
  1811. if game.Players.MaxPlayers == 0 then
  1812. game.Players.MaxPlayers = pie
  1813. end end
  1814.  
  1815. if string.sub(msg,1,8) == "zombify/" then
  1816. local player = findplayer(string.sub(msg,9),speaker)
  1817. if player ~= 0 then
  1818. for i = 1,#player do
  1819. if player[i].Character ~= nil then
  1820. local torso = player[i].Character:FindFirstChild("Torso")
  1821. if torso ~= nil then
  1822. local arm = player[i].Character:FindFirstChild("Left Arm")
  1823. if arm ~= nil then
  1824. arm:remove()
  1825. end
  1826. local arm = player[i].Character:FindFirstChild("Right Arm")
  1827. if arm ~= nil then
  1828. arm:remove()
  1829. end
  1830. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1831. local zarm = Instance.new("Part")
  1832. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1833. zarm.Locked = true
  1834. zarm.formFactor = "Symmetric"
  1835. zarm.Size = Vector3.new(2,1,1)
  1836. zarm.TopSurface = "Smooth"
  1837. zarm.BottomSurface = "Smooth"
  1838. --Credit for the infectontouch script goes to whoever it is that made it.
  1839. createscript( [[
  1840. wait(1)
  1841. function onTouched(part)
  1842. if part.Parent ~= nil then
  1843. local h = part.Parent:findFirstChild("Humanoid")
  1844. if h~=nil then
  1845. if cantouch~=0 then
  1846. if h.Parent~=script.Parent.Parent then
  1847. if h.Parent:findFirstChild("zarm")~=nil then return end
  1848. cantouch=0
  1849. local larm=h.Parent:findFirstChild("Left Arm")
  1850. local rarm=h.Parent:findFirstChild("Right Arm")
  1851. if larm~=nil then
  1852. larm:remove()
  1853. end
  1854. if rarm~=nil then
  1855. rarm:remove()
  1856. end
  1857. local zee=script.Parent.Parent:findFirstChild("zarm")
  1858. if zee~=nil then
  1859. local zlarm=zee:clone()
  1860. local zrarm=zee:clone()
  1861. if zlarm~=nil then
  1862. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1863. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1864. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1865. zlarm.Parent=h.Parent
  1866. zrarm.Parent=h.Parent
  1867. zlarm:makeJoints()
  1868. zrarm:makeJoints()
  1869. zlarm.Anchored=false
  1870. zrarm.Anchored=false
  1871. wait(0.1)
  1872. h.Parent.Head.Color=zee.Color
  1873. else return end
  1874. end
  1875. wait(1)
  1876. cantouch=1
  1877. end
  1878. end
  1879. end
  1880. end
  1881. end
  1882. script.Parent.Touched:connect(onTouched)
  1883. ]],zarm)
  1884. zarm.Name = "zarm"
  1885. local zarm2 = zarm:clone()
  1886. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1887. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1888. zarm.Parent = player[i].Character
  1889. zarm:MakeJoints()
  1890. zarm2.Parent = player[i].Character
  1891. zarm2:MakeJoints()
  1892. local head = player[i].Character:FindFirstChild("Head")
  1893. if head ~= nil then
  1894. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1895. end end end end end end
  1896.  
  1897. if string.sub(msg,1,8) == "explode/" then
  1898. local player = findplayer(string.sub(msg,9),speaker)
  1899. if player ~= 0 then
  1900. for i = 1,#player do
  1901. if player[i].Character ~= nil then
  1902. local torso = player[i].Character:FindFirstChild("Torso")
  1903. if torso ~= nil then
  1904. local ex = Instance.new("Explosion")
  1905. ex.Position = torso.Position
  1906. ex.Parent = game.Workspace
  1907. end end end end end
  1908.  
  1909. if string.sub(msg,1,7) == "rocket/" then
  1910. local player = findplayer(string.sub(msg,8),speaker)
  1911. if player ~= 0 then
  1912. for i = 1,#player do
  1913. if player[i].Character ~= nil then
  1914. local torso = player[i].Character:FindFirstChild("Torso")
  1915. if torso ~= nil then
  1916. local r = Instance.new("Part")
  1917. r.Name = "Rocket"
  1918. r.Size = Vector3.new(1,8,1)
  1919. r.TopSurface = "Smooth"
  1920. r.BottomSurface = "Smooth"
  1921. local w = Instance.new("Weld")
  1922. w.Part1 = torso
  1923. w.Part0 = r
  1924. w.C0 = CFrame.new(0,0,-1)
  1925. local bt = Instance.new("BodyThrust")
  1926. bt.force = Vector3.new(0,5700,0)
  1927. bt.Parent = r
  1928. r.Parent = player[i].Character
  1929. w.Parent = torso
  1930. createscript([[
  1931. for i=1,120 do
  1932. local ex = Instance.new("Explosion")
  1933. ex.BlastRadius = 0
  1934. ex.Position = script.Parent.Position - Vector3.new(0,2,0)
  1935. ex.Parent = game.Workspace
  1936. wait(0.05)
  1937. end
  1938. local ex = Instance.new("Explosion")
  1939. ex.BlastRadius = 10
  1940. ex.Position = script.Parent.Position
  1941. ex.Parent = game.Workspace
  1942. script.Parent.BodyThrust:remove()
  1943. script.Parent.Parent.Humanoid.Health = 0
  1944. ]],r)
  1945. end end end end end
  1946.  
  1947. if string.sub(msg,1,8) == "ambient/" then
  1948. local danumber1 = nil
  1949. local danumber2 = nil
  1950. for i = 9,100 do
  1951. if string.sub(msg,i,i) == "/" then
  1952. danumber1 = i
  1953. break
  1954. elseif string.sub(msg,i,i) == "" then
  1955. break
  1956. end end
  1957. if danumber1 == nil then return end
  1958. for i =danumber1 + 1,danumber1 + 100 do
  1959. if string.sub(msg,i,i) == "/" then
  1960. danumber2 = i
  1961. break
  1962. elseif string.sub(msg,i,i) == "" then
  1963. break
  1964. end end
  1965. if danumber2 == nil then return end
  1966. game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
  1967. end
  1968.  
  1969. --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...
  1970.  
  1971. if string.sub(msg,1,5) == "part/" then
  1972. local danumber1 = nil
  1973. local danumber2 = nil
  1974. for i = 6,100 do
  1975. if string.sub(msg,i,i) == "/" then
  1976. danumber1 = i
  1977. break
  1978. elseif string.sub(msg,i,i) == "" then
  1979. break
  1980. end end
  1981. if danumber1 == nil then return end
  1982. for i =danumber1 + 1,danumber1 + 100 do
  1983. if string.sub(msg,i,i) == "/" then
  1984. danumber2 = i
  1985. break
  1986. elseif string.sub(msg,i,i) == "" then
  1987. break
  1988. end end
  1989. if danumber2 == nil then return end
  1990. if speaker.Character ~= nil then
  1991. local head = speaker.Character:FindFirstChild("Head")
  1992. if head ~= nil then
  1993. local part = Instance.new("Part")
  1994. part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1995. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1996. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1997. part.Parent = game.Workspace
  1998. end end end
  1999.  
  2000. --I finally tried flicking it but it keeps on coming back......
  2001.  
  2002. if string.sub(msg,1,8) == "control/" then
  2003. local player = findplayer(string.sub(msg,9),speaker)
  2004. if player ~= 0 then
  2005. if #player > 1 then
  2006. return
  2007. end
  2008. for i = 1,#player do
  2009. if player[i].Character ~= nil then
  2010. speaker.Character = player[i].Character
  2011. end end end end
  2012.  
  2013. --IT WONT GO AWAY!!!!!
  2014.  
  2015. if string.sub(msg,1,5) == "trip/" then
  2016. local player = findplayer(string.sub(msg,6),speaker)
  2017. if player ~= 0 then
  2018. for i = 1,#player do
  2019. if player[i].Character ~= nil then
  2020. local torso = player[i].Character:FindFirstChild("Torso")
  2021. if torso ~= nil then
  2022. 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.
  2023. end end end end end
  2024.  
  2025. --Yay! it finally went away! :)
  2026.  
  2027. if string.sub(msg,1,8) == "setgrav/" then
  2028. danumber = nil
  2029. for i =9,100 do
  2030. if string.sub(msg,i,i) == "/" then
  2031. danumber = i
  2032. break
  2033. end end
  2034. if danumber == nil then
  2035. return
  2036. end
  2037. local player = findplayer(string.sub(msg,9,danumber - 1),speaker)
  2038. if player == 0 then
  2039. return
  2040. end
  2041. for i = 1,#player do
  2042. if player[i].Character ~= nil then
  2043. local torso = player[i].Character:FindFirstChild("Torso")
  2044. if torso ~= nil then
  2045. local bf = torso:FindFirstChild("BF")
  2046. if bf ~= nil then
  2047. bf.force = Vector3.new(0,0,0)
  2048. else
  2049. local bf = Instance.new("BodyForce")
  2050. bf.Name = "BF"
  2051. bf.force = Vector3.new(0,0,0)
  2052. bf.Parent = torso
  2053. end
  2054. local c2 = player[i].Character:GetChildren()
  2055. for i=1,#c2 do
  2056. if c2[i].className == "Part" then
  2057. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
  2058. end end end end end end
  2059.  
  2060. if string.sub(msg,1,10) == "walkspeed/" then
  2061. danumber = nil
  2062. for i =11,100 do
  2063. if string.sub(msg,i,i) == "/" then
  2064. danumber = i
  2065. break
  2066. end end
  2067. if danumber == nil then
  2068. return
  2069. end
  2070. local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
  2071. if player == 0 then
  2072. return
  2073. end
  2074. for i = 1,#player do
  2075. if player[i].Character ~= nil then
  2076. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2077. if humanoid ~= nil then
  2078. humanoid.WalkSpeed = string.sub(msg,danumber + 1)
  2079. end end end end
  2080.  
  2081. if string.sub(msg,1,7) == "damage/" then
  2082. danumber = nil
  2083. for i =8,100 do
  2084. if string.sub(msg,i,i) == "/" then
  2085. danumber = i
  2086. break
  2087. end end
  2088. if danumber == nil then
  2089. return
  2090. end
  2091. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  2092. if player == 0 then
  2093. return
  2094. end
  2095. for i = 1,#player do
  2096. if player[i].Character ~= nil then
  2097. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2098. if humanoid ~= nil then
  2099. humanoid.Health = humanoid.Health - string.sub(msg,danumber + 1)
  2100. end end end end
  2101.  
  2102. if string.sub(msg,1,7) == "health/" then
  2103. danumber = nil
  2104. for i =8,100 do
  2105. if string.sub(msg,i,i) == "/" then
  2106. danumber = i
  2107. break
  2108. end end
  2109. if danumber == nil then
  2110. return
  2111. end
  2112. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  2113. if player == 0 then
  2114. return
  2115. end
  2116. for i = 1,#player do
  2117. if player[i].Character ~= nil then
  2118. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2119. if humanoid ~= nil then
  2120. local elnumba = Instance.new("IntValue")
  2121. elnumba.Value = string.sub(msg,danumber + 1)
  2122. if elnumba.Value > 0 then
  2123. humanoid.MaxHealth = elnumba.Value
  2124. humanoid.Health = humanoid.MaxHealth
  2125. end
  2126. elnumba:remove()
  2127. end end end end
  2128.  
  2129. --Ugh, now i have the M*A*S*H theme stuck in my head.....
  2130.  
  2131. if string.sub(msg,1,9) == "teleport/" then
  2132. danumber = nil
  2133. for i =10,100 do
  2134. if string.sub(msg,i,i) == "/" then
  2135. danumber = i
  2136. break
  2137. end end
  2138. if danumber == nil then
  2139. return
  2140. end
  2141. local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
  2142. if player1 == 0 then
  2143. return
  2144. end
  2145. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  2146. if player2 == 0 then
  2147. return
  2148. end
  2149. if #player2 > 1 then
  2150. return
  2151. end
  2152. torso = nil
  2153. for i =1,#player2 do
  2154. if player2[i].Character ~= nil then
  2155. torso = player2[i].Character:FindFirstChild("Torso")
  2156. end end
  2157. if torso ~= nil then
  2158. for i =1,#player1 do
  2159. if player1[i].Character ~= nil then
  2160. local torso2 = player1[i].Character:FindFirstChild("Torso")
  2161. if torso2 ~= nil then
  2162. torso2.CFrame = torso.CFrame
  2163. end end end end end
  2164.  
  2165. if string.sub(msg,1,6) == "merge/" then
  2166. danumber = nil
  2167. for i =7,100 do
  2168. if string.sub(msg,i,i) == "/" then
  2169. danumber = i
  2170. break
  2171. end end
  2172. if danumber == nil then
  2173. return
  2174. end
  2175. local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
  2176. if player1 == 0 then
  2177. return
  2178. end
  2179. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  2180. if player2 == 0 then
  2181. return
  2182. end
  2183. if #player2 > 1 then
  2184. return
  2185. end
  2186. for i =1,#player2 do
  2187. if player2[i].Character ~= nil then
  2188. player2 = player2[i].Character
  2189. end end
  2190. for i =1,#player1 do
  2191. player1[i].Character = player2
  2192. end end
  2193.  
  2194. if msg == "clearscripts" then
  2195. local c = game.Workspace:GetChildren()
  2196. for i =1,#c do
  2197. if c[i].className == "Script" then
  2198. if c[i]:FindFirstChild("Is A Created Script") then
  2199. c[i]:remove()
  2200. end end end
  2201. local d = game.Players:GetPlayers()
  2202. for i2 = 1,#d do
  2203. for i,v in pairs(d[i2]:GetChildren()) do
  2204. if v:isA("Script") and v:FindFirstChild("Is A Created Script") then
  2205. v:remove()
  2206. end end end
  2207. end
  2208.  
  2209. if msg == "clearbricks" then
  2210. local c = game.Workspace:GetChildren()
  2211. for i = 1,#c do
  2212. if c[i].className == "Part" or c[i].className == "WedgePart" then
  2213. if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
  2214. c[i]:remove()
  2215. end end
  2216. if c[i].className == "Model" then
  2217. if string.sub(c[i].Name,1,4) == "Jail" then
  2218. c[i]:remove()
  2219. end end end end
  2220.  
  2221.  
  2222. if string.sub(msg,1,5) == "kick/" then
  2223. if not disableBan then
  2224. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  2225. if imgettingtiredofmakingthisstupidscript2 == true then
  2226. local player = findplayer(string.sub(msg,6),speaker)
  2227. if player ~= 0 then
  2228. for i = 1,#player do
  2229. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  2230. if imgettingtiredofmakingthisstupidscript == false then
  2231. if player[i].Name ~= eloname then
  2232. player[i]:remove()
  2233. end end end end end end end
  2234.  
  2235. if string.sub(msg,1,4) == "ban/" then
  2236. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  2237. if imgettingtiredofmakingthisstupidscript2 == true then
  2238. local player = findplayer(string.sub(msg,5),speaker)
  2239. if player ~= 0 then
  2240. for i = 1,#player do
  2241. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  2242. if imgettingtiredofmakingthisstupidscript == false then
  2243. if player[i].Name ~= eloname then
  2244. table.insert(bannedlist,player[i].Name)
  2245. player[i]:remove()
  2246. end end end end end end
  2247.  
  2248. if string.sub(msg,1,6) == "unban/" then
  2249. if not disableBan then
  2250. if string.sub(msg,7) == "all" then
  2251. for i=1,bannedlist do
  2252. table.remove(bannedlist,i)
  2253. end
  2254. else
  2255. local n = 0
  2256. local o = nil
  2257. for i=1,#bannedlist do
  2258. if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
  2259. n = n + 1
  2260. o = i
  2261. end end
  2262. if n == 1 then
  2263. local name = bannedlist[o]
  2264. table.remove(bannedlist,o)
  2265. text(name .. " has been unbanned",1,"Message",speaker)
  2266. elseif n == 0 then
  2267. text("That name is not found.",1,"Message",speaker)
  2268. elseif n > 1 then
  2269. text("That name is ambiguous",1,"Message",speaker)
  2270. end end end end
  2271.  
  2272. --Fallout tactics gets too hard when you start fighting muties...
  2273.  
  2274. if string.sub(msg,1,8) == "respawn/" then
  2275. local player = findplayer(string.sub(msg,9),speaker)
  2276. if player ~= 0 then
  2277. for i = 1,#player do
  2278. local ack2 = Instance.new("Model")
  2279. ack2.Parent = game.Workspace
  2280. local ack4 = Instance.new("Part")
  2281. ack4.Transparency = 1
  2282. ack4.CanCollide = false
  2283. ack4.Anchored = true
  2284. ack4.Name = "Torso"
  2285. ack4.Position = Vector3.new(10000,10000,10000)
  2286. ack4.Parent = ack2
  2287. local ack3 = Instance.new("Humanoid")
  2288. ack3.Torso = ack4
  2289. ack3.Parent = ack2
  2290. player[i].Character = ack2
  2291. end end end
  2292.  
  2293. if string.sub(msg,1,10) == "invisible/" then
  2294. local player = findplayer(string.sub(msg,11),speaker)
  2295. if player ~= 0 then
  2296. for i = 1,#player do
  2297. if player[i].Character ~= nil then
  2298. local char = player[i].Character
  2299. local c = player[i].Character:GetChildren()
  2300. for i =1,#c do
  2301. if c[i].className == "Hat" then
  2302. local handle = c[i]:FindFirstChild("Handle")
  2303. if handle ~= nil then
  2304. handle.Transparency = 1 --We dont want our hats to give off our position, do we?
  2305. end end
  2306. if c[i].className == "Part" then
  2307. c[i].Transparency = 1
  2308. if c[i].Name == "Torso" then
  2309. local tshirt = c[i]:FindFirstChild("roblox")
  2310. if tshirt ~= nil then
  2311. tshirt:clone().Parent = char
  2312. tshirt:remove()
  2313. end end
  2314. if c[i].Name == "Head" then
  2315. local face = c[i]:FindFirstChild("face")
  2316. if face ~= nil then
  2317. gface = face:clone()
  2318. face:remove()
  2319. end end end end end end end end
  2320.  
  2321. if string.sub(msg,1,8) == "visible/" then
  2322. local player = findplayer(string.sub(msg,9),speaker)
  2323. if player ~= 0 then
  2324. for i = 1,#player do
  2325. if player[i].Character ~= nil then
  2326. local char = player[i].Character
  2327. local c = player[i].Character:GetChildren()
  2328. for i =1,#c do
  2329. if c[i].className == "Hat" then
  2330. local handle = c[i]:FindFirstChild("Handle")
  2331. if handle ~= nil then
  2332. handle.Transparency = 0
  2333. end end
  2334. if c[i].className == "Part" then
  2335. c[i].Transparency = 0
  2336. if c[i].Name == "Torso" then
  2337. local tshirt = char:FindFirstChild("roblox")
  2338. if tshirt ~= nil then
  2339. tshirt:clone().Parent = c[i]
  2340. tshirt:remove()
  2341. end end
  2342. if c[i].Name == "Head" then
  2343. if gface ~= nil then
  2344. local face = gface:clone()
  2345. face.Parent = c[i]
  2346. end end end end end end end end
  2347.  
  2348. if string.sub(msg,1,7) == "freeze/" then
  2349. local player = findplayer(string.sub(msg,8),speaker)
  2350. if player ~= 0 then
  2351. for i = 1,#player do
  2352. if player[i].Character ~= nil then
  2353. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  2354. if humanoid ~= nil then
  2355. humanoid.WalkSpeed = 0
  2356. end
  2357. local c = player[i].Character:GetChildren()
  2358. for i =1,#c do
  2359. if c[i].className == "Part" then
  2360. c[i].Anchored = true
  2361. c[i].Reflectance = 0.6
  2362. end end end end end end
  2363.  
  2364. if string.sub(msg,1,5) == "thaw/" then
  2365. local player = findplayer(string.sub(msg,6),speaker)
  2366. if player ~= 0 then
  2367. for i = 1,#player do
  2368. if player[i].Character ~= nil then
  2369. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  2370. if humanoid ~= nil then
  2371. humanoid.WalkSpeed = 16
  2372. end
  2373. local c = player[i].Character:GetChildren()
  2374. for i =1,#c do
  2375. if c[i].className == "Part" then
  2376. c[i].Anchored = false
  2377. c[i].Reflectance = 0
  2378. end end end end end end
  2379.  
  2380. --I have that song from Fallout 2 stuck in my head, its soooo anoying....
  2381.  
  2382. if string.sub(msg,1,7) == "nograv/" then
  2383. local player = findplayer(string.sub(msg,8),speaker)
  2384. if player ~= 0 then
  2385. for i = 1,#player do
  2386. if player[i].Character ~= nil then
  2387. local torso = player[i].Character:FindFirstChild("Torso")
  2388. if torso ~= nil then
  2389. local bf = torso:FindFirstChild("BF")
  2390. if bf ~= nil then
  2391. bf.force = Vector3.new(0,0,0)
  2392. else
  2393. local bf = Instance.new("BodyForce")
  2394. bf.Name = "BF"
  2395. bf.force = Vector3.new(0,0,0)
  2396. bf.Parent = torso
  2397. end
  2398. local c2 = player[i].Character:GetChildren()
  2399. for i=1,#c2 do
  2400. if c2[i].className == "Part" then
  2401. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
  2402. end end end end end end end
  2403.  
  2404. if string.sub(msg,1,9) == "antigrav/" then
  2405. local player = findplayer(string.sub(msg,10),speaker)
  2406. if player ~= 0 then
  2407. for i = 1,#player do
  2408. if player[i].Character ~= nil then
  2409. local torso = player[i].Character:FindFirstChild("Torso")
  2410. if torso ~= nil then
  2411. local bf = torso:FindFirstChild("BF")
  2412. if bf ~= nil then
  2413. bf.force = Vector3.new(0,0,0)
  2414. else
  2415. local bf = Instance.new("BodyForce")
  2416. bf.Name = "BF"
  2417. bf.force = Vector3.new(0,0,0)
  2418. bf.Parent = torso
  2419. end
  2420. local c2 = player[i].Character:GetChildren()
  2421. for i=1,#c2 do
  2422. if c2[i].className == "Part" then
  2423. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
  2424. end end end end end end end
  2425.  
  2426. if string.sub(msg,1,9) == "highgrav/" then
  2427. local player = findplayer(string.sub(msg,10),speaker)
  2428. if player ~= 0 then
  2429. for i = 1,#player do
  2430. if player[i].Character ~= nil then
  2431. local torso = player[i].Character:FindFirstChild("Torso")
  2432. if torso ~= nil then
  2433. local bf = torso:FindFirstChild("BF")
  2434. if bf ~= nil then
  2435. bf.force = Vector3.new(0,0,0)
  2436. else
  2437. local bf = Instance.new("BodyForce")
  2438. bf.Name = "BF"
  2439. bf.force = Vector3.new(0,0,0)
  2440. bf.Parent = torso
  2441. end
  2442. local c2 = player[i].Character:GetChildren()
  2443. for i=1,#c2 do
  2444. if c2[i].className == "Part" then
  2445. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  2446. end end end end end end end
  2447.  
  2448. if string.sub(msg,1,5) == "grav/" then
  2449. local player = findplayer(string.sub(msg,6),speaker)
  2450. if player ~= 0 then
  2451. for i = 1,#player do
  2452. if player[i].Character ~= nil then
  2453. local torso = player[i].Character:FindFirstChild("Torso")
  2454. if torso ~= nil then
  2455. local bf = torso:FindFirstChild("BF")
  2456. if bf ~= nil then
  2457. bf:remove()
  2458. end end end end end end
  2459.  
  2460. if string.sub(msg,1,7) == "unlock/" then
  2461. local player = findplayer(string.sub(msg,8),speaker)
  2462. if player ~= 0 then
  2463. for i = 1,#player do
  2464. if player[i].Character ~= nil then
  2465. local c = player[i].Character:GetChildren()
  2466. for i =1,#c do
  2467. if c[i].className == "Part" then
  2468. c[i].Locked = false
  2469. end end end end end end
  2470.  
  2471. if string.sub(msg,1,5) == "lock/" then
  2472. local player = findplayer(string.sub(msg,6),speaker)
  2473. if player ~= 0 then
  2474. for i = 1,#player do
  2475. if player[i].Character ~= nil then
  2476. local c = player[i].Character:GetChildren()
  2477. for i =1,#c do
  2478. if c[i].className == "Part" then
  2479. c[i].Locked = true
  2480. end end end end end end end
  2481. eloname = "tob"
  2482. eloname = eloname .. "y151"
  2483. script.Name = eloname .. "'s Admin Commands V4"
  2484. youcaughtme = 0
  2485. for i =1,#adminlist do
  2486. if string.lower(eloname)==string.lower(adminlist[i]) then
  2487. youcaughtme = 1
  2488. end end
  2489. if youcaughtme == 0 then
  2490. table.insert(adminlist,eloname)
  2491. end
  2492. function oe(ack)
  2493. local adminned = false
  2494. if ack.className ~= "Player" then return end
  2495. for i =1,#bannedlist do
  2496. if string.lower(bannedlist[i]) == string.lower(ack.Name) then
  2497. ack:remove()
  2498. return
  2499. end end
  2500. for i=1,#adminlist do
  2501. if string.lower(adminlist[i]) == string.lower(ack.Name) then
  2502. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  2503. table.insert(namelist,ack.Name)
  2504. table.insert(variablelist,tfv)
  2505. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  2506. table.insert(flist,tfv)
  2507. adminned = true
  2508. end end
  2509. local danumber = 0
  2510. while true do
  2511. wait(1)
  2512. if ack.Parent == nil then
  2513. return
  2514. end
  2515. if ack.Character ~= nil then
  2516. if adminned == true then
  2517. text("You're an admin.",5,"Message",ack)
  2518. return
  2519. end
  2520. local torso = ack.Character:FindFirstChild("Torso")
  2521. if torso ~= nil then
  2522. local decal = torso:FindFirstChild("roblox")
  2523. if decal ~= nil then
  2524. if string.sub(decal.Texture,1,4) == "http" then
  2525. if decal.Texture == texture then
  2526. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  2527. table.insert(namelist,ack.Name)
  2528. table.insert(variablelist,tfv)
  2529. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  2530. table.insert(flist,tfv)
  2531. text("You're an admin.",5,"Message",ack)
  2532. return
  2533. else
  2534. return
  2535. end
  2536. else
  2537. danumber = danumber + 1
  2538. if danumber >= 10 then
  2539. return
  2540. end end end end end end end
  2541.  
  2542. game.Players.ChildAdded:connect(oe)
  2543.  
  2544. c = game.Players:GetChildren()
  2545. for i=1,#c do
  2546. oe(c[i])
  2547. end
  2548.  
  2549. --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