Advertisement
RibCripql

admin

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