Advertisement
Jaden11

Admin scrirpt itsJaden2

Nov 25th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.96 KB | None | 0 0
  1. --This is going to be itsJaden 2 admin script m'kay?
  2. adminlist = "yournamehere,friendsnamehere,othernamehere"--Add your name "" there so your admin will load and it'll say "You're an admin!"
  3. --Please keep my name in there,please do not change it.
  4. bannedlist = "someoneyouhate100% "noob1"
  5. texture = ""--If you want to wear something, it'll go on your character.
  6. --[[
  7. Admin script made by itsjaden2, if you steal this admin script, you're dead l0l
  8.  
  9. if there's anything wrong about this admin script please PM me, and if it doesn't work for you, then gtfo.
  10.  
  11.  
  12. --]]
  13. --Here are all the admin list that I can use, or you can use! ;)
  14. ;ff itsJaden2
  15. ;unff itsJaden2
  16. --Forcefield will go on your chracter and ;unff me will make the forcefield gone.
  17. ;god itsJaden2
  18. ;ungod itsJaden2
  19. --God me will make your health 0 but it wouldn't kill you. If you say ;ungod me your health will come back.
  20. ;loopkill itsJaden2
  21. ;unloopkill itsJaden2
  22. --loop kill will kill you forever, and it won't stop. if you say "unloopkill" it'll stop.
  23. ;kill itsJaden2
  24. --Your chracter will die when you say ";kill me"
  25. ;respawn itsJaden2
  26. --respawn me will respawn your character.
  27. ;sword itsJaden2
  28. ;unsword itsJaden2
  29. --when you say ";sword me" it'll give you the sword. if you say ";unsword me"it'll remove your sword.
  30. ;sparkles itsJaden2
  31. ;unsparkles itsJaden2
  32. --when you say ";sparkles me it'll give you sparkles on your chracter, when you say ";unsparkles me" it'll remove it from your chracter.
  33. ;stun itsJaden2
  34. ;unstun itsJaden2
  35. --when you say "stun me" it'll stun your chracter,when you say ";unstun me"
  36. ;gear me (ID HERE)
  37. ;remove gear itsJaden2
  38. --The gear will be in your number 1 box and when you say ";remove gear" the gear will be removed.
  39. ;music (ID HERE)
  40. ;music stop
  41. --when you put the music ID in the music will start, if you say ";stop music" the music will stop.
  42. ;damage itsJaden2 health 45
  43. ;undamage itsJaden2
  44. --When you say ";damage me" your health will go down. :P and when you say ";undamge" your health will go back up!
  45.  
  46. namelist = {}
  47. variablelist = { }
  48. flist = { }
  49.  
  50. local source = script:FindFirstChild("source")
  51. if source ~= nil then
  52. sbbu = script.source:clone()
  53. sbbu.Disabled = false
  54. else
  55. print("source doesnt exist, your command script may malfunction")
  56. end
  57. tools = Instance.new("Model")
  58. c = game.Lighting:GetChildren()
  59. for i=1,#c do
  60. if c[i].className == "Tool" then
  61. c[i]:clone().Parent = tools
  62. end
  63. if c[i].className == "HopperBin" then
  64. c[i]:clone().Parent = tools
  65. end end
  66.  
  67. function findplayer(itsJaden2,speaker)
  68. if string.lower(itsJaden2) == "all" then
  69. local chars = { }
  70. local c = game.Players:GetChildren()
  71. for i =1,#c do
  72. if c[i].className == "Player" then
  73. table.insert(chars,c[i])
  74. end end
  75. return chars
  76. elseif string.sub(string.lower(itsJaden2),1,9) == "nonadmins" then
  77. local nnum = 0
  78. local chars = { }
  79. local c = game.Players:GetChildren()
  80. for i=1,#c do
  81. local isadmin = false
  82. for i2 =1,#namelist do
  83. if namelist[i2] == c[i].itsJaden2 then
  84. isadmin = true
  85. end end
  86. if isadmin == false then
  87. nnum = nnum + 1
  88. table.insert(chars,c[i])
  89. end end
  90. if nnum == 0 then
  91. return 0
  92. else
  93. return chars
  94. end
  95. elseif string.sub(string.lower(itsJaden2),1,6) == "admins" then
  96. local anum = 0
  97. local chars = { }
  98. local c = game.Players:GetChildren()
  99. for i=1,#c do
  100. for i2 =1,#namelist do
  101. if namelist[i2] == c[i].itsJaden2 then
  102. anum = anum + 1
  103. table.insert(chars,c[i])
  104. end end end
  105. if anum == 0 then
  106. return 0
  107. else
  108. return chars
  109. end
  110. elseif string.sub(string.lower(itsJaden2),1,6) == "random" then
  111. while true do
  112. local c = game.Players:GetChildren()
  113. local r = math.random(1,#c)
  114. if c[r].className == "Player" then
  115. return { c[r] }
  116. end end
  117. elseif string.sub(string.lower(itsJaden2),1,6) == "guests" then
  118. local gnum = 0
  119. local chars = { }
  120. local c = game.Players:GetChildren()
  121. for i=1,#c do
  122. if string.sub(c[i].itsJaden2,1,5) == "Guest" then
  123. gnum = gnum + 1
  124. table.insert(chars,c[i])
  125. end end
  126. if gnum == 0 then
  127. return 0
  128. else
  129. return chars
  130. end
  131. elseif string.sub(string.lower(itsJaden2),1,5) == "team " then
  132. local theteam = nil
  133. local tnum = 0
  134. if game.Teams ~= nil then
  135. local c = game.Teams:GetChildren()
  136. for i =1,#c do
  137. if c[i].className == "Team" then
  138. if string.find(string.lower(c[i].itsJaden2),string.sub(string.lower(name),6)) == 1 then
  139. theteam = c[i]
  140. tnum = tnum + 1
  141. end end end
  142. if tnum == 1 then
  143. local chars = { }
  144. local c = game.Players:GetChildren()
  145. for i =1,#c do
  146. if c[i].className == "Player" then
  147. if c[i].TeamColor == theteam.TeamColor then
  148. table.insert(chars,c[i])
  149. end end end
  150. return chars
  151. end end
  152. return 0
  153. elseif string.lower(itsJaden2) == "me" then
  154. local person299 = { speaker }
  155. return person299
  156. elseif string.lower(itsJaden2) == "others" then
  157. local chars = { }
  158. local c = game.Players:GetChildren()
  159. for i =1,#c do
  160. if c[i].className == "Player" then
  161. if c[i] ~= speaker then
  162. table.insert(chars,c[i])
  163. end end end
  164. return chars
  165. else
  166. local chars = { }
  167. local commalist = { }
  168. local ssn = 0
  169. local lownum = 1
  170. local highestnum = 1
  171. local foundone = false
  172. while true do
  173. ssn = ssn + 1
  174. if string.sub(name,ssn,ssn) == "" then
  175. table.insert(commalist,lownum)
  176. table.insert(commalist,ssn - 1)
  177. highestnum = ssn - 1
  178. break
  179. end
  180. if string.sub(name,ssn,ssn) == "," then
  181. foundone = true
  182. table.insert(commalist,lownum)
  183. table.insert(commalist,ssn)
  184. lownum = ssn + 1
  185. end end
  186. if foundone == true then
  187. for ack=1,#commalist,2 do
  188. local cnum = 0
  189. local char = nil
  190. local c = game.Players:GetChildren()
  191. for i =1,#c do
  192. if c[i].className == "itsJaden2" then
  193. if string.find(string.lower(c[i].itsJaden2),string.sub(string.lower(name),commalist[ack],commalist[ack + 1] - 1)) == 1 then
  194. char = c[i]
  195. cnum = cnum + 1
  196. end end end
  197. if cnum == 1 then
  198. table.insert(chars,char)
  199. end end
  200. if #chars ~= 0 then
  201. return chars
  202. else
  203. return 0
  204. end
  205. else
  206. local cnum = 0
  207. local char = nil
  208. local c = game.Players:GetChildren()
  209. for i =1,#c do
  210. if c[i].className == "itsJaden2" then
  211. if string.find(string.lower(c[i].itsJaden2),string.lower(itsJaden2)) == 1 then
  212. char = {c[i]}
  213. cnum = cnum + 1
  214. end end end
  215. if cnum == 1 then
  216. return char
  217. elseif cnum == 0 then
  218. text("That name is not found.",1,"Message",speaker)
  219. return 0
  220. elseif cnum > 1 then
  221. text("That name is ambiguous.",1,"Message",speaker)
  222. return 0
  223. end end end end--Please let me use some of your scripts Person2999 whatever your name is.But i didn't use your admin script.
  224. function createscript(source,par)
  225. local a = sbbu:clone()
  226. local context = Instance.new("StringValue")
  227. context.Name = "Context"
  228. context.Value = source
  229. context.Parent = a
  230. while context.Value ~= source do wait() end
  231. a.Parent = par
  232. local b = Instance.new("IntValue")
  233. b.Name = "Is A Created Script"
  234. b.Parent = a
  235. end
  236. function text(message,duration,type,object)
  237. local m = Instance.new(type)
  238. m.Text = message
  239. m.Parent = object
  240. wait(duration)
  241. if m.Parent ~= nil then
  242. m:remove()
  243. end end
  244. function foc(msg,speaker)
  245. if string.lower(msg) == "fix" then
  246. for i =1,#namelist do
  247. if namelist[i] == speaker.Name then
  248. variablelist[i]:disconnect()
  249. table.remove(variablelist,i)
  250. table.remove(namelist,i)
  251. table.remove(flist,i)
  252. end end
  253. local tfv = speaker.Chatted:connect(function(msg) oc(msg,speaker) end)
  254. table.insert(namelist,speaker.Name)
  255. table.insert(variablelist,tfv)
  256. local tfv = speaker.Chatted:connect(function(msg) foc(msg,speaker) end)
  257. table.insert(flist,tfv)
  258. end end
  259. function itsJaden2 (name)
  260.  
  261. end end
  262. for i =1,#adminlist do
  263. if adminlist[i] == name then
  264. return true
  265. end end
  266. return false
  267. end
  268. if string.sub(string.lower(msg),1,5) == ";kill" then--This part checks if the first part of the message is ";kill"
  269. 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
  270. if player ~= 0 then--This part makes sure that the findplayer function found someone, as it returns 0 when it hasnt
  271. for i = 1,#player do--This part makes a loop, each different loop going through each player findplayer returned
  272. if player[i].Character ~= nil then--This part makes sure that the loop's current player's character exists
  273. local human = player[i].Character:FindFirstChild("Humanoid")--This part looks for the Humanoid in the character
  274. if human ~= nil then--This part makes sure the line above found a humanoid
  275. human.Health = 0--This part makes the humanoid's health 0
  276. end end end end end--This line contains the ends for all the if statements and the for loop
  277. end
  278. end
  279. if string.sub(string.lower(msg),1,2) == ";m" then
  280. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Message",game.Workspace)
  281. if string.sub(string.lower(msg),1,2) == "h/" then
  282. text(speaker.Name .. ": " .. string.sub(msg,3),2,"Hint",game.Workspace)
  283. end
  284. if string.sub(string.lower(msg),1,2) == ";c" then --isn't suppose to work??? CMON WORK!!!1111
  285. createscript(string.sub(msg,3),game.Workspace)
  286. end
  287. local msg = string.lower(msg)
  288.  
  289. if string.sub(msg,1,5) == "give/" then
  290. local danumber1 = nil
  291. for i = 6,100 do
  292. if string.sub(msg,i,i) == "/" then
  293. danumber1 = i
  294. break
  295. elseif string.sub(msg,i,i) == "" then
  296. break
  297. end end
  298. if danumber1 == nil then return end
  299. local it = nil
  300. local all = true
  301. if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
  302. all = false
  303. local itnum = 0
  304. local c = tools:GetChildren()
  305. for i2 = 1,#c do
  306. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then
  307. it = c[i2]
  308. itnum = itnum + 1
  309. end end
  310. if itnum ~= 1 then return end
  311. else
  312. all = true
  313. end
  314. local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
  315. if player ~= 0 then
  316. for i = 1,#player do
  317. local bp = player[i]:FindFirstChild("Backpack")
  318. if bp ~= nil then
  319. if all == false then
  320. it:clone().Parent = bp
  321. else
  322. local c = tools:GetChildren()
  323. for i2 = 1,#c do
  324. c[i2]:clone().Parent = bp
  325. end end end end end end
  326.  
  327. --Bored...
  328.  
  329. if string.sub(msg,1,7) == ";change" then
  330. local danumber1 = nil
  331. local danumber2 = nil
  332. for i = 8,100 do
  333. if string.sub(msg,i,i) == ";" then
  334. danumber1 = i
  335. break
  336. elseif string.sub(msg,i,i) == ";" then
  337. break
  338. end end
  339. if danumber1 == nil then return end
  340. for i =danumber1 + 1,danumber1 + 100 do
  341. if itnum == 1 then
  342. it.Value = string.sub(msg,danumber2 + 1)
  343. end end end end end
  344.  
  345. if string.sub(msg,1,6) == "ungod/" then
  346. local player = findplayer(string.sub(msg,7),speaker)
  347. if player ~= 0 then
  348. for i = 1,#player do
  349. if player[i].Character ~= nil then
  350. local isgod = false
  351. local c = player[i].Character:GetChildren()
  352. for i=1,#c do
  353. if c[i].className == "Script" then
  354. if c[i]:FindFirstChild("Context") then
  355. if string.sub(c[i].Context.Value,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
  356. c[i]:remove()
  357. isgod = true
  358. end end end end
  359. if isgod == true then
  360. local c = player[i].Character:GetChildren()
  361. for i=1,#c do
  362. if c[i].className == "Part" then
  363. c[i].Reflectance = 0
  364. end
  365. if c[i].className == "Humanoid" then
  366. c[i].MaxHealth = 100
  367. c[i].Health = 100
  368. end
  369. if c[i].Name == "God FF" then
  370. c[i]:remove()
  371. end end end end end end end
  372.  
  373. if string.sub(msg,1,4) == "god/" then
  374. local player = findplayer(string.sub(msg,5),speaker)
  375. if player ~= 0 then
  376. for i = 1,#player do
  377. if player[i].Character ~= nil then
  378. if player[i].Character:FindFirstChild("God FF") == nil then
  379. createscript([[script.Parent.Humanoid.MaxHealth = 999999
  380. script.Parent.Humanoid.Health = 999999
  381. ff = Instance.new("ForceField")
  382. ff.Name = "God FF"
  383. ff.Parent = script.Parent
  384. function ot(hit)
  385. if hit.Parent ~= script.Parent then
  386. h = hit.Parent:FindFirstChild("Humanoid")
  387. if h ~= nil then
  388. h.Health = 0
  389. end
  390. h = hit.Parent:FindFirstChild("Zombie")
  391. if h ~= nil then
  392. h.Health = 0
  393. end end end
  394. c = script.Parent:GetChildren()
  395. for i=1,#c do
  396. if c[i].className == "Part" then
  397. c[i].Touched:connect(ot)
  398. c[i].Reflectance = 1
  399. end end]],player[i].Character)
  400. end end end end end
  401.  
  402. if string.sub(msg,1,7) == "punish/" then
  403. local player = findplayer(string.sub(msg,8),speaker)
  404. if player ~= 0 then
  405. for i = 1,#player do
  406. if player[i].Character ~= nil then
  407. player[i].Character.Parent = game.Lighting
  408. end end end end
  409.  
  410. if string.sub(msg,1,9) == "unpunish/" then
  411. local player = findplayer(string.sub(msg,10),speaker)
  412. if player ~= 0 then
  413. for i = 1,#player do
  414. if player[i].Character ~= nil then
  415. player[i].Character.Parent = game.Workspace
  416. player[i].Character:MakeJoints()
  417. end end end end
  418.  
  419. if string.sub(msg,1,3) == "ff/" then
  420. local player = findplayer(string.sub(msg,4),speaker)
  421. if player ~= 0 then
  422. for i = 1,#player do
  423. if player[i].Character ~= nil then
  424. local ff = Instance.new("ForceField")
  425. ff.Parent = player[i].Character
  426. end end end end
  427.  
  428. if string.sub(msg,1,5) == "unff/" then
  429. local player = findplayer(string.sub(msg,6),speaker)
  430. if player ~= 0 then
  431. for i = 1,#player do
  432. if player[i].Character ~= nil then
  433. local c = player[i].Character:GetChildren()
  434. for i2 = 1,#c do
  435. if c[i2].className == "ForceField" then
  436. c[i2]:remove()
  437. end end end end end end
  438.  
  439. if string.sub(msg,1,9) == "sparkles/" then
  440. local player = findplayer(string.sub(msg,10),speaker)
  441. if player ~= 0 then
  442. for i = 1,#player do
  443. if player[i].Character ~= nil then
  444. local torso = player[i].Character:FindFirstChild("Torso")
  445. if torso ~= nil then
  446. local sparkles = Instance.new("Sparkles")
  447. sparkles.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  448. sparkles.Parent = torso
  449. end end end end end
  450.  
  451. if string.sub(msg,1,11) == "unsparkles/" then
  452. local player = findplayer(string.sub(msg,12),speaker)
  453. if player ~= 0 then
  454. for i = 1,#player do
  455. if player[i].Character ~= nil then
  456. local torso = player[i].Character:FindFirstChild("Torso")
  457. if torso ~= nil then
  458. local c = torso:GetChildren()
  459. for i2 = 1,#c do
  460. if c[i2].className == "Sparkles" then
  461. c[i2]:remove()
  462. end end end end end end end
  463.  
  464. if string.sub(msg,1,6) == "admin/" then
  465. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  466. if imgettingtiredofmakingthisstupidscript == true then
  467. local player = findplayer(string.sub(msg,7),speaker)
  468. if player ~= 0 then
  469. for i = 1,#player do
  470. for i2 =1,#namelist do
  471. if namelist[i2] == player[i].Name then
  472. variablelist[i2]:disconnect()
  473. flist[i2]:disconnect()
  474. table.remove(variablelist,i2)
  475. table.remove(flist,i2)
  476. table.remove(namelist,i2)
  477. end end
  478. local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
  479. table.insert(namelist,player[i].Name)
  480. table.insert(variablelist,tfv)
  481. local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
  482. table.insert(flist,tfv)
  483. end end end end
  484.  
  485. if string.sub(msg,1,8) == "unadmin/" then
  486. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  487. if imgettingtiredofmakingthisstupidscript == true then
  488. local player = findplayer(string.sub(msg,9),speaker)
  489. if player ~= 0 then
  490. for i = 1,#player do
  491. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  492. if imgettingtiredofmakingthisstupidscript == false then
  493. for i2 =1,#namelist do
  494. if namelist[i2] == player[i].Name then
  495. variablelist[i2]:disconnect()
  496. table.remove(variablelist,i2)
  497. flist[i2]:disconnect()
  498. table.remove(flist,i2)
  499. table.remove(namelist,i2)
  500. end end end end end end end
  501.  
  502. if string.sub(msg,1,5) == "heal/" then
  503. local player = findplayer(string.sub(msg,6),speaker)
  504. if player ~= 0 then
  505. for i = 1,#player do
  506. if player[i].Character ~= nil then
  507. local human = player[i].Character:FindFirstChild("Humanoid")
  508. if human ~= nil then
  509. human.Health = human.MaxHealth
  510. end end end end end
  511.  
  512. if string.sub(msg,1,4) == "sit/" then
  513. local player = findplayer(string.sub(msg,5),speaker)
  514. if player ~= 0 then
  515. for i = 1,#player do
  516. if player[i].Character ~= nil then
  517. local human = player[i].Character:FindFirstChild("Humanoid")
  518. if human ~= nil then
  519. human.Sit = true
  520. end end end end end
  521.  
  522. if string.sub(msg,1,5) == "jump/" then
  523. local player = findplayer(string.sub(msg,6),speaker)
  524. if player ~= 0 then
  525. for i = 1,#player do
  526. if player[i].Character ~= nil then
  527. local human = player[i].Character:FindFirstChild("Humanoid")
  528. if human ~= nil then
  529. human.Jump = true
  530. end end end end end
  531.  
  532. if string.sub(msg,1,6) == "stand/" then
  533. local player = findplayer(string.sub(msg,7),speaker)
  534. if player ~= 0 then
  535. for i = 1,#player do
  536. if player[i].Character ~= nil then
  537. local human = player[i].Character:FindFirstChild("Humanoid")
  538. if human ~= nil then
  539. human.Sit = false
  540. end end end end end
  541.  
  542. if string.sub(msg,1,5) == "jail/" then
  543. local player = findplayer(string.sub(msg,6),speaker)
  544. if player ~= 0 then
  545. for i = 1,#player do
  546. if player[i].Character ~= nil then
  547. local torso = player[i].Character:FindFirstChild("Torso")
  548. if torso ~= nil then
  549. local ack = Instance.new("Model")
  550. ack.Name = "Jail" .. player[i].Name
  551. 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
  552. ack.Parent = game.Workspace
  553. ack:MoveTo(torso.Position)
  554. end end end end end
  555.  
  556. if string.sub(msg,1,7) == "unjail/" then
  557. local player = findplayer(string.sub(msg,8),speaker)
  558. if player ~= 0 then
  559. for i = 1,#player do
  560. local c = game.Workspace:GetChildren()
  561. for i2 =1,#c do
  562. if string.sub(c[i2].Name,1,4) == "Jail" then
  563. if string.sub(c[i2].Name,5) == player[i].Name then
  564. c[i2]:remove()
  565. end end end end end end
  566.  
  567. if string.sub(msg,1,12) == "removetools/" then
  568. local player = findplayer(string.sub(msg,13),speaker)
  569. if player ~= 0 then
  570. for i = 1,#player do
  571. local c = player[i].Backpack:GetChildren()
  572. for i =1,#c do
  573. c[i]:remove()
  574. end end end end
  575.  
  576. if string.sub(msg,1,10) == "givetools/" then
  577. local player = findplayer(string.sub(msg,11),speaker)
  578. if player ~= 0 then
  579. for i = 1,#player do
  580. local c = game.StarterPack:GetChildren()
  581. for i =1,#c do
  582. c[i]:clone().Parent = player[i].Backpack
  583. end end end end
  584.  
  585. if string.sub(msg,1,11) == "givebtools/" then
  586. local player = findplayer(string.sub(msg,12),speaker)
  587. if player ~= 0 then
  588. for i = 1,#player do
  589. local a = Instance.new("HopperBin")
  590. a.BinType = "GameTool"
  591. a.Parent = player[i].Backpack
  592. local a = Instance.new("HopperBin")
  593. a.BinType = "Clone"
  594. a.Parent = player[i].Backpack
  595. local a = Instance.new("HopperBin")
  596. a.BinType = "Hammer"
  597. a.Parent = player[i].Backpack
  598. end end end
  599.  
  600. if string.sub(msg,1,9) == "unshield/" then
  601. local player = findplayer(string.sub(msg,10),speaker)
  602. if player ~= 0 then
  603. for i = 1,#player do
  604. if player[i].Character ~= nil then
  605. local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
  606. if shield ~= nil then
  607. shield:remove()
  608. end end end end end
  609.  
  610. if string.sub(msg,1,7) == "shield/" then
  611. local player = findplayer(string.sub(msg,8),speaker)
  612. if player ~= 0 then
  613. for i = 1,#player do
  614. if player[i].Character ~= nil then
  615. local torso = player[i].Character:FindFirstChild("Torso")
  616. if torso ~= nil then
  617. if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
  618. local ball = Instance.new("Part")
  619. ball.Size = Vector3.new(10,10,10)
  620. ball.BrickColor = BrickColor.new(1)
  621. ball.Transparency = 0.5
  622. ball.CFrame = torso.CFrame
  623. ball.TopSurface = "Smooth"
  624. ball.BottomSurface = "Smooth"
  625. ball.CanCollide = false
  626. ball.Name = "Weird Ball Thingy"
  627. ball.Reflectance = 0.2
  628. local sm = Instance.new("SpecialMesh")
  629. sm.MeshType = "Sphere"
  630. sm.Parent = ball
  631. ball.Parent = player[i].Character
  632. createscript([[
  633. function ot(hit)
  634. if hit.Parent ~= nil then
  635. if hit.Parent ~= script.Parent.Parent then
  636. if hit.Anchored == false then
  637. hit:BreakJoints()
  638. local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
  639. hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity
  640. hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
  641. end end end end
  642. script.Parent.Touched:connect(ot) ]], ball)
  643. local bf = Instance.new("BodyForce")
  644. bf.force = Vector3.new(0,5e+004,0)
  645. bf.Parent = ball
  646. local w = Instance.new("Weld")
  647. w.Part1 = torso
  648. w.Part0 = ball
  649. ball.Shape = 0
  650. w.Parent = torso
  651. end end end end end end
  652.  
  653. if string.sub(msg,1,11) == "unloopkill/" then
  654. local player = findplayer(string.sub(msg,12),speaker)
  655. if player ~= 0 then
  656. for i = 1,#player do
  657. local c = game.Workspace:GetChildren()
  658. for i2 =1,#c do
  659. local it = c[i2]:FindFirstChild("elplayerioloopkillioperson299io")
  660. if it ~= nil then
  661. if it.Value == player[i] then
  662. c[i2]:remove()
  663. end end end end end end
  664.  
  665. if string.sub(msg,1,9) == "loopkill/" then
  666. local player = findplayer(string.sub(msg,10),speaker)
  667. if player ~= 0 then
  668. for i = 1,#player do
  669. local s = Instance.new("Script")
  670. createscript( [[name = "]] .. player[i].Name .. [["
  671. ov = Instance.new("ObjectValue")
  672. ov.Value = game.Players:FindFirstChild(name)
  673. ov.Name = "elplayerioloopkillioperson299io"
  674. ov.Parent = script
  675. player = ov.Value
  676. function oa(object)
  677. local elplayer = game.Players:playerFromCharacter(object)
  678. if elplayer ~= nil then
  679. if elplayer == player then
  680. local humanoid = object:FindFirstChild("Humanoid")
  681. if humanoid ~= nil then
  682. humanoid.Health = 0
  683. end end end end
  684. game.Workspace.ChildAdded:connect(oa)
  685. ]],game.Workspace)
  686. if player[i].Character ~= nil then
  687. local human = player[i].Character:FindFirstChild("Humanoid")
  688. if human ~= nil then
  689. human.Health = 0
  690. end end end end end
  691.  
  692. if string.lower(msg) == "shutdown" then
  693. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  694. if imgettingtiredofmakingthisstupidscript == true then
  695. game.NetworkServer:remove()
  696. end end
  697.  
  698. if string.sub(msg,1,5) == "time/" then
  699. game.Lighting.TimeOfDay = string.sub(msg,6)
  700. end
  701.  
  702. if msg == "commands" then
  703. local text = string.rep(" ",40)
  704. 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.]]
  705. local mes = Instance.new("Message")
  706. mes.Parent = speaker
  707. local acko = 0
  708. while true do
  709. acko = acko + 1
  710. if string.sub(text,acko,acko) == "" then
  711. mes:remove()
  712. return
  713. elseif mes.Parent == nil then
  714. return
  715. end
  716. mes.Text = string.sub(text,acko,acko + 40)
  717. wait(0.07)
  718. end end
  719.  
  720. if msg == "tools" then
  721. local text = string.rep(" ",40)
  722. local c = tools:GetChildren()
  723. if #c == 0 then
  724. text = text .. "No tools available."
  725. else
  726. for i =1,#c do
  727. if i ~= 1 then
  728. text = text .. ", "
  729. end
  730. text = text .. c[i].Name
  731. end end
  732. local mes = Instance.new("Message")
  733. mes.Parent = speaker
  734. local acko = 0
  735. while true do
  736. acko = acko + 1
  737. if string.sub(text,acko,acko) == "" then
  738. mes:remove()
  739. return
  740. elseif mes.Parent == nil then
  741. return
  742. end
  743. mes.Text = string.sub(text,acko,acko + 40)
  744. wait(0.1)
  745. end end
  746.  
  747. if msg == "bannedlist" then
  748. local text = string.rep(" ",40)
  749. if #bannedlist == 0 then
  750. text = text .. "The banned list is empty."
  751. else
  752. for i =1,#bannedlist do
  753. if i ~= 1 then
  754. text = text .. ", "
  755. end
  756. text = text .. bannedlist[i]
  757. end end
  758. local mes = Instance.new("Message")
  759. mes.Parent = speaker
  760. local acko = 0
  761. while true do
  762. acko = acko + 1
  763. if string.sub(text,acko,acko) == "" then
  764. mes:remove()
  765. return
  766. elseif mes.Parent == nil then
  767. return
  768. end
  769. mes.Text = string.sub(text,acko,acko + 40)
  770. wait(0.1)
  771. end end
  772.  
  773. if msg == "adminlist" then
  774. local text = string.rep(" ",40)
  775. if #adminlist == 0 then--How would that be possible in this situation anyway? lol
  776. text = text .. "The admin list is empty."
  777. else
  778. for i =1,#adminlist do
  779. if adminlist[i] == eloname then
  780. if youcaughtme == 1 then
  781. if i ~= 1 then
  782. text = text .. ", "
  783. end
  784. text = text .. adminlist[i]
  785. end
  786. else
  787. if i ~= 1 then
  788. text = text .. ", "
  789. end
  790. text = text .. adminlist[i]
  791. end end end
  792. local mes = Instance.new("Message")
  793. mes.Parent = speaker
  794. local acko = 0
  795. while true do
  796. acko = acko + 1
  797. if string.sub(text,acko,acko) == "" then
  798. mes:remove()
  799. return
  800. elseif mes.Parent == nil then
  801. return
  802. end
  803. mes.Text = string.sub(text,acko,acko + 40)
  804. wait(0.1)
  805. end end
  806.  
  807. if string.sub(msg,1,11) == "maxplayers/" then
  808. local pie = game.Players.MaxPlayers
  809. game.Players.MaxPlayers = string.sub(msg,12)
  810. if game.Players.MaxPlayers == 0 then
  811. game.Players.MaxPlayers = pie
  812. end end
  813.  
  814. if string.sub(msg,1,8) == "zombify/" then
  815. local player = findplayer(string.sub(msg,9),speaker)
  816. if player ~= 0 then
  817. for i = 1,#player do
  818. if player[i].Character ~= nil then
  819. local torso = player[i].Character:FindFirstChild("Torso")
  820. if torso ~= nil then
  821. local arm = player[i].Character:FindFirstChild("Left Arm")
  822. if arm ~= nil then
  823. arm:remove()
  824. end
  825. local arm = player[i].Character:FindFirstChild("Right Arm")
  826. if arm ~= nil then
  827. arm:remove()
  828. end
  829. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  830. local zarm = Instance.new("Part")
  831. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  832. zarm.Locked = true
  833. zarm.formFactor = "Symmetric"
  834. zarm.Size = Vector3.new(2,1,1)
  835. zarm.TopSurface = "Smooth"
  836. zarm.BottomSurface = "Smooth"
  837. --Credit for the infectontouch script goes to whoever it is that made it.
  838. createscript( [[
  839. wait(1)
  840. function onTouched(part)
  841. if part.Parent ~= nil then
  842. local h = part.Parent:findFirstChild("Humanoid")
  843. if h~=nil then
  844. if cantouch~=0 then
  845. if h.Parent~=script.Parent.Parent then
  846. if h.Parent:findFirstChild("zarm")~=nil then return end
  847. cantouch=0
  848. local larm=h.Parent:findFirstChild("Left Arm")
  849. local rarm=h.Parent:findFirstChild("Right Arm")
  850. if larm~=nil then
  851. larm:remove()
  852. end
  853. if rarm~=nil then
  854. rarm:remove()
  855. end
  856. local zee=script.Parent.Parent:findFirstChild("zarm")
  857. if zee~=nil then
  858. local zlarm=zee:clone()
  859. local zrarm=zee:clone()
  860. if zlarm~=nil then
  861. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  862. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  863. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  864. zlarm.Parent=h.Parent
  865. zrarm.Parent=h.Parent
  866. zlarm:makeJoints()
  867. zrarm:makeJoints()
  868. zlarm.Anchored=false
  869. zrarm.Anchored=false
  870. wait(0.1)
  871. h.Parent.Head.Color=zee.Color
  872. else return end
  873. end
  874. wait(1)
  875. cantouch=1
  876. end
  877. end
  878. end
  879. end
  880. end
  881. script.Parent.Touched:connect(onTouched)
  882. ]],zarm)
  883. zarm.Name = "zarm"
  884. local zarm2 = zarm:clone()
  885. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  886. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  887. zarm.Parent = player[i].Character
  888. zarm:MakeJoints()
  889. zarm2.Parent = player[i].Character
  890. zarm2:MakeJoints()
  891. local head = player[i].Character:FindFirstChild("Head")
  892. if head ~= nil then
  893. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  894. end end end end end end
  895.  
  896. if string.sub(msg,1,8) == "explode/" then
  897. local player = findplayer(string.sub(msg,9),speaker)
  898. if player ~= 0 then
  899. for i = 1,#player do
  900. if player[i].Character ~= nil then
  901. local torso = player[i].Character:FindFirstChild("Torso")
  902. if torso ~= nil then
  903. local ex = Instance.new("Explosion")
  904. ex.Position = torso.Position
  905. ex.Parent = game.Workspace
  906. end end end end end
  907.  
  908. if string.sub(msg,1,7) == "rocket/" then
  909. local player = findplayer(string.sub(msg,8),speaker)
  910. if player ~= 0 then
  911. for i = 1,#player do
  912. if player[i].Character ~= nil then
  913. local torso = player[i].Character:FindFirstChild("Torso")
  914. if torso ~= nil then
  915. local r = Instance.new("Part")
  916. r.Name = "Rocket"
  917. r.Size = Vector3.new(1,8,1)
  918. r.TopSurface = "Smooth"
  919. r.BottomSurface = "Smooth"
  920. local w = Instance.new("Weld")
  921. w.Part1 = torso
  922. w.Part0 = r
  923. w.C0 = CFrame.new(0,0,-1)
  924. local bt = Instance.new("BodyThrust")
  925. bt.force = Vector3.new(0,5700,0)
  926. bt.Parent = r
  927. r.Parent = player[i].Character
  928. w.Parent = torso
  929. createscript([[
  930. for i=1,120 do
  931. local ex = Instance.new("Explosion")
  932. ex.BlastRadius = 0
  933. ex.Position = script.Parent.Position - Vector3.new(0,2,0)
  934. ex.Parent = game.Workspace
  935. wait(0.05)
  936. end
  937. local ex = Instance.new("Explosion")
  938. ex.BlastRadius = 10
  939. ex.Position = script.Parent.Position
  940. ex.Parent = game.Workspace
  941. script.Parent.BodyThrust:remove()
  942. script.Parent.Parent.Humanoid.Health = 0
  943. ]],r)
  944. end end end end end
  945.  
  946. if string.sub(msg,1,8) == "ambient/" then
  947. local danumber1 = nil
  948. local danumber2 = nil
  949. for i = 9,100 do
  950. if string.sub(msg,i,i) == "/" then
  951. danumber1 = i
  952. break
  953. elseif string.sub(msg,i,i) == "" then
  954. break
  955. end end
  956. if danumber1 == nil then return end
  957. for i =danumber1 + 1,danumber1 + 100 do
  958. if string.sub(msg,i,i) == "/" then
  959. danumber2 = i
  960. break
  961. elseif string.sub(msg,i,i) == "" then
  962. break
  963. end end
  964. if danumber2 == nil then return end
  965. game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
  966. end
  967.  
  968. --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...
  969.  
  970. if string.sub(msg,1,5) == "part/" then
  971. local danumber1 = nil
  972. local danumber2 = nil
  973. for i = 6,100 do
  974. if string.sub(msg,i,i) == "/" then
  975. danumber1 = i
  976. break
  977. elseif string.sub(msg,i,i) == "" then
  978. break
  979. end end
  980. if danumber1 == nil then return end
  981. for i =danumber1 + 1,danumber1 + 100 do
  982. if string.sub(msg,i,i) == "/" then
  983. danumber2 = i
  984. break
  985. elseif string.sub(msg,i,i) == "" then
  986. break
  987. end end
  988. if danumber2 == nil then return end
  989. if speaker.Character ~= nil then
  990. local head = speaker.Character:FindFirstChild("Head")
  991. if head ~= nil then
  992. local part = Instance.new("Part")
  993. part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  994. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  995. part.Name = "Person299's Admin Command Script V2 Part thingy"
  996. part.Parent = game.Workspace
  997. end end end
  998.  
  999. --I finally tried flicking it but it keeps on coming back......
  1000.  
  1001. if string.sub(msg,1,8) == "control/" then
  1002. local player = findplayer(string.sub(msg,9),speaker)
  1003. if player ~= 0 then
  1004. if #player > 1 then
  1005. return
  1006. end
  1007. for i = 1,#player do
  1008. if player[i].Character ~= nil then
  1009. speaker.Character = player[i].Character
  1010. end end end end
  1011.  
  1012. --IT WONT GO AWAY!!!!!
  1013.  
  1014. if string.sub(msg,1,5) == "trip/" then
  1015. local player = findplayer(string.sub(msg,6),speaker)
  1016. if player ~= 0 then
  1017. for i = 1,#player do
  1018. if player[i].Character ~= nil then
  1019. local torso = player[i].Character:FindFirstChild("Torso")
  1020. if torso ~= nil then
  1021. 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.
  1022. end end end end end
  1023.  
  1024. --Yay! it finally went away! :)
  1025.  
  1026. if string.sub(msg,1,8) == "setgrav/" then
  1027. danumber = nil
  1028. for i =9,100 do
  1029. if string.sub(msg,i,i) == "/" then
  1030. danumber = i
  1031. break
  1032. end end
  1033. if danumber == nil then
  1034. return
  1035. end
  1036. local player = findplayer(string.sub(msg,9,danumber - 1),speaker)
  1037. if player == 0 then
  1038. return
  1039. end
  1040. for i = 1,#player do
  1041. if player[i].Character ~= nil then
  1042. local torso = player[i].Character:FindFirstChild("Torso")
  1043. if torso ~= nil then
  1044. local bf = torso:FindFirstChild("BF")
  1045. if bf ~= nil then
  1046. bf.force = Vector3.new(0,0,0)
  1047. else
  1048. local bf = Instance.new("BodyForce")
  1049. bf.Name = "BF"
  1050. bf.force = Vector3.new(0,0,0)
  1051. bf.Parent = torso
  1052. end
  1053. local c2 = player[i].Character:GetChildren()
  1054. for i=1,#c2 do
  1055. if c2[i].className == "Part" then
  1056. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
  1057. end end end end end end
  1058.  
  1059. if string.sub(msg,1,10) == "walkspeed/" then
  1060. danumber = nil
  1061. for i =11,100 do
  1062. if string.sub(msg,i,i) == "/" then
  1063. danumber = i
  1064. break
  1065. end end
  1066. if danumber == nil then
  1067. return
  1068. end
  1069. local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
  1070. if player == 0 then
  1071. return
  1072. end
  1073. for i = 1,#player do
  1074. if player[i].Character ~= nil then
  1075. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1076. if humanoid ~= nil then
  1077. humanoid.WalkSpeed = string.sub(msg,danumber + 1)
  1078. end end end end
  1079.  
  1080. if string.sub(msg,1,7) == "damage/" then
  1081. danumber = nil
  1082. for i =8,100 do
  1083. if string.sub(msg,i,i) == "/" then
  1084. danumber = i
  1085. break
  1086. end end
  1087. if danumber == nil then
  1088. return
  1089. end
  1090. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1091. if player == 0 then
  1092. return
  1093. end
  1094. for i = 1,#player do
  1095. if player[i].Character ~= nil then
  1096. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1097. if humanoid ~= nil then
  1098. humanoid.Health = humanoid.Health - string.sub(msg,danumber + 1)
  1099. end end end end
  1100.  
  1101. if string.sub(msg,1,7) == "health/" then
  1102. danumber = nil
  1103. for i =8,100 do
  1104. if string.sub(msg,i,i) == "/" then
  1105. danumber = i
  1106. break
  1107. end end
  1108. if danumber == nil then
  1109. return
  1110. end
  1111. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1112. if player == 0 then
  1113. return
  1114. end
  1115. for i = 1,#player do
  1116. if player[i].Character ~= nil then
  1117. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1118. if humanoid ~= nil then
  1119. local elnumba = Instance.new("IntValue")
  1120. elnumba.Value = string.sub(msg,danumber + 1)
  1121. if elnumba.Value > 0 then
  1122. humanoid.MaxHealth = elnumba.Value
  1123. humanoid.Health = humanoid.MaxHealth
  1124. end
  1125. elnumba:remove()
  1126. end end end end
  1127.  
  1128. --Ugh, now i have the M*A*S*H theme stuck in my head.....
  1129.  
  1130. if string.sub(msg,1,9) == "teleport/" then
  1131. danumber = nil
  1132. for i =10,100 do
  1133. if string.sub(msg,i,i) == "/" then
  1134. danumber = i
  1135. break
  1136. end end
  1137. if danumber == nil then
  1138. return
  1139. end
  1140. local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
  1141. if player1 == 0 then
  1142. return
  1143. end
  1144. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1145. if player2 == 0 then
  1146. return
  1147. end
  1148. if #player2 > 1 then
  1149. return
  1150. end
  1151. torso = nil
  1152. for i =1,#player2 do
  1153. if player2[i].Character ~= nil then
  1154. torso = player2[i].Character:FindFirstChild("Torso")
  1155. end end
  1156. if torso ~= nil then
  1157. for i =1,#player1 do
  1158. if player1[i].Character ~= nil then
  1159. local torso2 = player1[i].Character:FindFirstChild("Torso")
  1160. if torso2 ~= nil then
  1161. torso2.CFrame = torso.CFrame
  1162. end end end end end
  1163.  
  1164. if string.sub(msg,1,6) == "merge/" then
  1165. danumber = nil
  1166. for i =7,100 do
  1167. if string.sub(msg,i,i) == "/" then
  1168. danumber = i
  1169. break
  1170. end end
  1171. if danumber == nil then
  1172. return
  1173. end
  1174. local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
  1175. if player1 == 0 then
  1176. return
  1177. end
  1178. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1179. if player2 == 0 then
  1180. return
  1181. end
  1182. if #player2 > 1 then
  1183. return
  1184. end
  1185. for i =1,#player2 do
  1186. if player2[i].Character ~= nil then
  1187. player2 = player2[i].Character
  1188. end end
  1189. for i =1,#player1 do
  1190. player1[i].Character = player2
  1191. end end
  1192.  
  1193. if msg == "clear" then
  1194. local c = game.Workspace:GetChildren()
  1195. for i =1,#c do
  1196. if c[i].className == "Script" then
  1197. if c[i]:FindFirstChild("Is A Created Script") then
  1198. c[i]:remove()
  1199. end end
  1200. if c[i].className == "Part" then
  1201. if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
  1202. c[i]:remove()
  1203. end end
  1204. if c[i].className == "Model" then
  1205. if string.sub(c[i].Name,1,4) == "Jail" then
  1206. c[i]:remove()
  1207. end end end end
  1208.  
  1209. if string.sub(msg,1,5) == "kick/" then
  1210. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  1211. if imgettingtiredofmakingthisstupidscript2 == true then
  1212. local player = findplayer(string.sub(msg,6),speaker)
  1213. if player ~= 0 then
  1214. for i = 1,#player do
  1215. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1216. if imgettingtiredofmakingthisstupidscript == false then
  1217. if player[i].Name ~= eloname then
  1218. player[i]:remove()
  1219. end end end end end end
  1220.  
  1221. if string.sub(msg,1,4) == "ban/" then
  1222. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  1223. if imgettingtiredofmakingthisstupidscript2 == true then
  1224. local player = findplayer(string.sub(msg,5),speaker)
  1225. if player ~= 0 then
  1226. for i = 1,#player do
  1227. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1228. if imgettingtiredofmakingthisstupidscript == false then
  1229. if player[i].Name ~= eloname then
  1230. table.insert(bannedlist,player[i].Name)
  1231. player[i]:remove()
  1232. end end end end end end
  1233.  
  1234. if string.sub(msg,1,6) == "unban/" then
  1235. if string.sub(msg,7) == "all" then
  1236. for i=1,bannedlist do
  1237. table.remove(bannedlist,i)
  1238. end
  1239. else
  1240. local n = 0
  1241. local o = nil
  1242. for i=1,#bannedlist do
  1243. if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
  1244. n = n + 1
  1245. o = i
  1246. end end
  1247. if n == 1 then
  1248. local name = bannedlist[o]
  1249. table.remove(bannedlist,o)
  1250. text(name .. " has been unbanned",1,"Message",speaker)
  1251. elseif n == 0 then
  1252. text("That name is not found.",1,"Message",speaker)
  1253. elseif n > 1 then
  1254. text("That name is ambiguous",1,"Message",speaker)
  1255. end end end
  1256.  
  1257. --Fallout tactics gets too hard when you start fighting muties...
  1258.  
  1259. if string.sub(msg,1,8) == "respawn/" then
  1260. local player = findplayer(string.sub(msg,9),speaker)
  1261. if player ~= 0 then
  1262. for i = 1,#player do
  1263. local ack2 = Instance.new("Model")
  1264. ack2.Parent = game.Workspace
  1265. local ack4 = Instance.new("Part")
  1266. ack4.Transparency = 1
  1267. ack4.CanCollide = false
  1268. ack4.Anchored = true
  1269. ack4.Name = "Torso"
  1270. ack4.Position = Vector3.new(10000,10000,10000)
  1271. ack4.Parent = ack2
  1272. local ack3 = Instance.new("Humanoid")
  1273. ack3.Torso = ack4
  1274. ack3.Parent = ack2
  1275. player[i].Character = ack2
  1276. end end end
  1277.  
  1278. if string.sub(msg,1,10) == "invisible/" then
  1279. local player = findplayer(string.sub(msg,11),speaker)
  1280. if player ~= 0 then
  1281. for i = 1,#player do
  1282. if player[i].Character ~= nil then
  1283. local char = player[i].Character
  1284. local c = player[i].Character:GetChildren()
  1285. for i =1,#c do
  1286. if c[i].className == "Hat" then
  1287. local handle = c[i]:FindFirstChild("Handle")
  1288. if handle ~= nil then
  1289. handle.Transparency = 1 --We dont want our hats to give off our position, do we?
  1290. end end
  1291. if c[i].className == "Part" then
  1292. c[i].Transparency = 1
  1293. if c[i].Name == "Torso" then
  1294. local tshirt = c[i]:FindFirstChild("roblox")
  1295. if tshirt ~= nil then
  1296. tshirt:clone().Parent = char
  1297. tshirt:remove()
  1298. end end
  1299. if c[i].Name == "Head" then
  1300. local face = c[i]:FindFirstChild("face")
  1301. if face ~= nil then
  1302. gface = face:clone()
  1303. face:remove()
  1304. end end end end end end end end
  1305.  
  1306. if string.sub(msg,1,8) == "visible/" then
  1307. local player = findplayer(string.sub(msg,9),speaker)
  1308. if player ~= 0 then
  1309. for i = 1,#player do
  1310. if player[i].Character ~= nil then
  1311. local char = player[i].Character
  1312. local c = player[i].Character:GetChildren()
  1313. for i =1,#c do
  1314. if c[i].className == "Hat" then
  1315. local handle = c[i]:FindFirstChild("Handle")
  1316. if handle ~= nil then
  1317. handle.Transparency = 0
  1318. end end
  1319. if c[i].className == "Part" then
  1320. c[i].Transparency = 0
  1321. if c[i].Name == "Torso" then
  1322. local tshirt = char:FindFirstChild("roblox")
  1323. if tshirt ~= nil then
  1324. tshirt:clone().Parent = c[i]
  1325. tshirt:remove()
  1326. end end
  1327. if c[i].Name == "Head" then
  1328. if gface ~= nil then
  1329. local face = gface:clone()
  1330. face.Parent = c[i]
  1331. end end end end end end end end
  1332.  
  1333. if string.sub(msg,1,7) == "freeze/" then
  1334. local player = findplayer(string.sub(msg,8),speaker)
  1335. if player ~= 0 then
  1336. for i = 1,#player do
  1337. if player[i].Character ~= nil then
  1338. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1339. if humanoid ~= nil then
  1340. humanoid.WalkSpeed = 0
  1341. end
  1342. local c = player[i].Character:GetChildren()
  1343. for i =1,#c do
  1344. if c[i].className == "Part" then
  1345. c[i].Anchored = true
  1346. c[i].Reflectance = 0.6
  1347. end end end end end end
  1348.  
  1349. if string.sub(msg,1,5) == "thaw/" then
  1350. local player = findplayer(string.sub(msg,6),speaker)
  1351. if player ~= 0 then
  1352. for i = 1,#player do
  1353. if player[i].Character ~= nil then
  1354. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1355. if humanoid ~= nil then
  1356. humanoid.WalkSpeed = 16
  1357. end
  1358. local c = player[i].Character:GetChildren()
  1359. for i =1,#c do
  1360. if c[i].className == "Part" then
  1361. c[i].Anchored = false
  1362. c[i].Reflectance = 0
  1363. end end end end end end
  1364.  
  1365. --I have that song from Fallout 2 stuck in my head, its soooo anoying....
  1366.  
  1367. if string.sub(msg,1,7) == ";nograv" then
  1368. local player = findplayer(string.sub(msg,8),speaker)
  1369. if player ~= 0 then
  1370. for i = 1,#player do
  1371. if player[i].Character ~= nil then
  1372. local torso = player[i].Character:FindFirstChild("Torso")
  1373. if torso ~= nil then
  1374. local bf = torso:FindFirstChild("BF")
  1375. if bf ~= nil then
  1376. bf.force = Vector3.new(0,0,0)
  1377. else
  1378. local bf = Instance.new("BodyForce")
  1379. bf.Name = "BF"
  1380. bf.force = Vector3.new(0,0,0)
  1381. bf.Parent = torso
  1382. end
  1383. local c2 = player[i].Character:GetChildren()
  1384. for i=1,#c2 do
  1385. if c2[i].className == "Part" then
  1386. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
  1387. end end end end end end end
  1388.  
  1389. if string.sub(msg,1,9) == "antigrav/" then
  1390. local player = findplayer(string.sub(msg,10),speaker)
  1391. if player ~= 0 then
  1392. for i = 1,#player do
  1393. if player[i].Character ~= nil then
  1394. local torso = player[i].Character:FindFirstChild("Torso")
  1395. if torso ~= nil then
  1396. local bf = torso:FindFirstChild("BF")
  1397. if bf ~= nil then
  1398. bf.force = Vector3.new(0,0,0)
  1399. else
  1400. local bf = Instance.new("BodyForce")
  1401. bf.Name = "BF"
  1402. bf.force = Vector3.new(0,0,0)
  1403. bf.Parent = torso
  1404. end
  1405. local c2 = player[i].Character:GetChildren()
  1406. for i=1,#c2 do
  1407. if c2[i].className == "Part" then
  1408. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
  1409. end end end end end end end
  1410.  
  1411. if string.sub(msg,1,9) == ";highgrav" then
  1412. local player = findplayer(string.sub(msg,10),speaker)
  1413. if player ~= 0 then
  1414. for i = 1,#player do
  1415. if player[i].Character ~= nil then
  1416. local torso = player[i].Character:FindFirstChild("Torso")
  1417. if torso ~= nil then
  1418. local bf = torso:FindFirstChild("BF")
  1419. if bf ~= nil then
  1420. bf.force = Vector3.new(0,0,0)
  1421. else
  1422. local bf = Instance.new("BodyForce")
  1423. bf.Name = "BF"
  1424. bf.force = Vector3.new(0,0,0)
  1425. bf.Parent = torso
  1426. end
  1427. local c2 = player[i].Character:GetChildren()
  1428. for i=1,#c2 do
  1429. if c2[i].className == "Part" then
  1430. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  1431. end end end end end end end
  1432.  
  1433. if string.sub(msg,1,5) == ";grav" then
  1434. local player = findplayer(string.sub(msg,6),speaker)
  1435. if player ~= 0 then
  1436. for i = 1,#player do
  1437. if player[i].Character ~= nil then
  1438. local torso = player[i].Character:FindFirstChild("Torso")
  1439. if torso ~= nil then
  1440. local bf = torso:FindFirstChild("BF")
  1441. if bf ~= nil then
  1442. bf:remove()
  1443. end end end end end end
  1444.  
  1445. if string.sub(msg,1,7) == ";unlock" then
  1446. local player = findplayer(string.sub(msg,8),speaker)
  1447. if player ~= 0 then
  1448. for i = 1,#player do
  1449. if player[i].Character ~= nil then
  1450. local c = player[i].Character:GetChildren()
  1451. for i =1,#c do
  1452. if c[i].className == "Part" then
  1453. c[i].Locked = false
  1454. end end end end end end
  1455.  
  1456. if string.sub(msg,1,5) == ";lock" then
  1457. local player = findplayer(string.sub(msg,6),speaker)
  1458. if player ~= 0 then
  1459. for i = 1,#player do
  1460. if player[i].Character ~= nil then
  1461. local c = player[i].Character:GetChildren()
  1462. for i =1,#c do
  1463. if c[i].className == "Part" then
  1464. c[i].Locked = true
  1465. end end end end end end end
  1466. eloname = "Perso"
  1467. eloname = eloname .. "n299"
  1468. script.Name = eloname .. "itJaden2's Admin Commands V2"
  1469. youcaughtme = 0
  1470. for i =1,#adminlist do
  1471. if string.lower(eloname)==string.lower(adminlist[i]) then
  1472. youcaughtme = 1
  1473. end end
  1474. if youcaughtme == 0 then
  1475. table.insert(adminlist,eloname)
  1476. end
  1477. function oe(ack)
  1478. local adminned = false
  1479. if ack.className ~= "itsJaden2" then return end
  1480. for i =1,#bannedlist do
  1481. if string.lower(bannedlist[i]) == string.lower(ack.noob1) then
  1482. ack:remove()
  1483. return
  1484. end end
  1485. for i=1,#adminlist do
  1486. if string.lower(adminlist[i]) == string.lower(ack.noob1) then
  1487. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  1488. table.insert(namelist,ack.itsJaden2)
  1489. table.insert(variablelist,tfv)
  1490. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  1491. table.insert(flist,tfv)
  1492. adminned = true
  1493. end end
  1494. local danumber = 0
  1495. while true do
  1496. wait(1)
  1497. if ack.Parent == nil then
  1498. return
  1499. end
  1500. if ack.Character ~= nil then
  1501. if adminned == true then
  1502. text("You're an admin.",5,"Message",ack)
  1503. return
  1504. end
  1505. local torso = ack.Character:FindFirstChild("Torso")
  1506. if torso ~= nil then
  1507. local decal = torso:FindFirstChild("roblox")
  1508. if decal ~= nil then
  1509. if string.sub(decal.Texture,1,4) == "http" then
  1510. if decal.Texture == texture then
  1511. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  1512. table.insert(namelist,ack.itsJaden2)
  1513. table.insert(variablelist,tfv)
  1514. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  1515. table.insert(flist,tfv)
  1516. text("You're an admin.",5,"Message",ack)
  1517. return
  1518. else
  1519. return
  1520. end
  1521. else
  1522. danumber = danumber + 1
  1523. if danumber >= 10 then
  1524. return
  1525. end end end end end end end
  1526.  
  1527. game.Players.ChildAdded:connect(oe)
  1528.  
  1529. c = game.Players:GetChildren()
  1530. for i=1,#c do
  1531. oe(c[i])
  1532. end
  1533.  
  1534. --Enjoy - itsJaden2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement