Advertisement
tuleyb

Untitled

Oct 7th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.30 KB | None | 0 0
  1. --Version 2 1.02 I fixed some problems caused by the updates.
  2. adminlist = {"rodytenhoopen"}--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 = "tuleyb2" --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.  
  650. if msg:sub(1,10) == "unrickroll/" then
  651. local player = findplayer(msg:sub(11),speaker)
  652. if player ~= 0 then
  653. music = player:FindFirstChild("RickRoll")
  654. if music then
  655. music.Parent = nil
  656. end end end
  657.  
  658. if msg:sub(1,6) == "music/" then
  659. local musicpart = Instance.new("Part")
  660. musicpart.Anchored = true
  661. musicpart.Locked = true
  662. musicpart.Transparncy = 1
  663. musicpart.Position = Vector3.new(10, 2, 10) -- about the centre of the map
  664. local music = Instance.new("Sound")
  665. music.SoundId = msg:sub(7)
  666. music.Volume = 1
  667. music.Pitch = 1
  668. music.Looped = false
  669. music.PlayOnRemove = false
  670. music.Name = "eltobyio151selSoundio"
  671. music.Parent = musicpart
  672. musicpart.Parent = game.Workspace
  673. music:Play()
  674. end
  675.  
  676. --NOW SHOWING COMMANDS MADE BY: Nominate10
  677. --THE FOLLOWING COMMANDS WERE MADE PURELY BY NOMINATE10!
  678. if msg:sub(1,5) == "fire/" then
  679. local player = findplayer(msg:sub(6),speaker)
  680. if player ~= 0 then
  681. for i = 1,#player do
  682. if player[i].Character then
  683. if player[i].Character.Torso:FindFirstChild("Fire") == nil then
  684. fire = Instance.new("Fire")
  685. fire.Parent = player[i].Character.Torso
  686. fire.Color = Color3.new(math.random(),math.random(),math.random())
  687. end end end end end
  688.  
  689.  
  690. if msg:sub(1,7) == "unfire/" then
  691. local player = findplayer(msg:sub(8),speaker)
  692. if player ~= 0 then
  693. for i = 1,#player do
  694. if player[i].Character and player[i].Character.Torso then
  695. local c = player[i].Character.Torso:GetChildren()
  696. for i2 = 1, #c do
  697. if c[i2]:isA("Fire") then
  698. c[i2]:remove()
  699. end end end end end end
  700.  
  701. if msg:sub(1,6) == "smoke/" then
  702. local player = findplayer(msg:sub(7),speaker)
  703. if player ~= 0 then
  704. for i = 1,#player do
  705. if player[i].Character and player[i].Character.Torso then
  706. if player[i].Character.Torso:FindFirstChild("Smoke") == nil then
  707. smoke = Instance.new("Smoke")
  708. smoke.Parent = player[i].Character.Torso
  709. smoke.Color = Color3.new(math.random(),math.random(),math.random()) --I wonder if I could've done something like 'Color3.Random()'
  710. end end end end end
  711.  
  712. if msg:sub(1,8) == "unsmoke/" then
  713. local player = findplayer(msg:sub(9),speaker)
  714. if player ~= 0 then
  715. for i = 1,#player do
  716. if player[i].Character and player[i].Character.Torso then
  717. local c = player[i].Character.Torso:GetChildren()
  718. for i2 = 1, #c do
  719. if c[i2]:isA("Smoke") then
  720. c[i2]:remove()
  721. end end end end end end
  722.  
  723. if msg:sub(1,6) == "color/" then
  724. local slash = msg:sub(7):find("/")+6
  725. if slash then
  726. local player = findplayer(msg:sub(7, slash-1),speaker)
  727. color = msg:sub(slash+1)
  728. color = color:upper(color:sub(1,1)) .. color:sub(2)
  729. if player ~= 0 and color then
  730. for i = 1,#player do
  731. if player[i].Character then
  732. thecolor = BrickColor.new(color)
  733. if thecolor ~= nil then
  734. if player[i].Character.Shirt ~= nil then
  735. player[i].Character.Shirt:remove()
  736. end
  737. if player[i].Character.Pants then
  738. player[i].Character.Pants:remove()
  739. end
  740. c = player[i].Character:GetChildren()
  741. for i2 = 1,#c do
  742. if c[i2]:isA("Part") then
  743. c[i2].BrickColor = thecolor
  744. end end end end end end end end
  745.  
  746. if msg:sub(1,15) == "advancedbtools/" then
  747. local player = findplayer(msg:sub(16),speaker)
  748. if player ~= 0 then
  749. local insert = game:GetService("InsertService")
  750. for i = 1,#player do
  751. local paintbrush = insert:LoadAsset(34842883)
  752. paintbrush:MakeJoints()
  753. paintbrush.Paintbrush.Parent = player[i].Backpack --Give the tool to the player.
  754. paintbrush:remove() --Remove the model that held the tool.
  755.  
  756. local material = insert:LoadAsset(34842844)
  757. material:MakeJoints()
  758. material.Material.Parent = player[i].Backpack
  759. material:remove()
  760.  
  761. local resize = insert:LoadAsset(34842919)
  762. resize:MakeJoints()
  763. resize["Resize Tool"].Parent = player[i].Backpack
  764. resize:remove()
  765.  
  766. local delete = Instance.new("HopperBin")
  767. delete.BinType = "Hammer"
  768. delete.Parent = player[i].Backpack
  769.  
  770. local grab = Instance.new("HopperBin")
  771. grab.BinType = "GameTool"
  772. grab.Parent = player[i].Backpack
  773.  
  774. local copy = Instance.new("HopperBin")
  775. copy.BinType = "Clone"
  776. copy.Parent = player[i].Backpack
  777.  
  778. local extra = insert:LoadAsset(35012404)
  779. extra:MakeJoints()
  780. extra["Build Tools"].Parent = player[i].Backpack
  781. end end
  782. elseif msg:sub(1,4) == "abt/" then
  783. local player = findplayer(msg:sub(5),speaker)
  784. if player ~= 0 then
  785. local insert = game:GetService("InsertService")
  786. for i = 1,#player do
  787. local paintbrush = insert:LoadAsset(34842883)
  788. paintbrush:MakeJoints()
  789. paintbrush.Paintbrush.Parent = player[i].Backpack --Give the tool to the player.
  790. paintbrush:remove() --Remove the model that held the tool.
  791.  
  792. local material = insert:LoadAsset(34842844)
  793. material:MakeJoints()
  794. material.Material.Parent = player[i].Backpack
  795. material:remove()
  796.  
  797. local resize = insert:LoadAsset(34842919)
  798. resize:MakeJoints()
  799. resize["Resize Tool"].Parent = player[i].Backpack
  800. resize:remove()
  801.  
  802. local delete = Instance.new("HopperBin")
  803. delete.BinType = "Hammer"
  804. delete.Parent = player[i].Backpack
  805.  
  806. local grab = Instance.new("HopperBin")
  807. grab.BinType = "GameTool"
  808. grab.Parent = player[i].Backpack
  809.  
  810. local copy = Instance.new("HopperBin")
  811. copy.BinType = "Clone"
  812. copy.Parent = player[i].Backpack
  813.  
  814. local extra = insert:LoadAsset(35012404)
  815. extra:MakeJoints()
  816. extra["Build Tools"].Parent = player[i].Backpack
  817. end end end
  818.  
  819. if msg:sub(1,7) == "insert/" then
  820. local player = findplayer(msg:sub(8),speaker)
  821. if player ~= 0 then
  822. for i = 1,#player do
  823. local insert = game:GetService("InsertService"):LoadAsset(34842829)
  824. insert:MakeJoints()
  825. insert["Insert"].Parent = player[i].Backpack
  826. insert:remove()
  827. end end end
  828.  
  829. if msg:sub(1,9) == "noinsert/" then
  830. local player = findplayer(msg:sub(10),speaker)
  831. if player ~= 0 then
  832. for i = 1,#player do
  833. local insert = player[i].Backpack:FindFirstChild("Insert")
  834. if insert then
  835. insert:remove()
  836. end
  837. local bpinsert = player[i].Character:FindFirstChild("Insert")
  838. if bpinsert ~= nil and bpinsert:isA("Tool") then
  839. bpinsert:remove()
  840. end
  841. end end end
  842.  
  843. if msg:sub(1,13) == "resetambient/" then
  844. game.Lighting.Ambient = Color3.new(1,1,1)
  845. end
  846.  
  847. if msg:sub(1,14) == "randomambient/" then
  848. game.Lighting.Ambient = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  849. end
  850.  
  851. if msg:sub(1,11) == "getambient/" then
  852. m = Instance.new("Message",speaker)
  853. m.Text = tostring(game.Lighting.Ambient)
  854. wait(3)
  855. m:remove()
  856. end
  857.  
  858. if msg:sub(1,14) == "platformstand/" then
  859. local player = findplayer(msg:sub(15),speaker)
  860. if player ~= 0 then
  861. for i = 1,#player do
  862. if player[i].Character then
  863. player[i].Character.Humanoid.PlatformStand = true
  864. end end end end
  865.  
  866. if msg:sub(1,16) == "unplatformstand/" then
  867. local player = findplayer(msg:sub(17),speaker)
  868. if player ~= 0 then
  869. for i = 1,#player do
  870. if player[i].Character then
  871. player[i].Character.Humanoid.PlatformStand = false
  872. end end end end
  873.  
  874. if msg:sub(1,8) == "cframe1/" then
  875. local player = findplayer(msg:sub(9),speaker)
  876. if player ~= 0 then
  877. for i = 1,#player do
  878. local cframe = game:GetService("InsertService"):LoadAsset(34879005)
  879. cframe:MakeJoints()
  880. cframe["All New Edit Cframe"].Parent = player[i].Backpack
  881. cframe:remove()
  882. end end end
  883.  
  884. if msg:sub(1,8) == "cframe2/" then
  885. local player = findplayer(msg:sub(9),speaker)
  886. if player ~= 0 then
  887. for i = 1,#player do
  888. local cframe = game:GetService("InsertService"):LoadAsset(35145017)
  889. cframe:MakeJoints()
  890. cframe["CFrame"].Parent = player[i].Backpack
  891. cframe:remove()
  892. end end end
  893.  
  894. if msg:sub(1,11) == "skateboard/" then
  895. local player = findplayer(msg:sub(12),speaker)
  896. if player ~= 0 then
  897. for i = 1,#player do
  898. local board = game:GetService("InsertService"):LoadAsset(34879053)
  899. board:MakeJoints()
  900. board["SkateTool"].Parent = player[i].Backpack
  901. board:remove()
  902. end end end
  903.  
  904. if msg:sub(1,11) == "appearance/" then
  905. local slash = msg:sub(12):find("/")+11
  906. if slash then
  907. local player = findplayer(msg:sub(12,slash-1),speaker)
  908. if player ~= 0 then
  909. local id = msg:sub(slash+1)
  910. if id then
  911. for i = 1,#player do
  912. player[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. id .."&placeId=0"
  913. player[i].Character.Humanoid.Health = 0
  914. end end end end end
  915.  
  916. if string.sub(msg,1,6) == "wedge/" then --Credit to Person299 for the base of this command...
  917. local danumber1 = nil
  918. local danumber2 = nil
  919. for i = 7,100 do
  920. if string.sub(msg,i,i) == "/" then
  921. danumber1 = i
  922. break
  923. elseif string.sub(msg,i,i) == "" then
  924. break
  925. end end
  926. if danumber1 == nil then return end
  927. for i =danumber1 + 1,danumber1 + 100 do
  928. if string.sub(msg,i,i) == "/" then
  929. danumber2 = i
  930. break
  931. elseif string.sub(msg,i,i) == "" then
  932. break
  933. end end
  934. if danumber2 == nil then return end
  935. if speaker.Character ~= nil then
  936. local head = speaker.Character:FindFirstChild("Head")
  937. if head ~= nil then
  938. local part = Instance.new("WedgePart")
  939. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  940. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  941. part.Name = "Person299's Admin Command Script V2 Part thingy"
  942. part.Parent = game.Workspace
  943. end end end
  944.  
  945. if string.sub(msg,1,9) == "cylinder/" then --Credit to Person299 for the base of this command...
  946. local danumber1 = nil
  947. local danumber2 = nil
  948. for i = 10,100 do
  949. if string.sub(msg,i,i) == "/" then
  950. danumber1 = i
  951. break
  952. elseif string.sub(msg,i,i) == "" then
  953. break
  954. end end
  955. if danumber1 == nil then return end
  956. for i =danumber1 + 1,danumber1 + 100 do
  957. if string.sub(msg,i,i) == "/" then
  958. danumber2 = i
  959. break
  960. elseif string.sub(msg,i,i) == "" then
  961. break
  962. end end
  963. if danumber2 == nil then return end
  964. if speaker.Character ~= nil then
  965. local head = speaker.Character:FindFirstChild("Head")
  966. if head ~= nil then
  967. local part = Instance.new("Part")
  968. part.Size = Vector3.new(string.sub(msg,10,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  969. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  970. part.Name = "Person299's Admin Command Script V2 Part thingy"
  971. local cyl = Instance.new("CylinderMesh",part)
  972. part.Parent = game.Workspace
  973. end end end
  974.  
  975. if string.sub(msg,1,6) == "block/" then --Credit to Person299 for the base of this command...
  976. local danumber1 = nil
  977. local danumber2 = nil
  978. for i = 7,100 do
  979. if string.sub(msg,i,i) == "/" then
  980. danumber1 = i
  981. break
  982. elseif string.sub(msg,i,i) == "" then
  983. break
  984. end end
  985. if danumber1 == nil then return end
  986. for i =danumber1 + 1,danumber1 + 100 do
  987. if string.sub(msg,i,i) == "/" then
  988. danumber2 = i
  989. break
  990. elseif string.sub(msg,i,i) == "" then
  991. break
  992. end end
  993. if danumber2 == nil then return end
  994. if speaker.Character ~= nil then
  995. local head = speaker.Character:FindFirstChild("Head")
  996. if head ~= nil then
  997. local part = Instance.new("Part")
  998. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  999. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1000. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1001. local block = Instance.new("BlockMesh",part)
  1002. part.Parent = game.Workspace
  1003. end end end
  1004.  
  1005. if string.sub(msg,1,6) == "plate/" then --Credit to Person299 for the base of this command...
  1006. local danumber1 = nil
  1007. local danumber2 = nil
  1008. for i = 7,100 do
  1009. if string.sub(msg,i,i) == "/" then
  1010. danumber1 = i
  1011. break
  1012. elseif string.sub(msg,i,i) == "" then
  1013. break
  1014. end end
  1015. if danumber1 == nil then return end
  1016. for i =danumber1 + 1,danumber1 + 100 do
  1017. if string.sub(msg,i,i) == "/" then
  1018. danumber2 = i
  1019. break
  1020. elseif string.sub(msg,i,i) == "" then
  1021. break
  1022. end end
  1023. if danumber2 == nil then return end
  1024. if speaker.Character ~= nil then
  1025. local head = speaker.Character:FindFirstChild("Head")
  1026. if head ~= nil then
  1027. local part = Instance.new("Part")
  1028. part.Size = Vector3.new(string.sub(msg,7,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1029. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1030. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1031. part.formFactor = "Plate"
  1032. part.Parent = game.Workspace
  1033. end end end
  1034.  
  1035. if string.sub(msg,1,7) == "sphere/" then --Credit to Person299 for the base of this command...
  1036. local danumber1 = nil
  1037. local danumber2 = nil
  1038. for i = 8,100 do
  1039. if string.sub(msg,i,i) == "/" then
  1040. danumber1 = i
  1041. break
  1042. elseif string.sub(msg,i,i) == "" then
  1043. break
  1044. end end
  1045. if danumber1 == nil then return end
  1046. for i =danumber1 + 1,danumber1 + 100 do
  1047. if string.sub(msg,i,i) == "/" then
  1048. danumber2 = i
  1049. break
  1050. elseif string.sub(msg,i,i) == "" then
  1051. break
  1052. end end
  1053. if danumber2 == nil then return end
  1054. if speaker.Character ~= nil then
  1055. local head = speaker.Character:FindFirstChild("Head")
  1056. if head ~= nil then
  1057. local part = Instance.new("Part")
  1058. part.Size = Vector3.new(string.sub(msg,8,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1059. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1060. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1061. part.Shape = "Ball"
  1062. part.formFactor = 1
  1063. part.Parent = game.Workspace
  1064. end end end
  1065.  
  1066. if msg:sub(1,5) == "burn/" then
  1067. local player = findplayer(msg:sub(6),speaker)
  1068. if player ~= 0 then
  1069. for i = 1,#player do
  1070. createscript([[
  1071. if script.Parent.Parent then
  1072. fire = Instance.new("Fire")
  1073. fire.Parent = script.Parent
  1074. fire.Name = "Burn"
  1075. fire.Color = BrickColor.Random().Color
  1076. while fire do
  1077. script.Parent.Parent.Humanoid:TakeDamage(1)
  1078. wait(.1)
  1079. end
  1080. end]], player[i].Character.Torso)
  1081. end end end
  1082.  
  1083. if msg:sub(1,9) == "de-admin/" then
  1084. local player = findplayer(msg:sub(10),speaker)
  1085. if player ~= 0 and NOMINATE10(speaker) then
  1086. for i = 1,#player do
  1087. if player[i].Name ~= speaker.Name then
  1088. if PERSON299(player[i].Name) then
  1089. ishethere = findintable(player[i].Name,adminlist)
  1090. if ishethere then
  1091. table.remove(adminlist,ishethere)
  1092. end
  1093. local ishe = findintable(player[i].Name,namelist)
  1094. if ishe then
  1095. table.remove(namelist,ishe)
  1096. end
  1097. local isf = findintable(player[i].Name,flist)
  1098. if isf then
  1099. table.remove(flist,isf)
  1100. end end end end
  1101. foc("fix",speaker)
  1102. end end
  1103.  
  1104. if msg:sub(1,6) == "watch/" then
  1105. local player = findplayer(msg:sub(7),speaker)
  1106. if player ~= 0 then
  1107. if #player == 1 then
  1108. for i = 1,#player do
  1109. sc = script.CamScript:clone()
  1110. sc.Parent = speaker
  1111. sc["New Subject"].Value = player[i].Character.Head
  1112. sc.Disabled = false
  1113. end end end end
  1114.  
  1115. if msg:sub(1,11) == "removegear/" then
  1116. local player = findplayer(msg:sub(12),speaker)
  1117. if player ~= 0 then
  1118. for i = 1,#player do
  1119. if player[i].StarterGear then
  1120. local gear = player[i].StarterGear:GetChildren()
  1121. if #gear > 0 then
  1122. for Num,Gear in pairs(gear) do
  1123. Gear:remove()
  1124. end end end end end end
  1125.  
  1126. if msg:sub(1,10) == "savetools/" then
  1127. local player = findplayer(msg:sub(11),speaker)
  1128. if player ~= 0 then
  1129. for i = 1,#player do
  1130. if player[i].StarterGear and player[i].Backpack then
  1131. if #player[i].Backpack:GetChildren() > 0 then
  1132. for num,tool in pairs(player[i].Backpack:GetChildren()) do
  1133. tool:clone().Parent = player[i].StarterGear
  1134. end end end end end end
  1135.  
  1136. if msg:sub(1,12) == "localscript/" then
  1137. if msg:sub(13) then
  1138. local slash = msg:sub(13):find("/")+12
  1139. if slash then
  1140. local sourcE = msg:sub(slash+1)
  1141. if sourcE then
  1142. local player = findplayer(msg:sub(13,slash-1),speaker)
  1143. if player ~= 0 then
  1144. for i = 1,#player do
  1145. localscript(sourcE,player[i])
  1146. end end end end end end
  1147.  
  1148. if msg:sub(1,8) == "getgear/" then
  1149. local player = findplayer(msg:sub(9),speaker)
  1150. if player ~= 0 then
  1151. for i = 1,#player do
  1152. if player[i].StarterGear and speaker.Backpack then
  1153. for i,v in pairs(player[i].StarterGear:GetChildren()) do
  1154. v:clone().Parent = speaker.Backpack
  1155. end end end end end
  1156.  
  1157. if msg:sub(1,5) == "team/" then
  1158. local slash = msg:sub(6):find("/")+5
  1159. if slash then
  1160. local team = upmsg:sub(6,slash-1)
  1161. if team then
  1162. local color = upmsg:sub(slash+1)
  1163. local bcolor = BrickColor.new(color)
  1164. if bcolor == BrickColor.new("Medium stone grey") and color:lower() ~= "medium stone grey" then return end
  1165. Team = Instance.new("Team",game:GetService("Teams"))
  1166. Team.Name = team
  1167. Team.TeamColor = bcolor
  1168. end end end
  1169.  
  1170. if msg:sub(1,11) == "changeteam/" then
  1171. local slash = msg:sub(12):find("/")+11
  1172. if slash then
  1173. local player = findplayer(msg:sub(12,slash-1),speaker)
  1174. if player ~= 0 then
  1175. local team = findteam(msg:sub(slash+1),speaker)
  1176. if team then
  1177. for i = 1,#player do
  1178. player[i].Neutral = false
  1179. player[i].TeamColor = team.TeamColor
  1180. end end end end end
  1181.  
  1182. if msg == "setupteams/" then
  1183. local Teams = game:GetService("Teams")
  1184. TeamChild = Teams:GetChildren()
  1185. if #TeamChild > 0 then
  1186. for i,v in pairs(TeamChild) do
  1187. v:remove()
  1188. end
  1189. end
  1190. local Unassinged = Instance.new("Team",Teams)
  1191. Unassigned.TeamColor = BrickColor.new("Really black")
  1192. Unassigned.Name = "Unassigned"
  1193. for i,v in pairs(game.Players:GetPlayers()) do
  1194. v.Neutral = false
  1195. v.TeamColor = BrickColor.new("Really black")
  1196. end
  1197. end
  1198.  
  1199. if msg:sub(1,11) == "removeteam/" then
  1200. local Teams = game:GetService("Teams")
  1201. assignTeam = {}
  1202. local team = findteam(msg:sub(12),speaker)
  1203. if team then
  1204. for i,v in pairs(game.Players:GetPlayers()) do
  1205. if v.TeamColor == team.TeamColor then
  1206. table.insert(assignTeam,v)
  1207. end
  1208. end
  1209. team:remove()
  1210. if #assignTeam > 0 then
  1211. if not Teams:FindFirstChild("Unassigned") then
  1212. Unassinged = Instance.new("Team",Teams)
  1213. Unassigned.TeamColor = BrickColor.new("Really black")
  1214. Unassigned.Name = "Unassigned"
  1215. else Unassigned = Teams.Unassigned end
  1216. for i,v in pairs(assignTeam) do
  1217. v.TeamColor = Unassigned.TeamColor
  1218. end end end end
  1219.  
  1220. --AND NOW HERE ARE THE NORMAL COMMANDS MADE BY PERSON299
  1221. if string.sub(msg,1,5) == "give/" then
  1222. local danumber1 = nil
  1223. for i = 6,100 do
  1224. if string.sub(msg,i,i) == "/" then
  1225. danumber1 = i
  1226. break
  1227. elseif string.sub(msg,i,i) == "" then
  1228. break
  1229. end end
  1230. if danumber1 == nil then return end
  1231. local it = nil
  1232. local all = true
  1233. if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
  1234. all = false
  1235. local itnum = 0
  1236. local c = tools:GetChildren()
  1237. for i2 = 1,#c do
  1238. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then
  1239. it = c[i2]
  1240. itnum = itnum + 1
  1241. end end
  1242. if itnum ~= 1 then return end
  1243. else
  1244. all = true
  1245. end
  1246. local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
  1247. if player ~= 0 then
  1248. for i = 1,#player do
  1249. local bp = player[i]:FindFirstChild("Backpack")
  1250. if bp ~= nil then
  1251. if all == false then
  1252. it:clone().Parent = bp
  1253. else
  1254. local c = tools:GetChildren()
  1255. for i2 = 1,#c do
  1256. c[i2]:clone().Parent = bp
  1257. end end end end end end
  1258.  
  1259. --Bored...
  1260.  
  1261. if string.sub(msg,1,7) == "change/" then
  1262. local danumber1 = nil
  1263. local danumber2 = nil
  1264. for i = 8,100 do
  1265. if string.sub(msg,i,i) == "/" then
  1266. danumber1 = i
  1267. break
  1268. elseif string.sub(msg,i,i) == "" then
  1269. break
  1270. end end
  1271. if danumber1 == nil then return end
  1272. for i =danumber1 + 1,danumber1 + 100 do
  1273. if string.sub(msg,i,i) == "/" then
  1274. danumber2 = i
  1275. break
  1276. elseif string.sub(msg,i,i) == "" then
  1277. break
  1278. end end
  1279. if danumber2 == nil then return end
  1280. local player = findplayer(string.sub(msg,8,danumber1 - 1),speaker)
  1281. if player ~= 0 then
  1282. for i = 1,#player do
  1283. local ls = player[i]:FindFirstChild("leaderstats")
  1284. if ls ~= nil then
  1285. local it = nil
  1286. local itnum = 0
  1287. local c = ls:GetChildren()
  1288. for i2 = 1,#c do
  1289. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1,danumber2 - 1)) == 1 then
  1290. it = c[i2]
  1291. itnum = itnum + 1
  1292. end end
  1293. if itnum == 1 then
  1294. it.Value = string.sub(msg,danumber2 + 1)
  1295. end end end end end
  1296.  
  1297. if string.sub(msg,1,6) == "ungod/" then
  1298. local player = findplayer(string.sub(msg,7),speaker)
  1299. if player ~= 0 then
  1300. for i = 1,#player do
  1301. if player[i].Character ~= nil then
  1302. local isgod = false
  1303. local c = player[i].Character:GetChildren()
  1304. for i=1,#c do
  1305. if c[i].className == "Script" then
  1306. if c[i]:FindFirstChild("Context") then
  1307. if string.sub(c[i].Context.Value,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
  1308. c[i]:remove()
  1309. isgod = true
  1310. end end end end
  1311. if isgod == true then
  1312. local c = player[i].Character:GetChildren()
  1313. for i=1,#c do
  1314. if c[i].className == "Part" then
  1315. c[i].Reflectance = 0
  1316. end
  1317. if c[i].className == "Humanoid" then
  1318. c[i].MaxHealth = 100
  1319. c[i].Health = 100
  1320. end
  1321. if c[i].Name == "God FF" then
  1322. c[i]:remove()
  1323. end end end end end end end
  1324.  
  1325. if string.sub(msg,1,4) == "god/" then
  1326. local player = findplayer(string.sub(msg,5),speaker)
  1327. if player ~= 0 then
  1328. for i = 1,#player do
  1329. if player[i].Character ~= nil then
  1330. if player[i].Character:FindFirstChild("God FF") == nil then
  1331. createscript([[script.Parent.Humanoid.MaxHealth = 999999
  1332. script.Parent.Humanoid.Health = 999999
  1333. ff = Instance.new("ForceField")
  1334. ff.Name = "God FF"
  1335. ff.Parent = script.Parent
  1336. function ot(hit)
  1337. if hit.Parent ~= script.Parent then
  1338. h = hit.Parent:FindFirstChild("Humanoid")
  1339. if h ~= nil then
  1340. h.Health = 0
  1341. end
  1342. h = hit.Parent:FindFirstChild("Zombie")
  1343. if h ~= nil then
  1344. h.Health = 0
  1345. end end end
  1346. c = script.Parent:GetChildren()
  1347. for i=1,#c do
  1348. if c[i].className == "Part" then
  1349. c[i].Touched:connect(ot)
  1350. c[i].Reflectance = 1
  1351. end end]],player[i].Character)
  1352. end end end end end
  1353.  
  1354. if string.sub(msg,1,7) == "punish/" then
  1355. local player = findplayer(string.sub(msg,8),speaker)
  1356. if player ~= 0 then
  1357. for i = 1,#player do
  1358. if player[i].Character ~= nil then
  1359. player[i].Character.Parent = game.Lighting
  1360. end end end end
  1361.  
  1362. if string.sub(msg,1,9) == "unpunish/" then
  1363. local player = findplayer(string.sub(msg,10),speaker)
  1364. if player ~= 0 then
  1365. for i = 1,#player do
  1366. if player[i].Character ~= nil then
  1367. player[i].Character.Parent = game.Workspace
  1368. player[i].Character:MakeJoints()
  1369. end end end end
  1370.  
  1371. if string.sub(msg,1,3) == "ff/" then
  1372. local player = findplayer(string.sub(msg,4),speaker)
  1373. if player ~= 0 then
  1374. for i = 1,#player do
  1375. if player[i].Character ~= nil then
  1376. local ff = Instance.new("ForceField")
  1377. ff.Parent = player[i].Character
  1378. end end end end
  1379.  
  1380. if string.sub(msg,1,5) == "unff/" then
  1381. local player = findplayer(string.sub(msg,6),speaker)
  1382. if player ~= 0 then
  1383. for i = 1,#player do
  1384. if player[i].Character ~= nil then
  1385. local c = player[i].Character:GetChildren()
  1386. for i2 = 1,#c do
  1387. if c[i2].className == "ForceField" then
  1388. c[i2]:remove()
  1389. end end end end end end
  1390.  
  1391. if string.sub(msg,1,9) == "sparkles/" then
  1392. local player = findplayer(string.sub(msg,10),speaker)
  1393. if player ~= 0 then
  1394. for i = 1,#player do
  1395. if player[i].Character ~= nil then
  1396. local torso = player[i].Character:FindFirstChild("Torso")
  1397. if torso ~= nil then
  1398. local sparkles = Instance.new("Sparkles")
  1399. sparkles.Color = Color3.new(math.random(),math.random(),math.random())
  1400. sparkles.Parent = torso
  1401. end end end end end
  1402.  
  1403. if string.sub(msg,1,11) == "unsparkles/" then
  1404. local player = findplayer(string.sub(msg,12),speaker)
  1405. if player ~= 0 then
  1406. for i = 1,#player do
  1407. if player[i].Character ~= nil then
  1408. local torso = player[i].Character:FindFirstChild("Torso")
  1409. if torso ~= nil then
  1410. local c = torso:GetChildren()
  1411. for i2 = 1,#c do
  1412. if c[i2].className == "Sparkles" then
  1413. c[i2]:remove()
  1414. end end end end end end end
  1415.  
  1416. if string.sub(msg,1,6) == "admin/" then
  1417. if not disableAdmin then
  1418. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  1419. if imgettingtiredofmakingthisstupidscript == true then
  1420. local player = findplayer(string.sub(msg,7),speaker)
  1421. if player ~= 0 then
  1422. for i = 1,#player do
  1423. for i2 =1,#namelist do
  1424. if namelist[i2] == player[i].Name then
  1425. variablelist[i2]:disconnect()
  1426. flist[i2]:disconnect()
  1427. table.remove(variablelist,i2)
  1428. table.remove(flist,i2)
  1429. table.remove(namelist,i2)
  1430. end end
  1431. local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
  1432. table.insert(namelist,player[i].Name)
  1433. table.insert(variablelist,tfv)
  1434. local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
  1435. table.insert(flist,tfv)
  1436. end end end end end
  1437.  
  1438. if string.sub(msg,1,8) == "unadmin/" then
  1439. if not disableAdmin then
  1440. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  1441. if imgettingtiredofmakingthisstupidscript == true then
  1442. local player = findplayer(string.sub(msg,9),speaker)
  1443. if player ~= 0 then
  1444. for i = 1,#player do
  1445. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1446. if imgettingtiredofmakingthisstupidscript == false then
  1447. for i2 =1,#namelist do
  1448. if namelist[i2] == player[i].Name then
  1449. variablelist[i2]:disconnect()
  1450. table.remove(variablelist,i2)
  1451. flist[i2]:disconnect()
  1452. table.remove(flist,i2)
  1453. table.remove(namelist,i2)
  1454. end end end end end end end end
  1455.  
  1456. if string.sub(msg,1,5) == "heal/" then
  1457. local player = findplayer(string.sub(msg,6),speaker)
  1458. if player ~= 0 then
  1459. for i = 1,#player do
  1460. if player[i].Character ~= nil then
  1461. local human = player[i].Character:FindFirstChild("Humanoid")
  1462. if human ~= nil then
  1463. human.Health = human.MaxHealth
  1464. end end end end end
  1465.  
  1466. if string.sub(msg,1,4) == "sit/" then
  1467. local player = findplayer(string.sub(msg,5),speaker)
  1468. if player ~= 0 then
  1469. for i = 1,#player do
  1470. if player[i].Character ~= nil then
  1471. local human = player[i].Character:FindFirstChild("Humanoid")
  1472. if human ~= nil then
  1473. human.Sit = true
  1474. end end end end end
  1475.  
  1476. if string.sub(msg,1,5) == "jump/" then
  1477. local player = findplayer(string.sub(msg,6),speaker)
  1478. if player ~= 0 then
  1479. for i = 1,#player do
  1480. if player[i].Character ~= nil then
  1481. local human = player[i].Character:FindFirstChild("Humanoid")
  1482. if human ~= nil then
  1483. human.Jump = true
  1484. end end end end end
  1485.  
  1486. if string.sub(msg,1,6) == "stand/" then
  1487. local player = findplayer(string.sub(msg,7),speaker)
  1488. if player ~= 0 then
  1489. for i = 1,#player do
  1490. if player[i].Character ~= nil then
  1491. local human = player[i].Character:FindFirstChild("Humanoid")
  1492. if human ~= nil then
  1493. human.Sit = false
  1494. end end end end end
  1495.  
  1496. if string.sub(msg,1,5) == "jail/" then
  1497. local player = findplayer(string.sub(msg,6),speaker)
  1498. if player ~= 0 then
  1499. for i = 1,#player do
  1500. if player[i].Character ~= nil then
  1501. local torso = player[i].Character:FindFirstChild("Torso")
  1502. if torso ~= nil then
  1503. local ack = Instance.new("Model")
  1504. ack.Name = "Jail" .. player[i].Name
  1505. 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
  1506. ack.Parent = game.Workspace
  1507. ack:MoveTo(torso.Position)
  1508. end end end end end
  1509.  
  1510. if string.sub(msg,1,7) == "unjail/" then
  1511. local player = findplayer(string.sub(msg,8),speaker)
  1512. if player ~= 0 then
  1513. for i = 1,#player do
  1514. local c = game.Workspace:GetChildren()
  1515. for i2 =1,#c do
  1516. if string.sub(c[i2].Name,1,4) == "Jail" then
  1517. if string.sub(c[i2].Name,5) == player[i].Name then
  1518. c[i2]:remove()
  1519. end end end end end end
  1520.  
  1521. if string.sub(msg,1,12) == "removetools/" then
  1522. local player = findplayer(string.sub(msg,13),speaker)
  1523. if player ~= 0 then
  1524. for i = 1,#player do
  1525. local c = player[i].Backpack:GetChildren()
  1526. for i =1,#c do
  1527. c[i]:remove()
  1528. end end end end
  1529.  
  1530. if string.sub(msg,1,10) == "givetools/" then
  1531. local player = findplayer(string.sub(msg,11),speaker)
  1532. if player ~= 0 then
  1533. for i = 1,#player do
  1534. local c = game.StarterPack:GetChildren()
  1535. for i =1,#c do
  1536. c[i]:clone().Parent = player[i].Backpack
  1537. end end end end
  1538.  
  1539. if string.sub(msg,1,11) == "givebtools/" then
  1540. local player = findplayer(string.sub(msg,12),speaker)
  1541. if player ~= 0 then
  1542. for i = 1,#player do
  1543. local a = Instance.new("HopperBin")
  1544. a.BinType = "GameTool"
  1545. a.Parent = player[i].Backpack
  1546. local a = Instance.new("HopperBin")
  1547. a.BinType = "Clone"
  1548. a.Parent = player[i].Backpack
  1549. local a = Instance.new("HopperBin")
  1550. a.BinType = "Hammer"
  1551. a.Parent = player[i].Backpack
  1552. end end end
  1553.  
  1554. if string.sub(msg,1,9) == "unshield/" then
  1555. local player = findplayer(string.sub(msg,10),speaker)
  1556. if player ~= 0 then
  1557. for i = 1,#player do
  1558. if player[i].Character ~= nil then
  1559. local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
  1560. if shield ~= nil then
  1561. shield:remove()
  1562. end end end end end
  1563.  
  1564. if string.sub(msg,1,7) == "shield/" then
  1565. local player = findplayer(string.sub(msg,8),speaker)
  1566. if player ~= 0 then
  1567. for i = 1,#player do
  1568. if player[i].Character ~= nil then
  1569. local torso = player[i].Character:FindFirstChild("Torso")
  1570. if torso ~= nil then
  1571. if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
  1572. local ball = Instance.new("Part")
  1573. ball.Size = Vector3.new(10,10,10)
  1574. ball.BrickColor = BrickColor.new(1)
  1575. ball.Transparency = 0.5
  1576. ball.CFrame = torso.CFrame
  1577. ball.TopSurface = "Smooth"
  1578. ball.BottomSurface = "Smooth"
  1579. ball.CanCollide = false
  1580. ball.Name = "Weird Ball Thingy"
  1581. ball.Reflectance = 0.2
  1582. local sm = Instance.new("SpecialMesh")
  1583. sm.MeshType = "Sphere"
  1584. sm.Parent = ball
  1585. ball.Parent = player[i].Character
  1586. createscript([[
  1587. function ot(hit)
  1588. if hit.Parent ~= nil then
  1589. if hit.Parent ~= script.Parent.Parent then
  1590. if hit.Anchored == false then
  1591. hit:BreakJoints()
  1592. local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
  1593. hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity
  1594. hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
  1595. end end end end
  1596. script.Parent.Touched:connect(ot) ]], ball)
  1597. local bf = Instance.new("BodyForce")
  1598. bf.force = Vector3.new(0,5e+004,0)
  1599. bf.Parent = ball
  1600. local w = Instance.new("Weld")
  1601. w.Part1 = torso
  1602. w.Part0 = ball
  1603. ball.Shape = 0
  1604. w.Parent = torso
  1605. end end end end end end
  1606.  
  1607. if string.sub(msg,1,11) == "unloopkill/" then
  1608. local player = findplayer(string.sub(msg,12),speaker)
  1609. if player ~= 0 then
  1610. for i = 1,#player do
  1611. local c = game.Workspace:GetChildren()
  1612. for i2 =1,#c do
  1613. local it = c[i2]:FindFirstChild("elplayerioloopkillioperson299io")
  1614. if it ~= nil then
  1615. if it.Value == player[i] then
  1616. c[i2]:remove()
  1617. end end end end end end
  1618.  
  1619. if string.sub(msg,1,9) == "loopkill/" then
  1620. local player = findplayer(string.sub(msg,10),speaker)
  1621. if player ~= 0 then
  1622. for i = 1,#player do
  1623. local s = Instance.new("Script")
  1624. createscript( [[name = "]] .. player[i].Name .. [["
  1625. ov = Instance.new("ObjectValue")
  1626. ov.Value = game.Players:FindFirstChild(name)
  1627. ov.Name = "elplayerioloopkillioperson299io"
  1628. ov.Parent = script
  1629. player = ov.Value
  1630. function oa(object)
  1631. local elplayer = game.Players:playerFromCharacter(object)
  1632. if elplayer ~= nil then
  1633. if elplayer == player then
  1634. local humanoid = object:FindFirstChild("Humanoid")
  1635. if humanoid ~= nil then
  1636. humanoid.Health = 0
  1637. end end end end
  1638. game.Workspace.ChildAdded:connect(oa)
  1639. ]],game.Workspace)
  1640. if player[i].Character ~= nil then
  1641. local human = player[i].Character:FindFirstChild("Humanoid")
  1642. if human ~= nil then
  1643. human.Health = 0
  1644. end end end end end
  1645.  
  1646. if string.lower(msg) == "shutdown" then
  1647. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  1648. if imgettingtiredofmakingthisstupidscript == true then
  1649. game:GetService("PhysicsService"):remove()
  1650. end end
  1651.  
  1652. if string.sub(msg,1,5) == "time/" then
  1653. game.Lighting.TimeOfDay = string.sub(msg,6)
  1654. end
  1655.  
  1656. if msg == "commands" then
  1657. local text = string.rep(" ",40)
  1658. 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.]]
  1659. local mes = Instance.new("Message")
  1660. mes.Parent = speaker
  1661. local acko = 0
  1662. while true do
  1663. acko = acko + 1
  1664. if string.sub(text,acko,acko) == "" then
  1665. mes:remove()
  1666. return
  1667. elseif mes.Parent == nil then
  1668. return
  1669. end
  1670. mes.Text = string.sub(text,acko,acko + 40)
  1671. wait(0.07)
  1672. end end
  1673.  
  1674. if msg == "tools" then
  1675. local text = string.rep(" ",40)
  1676. local c = tools:GetChildren()
  1677. if #c == 0 then
  1678. text = text .. "No tools available."
  1679. else
  1680. for i =1,#c do
  1681. if i ~= 1 then
  1682. text = text .. ", "
  1683. end
  1684. text = text .. c[i].Name
  1685. end end
  1686. local mes = Instance.new("Message")
  1687. mes.Parent = speaker
  1688. local acko = 0
  1689. while true do
  1690. acko = acko + 1
  1691. if string.sub(text,acko,acko) == "" then
  1692. mes:remove()
  1693. return
  1694. elseif mes.Parent == nil then
  1695. return
  1696. end
  1697. mes.Text = string.sub(text,acko,acko + 40)
  1698. wait(0.1)
  1699. end end
  1700.  
  1701. if msg == "bannedlist" then
  1702. local text = string.rep(" ",40)
  1703. if #bannedlist == 0 then
  1704. text = text .. "The banned list is empty."
  1705. else
  1706. for i =1,#bannedlist do
  1707. if i ~= 1 then
  1708. text = text .. ", "
  1709. end
  1710. text = text .. bannedlist[i]
  1711. end end
  1712. local mes = Instance.new("Message")
  1713. mes.Parent = speaker
  1714. local acko = 0
  1715. while true do
  1716. acko = acko + 1
  1717. if string.sub(text,acko,acko) == "" then
  1718. mes:remove()
  1719. return
  1720. elseif mes.Parent == nil then
  1721. return
  1722. end
  1723. mes.Text = string.sub(text,acko,acko + 40)
  1724. wait(0.1)
  1725. end end
  1726.  
  1727. if msg == "adminlist" then
  1728. local text = string.rep(" ",40)
  1729. if #adminlist == 0 then--How would that be possible in this situation anyway? lol
  1730. text = text .. "The admin list is empty."
  1731. else
  1732. for i =1,#adminlist do
  1733. if adminlist[i] == eloname then
  1734. if youcaughtme == 1 then
  1735. if i ~= 1 then
  1736. text = text .. ", "
  1737. end
  1738. text = text .. adminlist[i]
  1739. end
  1740. else
  1741. if i ~= 1 then
  1742. text = text .. ", "
  1743. end
  1744. text = text .. adminlist[i]
  1745. end end end
  1746. local mes = Instance.new("Message")
  1747. mes.Parent = speaker
  1748. local acko = 0
  1749. while true do
  1750. acko = acko + 1
  1751. if string.sub(text,acko,acko) == "" then
  1752. mes:remove()
  1753. return
  1754. elseif mes.Parent == nil then
  1755. return
  1756. end
  1757. mes.Text = string.sub(text,acko,acko + 40)
  1758. wait(0.1)
  1759. end end
  1760.  
  1761. if string.sub(msg,1,11) == "maxplayers/" then
  1762. local pie = game.Players.MaxPlayers
  1763. game.Players.MaxPlayers = string.sub(msg,12)
  1764. if game.Players.MaxPlayers == 0 then
  1765. game.Players.MaxPlayers = pie
  1766. end end
  1767.  
  1768. if string.sub(msg,1,8) == "zombify/" then
  1769. local player = findplayer(string.sub(msg,9),speaker)
  1770. if player ~= 0 then
  1771. for i = 1,#player do
  1772. if player[i].Character ~= nil then
  1773. local torso = player[i].Character:FindFirstChild("Torso")
  1774. if torso ~= nil then
  1775. local arm = player[i].Character:FindFirstChild("Left Arm")
  1776. if arm ~= nil then
  1777. arm:remove()
  1778. end
  1779. local arm = player[i].Character:FindFirstChild("Right Arm")
  1780. if arm ~= nil then
  1781. arm:remove()
  1782. end
  1783. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1784. local zarm = Instance.new("Part")
  1785. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1786. zarm.Locked = true
  1787. zarm.formFactor = "Symmetric"
  1788. zarm.Size = Vector3.new(2,1,1)
  1789. zarm.TopSurface = "Smooth"
  1790. zarm.BottomSurface = "Smooth"
  1791. --Credit for the infectontouch script goes to whoever it is that made it.
  1792. createscript( [[
  1793. wait(1)
  1794. function onTouched(part)
  1795. if part.Parent ~= nil then
  1796. local h = part.Parent:findFirstChild("Humanoid")
  1797. if h~=nil then
  1798. if cantouch~=0 then
  1799. if h.Parent~=script.Parent.Parent then
  1800. if h.Parent:findFirstChild("zarm")~=nil then return end
  1801. cantouch=0
  1802. local larm=h.Parent:findFirstChild("Left Arm")
  1803. local rarm=h.Parent:findFirstChild("Right Arm")
  1804. if larm~=nil then
  1805. larm:remove()
  1806. end
  1807. if rarm~=nil then
  1808. rarm:remove()
  1809. end
  1810. local zee=script.Parent.Parent:findFirstChild("zarm")
  1811. if zee~=nil then
  1812. local zlarm=zee:clone()
  1813. local zrarm=zee:clone()
  1814. if zlarm~=nil then
  1815. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1816. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1817. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1818. zlarm.Parent=h.Parent
  1819. zrarm.Parent=h.Parent
  1820. zlarm:makeJoints()
  1821. zrarm:makeJoints()
  1822. zlarm.Anchored=false
  1823. zrarm.Anchored=false
  1824. wait(0.1)
  1825. h.Parent.Head.Color=zee.Color
  1826. else return end
  1827. end
  1828. wait(1)
  1829. cantouch=1
  1830. end
  1831. end
  1832. end
  1833. end
  1834. end
  1835. script.Parent.Touched:connect(onTouched)
  1836. ]],zarm)
  1837. zarm.Name = "zarm"
  1838. local zarm2 = zarm:clone()
  1839. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1840. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1841. zarm.Parent = player[i].Character
  1842. zarm:MakeJoints()
  1843. zarm2.Parent = player[i].Character
  1844. zarm2:MakeJoints()
  1845. local head = player[i].Character:FindFirstChild("Head")
  1846. if head ~= nil then
  1847. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1848. end end end end end end
  1849.  
  1850. if string.sub(msg,1,8) == "explode/" then
  1851. local player = findplayer(string.sub(msg,9),speaker)
  1852. if player ~= 0 then
  1853. for i = 1,#player do
  1854. if player[i].Character ~= nil then
  1855. local torso = player[i].Character:FindFirstChild("Torso")
  1856. if torso ~= nil then
  1857. local ex = Instance.new("Explosion")
  1858. ex.Position = torso.Position
  1859. ex.Parent = game.Workspace
  1860. end end end end end
  1861.  
  1862. if string.sub(msg,1,7) == "rocket/" then
  1863. local player = findplayer(string.sub(msg,8),speaker)
  1864. if player ~= 0 then
  1865. for i = 1,#player do
  1866. if player[i].Character ~= nil then
  1867. local torso = player[i].Character:FindFirstChild("Torso")
  1868. if torso ~= nil then
  1869. local r = Instance.new("Part")
  1870. r.Name = "Rocket"
  1871. r.Size = Vector3.new(1,8,1)
  1872. r.TopSurface = "Smooth"
  1873. r.BottomSurface = "Smooth"
  1874. local w = Instance.new("Weld")
  1875. w.Part1 = torso
  1876. w.Part0 = r
  1877. w.C0 = CFrame.new(0,0,-1)
  1878. local bt = Instance.new("BodyThrust")
  1879. bt.force = Vector3.new(0,5700,0)
  1880. bt.Parent = r
  1881. r.Parent = player[i].Character
  1882. w.Parent = torso
  1883. createscript([[
  1884. for i=1,120 do
  1885. local ex = Instance.new("Explosion")
  1886. ex.BlastRadius = 0
  1887. ex.Position = script.Parent.Position - Vector3.new(0,2,0)
  1888. ex.Parent = game.Workspace
  1889. wait(0.05)
  1890. end
  1891. local ex = Instance.new("Explosion")
  1892. ex.BlastRadius = 10
  1893. ex.Position = script.Parent.Position
  1894. ex.Parent = game.Workspace
  1895. script.Parent.BodyThrust:remove()
  1896. script.Parent.Parent.Humanoid.Health = 0
  1897. ]],r)
  1898. end end end end end
  1899.  
  1900. if string.sub(msg,1,8) == "ambient/" then
  1901. local danumber1 = nil
  1902. local danumber2 = nil
  1903. for i = 9,100 do
  1904. if string.sub(msg,i,i) == "/" then
  1905. danumber1 = i
  1906. break
  1907. elseif string.sub(msg,i,i) == "" then
  1908. break
  1909. end end
  1910. if danumber1 == nil then return end
  1911. for i =danumber1 + 1,danumber1 + 100 do
  1912. if string.sub(msg,i,i) == "/" then
  1913. danumber2 = i
  1914. break
  1915. elseif string.sub(msg,i,i) == "" then
  1916. break
  1917. end end
  1918. if danumber2 == nil then return end
  1919. game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
  1920. end
  1921.  
  1922. --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...
  1923.  
  1924. if string.sub(msg,1,5) == "part/" then
  1925. local danumber1 = nil
  1926. local danumber2 = nil
  1927. for i = 6,100 do
  1928. if string.sub(msg,i,i) == "/" then
  1929. danumber1 = i
  1930. break
  1931. elseif string.sub(msg,i,i) == "" then
  1932. break
  1933. end end
  1934. if danumber1 == nil then return end
  1935. for i =danumber1 + 1,danumber1 + 100 do
  1936. if string.sub(msg,i,i) == "/" then
  1937. danumber2 = i
  1938. break
  1939. elseif string.sub(msg,i,i) == "" then
  1940. break
  1941. end end
  1942. if danumber2 == nil then return end
  1943. if speaker.Character ~= nil then
  1944. local head = speaker.Character:FindFirstChild("Head")
  1945. if head ~= nil then
  1946. local part = Instance.new("Part")
  1947. part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1948. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1949. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1950. part.Parent = game.Workspace
  1951. end end end
  1952.  
  1953. --I finally tried flicking it but it keeps on coming back......
  1954.  
  1955. if string.sub(msg,1,8) == "control/" then
  1956. local player = findplayer(string.sub(msg,9),speaker)
  1957. if player ~= 0 then
  1958. if #player > 1 then
  1959. return
  1960. end
  1961. for i = 1,#player do
  1962. if player[i].Character ~= nil then
  1963. speaker.Character = player[i].Character
  1964. end end end end
  1965.  
  1966. --IT WONT GO AWAY!!!!!
  1967.  
  1968. if string.sub(msg,1,5) == "trip/" then
  1969. local player = findplayer(string.sub(msg,6),speaker)
  1970. if player ~= 0 then
  1971. for i = 1,#player do
  1972. if player[i].Character ~= nil then
  1973. local torso = player[i].Character:FindFirstChild("Torso")
  1974. if torso ~= nil then
  1975. 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.
  1976. end end end end end
  1977.  
  1978. --Yay! it finally went away! :)
  1979.  
  1980. if string.sub(msg,1,8) == "setgrav/" then
  1981. danumber = nil
  1982. for i =9,100 do
  1983. if string.sub(msg,i,i) == "/" then
  1984. danumber = i
  1985. break
  1986. end end
  1987. if danumber == nil then
  1988. return
  1989. end
  1990. local player = findplayer(string.sub(msg,9,danumber - 1),speaker)
  1991. if player == 0 then
  1992. return
  1993. end
  1994. for i = 1,#player do
  1995. if player[i].Character ~= nil then
  1996. local torso = player[i].Character:FindFirstChild("Torso")
  1997. if torso ~= nil then
  1998. local bf = torso:FindFirstChild("BF")
  1999. if bf ~= nil then
  2000. bf.force = Vector3.new(0,0,0)
  2001. else
  2002. local bf = Instance.new("BodyForce")
  2003. bf.Name = "BF"
  2004. bf.force = Vector3.new(0,0,0)
  2005. bf.Parent = torso
  2006. end
  2007. local c2 = player[i].Character:GetChildren()
  2008. for i=1,#c2 do
  2009. if c2[i].className == "Part" then
  2010. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
  2011. end end end end end end
  2012.  
  2013. if string.sub(msg,1,10) == "walkspeed/" then
  2014. danumber = nil
  2015. for i =11,100 do
  2016. if string.sub(msg,i,i) == "/" then
  2017. danumber = i
  2018. break
  2019. end end
  2020. if danumber == nil then
  2021. return
  2022. end
  2023. local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
  2024. if player == 0 then
  2025. return
  2026. end
  2027. for i = 1,#player do
  2028. if player[i].Character ~= nil then
  2029. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2030. if humanoid ~= nil then
  2031. humanoid.WalkSpeed = string.sub(msg,danumber + 1)
  2032. end end end end
  2033.  
  2034. if string.sub(msg,1,7) == "damage/" then
  2035. danumber = nil
  2036. for i =8,100 do
  2037. if string.sub(msg,i,i) == "/" then
  2038. danumber = i
  2039. break
  2040. end end
  2041. if danumber == nil then
  2042. return
  2043. end
  2044. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  2045. if player == 0 then
  2046. return
  2047. end
  2048. for i = 1,#player do
  2049. if player[i].Character ~= nil then
  2050. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2051. if humanoid ~= nil then
  2052. humanoid.Health = humanoid.Health - string.sub(msg,danumber + 1)
  2053. end end end end
  2054.  
  2055. if string.sub(msg,1,7) == "health/" then
  2056. danumber = nil
  2057. for i =8,100 do
  2058. if string.sub(msg,i,i) == "/" then
  2059. danumber = i
  2060. break
  2061. end end
  2062. if danumber == nil then
  2063. return
  2064. end
  2065. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  2066. if player == 0 then
  2067. return
  2068. end
  2069. for i = 1,#player do
  2070. if player[i].Character ~= nil then
  2071. humanoid = player[i].Character:FindFirstChild("Humanoid")
  2072. if humanoid ~= nil then
  2073. local elnumba = Instance.new("IntValue")
  2074. elnumba.Value = string.sub(msg,danumber + 1)
  2075. if elnumba.Value > 0 then
  2076. humanoid.MaxHealth = elnumba.Value
  2077. humanoid.Health = humanoid.MaxHealth
  2078. end
  2079. elnumba:remove()
  2080. end end end end
  2081.  
  2082. --Ugh, now i have the M*A*S*H theme stuck in my head.....
  2083.  
  2084. if string.sub(msg,1,9) == "teleport/" then
  2085. danumber = nil
  2086. for i =10,100 do
  2087. if string.sub(msg,i,i) == "/" then
  2088. danumber = i
  2089. break
  2090. end end
  2091. if danumber == nil then
  2092. return
  2093. end
  2094. local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
  2095. if player1 == 0 then
  2096. return
  2097. end
  2098. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  2099. if player2 == 0 then
  2100. return
  2101. end
  2102. if #player2 > 1 then
  2103. return
  2104. end
  2105. torso = nil
  2106. for i =1,#player2 do
  2107. if player2[i].Character ~= nil then
  2108. torso = player2[i].Character:FindFirstChild("Torso")
  2109. end end
  2110. if torso ~= nil then
  2111. for i =1,#player1 do
  2112. if player1[i].Character ~= nil then
  2113. local torso2 = player1[i].Character:FindFirstChild("Torso")
  2114. if torso2 ~= nil then
  2115. torso2.CFrame = torso.CFrame
  2116. end end end end end
  2117.  
  2118. if string.sub(msg,1,6) == "merge/" then
  2119. danumber = nil
  2120. for i =7,100 do
  2121. if string.sub(msg,i,i) == "/" then
  2122. danumber = i
  2123. break
  2124. end end
  2125. if danumber == nil then
  2126. return
  2127. end
  2128. local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
  2129. if player1 == 0 then
  2130. return
  2131. end
  2132. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  2133. if player2 == 0 then
  2134. return
  2135. end
  2136. if #player2 > 1 then
  2137. return
  2138. end
  2139. for i =1,#player2 do
  2140. if player2[i].Character ~= nil then
  2141. player2 = player2[i].Character
  2142. end end
  2143. for i =1,#player1 do
  2144. player1[i].Character = player2
  2145. end end
  2146.  
  2147. if msg == "clearscripts" then
  2148. local c = game.Workspace:GetChildren()
  2149. for i =1,#c do
  2150. if c[i].className == "Script" then
  2151. if c[i]:FindFirstChild("Is A Created Script") then
  2152. c[i]:remove()
  2153. end end end
  2154. local d = game.Players:GetPlayers()
  2155. for i2 = 1,#d do
  2156. for i,v in pairs(d[i2]:GetChildren()) do
  2157. if v:isA("Script") and v:FindFirstChild("Is A Created Script") then
  2158. v:remove()
  2159. end end end
  2160. end
  2161.  
  2162. if msg == "clearbricks" then
  2163. local c = game.Workspace:GetChildren()
  2164. for i = 1,#c do
  2165. if c[i].className == "Part" or c[i].className == "WedgePart" then
  2166. if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
  2167. c[i]:remove()
  2168. end end
  2169. if c[i].className == "Model" then
  2170. if string.sub(c[i].Name,1,4) == "Jail" then
  2171. c[i]:remove()
  2172. end end end end
  2173.  
  2174.  
  2175. if string.sub(msg,1,5) == "kick/" then
  2176. if not disableBan then
  2177. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  2178. if imgettingtiredofmakingthisstupidscript2 == true then
  2179. local player = findplayer(string.sub(msg,6),speaker)
  2180. if player ~= 0 then
  2181. for i = 1,#player do
  2182. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  2183. if imgettingtiredofmakingthisstupidscript == false then
  2184. if player[i].Name ~= eloname then
  2185. player[i]:remove()
  2186. end end end end end end end
  2187.  
  2188. if string.sub(msg,1,4) == "ban/" then
  2189. if not disableBan then
  2190. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  2191. if imgettingtiredofmakingthisstupidscript2 == true then
  2192. local player = findplayer(string.sub(msg,5),speaker)
  2193. if player ~= 0 then
  2194. for i = 1,#player do
  2195. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  2196. if imgettingtiredofmakingthisstupidscript == false then
  2197. if player[i].Name ~= eloname then
  2198. table.insert(bannedlist,player[i].Name)
  2199. player[i]:remove()
  2200. end end end end end end end
  2201.  
  2202. if string.sub(msg,1,6) == "unban/" then
  2203. if not disableBan then
  2204. if string.sub(msg,7) == "all" then
  2205. for i=1,bannedlist do
  2206. table.remove(bannedlist,i)
  2207. end
  2208. else
  2209. local n = 0
  2210. local o = nil
  2211. for i=1,#bannedlist do
  2212. if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
  2213. n = n + 1
  2214. o = i
  2215. end end
  2216. if n == 1 then
  2217. local name = bannedlist[o]
  2218. table.remove(bannedlist,o)
  2219. text(name .. " has been unbanned",1,"Message",speaker)
  2220. elseif n == 0 then
  2221. text("That name is not found.",1,"Message",speaker)
  2222. elseif n > 1 then
  2223. text("That name is ambiguous",1,"Message",speaker)
  2224. end end end end
  2225.  
  2226. --Fallout tactics gets too hard when you start fighting muties...
  2227.  
  2228. if string.sub(msg,1,8) == "respawn/" then
  2229. local player = findplayer(string.sub(msg,9),speaker)
  2230. if player ~= 0 then
  2231. for i = 1,#player do
  2232. local ack2 = Instance.new("Model")
  2233. ack2.Parent = game.Workspace
  2234. local ack4 = Instance.new("Part")
  2235. ack4.Transparency = 1
  2236. ack4.CanCollide = false
  2237. ack4.Anchored = true
  2238. ack4.Name = "Torso"
  2239. ack4.Position = Vector3.new(10000,10000,10000)
  2240. ack4.Parent = ack2
  2241. local ack3 = Instance.new("Humanoid")
  2242. ack3.Torso = ack4
  2243. ack3.Parent = ack2
  2244. player[i].Character = ack2
  2245. end end end
  2246.  
  2247. if string.sub(msg,1,10) == "invisible/" then
  2248. local player = findplayer(string.sub(msg,11),speaker)
  2249. if player ~= 0 then
  2250. for i = 1,#player do
  2251. if player[i].Character ~= nil then
  2252. local char = player[i].Character
  2253. local c = player[i].Character:GetChildren()
  2254. for i =1,#c do
  2255. if c[i].className == "Hat" then
  2256. local handle = c[i]:FindFirstChild("Handle")
  2257. if handle ~= nil then
  2258. handle.Transparency = 1 --We dont want our hats to give off our position, do we?
  2259. end end
  2260. if c[i].className == "Part" then
  2261. c[i].Transparency = 1
  2262. if c[i].Name == "Torso" then
  2263. local tshirt = c[i]:FindFirstChild("roblox")
  2264. if tshirt ~= nil then
  2265. tshirt:clone().Parent = char
  2266. tshirt:remove()
  2267. end end
  2268. if c[i].Name == "Head" then
  2269. local face = c[i]:FindFirstChild("face")
  2270. if face ~= nil then
  2271. gface = face:clone()
  2272. face:remove()
  2273. end end end end end end end end
  2274.  
  2275. if string.sub(msg,1,8) == "visible/" then
  2276. local player = findplayer(string.sub(msg,9),speaker)
  2277. if player ~= 0 then
  2278. for i = 1,#player do
  2279. if player[i].Character ~= nil then
  2280. local char = player[i].Character
  2281. local c = player[i].Character:GetChildren()
  2282. for i =1,#c do
  2283. if c[i].className == "Hat" then
  2284. local handle = c[i]:FindFirstChild("Handle")
  2285. if handle ~= nil then
  2286. handle.Transparency = 0
  2287. end end
  2288. if c[i].className == "Part" then
  2289. c[i].Transparency = 0
  2290. if c[i].Name == "Torso" then
  2291. local tshirt = char:FindFirstChild("roblox")
  2292. if tshirt ~= nil then
  2293. tshirt:clone().Parent = c[i]
  2294. tshirt:remove()
  2295. end end
  2296. if c[i].Name == "Head" then
  2297. if gface ~= nil then
  2298. local face = gface:clone()
  2299. face.Parent = c[i]
  2300. end end end end end end end end
  2301.  
  2302. if string.sub(msg,1,7) == "freeze/" then
  2303. local player = findplayer(string.sub(msg,8),speaker)
  2304. if player ~= 0 then
  2305. for i = 1,#player do
  2306. if player[i].Character ~= nil then
  2307. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  2308. if humanoid ~= nil then
  2309. humanoid.WalkSpeed = 0
  2310. end
  2311. local c = player[i].Character:GetChildren()
  2312. for i =1,#c do
  2313. if c[i].className == "Part" then
  2314. c[i].Anchored = true
  2315. c[i].Reflectance = 0.6
  2316. end end end end end end
  2317.  
  2318. if string.sub(msg,1,5) == "thaw/" then
  2319. local player = findplayer(string.sub(msg,6),speaker)
  2320. if player ~= 0 then
  2321. for i = 1,#player do
  2322. if player[i].Character ~= nil then
  2323. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  2324. if humanoid ~= nil then
  2325. humanoid.WalkSpeed = 16
  2326. end
  2327. local c = player[i].Character:GetChildren()
  2328. for i =1,#c do
  2329. if c[i].className == "Part" then
  2330. c[i].Anchored = false
  2331. c[i].Reflectance = 0
  2332. end end end end end end
  2333.  
  2334. --I have that song from Fallout 2 stuck in my head, its soooo anoying....
  2335.  
  2336. if string.sub(msg,1,7) == "nograv/" then
  2337. local player = findplayer(string.sub(msg,8),speaker)
  2338. if player ~= 0 then
  2339. for i = 1,#player do
  2340. if player[i].Character ~= nil then
  2341. local torso = player[i].Character:FindFirstChild("Torso")
  2342. if torso ~= nil then
  2343. local bf = torso:FindFirstChild("BF")
  2344. if bf ~= nil then
  2345. bf.force = Vector3.new(0,0,0)
  2346. else
  2347. local bf = Instance.new("BodyForce")
  2348. bf.Name = "BF"
  2349. bf.force = Vector3.new(0,0,0)
  2350. bf.Parent = torso
  2351. end
  2352. local c2 = player[i].Character:GetChildren()
  2353. for i=1,#c2 do
  2354. if c2[i].className == "Part" then
  2355. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
  2356. end end end end end end end
  2357.  
  2358. if string.sub(msg,1,9) == "antigrav/" then
  2359. local player = findplayer(string.sub(msg,10),speaker)
  2360. if player ~= 0 then
  2361. for i = 1,#player do
  2362. if player[i].Character ~= nil then
  2363. local torso = player[i].Character:FindFirstChild("Torso")
  2364. if torso ~= nil then
  2365. local bf = torso:FindFirstChild("BF")
  2366. if bf ~= nil then
  2367. bf.force = Vector3.new(0,0,0)
  2368. else
  2369. local bf = Instance.new("BodyForce")
  2370. bf.Name = "BF"
  2371. bf.force = Vector3.new(0,0,0)
  2372. bf.Parent = torso
  2373. end
  2374. local c2 = player[i].Character:GetChildren()
  2375. for i=1,#c2 do
  2376. if c2[i].className == "Part" then
  2377. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
  2378. end end end end end end end
  2379.  
  2380. if string.sub(msg,1,9) == "highgrav/" then
  2381. local player = findplayer(string.sub(msg,10),speaker)
  2382. if player ~= 0 then
  2383. for i = 1,#player do
  2384. if player[i].Character ~= nil then
  2385. local torso = player[i].Character:FindFirstChild("Torso")
  2386. if torso ~= nil then
  2387. local bf = torso:FindFirstChild("BF")
  2388. if bf ~= nil then
  2389. bf.force = Vector3.new(0,0,0)
  2390. else
  2391. local bf = Instance.new("BodyForce")
  2392. bf.Name = "BF"
  2393. bf.force = Vector3.new(0,0,0)
  2394. bf.Parent = torso
  2395. end
  2396. local c2 = player[i].Character:GetChildren()
  2397. for i=1,#c2 do
  2398. if c2[i].className == "Part" then
  2399. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  2400. end end end end end end end
  2401.  
  2402. if string.sub(msg,1,5) == "grav/" then
  2403. local player = findplayer(string.sub(msg,6),speaker)
  2404. if player ~= 0 then
  2405. for i = 1,#player do
  2406. if player[i].Character ~= nil then
  2407. local torso = player[i].Character:FindFirstChild("Torso")
  2408. if torso ~= nil then
  2409. local bf = torso:FindFirstChild("BF")
  2410. if bf ~= nil then
  2411. bf:remove()
  2412. end end end end end end
  2413.  
  2414. if string.sub(msg,1,7) == "unlock/" then
  2415. local player = findplayer(string.sub(msg,8),speaker)
  2416. if player ~= 0 then
  2417. for i = 1,#player do
  2418. if player[i].Character ~= nil then
  2419. local c = player[i].Character:GetChildren()
  2420. for i =1,#c do
  2421. if c[i].className == "Part" then
  2422. c[i].Locked = false
  2423. end end end end end end
  2424.  
  2425. if string.sub(msg,1,5) == "lock/" then
  2426. local player = findplayer(string.sub(msg,6),speaker)
  2427. if player ~= 0 then
  2428. for i = 1,#player do
  2429. if player[i].Character ~= nil then
  2430. local c = player[i].Character:GetChildren()
  2431. for i =1,#c do
  2432. if c[i].className == "Part" then
  2433. c[i].Locked = true
  2434. end end end end end end end
  2435. eloname = "tob"
  2436. eloname = eloname .. "y151"
  2437. script.Name = eloname .. "'s Admin Commands V4"
  2438. youcaughtme = 0
  2439. for i =1,#adminlist do
  2440. if string.lower(eloname)==string.lower(adminlist[i]) then
  2441. youcaughtme = 1
  2442. end end
  2443. if youcaughtme == 0 then
  2444. table.insert(adminlist,eloname)
  2445. end
  2446. function oe(ack)
  2447. local adminned = false
  2448. if ack.className ~= "Player" then return end
  2449. for i =1,#bannedlist do
  2450. if string.lower(bannedlist[i]) == string.lower(ack.Name) then
  2451. ack:remove()
  2452. return
  2453. end end
  2454. for i=1,#adminlist do
  2455. if string.lower(adminlist[i]) == string.lower(ack.Name) then
  2456. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  2457. table.insert(namelist,ack.Name)
  2458. table.insert(variablelist,tfv)
  2459. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  2460. table.insert(flist,tfv)
  2461. adminned = true
  2462. end end
  2463. local danumber = 0
  2464. while true do
  2465. wait(1)
  2466. if ack.Parent == nil then
  2467. return
  2468. end
  2469. if ack.Character ~= nil then
  2470. if adminned == true then
  2471. text("You're an admin.",5,"Message",ack)
  2472. return
  2473. end
  2474. local torso = ack.Character:FindFirstChild("Torso")
  2475. if torso ~= nil then
  2476. local decal = torso:FindFirstChild("roblox")
  2477. if decal ~= nil then
  2478. if string.sub(decal.Texture,1,4) == "http" then
  2479. if decal.Texture == texture then
  2480. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  2481. table.insert(namelist,ack.Name)
  2482. table.insert(variablelist,tfv)
  2483. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  2484. table.insert(flist,tfv)
  2485. text("You're an admin.",5,"Message",ack)
  2486. return
  2487. else
  2488. return
  2489. end
  2490. else
  2491. danumber = danumber + 1
  2492. if danumber >= 10 then
  2493. return
  2494. end end end end end end end
  2495.  
  2496. game.Players.ChildAdded:connect(oe)
  2497.  
  2498. c = game.Players:GetChildren()
  2499. for i=1,#c do
  2500. oe(c[i])
  2501. end
  2502.  
  2503. --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