Guest User

Untitled

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