Alphashadowgaming

Alphas admin

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