Advertisement
gjgj

Untitled

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