Advertisement
NACKRR

Admin Scripty

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