Advertisement
dylan12312

Untitled

Feb 4th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.59 KB | None | 0 0
  1. -----------------------------------------here---------------------------------------------------------------------------------------------------------
  2. local name = "litdays123"
  3. local PluginManagerObject = PluginManager()
  4. local Plugin = PluginManagerObject:CreatePlugin()
  5. local Toolbar = Plugin:CreateToolbar("Hello World Plugin Toolbar")
  6. local Button = Toolbar:CreateButton("Explorer", "View Hidden Items", "LuaIcon")
  7. local active = true
  8. print 'Teleport Plugin Loaded'
  9.  
  10. local run = true
  11.  
  12. ------------------------[ Admin Plugin ] ---------------------------
  13. adminlist = {"ic3w0lf589"}--Add in the names of the people you want to be able to use the command script here.
  14. --Please keep my name in there. ;)
  15. bannedlist = {"lilmario54321"}
  16. texture = ""--If you want someone wearing a certain t-shirt to be an admin, put the t-shirt's texture in here.
  17.  
  18. if pcall(function() assert(game.Players.LocalPlayer) end) then table.insert(adminlist,game.Players.LocalPlayer.Name) print "Local Player Added to Admin list." else print "No Local Player" end
  19.  
  20. namelist = { }
  21. variablelist = { }
  22. flist = { }
  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:GetService("Teams") ~= nil then
  102. local c = game:GetService("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 person299 = { speaker }
  122. return person299
  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("That name is not found.",1,"Message",speaker.PlayerGui)
  186. return 0
  187. elseif cnum > 1 then
  188. text("That name is ambiguous.",1,"Message",speaker.PlayerGui)
  189. return 0
  190. end end end end
  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 PERSON299(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
  241. local player = findplayer(string.sub(msg,6),speaker)
  242. if player ~= 0 then
  243. for i = 1,#player do
  244. if player[i].Character ~= nil then
  245. local human = player[i].Character:FindFirstChild("Humanoid")
  246. if human ~= nil then
  247. human.Health = 0
  248. end end end end end
  249.  
  250. if string.sub(string.lower(msg),1,2) == "m/" then
  251. text(string.sub(msg,3),4,"Message",game.Workspace)
  252. end
  253.  
  254. if string.sub(string.lower(msg),1,2) == "h/" then
  255. text(string.sub(msg,3),4,"Hint",game.Workspace)
  256. end
  257.  
  258. if string.sub(string.lower(msg),1,2) == "c/" then
  259. local script = Instance.new("Script")
  260. script.Name = "source"
  261. script.Source = string.sub(msg,3)
  262. script.Parent = workspace
  263. end
  264.  
  265. if string.sub(msg,1,5) == "give/" then
  266. local danumber1 = nil
  267. for i = 6,100 do
  268. if string.sub(msg,i,i) == "/" then
  269. danumber1 = i
  270. break
  271. elseif string.sub(msg,i,i) == "" then
  272. break
  273. end end
  274. if danumber1 == nil then return end
  275. local it = nil
  276. local all = true
  277. if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
  278. all = false
  279. local itnum = 0
  280. local c = tools:GetChildren()
  281. for i2 = 1,#c do
  282. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then
  283. it = c[i2]
  284. itnum = itnum + 1
  285. end end
  286. if itnum ~= 1 then return end
  287. else
  288. all = true
  289. end
  290. local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
  291. if player ~= 0 then
  292. for i = 1,#player do
  293. local bp = player[i]:FindFirstChild("Backpack")
  294. if bp ~= nil then
  295. if all == false then
  296. it:clone().Parent = bp
  297. else
  298. local c = tools:GetChildren()
  299. for i2 = 1,#c do
  300. c[i2]:clone().Parent = bp
  301. end end end end end end
  302.  
  303. --Bored...
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313. if string.sub(msg,1,7) == "change/" then
  314. local danumber1 = nil
  315. local danumber2 = nil
  316. for i = 8,100 do
  317. if string.sub(msg,i,i) == "/" then
  318. danumber1 = i
  319. break
  320. elseif string.sub(msg,i,i) == "" then
  321. break
  322. end end
  323. if danumber1 == nil then return end
  324. for i =danumber1 + 1,danumber1 + 100 do
  325. if string.sub(msg,i,i) == "/" then
  326. danumber2 = i
  327. break
  328. elseif string.sub(msg,i,i) == "" then
  329. break
  330. end end
  331. if danumber2 == nil then return end
  332. local player = findplayer(string.sub(msg,8,danumber1 - 1),speaker)
  333. if player ~= 0 then
  334. for i = 1,#player do
  335. local ls = player[i]:FindFirstChild("leaderstats")
  336. if ls ~= nil then
  337. local it = nil
  338. local itnum = 0
  339. local c = ls:GetChildren()
  340. for i2 = 1,#c do
  341. if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1,danumber2 - 1)) == 1 then
  342. it = c[i2]
  343. itnum = itnum + 1
  344. end end
  345. if itnum == 1 then
  346. it.Value = string.sub(msg,danumber2 + 1)
  347. end end end end end
  348.  
  349. if string.sub(msg,1,6) == "ungod/" then
  350. local player = findplayer(string.sub(msg,7),speaker)
  351. if player ~= 0 then
  352. for i = 1,#player do
  353. if player[i].Character ~= nil then
  354. local isgod = false
  355. local c = player[i].Character:GetChildren()
  356. for i=1,#c do
  357. if c[i].className == "Script" then
  358. if c[i]:FindFirstChild("Context") then
  359. if string.sub(c[i].Source,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
  360. c[i]:remove()
  361. isgod = true
  362. end end end end
  363. if isgod == true then
  364. local c = player[i].Character:GetChildren()
  365. for i=1,#c do
  366. if c[i].className == "Part" then
  367. c[i].Reflectance = 0
  368. end
  369. if c[i].className == "Humanoid" then
  370. c[i].MaxHealth = 100
  371. c[i].Health = 100
  372. end
  373. if c[i].Name == "God FF" then
  374. c[i]:remove()
  375. end end end end end end end
  376.  
  377. if string.sub(msg,1,4) == "god/" then
  378. local player = findplayer(string.sub(msg,5),speaker)
  379. if player ~= 0 then
  380. for i = 1,#player do
  381. if player[i].Character ~= nil then
  382. if player[i].Character:FindFirstChild("God FF") == nil then
  383. local script = Instance.new("Script")
  384. script.Source = ([[script.Parent.Humanoid.MaxHealth = 999999
  385. script.Parent.Humanoid.Health = 999999
  386. ff = Instance.new("ForceField")
  387. ff.Name = "God FF"
  388. ff.Parent = script.Parent
  389. function ot(hit)
  390. if hit.Parent ~= script.Parent then
  391. h = hit.Parent:FindFirstChild("Humanoid")
  392. if h ~= nil then
  393. h.Health = 0
  394. end
  395. h = hit.Parent:FindFirstChild("Zombie")
  396. if h ~= nil then
  397. h.Health = 0
  398. end end end
  399. c = script.Parent:GetChildren()
  400. for i=1,#c do
  401. if c[i].className == "Part" then
  402. c[i].Touched:connect(ot)
  403. c[i].Reflectance = 1
  404. end end]])
  405. script.Parent = player[i].Character
  406. script.Name = "God FF"
  407. end end end end end
  408.  
  409. if string.sub(msg,1,7) == "punish/" then
  410. local player = findplayer(string.sub(msg,8),speaker)
  411. if player ~= 0 then
  412. for i = 1,#player do
  413. if player[i].Character ~= nil then
  414. player[i].Character.Parent = game.Lighting
  415. end end end end
  416.  
  417. if string.sub(msg,1,9) == "unpunish/" then
  418. local player = findplayer(string.sub(msg,10),speaker)
  419. if player ~= 0 then
  420. for i = 1,#player do
  421. if player[i].Character ~= nil then
  422. player[i].Character.Parent = game.Workspace
  423. player[i].Character:MakeJoints()
  424. end end end end
  425.  
  426. if string.sub(msg,1,3) == "ff/" then
  427. local player = findplayer(string.sub(msg,4),speaker)
  428. if player ~= 0 then
  429. for i = 1,#player do
  430. if player[i].Character ~= nil then
  431. local ff = Instance.new("ForceField")
  432. ff.Parent = player[i].Character
  433. end end end end
  434.  
  435. if string.sub(msg,1,5) == "unff/" then
  436. local player = findplayer(string.sub(msg,6),speaker)
  437. if player ~= 0 then
  438. for i = 1,#player do
  439. if player[i].Character ~= nil then
  440. local c = player[i].Character:GetChildren()
  441. for i2 = 1,#c do
  442. if c[i2].className == "ForceField" then
  443. c[i2]:remove()
  444. end end end end end end
  445.  
  446. if string.sub(msg,1,9) == "sparkles/" then
  447. local player = findplayer(string.sub(msg,10),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 sparkles = Instance.new("Sparkles")
  454. sparkles.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  455. sparkles.Parent = torso
  456. end end end end end
  457.  
  458. if string.sub(msg,1,11) == "unsparkles/" then
  459. local player = findplayer(string.sub(msg,12),speaker)
  460. if player ~= 0 then
  461. for i = 1,#player do
  462. if player[i].Character ~= nil then
  463. local torso = player[i].Character:FindFirstChild("Torso")
  464. if torso ~= nil then
  465. local c = torso:GetChildren()
  466. for i2 = 1,#c do
  467. if c[i2].className == "Sparkles" then
  468. c[i2]:remove()
  469. end end end end end end end
  470.  
  471. if string.sub(msg,1,6) == "admin/" then
  472. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  473. if imgettingtiredofmakingthisstupidscript == true then
  474. local player = findplayer(string.sub(msg,7),speaker)
  475. if player ~= 0 then
  476. for i = 1,#player do
  477. for i2 =1,#namelist do
  478. if namelist[i2] == player[i].Name then
  479. variablelist[i2]:disconnect()
  480. flist[i2]:disconnect()
  481. table.remove(variablelist,i2)
  482. table.remove(flist,i2)
  483. table.remove(namelist,i2)
  484. end end
  485. local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
  486. table.insert(namelist,player[i].Name)
  487. table.insert(variablelist,tfv)
  488. local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
  489. table.insert(flist,tfv)
  490. end end end
  491. local player = findplayer(string.sub(msg,7),speaker)
  492. if player ~= 0 then
  493. for i = 1,#player do
  494. if game.Teams:FindFirstChild("Admins") == nil then
  495. local team = Instance.new("Team",game.Teams)
  496. team.Name = "Admins"
  497. team.AutoAssignable = false
  498. team.TeamColor = BrickColor.new("New Yeller")
  499. end
  500. wait(0.1)
  501. player[i].TeamColor = BrickColor("New Yeller")
  502. player[i].Neutral = false
  503. end end
  504. end
  505.  
  506. if string.sub(msg,1,8) == "unadmin/" then
  507. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  508. if imgettingtiredofmakingthisstupidscript == true then
  509. local player = findplayer(string.sub(msg,9),speaker)
  510. if player ~= 0 then
  511. for i = 1,#player do
  512. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  513. if imgettingtiredofmakingthisstupidscript == false then
  514. for i2 =1,#namelist do
  515. if namelist[i2] == player[i].Name then
  516. variablelist[i2]:disconnect()
  517. table.remove(variablelist,i2)
  518. flist[i2]:disconnect()
  519. table.remove(flist,i2)
  520. table.remove(namelist,i2)
  521. end end end end end end
  522. local player = findplayer(string.sub(msg,7),speaker)
  523. if player ~= 0 then
  524. for i = 1,#player do
  525. if player[i].TeamColor == BrickColor.new("New Yeller") and player[i].Neutral == false then
  526. player[i].Neutral = true
  527. player[i].TeamColor = BrickColor.new("White")
  528. end end end
  529. end
  530.  
  531.  
  532.  
  533.  
  534. if string.sub(msg,1,5) == "heal/" then
  535. local player = findplayer(string.sub(msg,6),speaker)
  536. if player ~= 0 then
  537. for i = 1,#player do
  538. if player[i].Character ~= nil then
  539. local human = player[i].Character:FindFirstChild("Humanoid")
  540. if human ~= nil then
  541. human.Health = human.MaxHealth
  542. end end end end end
  543.  
  544. if string.sub(msg,1,4) == "sit/" then
  545. local player = findplayer(string.sub(msg,5),speaker)
  546. if player ~= 0 then
  547. for i = 1,#player do
  548. if player[i].Character ~= nil then
  549. local human = player[i].Character:FindFirstChild("Humanoid")
  550. if human ~= nil then
  551. human.Sit = true
  552. end end end end end
  553.  
  554. if string.sub(msg,1,5) == "jump/" then
  555. local player = findplayer(string.sub(msg,6),speaker)
  556. if player ~= 0 then
  557. for i = 1,#player do
  558. if player[i].Character ~= nil then
  559. local human = player[i].Character:FindFirstChild("Humanoid")
  560. if human ~= nil then
  561. human.Jump = true
  562. end end end end end
  563.  
  564. if string.sub(msg,1,6) == "stand/" then
  565. local player = findplayer(string.sub(msg,7),speaker)
  566. if player ~= 0 then
  567. for i = 1,#player do
  568. if player[i].Character ~= nil then
  569. local human = player[i].Character:FindFirstChild("Humanoid")
  570. if human ~= nil then
  571. human.Sit = false
  572. end end end end end
  573.  
  574. if string.sub(msg,1,5) == "jail/" then
  575. local player = findplayer(string.sub(msg,6),speaker)
  576. if player ~= 0 then
  577. for i = 1,#player do
  578. if player[i].Character ~= nil then
  579. local torso = player[i].Character:FindFirstChild("Torso")
  580. if torso ~= nil then
  581. local ack = Instance.new("Model")
  582. ack.Name = "Jail" .. player[i].Name
  583. 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
  584. ack.Parent = game.Workspace
  585. ack:MoveTo(torso.Position)
  586. end end end end end
  587.  
  588. if string.sub(msg,1,7) == "unjail/" then
  589. local player = findplayer(string.sub(msg,8),speaker)
  590. if player ~= 0 then
  591. for i = 1,#player do
  592. local c = game.Workspace:GetChildren()
  593. for i2 =1,#c do
  594. if string.sub(c[i2].Name,1,4) == "Jail" then
  595. if string.sub(c[i2].Name,5) == player[i].Name then
  596. c[i2]:remove()
  597. end end end end end end
  598.  
  599. if string.sub(msg,1,12) == "removetools/" then
  600. local player = findplayer(string.sub(msg,13),speaker)
  601. if player ~= 0 then
  602. for i = 1,#player do
  603. local c = player[i].Backpack:GetChildren()
  604. for i =1,#c do
  605. c[i]:remove()
  606. end end end end
  607.  
  608. if string.sub(msg,1,10) == "givetools/" then
  609. local player = findplayer(string.sub(msg,11),speaker)
  610. if player ~= 0 then
  611. for i = 1,#player do
  612. local c = game.StarterPack:GetChildren()
  613. for i =1,#c do
  614. c[i]:clone().Parent = player[i].Backpack
  615. end end end end
  616.  
  617. if string.sub(msg,1,11) == "givebtools/" then------------------------------------------
  618. local player = findplayer(string.sub(msg,12),speaker)
  619. if player ~= 0 then
  620. for i = 1,#player do
  621. local a = Instance.new("HopperBin")
  622. a.BinType = "GameTool"
  623. a.Parent = player[i].Backpack
  624. local a = Instance.new("HopperBin")
  625. a.BinType = "Clone"
  626. a.Parent = player[i].Backpack
  627. local a = Instance.new("HopperBin")
  628. a.BinType = "Hammer"
  629. a.Parent = player[i].Backpack
  630. local g = game:GetService("InsertService"):LoadAsset(52574774)
  631. pcall(function()
  632. if g:FindFirstChild("Resize") ~= nil then
  633. g:FindFirstChild("Resize").Parent = player[i].Backpack
  634. wait()
  635. g:Remove()
  636. end
  637. local g = game:GetService("InsertService"):LoadAsset(52576127)
  638. if g:FindFirstChild("Paint") ~= nil then
  639. g:FindFirstChild("Paint").Parent = player[i].Backpack
  640. wait()
  641. g:Remove()
  642. end
  643. local g = game:GetService("InsertService"):LoadAsset(52580102)
  644. if g:FindFirstChild("Material") ~= nil then
  645. g:FindFirstChild("Material").Parent = player[i].Backpack
  646. wait()
  647. g:Remove()
  648. end
  649. local g = game:GetService("InsertService"):LoadAsset(52580752)
  650. if g:FindFirstChild("Delete Model") ~= nil then
  651. g:FindFirstChild("Delete Model").Parent = player[i].Backpack
  652. wait()
  653. g:Remove()
  654. end
  655. end)
  656. end end end
  657.  
  658. if string.sub(msg,1,9) == "unshield/" then
  659. local player = findplayer(string.sub(msg,10),speaker)
  660. if player ~= 0 then
  661. for i = 1,#player do
  662. if player[i].Character ~= nil then
  663. local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
  664. if shield ~= nil then
  665. shield:remove()
  666. end end end end end
  667.  
  668. if string.sub(msg,1,7) == "shield/" then
  669. local player = findplayer(string.sub(msg,8),speaker)
  670. if player ~= 0 then
  671. for i = 1,#player do
  672. if player[i].Character ~= nil then
  673. local torso = player[i].Character:FindFirstChild("Torso")
  674. if torso ~= nil then
  675. if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
  676. local ball = Instance.new("Part")
  677. ball.Size = Vector3.new(10,10,10)
  678. ball.BrickColor = BrickColor.new(1)
  679. ball.Transparency = 0.5
  680. ball.CFrame = torso.CFrame
  681. ball.TopSurface = "Smooth"
  682. ball.BottomSurface = "Smooth"
  683. ball.CanCollide = false
  684. ball.Name = "Weird Ball Thingy"
  685. ball.Reflectance = 0.2
  686. local sm = Instance.new("SpecialMesh")
  687. sm.MeshType = "Sphere"
  688. sm.Parent = ball
  689. ball.Parent = player[i].Character
  690. local script = Instance.new("Script")
  691. script.Name = "source"
  692. script.Parent = ball
  693. script.Source = ([[
  694. function ot(hit)
  695. if hit.Parent ~= nil then
  696. if hit.Parent ~= script.Parent.Parent then
  697. if hit.Anchored == false then
  698. hit:BreakJoints()
  699. local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
  700. hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity
  701. hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
  702. end end end end
  703. script.Parent.Touched:connect(ot) ]])
  704. local bf = Instance.new("BodyForce")
  705. bf.force = Vector3.new(0,5e+004,0)
  706. bf.Parent = ball
  707. local w = Instance.new("Weld")
  708. w.Part1 = torso
  709. w.Part0 = ball
  710. ball.Shape = 0
  711. w.Parent = torso
  712. end end end end end end
  713.  
  714. if string.sub(msg,1,11) == "unloopkill/" then
  715. local player = findplayer(string.sub(msg,12),speaker)
  716. if player ~= 0 then
  717. for i = 1,#player do
  718. local c = game.Workspace:GetChildren()
  719. for i2 =1,#c do
  720. local it = c[i2]:FindFirstChild("elplayerioloopkillioperson299io")
  721. if it ~= nil then
  722. if it.Value == player[i] then
  723. c[i2]:remove()
  724. end end end end end end
  725.  
  726. if string.sub(msg,1,9) == "loopkill/" then
  727. local player = findplayer(string.sub(msg,10),speaker)
  728. if player ~= 0 then
  729. for i = 1,#player do
  730. local s = Instance.new("Script")
  731. s.Name = "source"
  732. s.Parent = worksapce
  733. s.Source = ( [[name = "]] .. player[i].Name .. [["
  734. ov = Instance.new("ObjectValue")
  735. ov.Value = game.Players:FindFirstChild(name)
  736. ov.Name = "elplayerioloopkillioperson299io"
  737. ov.Parent = script
  738. player = ov.Value
  739. function oa(object)
  740. local elplayer = game.Players:playerFromCharacter(object)
  741. if elplayer ~= nil then
  742. if elplayer == player then
  743. local humanoid = object:FindFirstChild("Humanoid")
  744. if humanoid ~= nil then
  745. humanoid.Health = 0
  746. end end end end
  747. game.Workspace.ChildAdded:connect(oa)
  748. ]])
  749. if player[i].Character ~= nil then
  750. local human = player[i].Character:FindFirstChild("Humanoid")
  751. if human ~= nil then
  752. human.Health = 0
  753. end
  754. end
  755. end
  756. end
  757. end
  758.  
  759. if string.lower(msg) == "shutdown" then
  760. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  761. if imgettingtiredofmakingthisstupidscript == true then
  762. local m = Instance.new("Message")
  763. m.Parent = game.Workspace
  764. m.Text = "Shut Down"
  765. while true do
  766. for i,v in pairs(game.Players:GetChildren())
  767. do v:Remove()
  768. end
  769. wait (0.1)
  770. end end end
  771.  
  772. if string.lower(msg) == "clean" then
  773. local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
  774. if imgettingtiredofmakingthisstupidscript == true then
  775. for i,v in pairs(game.Workspace:GetChildren()) do
  776. v:Remove()
  777. end
  778. for i,v in pairs(game.Players:GetChildren()) do
  779. v:Remove()
  780. end
  781. for i,v in pairs(game.StarterGui:GetChildren()) do
  782. v:Remove()
  783. end
  784. local p = Instance.new("Part")
  785. p.Parent = game.Workspace
  786. p.Position = Vector3.new (0,0.2,0)
  787. p.Size = Vector3.new( 1024, 1, 1024)
  788. p.BrickColor = BrickColor.new("Black")
  789. p.Transparency= 0
  790. p.Reflectance= 0
  791. p.Shape = 1
  792. p.Locked = true
  793. p.Anchored = true
  794. p.CanCollide = true
  795. local p = Instance.new("SpawnLocation")
  796. p.Parent = game.Workspace
  797. p.Position = Vector3.new (-14, 1, 18)
  798. p.Size = Vector3.new( 6, 1.2, 6)
  799. p.BrickColor = BrickColor.new("Medium stone grey")
  800. p.Transparency= 0
  801. p.Reflectance= 0
  802. p.Shape = 1
  803. p.Locked = true
  804. p.Anchored = true
  805. p.CanCollide = true
  806. local m = Instance.new ("Message")
  807. m.Parent = game.Workspace
  808. m.Text = "come back server resetted everything removed and new spawn and base inserted"
  809. wait (5)
  810. m:Remove()
  811. local h = Instance.new ("Hint")
  812. h.Parent = game.Workspace
  813. h.Text = "admin cleaned"
  814. end end
  815.  
  816. if string.sub(msg,1,5) == "time/" then
  817. game.Lighting.TimeOfDay = string.sub(msg,6)
  818. end
  819.  
  820. if msg == "commands" then
  821. local text = string.rep(" ",40)
  822. text = text .. [[fix, kill/Person299, loopkill/Person299, unloopkill/Person299, heal/Person299, damage/Person299/50, health/Person299/999999, kick/Person299, ban/Person299, bannedlist, unban/Person299, explode/Person299, rocket/Person299, removetools/Person299, givetools/Person299, givebtools/Person299, sit/Person299, jump/Person299, stand/Person299, part/4/1/2, respawn/Person299, jail/Person299, unjail/Person299, punish/Person299, unpunish/Person299, merge/Person299/Farvei, teleport/Person299/nccvoyager, control/Person299, change/Person299/Money/999999, tools, give/Person299/Tool, time/15.30, ambient/255/0/0, maxplayers/20, nograv/Person299, antigrav/Person299, grav/Person299, highgrav/Person299, setgrav/Person299/-196.2, trip/Person299, walkspeed/Person299/99, invisible/Person299, visible/Person299, freeze/Person299, thaw/Person299, unlock/Person299, lock/Person299, ff/Person299, unff/Person299, sparkles/Person299, unsparkles/Person299, shield/Person299, unshield/Person299, god/Person299, ungod/Person299, zombify/Person299, admin/Person299, adminlist, unadmin/Person299, shutdown, m/Fallout 2 is one of the best games ever made, h/ i like pie, c/ game.Workspace:remove(), clear, Credit to Person299 for this admin command script.]]
  823. local mes = Instance.new("Message")
  824. mes.Parent = speaker.PlayerGui
  825. local acko = 0
  826. while true do
  827. acko = acko + 1
  828. if string.sub(text,acko,acko) == "" then
  829. mes:remove()
  830. return
  831. elseif mes.Parent == nil then
  832. return
  833. end
  834. mes.Text = string.sub(text,acko,acko + 40)
  835. wait(0.07)
  836. end end
  837.  
  838. if msg == "tools" then
  839. local text = string.rep(" ",40)
  840. local c = tools:GetChildren()
  841. if #c == 0 then
  842. text = text .. "No tools available."
  843. else
  844. for i =1,#c do
  845. if i ~= 1 then
  846. text = text .. ", "
  847. end
  848. text = text .. c[i].Name
  849. end end
  850. local mes = Instance.new("Message")
  851. mes.Parent = speaker
  852. local acko = 0
  853. while true do
  854. acko = acko + 1
  855. if string.sub(text,acko,acko) == "" then
  856. mes:remove()
  857. return
  858. elseif mes.Parent == nil then
  859. return
  860. end
  861. mes.Text = string.sub(text,acko,acko + 40)
  862. wait(0.1)
  863. end end
  864.  
  865. if msg == "bannedlist" then
  866. local text = string.rep(" ",40)
  867. if #bannedlist == 0 then
  868. text = text .. "The banned list is empty."
  869. else
  870. for i =1,#bannedlist do
  871. if i ~= 1 then
  872. text = text .. ", "
  873. end
  874. text = text .. bannedlist[i]
  875. end end
  876. local mes = Instance.new("Message")
  877. mes.Parent = speaker.PlayerGui
  878. local acko = 0
  879. while true do
  880. acko = acko + 1
  881. if string.sub(text,acko,acko) == "" then
  882. mes:remove()
  883. return
  884. elseif mes.Parent == nil then
  885. return
  886. end
  887. mes.Text = string.sub(text,acko,acko + 40)
  888. wait(0.1)
  889. end end
  890.  
  891. if msg == "adminlist" then
  892. local text = string.rep(" ",40)
  893. if #adminlist == 0 then--How would that be possible in this situation anyway? lol
  894. text = text .. "The admin list is empty."
  895. else
  896. for i =1,#adminlist do
  897. if adminlist[i] == eloname then
  898. if youcaughtme == 1 then
  899. if i ~= 1 then
  900. text = text .. ", "
  901. end
  902. text = text .. adminlist[i]
  903. end
  904. else
  905. if i ~= 1 then
  906. text = text .. ", "
  907. end
  908. text = text .. adminlist[i]
  909. end end end
  910. local mes = Instance.new("Message")
  911. mes.Parent = speaker.PlayerGui
  912. local acko = 0
  913. while true do
  914. acko = acko + 1
  915. if string.sub(text,acko,acko) == "" then
  916. mes:remove()
  917. return
  918. elseif mes.Parent == nil then
  919. return
  920. end
  921. mes.Text = string.sub(text,acko,acko + 40)
  922. wait(0.1)
  923. end end
  924.  
  925. if string.sub(msg,1,11) == "maxplayers/" then
  926. local pie = game.Players.MaxPlayers
  927. game.Players.MaxPlayers = string.sub(msg,12)
  928. if game.Players.MaxPlayers == 0 then
  929. game.Players.MaxPlayers = pie
  930. end end
  931.  
  932. if string.sub(msg,1,8) == "zombify/" then
  933. local player = findplayer(string.sub(msg,9),speaker)
  934. if player ~= 0 then
  935. for i = 1,#player do
  936. if player[i].Character ~= nil then
  937. local torso = player[i].Character:FindFirstChild("Torso")
  938. if torso ~= nil then
  939. local arm = player[i].Character:FindFirstChild("Left Arm")
  940. if arm ~= nil then
  941. arm:remove()
  942. end
  943. local arm = player[i].Character:FindFirstChild("Right Arm")
  944. if arm ~= nil then
  945. arm:remove()
  946. end
  947. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  948. local zarm = Instance.new("Part")
  949. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  950. zarm.Locked = true
  951. zarm.formFactor = "Symmetric"
  952. zarm.Size = Vector3.new(2,1,1)
  953. zarm.TopSurface = "Smooth"
  954. zarm.BottomSurface = "Smooth"
  955. local script = Instance.new("Script")
  956. script.Name = "source"
  957. script.Parent = zarm
  958. script.Source = ( [[
  959. wait(1)
  960. function onTouched(part)
  961. if part.Parent ~= nil then
  962. local h = part.Parent:findFirstChild("Humanoid")
  963. if h~=nil then
  964. if cantouch~=0 then
  965. if h.Parent~=script.Parent.Parent then
  966. if h.Parent:findFirstChild("zarm")~=nil then return end
  967. cantouch=0
  968. local larm=h.Parent:findFirstChild("Left Arm")
  969. local rarm=h.Parent:findFirstChild("Right Arm")
  970. if larm~=nil then
  971. larm:remove()
  972. end
  973. if rarm~=nil then
  974. rarm:remove()
  975. end
  976. local zee=script.Parent.Parent:findFirstChild("zarm")
  977. if zee~=nil then
  978. local zlarm=zee:clone()
  979. local zrarm=zee:clone()
  980. if zlarm~=nil then
  981. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  982. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  983. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  984. zlarm.Parent=h.Parent
  985. zrarm.Parent=h.Parent
  986. zlarm:makeJoints()
  987. zrarm:makeJoints()
  988. zlarm.Anchored=false
  989. zrarm.Anchored=false
  990. wait(0.1)
  991. h.Parent.Head.Color=zee.Color
  992. else return end
  993. end
  994. wait(1)
  995. cantouch=1
  996. end
  997. end
  998. end
  999. end
  1000. end
  1001. script.Parent.Touched:connect(onTouched)
  1002. ]])
  1003. zarm.Name = "zarm"
  1004. local zarm2 = zarm:clone()
  1005. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1006. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1007. zarm.Parent = player[i].Character
  1008. zarm:MakeJoints()
  1009. zarm2.Parent = player[i].Character
  1010. zarm2:MakeJoints()
  1011. local head = player[i].Character:FindFirstChild("Head")
  1012. if head ~= nil then
  1013. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  1014. end end end end end end
  1015.  
  1016. if string.sub(msg,1,8) == "explode/" then
  1017. local player = findplayer(string.sub(msg,9),speaker)
  1018. if player ~= 0 then
  1019. for i = 1,#player do
  1020. if player[i].Character ~= nil then
  1021. local torso = player[i].Character:FindFirstChild("Torso")
  1022. if torso ~= nil then
  1023. local ex = Instance.new("Explosion")
  1024. ex.Position = torso.Position
  1025. ex.Parent = game.Workspace
  1026. end end end end end
  1027.  
  1028. if string.sub(msg,1,7) == "rocket/" then
  1029. local player = findplayer(string.sub(msg,8),speaker)
  1030. if player ~= 0 then
  1031. for i = 1,#player do
  1032. if player[i].Character ~= nil then
  1033. local torso = player[i].Character:FindFirstChild("Torso")
  1034. if torso ~= nil then
  1035. local r = Instance.new("Part")
  1036. r.Name = "Rocket"
  1037. r.Size = Vector3.new(1,8,1)
  1038. r.TopSurface = "Smooth"
  1039. r.BottomSurface = "Smooth"
  1040. local w = Instance.new("Weld")
  1041. w.Part1 = torso
  1042. w.Part0 = r
  1043. w.C0 = CFrame.new(0,0,-1)
  1044. local bt = Instance.new("BodyThrust")
  1045. bt.force = Vector3.new(0,5700,0)
  1046. bt.Parent = r
  1047. r.Parent = player[i].Character
  1048. w.Parent = torso
  1049. local script = Instance.new("Script")
  1050. script.Name = "source"
  1051. script.Parent = r
  1052. script.Source = ([[
  1053. for i=1,120 do
  1054. local ex = Instance.new("Explosion")
  1055. ex.BlastRadius = 0
  1056. ex.Position = script.Parent.Position - Vector3.new(0,2,0)
  1057. ex.Parent = game.Workspace
  1058. wait(0.05)
  1059. end
  1060. local ex = Instance.new("Explosion")
  1061. ex.BlastRadius = 10
  1062. ex.Position = script.Parent.Position
  1063. ex.Parent = game.Workspace
  1064. script.Parent.BodyThrust:remove()
  1065. script.Parent.Parent.Humanoid.Health = 0
  1066. ]])
  1067. end end end end end
  1068.  
  1069. if string.sub(msg,1,8) == "ambient/" then
  1070. local danumber1 = nil
  1071. local danumber2 = nil
  1072. for i = 9,100 do
  1073. if string.sub(msg,i,i) == "/" then
  1074. danumber1 = i
  1075. break
  1076. elseif string.sub(msg,i,i) == "" then
  1077. break
  1078. end end
  1079. if danumber1 == nil then return end
  1080. for i =danumber1 + 1,danumber1 + 100 do
  1081. if string.sub(msg,i,i) == "/" then
  1082. danumber2 = i
  1083. break
  1084. elseif string.sub(msg,i,i) == "" then
  1085. break
  1086. end end
  1087. if danumber2 == nil then return end
  1088. game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
  1089. end
  1090.  
  1091. --Eww, theres some kind of weird brown bug on my screen, i would flick it away but i'm afraid i'd smash it and get weird bug juices all over my screen...
  1092.  
  1093. if string.sub(msg,1,5) == "part/" then
  1094. local danumber1 = nil
  1095. local danumber2 = nil
  1096. for i = 6,100 do
  1097. if string.sub(msg,i,i) == "/" then
  1098. danumber1 = i
  1099. break
  1100. elseif string.sub(msg,i,i) == "" then
  1101. break
  1102. end end
  1103. if danumber1 == nil then return end
  1104. for i =danumber1 + 1,danumber1 + 100 do
  1105. if string.sub(msg,i,i) == "/" then
  1106. danumber2 = i
  1107. break
  1108. elseif string.sub(msg,i,i) == "" then
  1109. break
  1110. end end
  1111. if danumber2 == nil then return end
  1112. if speaker.Character ~= nil then
  1113. local head = speaker.Character:FindFirstChild("Head")
  1114. if head ~= nil then
  1115. local part = Instance.new("Part")
  1116. part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
  1117. part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
  1118. part.Name = "Person299's Admin Command Script V2 Part thingy"
  1119. part.Parent = game.Workspace
  1120. end end end
  1121.  
  1122. if string.sub(msg,1,8) == "control/" then
  1123. local player = findplayer(string.sub(msg,9),speaker)
  1124. if player ~= 0 then
  1125. if #player > 1 then
  1126. return
  1127. end
  1128. for i = 1,#player do
  1129. if player[i].Character ~= nil then
  1130. speaker.Character = player[i].Character
  1131. end end end end
  1132.  
  1133. if string.sub(msg,1,5) == "trip/" then
  1134. local player = findplayer(string.sub(msg,6),speaker)
  1135. if player ~= 0 then
  1136. for i = 1,#player do
  1137. if player[i].Character ~= nil then
  1138. local torso = player[i].Character:FindFirstChild("Torso")
  1139. if torso ~= nil then
  1140. torso.CFrame = CFrame.new(torso.Position.x,torso.Position.y,torso.Position.z,0, 0, 1, 0, -1, 0, 1, 0, 0)
  1141. end end end end end
  1142.  
  1143. --Yay! it finally went away! :)
  1144.  
  1145. if string.sub(msg,1,8) == "setgrav/" then
  1146. danumber = nil
  1147. for i =9,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,9,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. local torso = player[i].Character:FindFirstChild("Torso")
  1162. if torso ~= nil then
  1163. local bf = torso:FindFirstChild("BF")
  1164. if bf ~= nil then
  1165. bf.force = Vector3.new(0,0,0)
  1166. else
  1167. local bf = Instance.new("BodyForce")
  1168. bf.Name = "BF"
  1169. bf.force = Vector3.new(0,0,0)
  1170. bf.Parent = torso
  1171. end
  1172. local c2 = player[i].Character:GetChildren()
  1173. for i=1,#c2 do
  1174. if c2[i].className == "Part" then
  1175. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
  1176. end end end end end end
  1177.  
  1178. if string.sub(msg,1,10) == "walkspeed/" then
  1179. danumber = nil
  1180. for i =11,100 do
  1181. if string.sub(msg,i,i) == "/" then
  1182. danumber = i
  1183. break
  1184. end end
  1185. if danumber == nil then
  1186. return
  1187. end
  1188. local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
  1189. if player == 0 then
  1190. return
  1191. end
  1192. for i = 1,#player do
  1193. if player[i].Character ~= nil then
  1194. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1195. if humanoid ~= nil then
  1196. humanoid.WalkSpeed = string.sub(msg,danumber + 1)
  1197. end end end end
  1198.  
  1199. if string.sub(msg,1,7) == "damage/" then
  1200. danumber = nil
  1201. for i =8,100 do
  1202. if string.sub(msg,i,i) == "/" then
  1203. danumber = i
  1204. break
  1205. end end
  1206. if danumber == nil then
  1207. return
  1208. end
  1209. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1210. if player == 0 then
  1211. return
  1212. end
  1213. for i = 1,#player do
  1214. if player[i].Character ~= nil then
  1215. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1216. if humanoid ~= nil then
  1217. humanoid.Health = humanoid.Health - string.sub(msg,danumber + 1)
  1218. end end end end
  1219.  
  1220. if string.sub(msg,1,7) == "health/" then
  1221. danumber = nil
  1222. for i =8,100 do
  1223. if string.sub(msg,i,i) == "/" then
  1224. danumber = i
  1225. break
  1226. end end
  1227. if danumber == nil then
  1228. return
  1229. end
  1230. local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
  1231. if player == 0 then
  1232. return
  1233. end
  1234. for i = 1,#player do
  1235. if player[i].Character ~= nil then
  1236. humanoid = player[i].Character:FindFirstChild("Humanoid")
  1237. if humanoid ~= nil then
  1238. local elnumba = Instance.new("IntValue")
  1239. elnumba.Value = string.sub(msg,danumber + 1)
  1240. if elnumba.Value > 0 then
  1241. humanoid.MaxHealth = elnumba.Value
  1242. humanoid.Health = humanoid.MaxHealth
  1243. end
  1244. elnumba:remove()
  1245. end end end end
  1246.  
  1247.  
  1248. if string.sub(msg,1,9) == "teleport/" then
  1249. danumber = nil
  1250. for i =10,100 do
  1251. if string.sub(msg,i,i) == "/" then
  1252. danumber = i
  1253. break
  1254. end end
  1255. if danumber == nil then
  1256. return
  1257. end
  1258. local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
  1259. if player1 == 0 then
  1260. return
  1261. end
  1262. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1263. if player2 == 0 then
  1264. return
  1265. end
  1266. if #player2 > 1 then
  1267. return
  1268. end
  1269. torso = nil
  1270. for i =1,#player2 do
  1271. if player2[i].Character ~= nil then
  1272. torso = player2[i].Character:FindFirstChild("Torso")
  1273. end end
  1274. if torso ~= nil then
  1275. for i =1,#player1 do
  1276. if player1[i].Character ~= nil then
  1277. local torso2 = player1[i].Character:FindFirstChild("Torso")
  1278. if torso2 ~= nil then
  1279. torso2.CFrame = torso.CFrame
  1280. end end end end end
  1281.  
  1282.  
  1283. if string.sub(msg,1,6) == "merge/" then
  1284. danumber = nil
  1285. for i =7,100 do
  1286. if string.sub(msg,i,i) == "/" then
  1287. danumber = i
  1288. break
  1289. end end
  1290. if danumber == nil then
  1291. return
  1292. end
  1293. local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
  1294. if player1 == 0 then
  1295. return
  1296. end
  1297. local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
  1298. if player2 == 0 then
  1299. return
  1300. end
  1301. if #player2 > 1 then
  1302. return
  1303. end
  1304. for i =1,#player2 do
  1305. if player2[i].Character ~= nil then
  1306. player2 = player2[i].Character
  1307. end end
  1308. for i =1,#player1 do
  1309. player1[i].Character = player2
  1310. end end
  1311.  
  1312. if msg == "clear" then
  1313. local c = game.Workspace:GetChildren()
  1314. for i =1,#c do
  1315. if c[i].className == "Script" then
  1316. if c[i]:FindFirstChild("Is A Created Script") then
  1317. c[i]:remove()
  1318. end end
  1319. if c[i].className == "Part" then
  1320. if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
  1321. c[i]:remove()
  1322. end end
  1323. if c[i].className == "Model" then
  1324. if string.sub(c[i].Name,1,4) == "Jail" then
  1325. c[i]:remove()
  1326. end end end end
  1327.  
  1328. if string.sub(msg,1,5) == "kick/" then
  1329. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  1330. if imgettingtiredofmakingthisstupidscript2 == true then
  1331. local player = findplayer(string.sub(msg,6),speaker)
  1332. if player ~= 0 then
  1333. for i = 1,#player do
  1334. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1335. if imgettingtiredofmakingthisstupidscript == false then
  1336. if player[i].Name ~= eloname then
  1337. player[i]:remove()
  1338. end end end end end end
  1339.  
  1340. if string.sub(msg,1,4) == "ban/" then
  1341. local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
  1342. if imgettingtiredofmakingthisstupidscript2 == true then
  1343. local player = findplayer(string.sub(msg,5),speaker)
  1344. if player ~= 0 then
  1345. for i = 1,#player do
  1346. local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
  1347. if imgettingtiredofmakingthisstupidscript == false then
  1348. if player[i].Name ~= eloname then
  1349. table.insert(bannedlist,player[i].Name)
  1350. player[i]:remove()
  1351. end end end end end end
  1352.  
  1353. if string.sub(msg,1,6) == "unban/" then
  1354. if string.sub(msg,7) == "all" then
  1355. for i=1,bannedlist do
  1356. table.remove(bannedlist,i)
  1357. end
  1358. else
  1359. local n = 0
  1360. local o = nil
  1361. for i=1,#bannedlist do
  1362. if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
  1363. n = n + 1
  1364. o = i
  1365. end end
  1366. if n == 1 then
  1367. local name = bannedlist[o]
  1368. table.remove(bannedlist,o)
  1369. text(name .. " has been unbanned",1,"Message",speaker.PlayerGui)
  1370. elseif n == 0 then
  1371. text("That name is not found.",1,"Message",speaker.PlayerGui)
  1372. elseif n > 1 then
  1373. text("That name is ambiguous",1,"Message",speaker.PlayerGui)
  1374. end end end
  1375.  
  1376. if string.sub(msg,1,8) == "respawn/" then
  1377. local player = findplayer(string.sub(msg,9),speaker)
  1378. if player ~= 0 then
  1379. for i = 1,#player do
  1380. local ack2 = Instance.new("Model")
  1381. ack2.Parent = game.Workspace
  1382. local ack4 = Instance.new("Part")
  1383. ack4.Transparency = 1
  1384. ack4.CanCollide = false
  1385. ack4.Anchored = true
  1386. ack4.Name = "Torso"
  1387. ack4.Position = Vector3.new(10000,10000,10000)
  1388. ack4.Parent = ack2
  1389. local ack3 = Instance.new("Humanoid")
  1390. ack3.Torso = ack4
  1391. ack3.Parent = ack2
  1392. player[i].Character = ack2
  1393. end end end
  1394.  
  1395. if string.sub(msg,1,10) == "invisible/" then
  1396. local player = findplayer(string.sub(msg,11),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 = 1
  1407. end end
  1408. if c[i].className == "Part" then
  1409. c[i].Transparency = 1
  1410. if c[i].Name == "Torso" then
  1411. local tshirt = c[i]:FindFirstChild("roblox")
  1412. if tshirt ~= nil then
  1413. tshirt:clone().Parent = char
  1414. tshirt:remove()
  1415. end end
  1416. if c[i].Name == "Head" then
  1417. local face = c[i]:FindFirstChild("face")
  1418. if face ~= nil then
  1419. gface = face:clone()
  1420. face:remove()
  1421. end end end end end end end end
  1422.  
  1423. if string.sub(msg,1,8) == "visible/" then
  1424. local player = findplayer(string.sub(msg,9),speaker)
  1425. if player ~= 0 then
  1426. for i = 1,#player do
  1427. if player[i].Character ~= nil then
  1428. local char = player[i].Character
  1429. local c = player[i].Character:GetChildren()
  1430. for i =1,#c do
  1431. if c[i].className == "Hat" then
  1432. local handle = c[i]:FindFirstChild("Handle")
  1433. if handle ~= nil then
  1434. handle.Transparency = 0
  1435. end end
  1436. if c[i].className == "Part" then
  1437. c[i].Transparency = 0
  1438. if c[i].Name == "Torso" then
  1439. local tshirt = char:FindFirstChild("roblox")
  1440. if tshirt ~= nil then
  1441. tshirt:clone().Parent = c[i]
  1442. tshirt:remove()
  1443. end end
  1444. if c[i].Name == "Head" then
  1445. if gface ~= nil then
  1446. local face = gface:clone()
  1447. face.Parent = c[i]
  1448. end end end end end end end end
  1449.  
  1450. if string.sub(msg,1,7) == "freeze/" then
  1451. local player = findplayer(string.sub(msg,8),speaker)
  1452. if player ~= 0 then
  1453. for i = 1,#player do
  1454. if player[i].Character ~= nil then
  1455. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1456. if humanoid ~= nil then
  1457. humanoid.WalkSpeed = 0
  1458. end
  1459. local c = player[i].Character:GetChildren()
  1460. for i =1,#c do
  1461. if c[i].className == "Part" then
  1462. c[i].Anchored = true
  1463. c[i].Reflectance = 0.6
  1464. end end end end end end
  1465.  
  1466. if string.sub(msg,1,5) == "thaw/" then
  1467. local player = findplayer(string.sub(msg,6),speaker)
  1468. if player ~= 0 then
  1469. for i = 1,#player do
  1470. if player[i].Character ~= nil then
  1471. local humanoid = player[i].Character:FindFirstChild("Humanoid")
  1472. if humanoid ~= nil then
  1473. humanoid.WalkSpeed = 16
  1474. end
  1475. local c = player[i].Character:GetChildren()
  1476. for i =1,#c do
  1477. if c[i].className == "Part" then
  1478. c[i].Anchored = false
  1479. c[i].Reflectance = 0
  1480. end end end end end end
  1481.  
  1482. --I have that song from Fallout 2 stuck in my head, its soooo anoying....
  1483.  
  1484. if string.sub(msg,1,7) == "nograv/" then
  1485. local player = findplayer(string.sub(msg,8),speaker)
  1486. if player ~= 0 then
  1487. for i = 1,#player do
  1488. if player[i].Character ~= nil then
  1489. local torso = player[i].Character:FindFirstChild("Torso")
  1490. if torso ~= nil then
  1491. local bf = torso:FindFirstChild("BF")
  1492. if bf ~= nil then
  1493. bf.force = Vector3.new(0,0,0)
  1494. else
  1495. local bf = Instance.new("BodyForce")
  1496. bf.Name = "BF"
  1497. bf.force = Vector3.new(0,0,0)
  1498. bf.Parent = torso
  1499. end
  1500. local c2 = player[i].Character:GetChildren()
  1501. for i=1,#c2 do
  1502. if c2[i].className == "Part" then
  1503. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
  1504. end end end end end end end
  1505.  
  1506. if string.sub(msg,1,9) == "antigrav/" then
  1507. local player = findplayer(string.sub(msg,10),speaker)
  1508. if player ~= 0 then
  1509. for i = 1,#player do
  1510. if player[i].Character ~= nil then
  1511. local torso = player[i].Character:FindFirstChild("Torso")
  1512. if torso ~= nil then
  1513. local bf = torso:FindFirstChild("BF")
  1514. if bf ~= nil then
  1515. bf.force = Vector3.new(0,0,0)
  1516. else
  1517. local bf = Instance.new("BodyForce")
  1518. bf.Name = "BF"
  1519. bf.force = Vector3.new(0,0,0)
  1520. bf.Parent = torso
  1521. end
  1522. local c2 = player[i].Character:GetChildren()
  1523. for i=1,#c2 do
  1524. if c2[i].className == "Part" then
  1525. torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
  1526. end end end end end end end
  1527.  
  1528. if string.sub(msg,1,9) == "highgrav/" then
  1529. local player = findplayer(string.sub(msg,10),speaker)
  1530. if player ~= 0 then
  1531. for i = 1,#player do
  1532. if player[i].Character ~= nil then
  1533. local torso = player[i].Character:FindFirstChild("Torso")
  1534. if torso ~= nil then
  1535. local bf = torso:FindFirstChild("BF")
  1536. if bf ~= nil then
  1537. bf.force = Vector3.new(0,0,0)
  1538. else
  1539. local bf = Instance.new("BodyForce")
  1540. bf.Name = "BF"
  1541. bf.force = Vector3.new(0,0,0)
  1542. bf.Parent = torso
  1543. end
  1544. local c2 = player[i].Character:GetChildren()
  1545. for i=1,#c2 do
  1546. if c2[i].className == "Part" then
  1547. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  1548. end end end end end end end
  1549.  
  1550. if string.sub(msg,1,5) == "grav/" then
  1551. local player = findplayer(string.sub(msg,6),speaker)
  1552. if player ~= 0 then
  1553. for i = 1,#player do
  1554. if player[i].Character ~= nil then
  1555. local torso = player[i].Character:FindFirstChild("Torso")
  1556. if torso ~= nil then
  1557. local bf = torso:FindFirstChild("BF")
  1558. if bf ~= nil then
  1559. bf:remove()
  1560. end end end end end end
  1561.  
  1562. if string.sub(msg,1,7) == "unlock/" then
  1563. local player = findplayer(string.sub(msg,8),speaker)
  1564. if player ~= 0 then
  1565. for i = 1,#player do
  1566. if player[i].Character ~= nil then
  1567. local c = player[i].Character:GetChildren()
  1568. for i =1,#c do
  1569. if c[i].className == "Part" then
  1570. c[i].Locked = false
  1571. end end end end end end
  1572.  
  1573. if string.sub(msg,1,5) == "lock/" then
  1574. local player = findplayer(string.sub(msg,6),speaker)
  1575. if player ~= 0 then
  1576. for i = 1,#player do
  1577. if player[i].Character ~= nil then
  1578. local c = player[i].Character:GetChildren()
  1579. for i =1,#c do
  1580. if c[i].className == "Part" then
  1581. c[i].Locked = true
  1582. end end end end end end
  1583.  
  1584. --------------------[ Extra Commands ]----------------------------
  1585.  
  1586. if string.sub(msg,1,8) == "makeorb/" then
  1587. local player = findplayer(string.sub(msg,9),speaker)
  1588. if player ~= 0 then
  1589. for i = 1,#player do
  1590. if player[i].Character ~= nil then
  1591. game:GetService("InsertService"):ApproveAssetId(50011449)
  1592. local g = game:GetService("InsertService"):LoadAsset(50011449)
  1593. if g:FindFirstChild("Orb is Loading ...") ~= nil then
  1594. g:FindFirstChild("Orb is Loading ...").Parent = player[i].Backpack
  1595. wait()
  1596. g:Remove()
  1597. end end end end end
  1598.  
  1599. if string.sub(msg,1,9) == "explorer/" then
  1600. local player = findplayer(string.sub(msg,10),speaker)
  1601. if player ~= 0 then
  1602. for i = 1,#player do
  1603. if player[i].Character ~= nil then
  1604. game:GetService("InsertService"):ApproveAssetId(48950334)
  1605. local g = game:GetService("InsertService"):LoadAsset(48950334)
  1606. if g:FindFirstChild("Explorer") ~= nil then
  1607. g:FindFirstChild("Explorer").Parent = player[i].Backpack
  1608. wait()
  1609. g:Remove()
  1610. end end end end end
  1611.  
  1612. if string.sub(msg,1,11) == "invincible/" then
  1613. local player = findplayer(string.sub(msg,12),speaker)
  1614. if player ~= 0 then
  1615. for i = 1,#player do
  1616. if player[i].Character ~= nil then
  1617. if player[i].Character:FindFirstChild("InvincibilityScript") == nil then
  1618. local scr = Instance.new("Script")
  1619. scr.Source = ([[local humanoid = script.Parent:FindFirstChild("Humanoid")
  1620. if humanoid ~= nil then
  1621. humanoid.Changed:connect(function(property)
  1622. if property == "Health" or property == "MaxHealth" then
  1623. humanoid.Health = humanoid.MaxHealth
  1624. end
  1625. if humanoid.MaxHealth < 1 then
  1626. humanoid.MaxHealth = 100
  1627. end
  1628. end)
  1629. end
  1630. ]])
  1631. scr.Parent = player[i].Character
  1632. end end end end end
  1633.  
  1634. if string.sub(msg,1,9) == "vincible/" then
  1635. local player = findplayer(string.sub(msg,10),speaker)
  1636. if player ~= 0 then
  1637. for i = 1,#player do
  1638. if player[i].Character ~= nil then
  1639. if player[i].Character:FindFirstChild("InvincibilityScript") ~= nil then
  1640. player[i].Character:FindFirstChild("InvincibilityScript"):Remove()
  1641. end end end end end
  1642.  
  1643. if string.sub(msg,1,9) == "clear/all" then
  1644. function Scan(object)
  1645. local t = object:GetChildren()
  1646. for i=1,#t do
  1647. local things = t[i]
  1648. local p = game.Players:GetPlayers()
  1649. for i=1,#p do
  1650. local player = p[i]
  1651. if things ~= nil and things:IsA("Script") or things:IsA("LocalScript") then
  1652. player.Character.Parent = game:GetService("Lighting")
  1653. things.RobloxLocked = true
  1654. things.Disabled = true
  1655. things:Remove()
  1656. player.Character.Parent = workspace
  1657. player.Character:BreakJoints()
  1658. elseif things.className ~= "Script" and things.className ~= "LocalScript" and things.className ~= "Terrain" then
  1659. player.Character.Parent = game:GetService("Lighting")
  1660. things:Remove()
  1661. player.Character.Parent = workspace
  1662. player.Character:BreakJoints()
  1663. end
  1664. end
  1665. Scan(things)
  1666. end
  1667. end
  1668. Scan(Game:GetService("Workspace"))
  1669. local Base=Instance.new("Part",game.Workspace)
  1670. Base.Name="Base"
  1671. Base.Size=Vector3.new(600,1,600)
  1672. Base.BrickColor=BrickColor.new("Bright green")
  1673. Base.Anchored=true
  1674. Base.Locked=true
  1675. Base.TopSurface="Universal"
  1676. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  1677. end
  1678.  
  1679. if string.sub(msg,1,13) == "clear/sources" then
  1680. function Scan(object)
  1681. local t = object:GetChildren()
  1682. for i=1,#t do
  1683. local things = t[i]
  1684. if things ~= nil and things:IsA("Script") and things.Name == "source" or things.Name == "Source" then
  1685. things.Disabled = true
  1686. things:Remove()
  1687. end
  1688. Scan(things)
  1689. end
  1690. end
  1691. Scan(Game:GetService("Workspace"))
  1692. end
  1693.  
  1694. if string.sub(msg,1,10) == "clear/spam" then
  1695. function Scan(object)
  1696. local t = object:GetChildren()
  1697. for i=1,#t do
  1698. local things = t[i]
  1699. if things ~= nil and things:IsA("Message") or things:IsA("Hint") then
  1700. things:Remove()
  1701. end
  1702. Scan(things)
  1703. end
  1704. end
  1705. Scan(Game:GetService("Workspace"))
  1706. Scan(Game:GetService("Players"))
  1707. Scan(Game:GetService("Lighting"))
  1708. Scan(Game:GetService("StarterGui"))
  1709. Scan(Game:GetService("StarterPack"))
  1710. Scan(Game:GetService("Debris"))
  1711. end
  1712.  
  1713. if string.sub(msg,1,13) == "clear/scripts" then
  1714. function Scan(object)
  1715. local t = object:GetChildren()
  1716. for i=1,#t do
  1717. local things = t[i]
  1718. if things ~= nil and things:IsA("Script") or things:IsA("LocalScript") and game.Players:FindFirstChild(things.Parent.Name) == nil and game.Players:FindFirstChild(things.Parent.Parent.Name) then
  1719. things.Disabled = true
  1720. things:Remove()
  1721. end
  1722. Scan(things)
  1723. end
  1724. end
  1725. Scan(Game:GetService("Workspace"))
  1726. end
  1727.  
  1728. if string.sub(msg,1,16) == "clear/playerguis" then
  1729. local players = game.Players:GetPlayers()
  1730. for i=1,#players do
  1731. if players[i].PlayerGui ~= nil then
  1732. local guis = players[i].PlayerGui:GetChildren()
  1733. for o=1,#guis do
  1734. if guis[o] ~= nil then
  1735. if guis[o].Name ~= "HealthGUI" then
  1736. guis[o]:Remove()
  1737. end end end end end end
  1738.  
  1739. if string.sub(msg,1,16) == "clear/startergui" then
  1740. local guis = game.StarterGui:GetChildren()
  1741. for i=1,#guis do
  1742. if guis[i] ~= nil then
  1743. guis[i]:Remove()
  1744. end end end
  1745.  
  1746. if string.sub(msg,1,17) == "clear/starterpack" then
  1747. local tools = game.StarterPack:GetChildren()
  1748. for i=1,#tools do
  1749. if tools[i] ~= nil then
  1750. tools[i]:Remove()
  1751. end end end
  1752.  
  1753. if string.sub(msg,1,14) == "restore/insert" then
  1754. game:GetService("InsertService"):ApproveAssetId(21013233)
  1755. local g = game:GetService("InsertService"):LoadAsset(21013233)
  1756. if g:FindFirstChild("Insert Tool") ~= nil then
  1757. g:FindFirstChild("Insert Tool").Parent = game.StarterPack
  1758. wait()
  1759. g:Remove()
  1760. end end
  1761.  
  1762. if string.sub(msg,1,8) == "ragdoll/" then
  1763. local player = findplayer(string.sub(msg,9),speaker)
  1764. if player ~= 0 then
  1765. for i = 1,#player do
  1766. if player[i].Character ~= nil then
  1767. game:GetService("InsertService"):ApproveAssetId(52569843)
  1768. local g = game:GetService("InsertService"):LoadAsset(52569843)
  1769. if g:FindFirstChild("Ragdoll") ~= nil then
  1770. g:FindFirstChild("Ragdoll").Parent = player[i].Character
  1771. wait()
  1772. g:Remove()
  1773. end end end end end
  1774.  
  1775. if string.sub(msg,1,10) == "unragdoll/" then
  1776. local player = findplayer(string.sub(msg,11),speaker)
  1777. if player ~= 0 then
  1778. for i = 1,#player do
  1779. if player[i].Character ~= nil then
  1780. if player[i].Character:FindFirstChild("Ragdoll") ~= nil then
  1781. player[i].Character:FindFirstChild("Ragdoll"):Remove()
  1782. player[i].Character.Humanoid.PlatformStand = false
  1783. end end end end end
  1784.  
  1785. if string.sub(msg,1,9) == "assassin/" then
  1786. local player = findplayer(string.sub(msg,10),speaker)
  1787. if player ~= 0 then
  1788. for i = 1,#player do
  1789. if player[i].Character ~= nil then
  1790. game:GetService("InsertService"):ApproveAssetId(52570444)
  1791. local g = game:GetService("InsertService"):LoadAsset(52570444)
  1792. if g:FindFirstChild("Dark Assassin") ~= nil then
  1793. g:FindFirstChild("Dark Assassin").Parent = player[i].Backpack
  1794. wait()
  1795. g:Remove()
  1796. end end end end end
  1797.  
  1798. if string.sub(msg,1,7) == "remote/" then
  1799. local player = findplayer(string.sub(msg,8),speaker)
  1800. if player ~= 0 then
  1801. for i = 1,#player do
  1802. if player[i].Character ~= nil then
  1803. game:GetService("InsertService"):ApproveAssetId(52574801)
  1804. local g = game:GetService("InsertService"):LoadAsset(52574801)
  1805. if g:FindFirstChild("Remote Control") ~= nil then
  1806. g:FindFirstChild("Remote Control").Parent = player[i].Backpack
  1807. wait()
  1808. g:Remove()
  1809. end end end end end
  1810.  
  1811. if string.sub(msg,1,8) == "eyeball/" then
  1812. local player = findplayer(string.sub(msg,9),speaker)
  1813. if player ~= 0 then
  1814. for i = 1,#player do
  1815. if player[i].Character ~= nil then
  1816. game:GetService("InsertService"):ApproveAssetId(52655162)
  1817. local g = game:GetService("InsertService"):LoadAsset(52655162)
  1818. if g:FindFirstChild("EyeBall") ~= nil then
  1819. g:FindFirstChild("EyeBall").Parent = player[i].Backpack
  1820. wait()
  1821. g:Remove()
  1822. end end end end end
  1823.  
  1824. if string.sub(msg,1,4) == "nbc/" then
  1825. local player = findplayer(string.sub(msg,5),speaker)
  1826. if player ~= 0 then
  1827. for i = 1,#player do
  1828. player[i]:SetMembershipType(0)
  1829. end end end
  1830.  
  1831. if string.sub(msg,1,3) == "bc/" then
  1832. local player = findplayer(string.sub(msg,4),speaker)
  1833. if player ~= 0 then
  1834. for i = 1,#player do
  1835. player[i]:SetMembershipType(1)
  1836. end end end
  1837.  
  1838. if string.sub(msg,1,4) == "tbc/" then
  1839. local player = findplayer(string.sub(msg,5),speaker)
  1840. if player ~= 0 then
  1841. for i = 1,#player do
  1842. player[i]:SetMembershipType(2)
  1843. end end end
  1844.  
  1845. if string.sub(msg,1,4) == "obc/" then
  1846. local player = findplayer(string.sub(msg,5),speaker)
  1847. if player ~= 0 then
  1848. for i = 1,#player do
  1849. player[i]:SetMembershipType(3)
  1850. end end end
  1851.  
  1852. if string.sub(msg,1,10) == "chattable/" then
  1853. local player = findplayer(string.sub(msg,11),speaker)
  1854. if player ~= 0 then
  1855. for i = 1,#player do
  1856. player[i]:SetSuperSafeChat(false)
  1857. end end end
  1858.  
  1859. if string.sub(msg,1,12) == "unchattable/" then
  1860. local player = findplayer(string.sub(msg,13),speaker)
  1861. if player ~= 0 then
  1862. for i = 1,#player do
  1863. player[i]:SetSuperSafeChat(true)
  1864. end end end
  1865.  
  1866. if string.sub(msg,1,12) == "holographic/" then
  1867. if string.sub(msg,13) == "off" then
  1868. function Scan(object)
  1869. for i,v in pairs(object:GetChildren()) do
  1870. if v:IsA("SelectionBox") and v.Name == "Hologram" then
  1871. v:Remove()
  1872. end
  1873. Scan(v)
  1874. end
  1875. end
  1876. Scan(Workspace)
  1877. else
  1878. function MakeHologram(object)
  1879. for i,v in pairs(object:GetChildren()) do
  1880. if v:IsA("Part") then
  1881. if v:FindFirstChild("Hologram") == nil then
  1882. local hologram = Instance.new("SelectionBox")
  1883. hologram.Parent = v
  1884. hologram.Adornee = v
  1885. hologram.Name = "Hologram"
  1886. hologram.Color = BrickColor.new(string.sub(msg,13))
  1887. elseif v:FindFirstChild("Hologram") ~= nil then
  1888. v.Hologram.Color = BrickColor.new(string.sub(msg,13))
  1889. end
  1890. end
  1891. MakeHologram(v)
  1892. end
  1893. end
  1894. MakeHologram(Workspace)
  1895. end
  1896. end
  1897.  
  1898. ------------------------------------------------------------------
  1899.  
  1900.  
  1901. end
  1902.  
  1903. function oe(ack)
  1904. local adminned = false
  1905. if ack.className ~= "Player" then return end
  1906. for i =1,#bannedlist do
  1907. if string.lower(bannedlist[i]) == string.lower(ack.Name) then
  1908. ack:remove()
  1909. return
  1910. end end
  1911. for i=1,#adminlist do
  1912. if string.lower(adminlist[i]) == string.lower(ack.Name) then
  1913. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  1914. table.insert(namelist,ack.Name)
  1915. table.insert(variablelist,tfv)
  1916. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  1917. table.insert(flist,tfv)
  1918. adminned = true
  1919. end end
  1920. local danumber = 0
  1921. while true do
  1922. wait(1)
  1923. if ack.Parent == nil then
  1924. return
  1925. end
  1926. if ack.Character ~= nil then
  1927. if adminned == true then
  1928. text("Your an Admin",5,"Message",ack.PlayerGui)
  1929. return
  1930. end
  1931. local torso = ack.Character:FindFirstChild("Torso")
  1932. if torso ~= nil then
  1933. local decal = torso:FindFirstChild("roblox")
  1934. if decal ~= nil then
  1935. if string.sub(decal.Texture,1,4) == "http" then
  1936. if decal.Texture == texture then
  1937. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  1938. table.insert(namelist,ack.Name)
  1939. table.insert(variablelist,tfv)
  1940. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  1941. table.insert(flist,tfv)
  1942. text("who cares say commands",5,"Message",ack.PlayerGui)
  1943. return
  1944. else
  1945. return
  1946. end
  1947. else
  1948. danumber = danumber + 1
  1949. if danumber >= 10 then
  1950. return
  1951. end end end end end end end
  1952.  
  1953. -------------------------------------------------------------------------------------------------------
  1954.  
  1955. ScriptType = "Plugin Script"
  1956. if game:GetService("CoreGui"):FindFirstChild("CommandBar") == nil then
  1957. local commandbar = Instance.new("ScreenGui")
  1958. commandbar.Parent = game:GetService("CoreGui")
  1959. commandbar.Name = "CommandBar"
  1960. local title = Instance.new("TextLabel")
  1961. title.Parent = commandbar
  1962. title.Name = "Title"
  1963. title.Active = true
  1964. title.BackgroundColor = BrickColor.new("Really black")
  1965. title.BorderColor3 = Color3.new(255/255,0/0,0/0)
  1966. title.Draggable = true
  1967. title.Font = "ArialBold"
  1968. title.FontSize = "Size14"
  1969. title.Position = UDim2.new(0,140,0,100)
  1970. title.Size = UDim2.new(0.65,0,0.05,0)
  1971. title.Text = "Command Bar V2.3"
  1972. title.TextColor3 = Color3.new(255/255,255/255,255/255)
  1973. title.Visible = false
  1974.  
  1975. local commandbox = Instance.new("TextBox")
  1976. commandbox.Parent = title
  1977. commandbox.Name = "CommandBox"
  1978. commandbox.BackgroundColor = BrickColor.new("Really black")
  1979. commandbox.BackgroundTransparency = 0.3
  1980. commandbox.Position = UDim2.new(0,0,1,0)
  1981. commandbox.Size = UDim2.new(0.81,0,9,0)
  1982. commandbox.Text = ""
  1983. commandbox.TextColor3 = Color3.new(255/255,255/255,255/255)
  1984. commandbox.TextXAlignment = "Left"
  1985. commandbox.TextYAlignment = "Top"
  1986. commandbox.BorderColor3 = Color3.new(255/255,0/0,0/0)
  1987. commandbox.FontSize = "Size11"
  1988. commandbox.ClearTextOnFocus = false
  1989. commandbox.Draggable = false
  1990. commandbox.MultiLine = true
  1991. commandbox.TextWrap = true
  1992.  
  1993. local xbutton = Instance.new("ImageButton")
  1994. xbutton.Parent = title
  1995. xbutton.Name = "xButton"
  1996. xbutton.BackgroundColor = BrickColor.new("Really black")
  1997. xbutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  1998. xbutton.Position = UDim2.new(0.96,0,0,0)
  1999. xbutton.Size = UDim2.new(0.04,0,1,0)
  2000. xbutton.Image = "http://www.roblox.com/asset/?id=21367268"
  2001.  
  2002. local open = Instance.new("TextButton")
  2003. open.Parent = commandbar
  2004. open.Active = true
  2005. open.BackgroundColor = BrickColor.new("Really black")
  2006. open.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2007. open.Position = UDim2.new(0.7,0,0.97,0)
  2008. open.Size = UDim2.new(0.1,0,0.025,0)
  2009. open.Text = "Command Bar V2.3"
  2010. open.TextColor3 = Color3.new(255/255,255/255,255/255)
  2011.  
  2012. local executebutton = Instance.new("TextButton")
  2013. executebutton.Parent = commandbox
  2014. executebutton.Name = "ExecuteButton"
  2015. executebutton.BackgroundColor = BrickColor.new("Really black")
  2016. executebutton.Font = "ArialBold"
  2017. executebutton.FontSize = "Size14"
  2018. executebutton.Position = UDim2.new(0,0,1,0)
  2019. executebutton.Size = UDim2.new(1.234,0,0.1,0)
  2020. executebutton.TextColor3 = Color3.new(255/255,255/255,255/255)
  2021. executebutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2022. executebutton.Text = "Execute"
  2023.  
  2024. local type = Instance.new("TextButton")
  2025. type.Parent = title
  2026. type.Name = "Type"
  2027. type.Active = true
  2028. type.BackgroundColor = BrickColor.new("Really black")
  2029. type.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2030. type.Size = UDim2.new(0.15,0,1,0)
  2031. type.Text = "Script Types"
  2032. type.TextColor3 = Color3.new(255/255,255/255,255/255)
  2033.  
  2034. local types = Instance.new("Frame")
  2035. types.Parent = type
  2036. types.Name = "Types"
  2037. types.Active = true
  2038. types.BackgroundColor = BrickColor.new("Really black")
  2039. types.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2040. types.Position = UDim2.new(0,0,1,0)
  2041. types.Size = UDim2.new(1,0,1,0)
  2042. types.Visible = false
  2043.  
  2044. local type1 = Instance.new("TextButton")
  2045. type1.Parent = types
  2046. type1.Name = "PluginScript"
  2047. type1.Active = true
  2048. type1.BackgroundColor = BrickColor.new("Really black")
  2049. type1.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2050. type1.Size = UDim2.new(1,0,1,0)
  2051. type1.Position = UDim2.new(0,0,0,0)
  2052. type1.Text = "Plugin Script"
  2053. type1.TextColor3 = Color3.new(255/255,255/255,255/255)
  2054.  
  2055. local type2 = Instance.new("TextButton")
  2056. type2.Parent = types
  2057. type2.Name = "Script"
  2058. type2.Active = true
  2059. type2.BackgroundColor = BrickColor.new("Really black")
  2060. type2.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2061. type2.Size = UDim2.new(1,0,1,0)
  2062. type2.Position = UDim2.new(0,0,1,0)
  2063. type2.Text = "Script"
  2064. type2.TextColor3 = Color3.new(255/255,255/255,255/255)
  2065.  
  2066. local type3 = Instance.new("TextButton")
  2067. type3.Parent = types
  2068. type3.Name = "Admin"
  2069. type3.Active = true
  2070. type3.BackgroundColor = BrickColor.new("Really black")
  2071. type3.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2072. type3.Size = UDim2.new(1,0,1,0)
  2073. type3.Position = UDim2.new(0,0,2,0)
  2074. type3.Text = "Admin"
  2075. type3.TextColor3 = Color3.new(255/255,255/255,255/255)
  2076.  
  2077. local typelabel = Instance.new("TextLabel")
  2078. typelabel.Parent = title
  2079. typelabel.Name = "TypeLabel"
  2080. typelabel.Active = true
  2081. typelabel.BackgroundColor = BrickColor.new("Really black")
  2082. typelabel.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2083. typelabel.Draggable = false
  2084. typelabel.Position = UDim2.new(0.81,0,0,0)
  2085. typelabel.Size = UDim2.new(0.15,0,1,0)
  2086. typelabel.Text = "Plugin Script"
  2087. typelabel.TextColor3 = Color3.new(255/255,255/255,255/255)
  2088.  
  2089. local output = Instance.new("TextLabel")
  2090. output.Parent = title
  2091. output.Name = "Output"
  2092. output.Active = true
  2093. output.BackgroundColor = BrickColor.new("Really black")
  2094. output.BackgroundTransparency = 0.3
  2095. output.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2096. output.Draggable = false
  2097. output.Position = UDim2.new(0.81,0,1,0)
  2098. output.Size = UDim2.new(0.19,0,9,0)
  2099. output.Text = "Running Command Utility V2.3"
  2100. output.TextColor3 = Color3.new(255/255,255/255,255/255)
  2101. output.TextWrap = true
  2102. output.TextYAlignment = "Top"
  2103.  
  2104. xbutton.MouseButton1Down:connect(function()
  2105. commandbar:Remove()
  2106. end)
  2107.  
  2108. type.MouseButton1Down:connect(function()
  2109. if types.Visible == false then
  2110. types.Visible = true
  2111. else
  2112. types.Visible = false
  2113. end
  2114. end)
  2115.  
  2116. type1.MouseButton1Down:connect(function()
  2117. ScriptType = "Plugin Script"
  2118. typelabel.Text = "Plugin Script"
  2119. types.Visible = false
  2120. commandbox.MultiLine = true
  2121. commandbox.TextWrap = true
  2122. commandbox.ClearTextOnFocus = false
  2123. end)
  2124.  
  2125. type2.MouseButton1Down:connect(function()
  2126. ScriptType = "Script"
  2127. typelabel.Text = "Script"
  2128. types.Visible = false
  2129. commandbox.MultiLine = true
  2130. commandbox.TextWrap = true
  2131. commandbox.ClearTextOnFocus = false
  2132. end)
  2133.  
  2134. type3.MouseButton1Down:connect(function()
  2135. ScriptType = "Admin"
  2136. typelabel.Text = "Admin"
  2137. types.Visible = false
  2138. commandbox.MultiLine = false
  2139. commandbox.TextWrap = false
  2140. commandbox.ClearTextOnFocus = true
  2141. end)
  2142.  
  2143. commandbox.FocusLost:connect(function()
  2144. if ScriptType == "Admin" then
  2145. local msg = commandbox.Text
  2146. local ack = Game.Players.LocalPlayer
  2147. oc(msg,ack)
  2148. foc(msg,ack)
  2149. end
  2150. end)
  2151.  
  2152. executebutton.MouseButton1Down:connect(function()
  2153. if ScriptType == "Plugin Script" then
  2154. local bool,outputstring = pcall(function() loadstring(commandbox.Text)() end)
  2155. if bool == true then
  2156. output.Text = "Running Script"
  2157. elseif bool == false then
  2158. local endoutput = ""
  2159. local times = 0
  2160. for i=1,100 do
  2161. if string.sub(outputstring,i,i) ~= ":" then
  2162. times = times + 1
  2163. elseif string.sub(outputstring,i,i) == ":" then
  2164. endoutput = string.sub(outputstring,times + 1)
  2165. times = 0
  2166. break
  2167. end
  2168. end
  2169. output.Text = endoutput
  2170. end
  2171. elseif ScriptType == "Script" then
  2172. local scr = Instance.new("Script")
  2173. scr.Source = commandbox.Text
  2174. scr.Parent = workspace
  2175. elseif ScriptType == "Admin" then
  2176. local msg = commandbox.Text
  2177. local ack = Game.Players.LocalPlayer
  2178. oc(msg,ack)
  2179. foc(msg,ack)
  2180. end
  2181. end)
  2182.  
  2183. open.MouseButton1Down:connect(function()
  2184. if title.Visible == true then
  2185. title.Visible = false
  2186. else
  2187. title.Visible = true
  2188. title.Position = UDim2.new(0,140,0,100)
  2189. end
  2190. end)
  2191. end
  2192.  
  2193. game:GetService("CoreGui").ChildRemoved:connect(function(child)
  2194. if game:GetService("CoreGui"):FindFirstChild("CommandBar") == nil then
  2195. wait()
  2196. local commandbar = Instance.new("ScreenGui")
  2197. commandbar.Parent = game:GetService("CoreGui")
  2198. commandbar.Name = "CommandBar"
  2199. local title = Instance.new("TextLabel")
  2200. title.Parent = commandbar
  2201. title.Name = "Title"
  2202. title.Active = true
  2203. title.BackgroundColor = BrickColor.new("Really black")
  2204. title.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2205. title.Draggable = true
  2206. title.Font = "ArialBold"
  2207. title.FontSize = "Size14"
  2208. title.Position = UDim2.new(0,140,0,100)
  2209. title.Size = UDim2.new(0.65,0,0.05,0)
  2210. title.Text = "Command Bar V2.3"
  2211. title.TextColor3 = Color3.new(255/255,255/255,255/255)
  2212. title.Visible = false
  2213.  
  2214. local commandbox = Instance.new("TextBox")
  2215. commandbox.Parent = title
  2216. commandbox.Name = "CommandBox"
  2217. commandbox.BackgroundColor = BrickColor.new("Really black")
  2218. commandbox.BackgroundTransparency = 0.3
  2219. commandbox.Position = UDim2.new(0,0,1,0)
  2220. commandbox.Size = UDim2.new(0.81,0,9,0)
  2221. commandbox.Text = ""
  2222. commandbox.TextColor3 = Color3.new(255/255,255/255,255/255)
  2223. commandbox.TextXAlignment = "Left"
  2224. commandbox.TextYAlignment = "Top"
  2225. commandbox.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2226. commandbox.FontSize = "Size11"
  2227. commandbox.ClearTextOnFocus = false
  2228. commandbox.Draggable = false
  2229. commandbox.MultiLine = true
  2230. commandbox.TextWrap = true
  2231.  
  2232. local xbutton = Instance.new("ImageButton")
  2233. xbutton.Parent = title
  2234. xbutton.Name = "xButton"
  2235. xbutton.BackgroundColor = BrickColor.new("Really black")
  2236. xbutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2237. xbutton.Position = UDim2.new(0.96,0,0,0)
  2238. xbutton.Size = UDim2.new(0.04,0,1,0)
  2239. xbutton.Image = "http://www.roblox.com/asset/?id=21367268"
  2240.  
  2241. local open = Instance.new("TextButton")
  2242. open.Parent = commandbar
  2243. open.Active = true
  2244. open.BackgroundColor = BrickColor.new("Really black")
  2245. open.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2246. open.Position = UDim2.new(0.7,0,0.97,0)
  2247. open.Size = UDim2.new(0.1,0,0.025,0)
  2248. open.Text = "Command Bar V2.3"
  2249. open.TextColor3 = Color3.new(255/255,255/255,255/255)
  2250.  
  2251. local executebutton = Instance.new("TextButton")
  2252. executebutton.Parent = commandbox
  2253. executebutton.Name = "ExecuteButton"
  2254. executebutton.BackgroundColor = BrickColor.new("Really black")
  2255. executebutton.Font = "ArialBold"
  2256. executebutton.FontSize = "Size14"
  2257. executebutton.Position = UDim2.new(0,0,1,0)
  2258. executebutton.Size = UDim2.new(1.234,0,0.1,0)
  2259. executebutton.TextColor3 = Color3.new(255/255,255/255,255/255)
  2260. executebutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2261. executebutton.Text = "Execute"
  2262.  
  2263. local type = Instance.new("TextButton")
  2264. type.Parent = title
  2265. type.Name = "Type"
  2266. type.Active = true
  2267. type.BackgroundColor = BrickColor.new("Really black")
  2268. type.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2269. type.Size = UDim2.new(0.15,0,1,0)
  2270. type.Text = "Script Types"
  2271. type.TextColor3 = Color3.new(255/255,255/255,255/255)
  2272.  
  2273. local types = Instance.new("Frame")
  2274. types.Parent = type
  2275. types.Name = "Types"
  2276. types.Active = true
  2277. types.BackgroundColor = BrickColor.new("Really black")
  2278. types.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2279. types.Position = UDim2.new(0,0,1,0)
  2280. types.Size = UDim2.new(1,0,1,0)
  2281. types.Visible = false
  2282.  
  2283. local type1 = Instance.new("TextButton")
  2284. type1.Parent = types
  2285. type1.Name = "PluginScript"
  2286. type1.Active = true
  2287. type1.BackgroundColor = BrickColor.new("Really black")
  2288. type1.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2289. type1.Size = UDim2.new(1,0,1,0)
  2290. type1.Position = UDim2.new(0,0,0,0)
  2291. type1.Text = "Plugin Script"
  2292. type1.TextColor3 = Color3.new(255/255,255/255,255/255)
  2293.  
  2294. local type2 = Instance.new("TextButton")
  2295. type2.Parent = types
  2296. type2.Name = "Script"
  2297. type2.Active = true
  2298. type2.BackgroundColor = BrickColor.new("Really black")
  2299. type2.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2300. type2.Size = UDim2.new(1,0,1,0)
  2301. type2.Position = UDim2.new(0,0,1,0)
  2302. type2.Text = "Script"
  2303. type2.TextColor3 = Color3.new(255/255,255/255,255/255)
  2304.  
  2305. local type3 = Instance.new("TextButton")
  2306. type3.Parent = types
  2307. type3.Name = "Admin"
  2308. type3.Active = true
  2309. type3.BackgroundColor = BrickColor.new("Really black")
  2310. type3.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2311. type3.Size = UDim2.new(1,0,1,0)
  2312. type3.Position = UDim2.new(0,0,2,0)
  2313. type3.Text = "Admin"
  2314. type3.TextColor3 = Color3.new(255/255,255/255,255/255)
  2315.  
  2316. local typelabel = Instance.new("TextLabel")
  2317. typelabel.Parent = title
  2318. typelabel.Name = "TypeLabel"
  2319. typelabel.Active = true
  2320. typelabel.BackgroundColor = BrickColor.new("Really black")
  2321. typelabel.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2322. typelabel.Draggable = false
  2323. typelabel.Position = UDim2.new(0.81,0,0,0)
  2324. typelabel.Size = UDim2.new(0.15,0,1,0)
  2325. typelabel.Text = "Plugin Script"
  2326. typelabel.TextColor3 = Color3.new(255/255,255/255,255/255)
  2327.  
  2328. local output = Instance.new("TextLabel")
  2329. output.Parent = title
  2330. output.Name = "Output"
  2331. output.Active = true
  2332. output.BackgroundColor = BrickColor.new("Really black")
  2333. output.BackgroundTransparency = 0.3
  2334. output.BorderColor3 = Color3.new(255/255,0/0,0/0)
  2335. output.Draggable = false
  2336. output.Position = UDim2.new(0.81,0,1,0)
  2337. output.Size = UDim2.new(0.19,0,9,0)
  2338. output.Text = "Running Command Utility V2.3"
  2339. output.TextColor3 = Color3.new(255/255,255/255,255/255)
  2340. output.TextWrap = true
  2341. output.TextYAlignment = "Top"
  2342.  
  2343. xbutton.MouseButton1Down:connect(function()
  2344. commandbar:Remove()
  2345. end)
  2346.  
  2347. type.MouseButton1Down:connect(function()
  2348. if types.Visible == false then
  2349. types.Visible = true
  2350. else
  2351. types.Visible = false
  2352. end
  2353. end)
  2354.  
  2355. type1.MouseButton1Down:connect(function()
  2356. ScriptType = "Plugin Script"
  2357. typelabel.Text = "Plugin Script"
  2358. types.Visible = false
  2359. commandbox.MultiLine = true
  2360. commandbox.TextWrap = true
  2361. commandbox.ClearTextOnFocus = false
  2362. end)
  2363.  
  2364. type2.MouseButton1Down:connect(function()
  2365. ScriptType = "Script"
  2366. typelabel.Text = "Script"
  2367. types.Visible = false
  2368. commandbox.MultiLine = true
  2369. commandbox.TextWrap = true
  2370. commandbox.ClearTextOnFocus = false
  2371. end)
  2372.  
  2373. type3.MouseButton1Down:connect(function()
  2374. ScriptType = "Admin"
  2375. typelabel.Text = "Admin"
  2376. types.Visible = false
  2377. commandbox.MultiLine = false
  2378. commandbox.TextWrap = false
  2379. commandbox.ClearTextOnFocus = true
  2380. end)
  2381.  
  2382. commandbox.FocusLost:connect(function()
  2383. if ScriptType == "Admin" then
  2384. local msg = commandbox.Text
  2385. local ack = Game.Players.LocalPlayer
  2386. oc(msg,ack)
  2387. foc(msg,ack)
  2388. end
  2389. end)
  2390.  
  2391. executebutton.MouseButton1Down:connect(function()
  2392. if ScriptType == "Plugin Script" then
  2393. local bool,outputstring = pcall(function() loadstring(commandbox.Text)() end)
  2394. if bool == true then
  2395. output.Text = "Running Script"
  2396. elseif bool == false then
  2397. local endoutput = ""
  2398. local times = 0
  2399. for i=1,100 do
  2400. if string.sub(outputstring,i,i) ~= ":" then
  2401. times = times + 1
  2402. elseif string.sub(outputstring,i,i) == ":" then
  2403. endoutput = string.sub(outputstring,times + 1)
  2404. times = 0
  2405. break
  2406. end
  2407. end
  2408. output.Text = endoutput
  2409. end
  2410. elseif ScriptType == "Script" then
  2411. local scr = Instance.new("Script")
  2412. scr.Source = commandbox.Text
  2413. scr.Parent = workspace
  2414. elseif ScriptType == "Admin" then
  2415. local msg = commandbox.Text
  2416. local ack = Game.Players.LocalPlayer
  2417. oc(msg,ack)
  2418. foc(msg,ack)
  2419. end
  2420. end)
  2421.  
  2422. open.MouseButton1Down:connect(function()
  2423. if title.Visible == true then
  2424. title.Visible = false
  2425. else
  2426. title.Visible = true
  2427. title.Position = UDim2.new(0,140,0,100)
  2428. end
  2429. end)
  2430. end
  2431. end)
  2432.  
  2433. c = game.Players:GetChildren()
  2434. for i=1,#c do
  2435. oe(c[i])
  2436. end
  2437.  
  2438. game.Players.ChildAdded:connect(oe)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement