zansummer111111111

adminssssssss

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