Advertisement
simhwui

Untitled

Dec 17th, 2015
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.51 KB | None | 0 0
  1. local admins = ("BadLuke1,simhwuibro,simquan,testingsim")
  2. local prefix = "-"
  3. banned = {"5ZR", "GuyWithACleverName", "Slappy826"}
  4. local Players = Game:GetService("Players")
  5.  
  6. --[[
  7. --Commands--
  8. -kill plr
  9. -ff plr
  10. -unff plr
  11. -fire plr
  12. -unfire
  13. -smoke plr
  14. -unsmoke plr
  15. -sparkles plr
  16. -unsparkles plr
  17. -age plr
  18. -explode plr
  19. -shiny plr
  20. -gold plr
  21. -noob plr
  22. -god plr
  23. -ungod plr
  24. -nograv plr
  25. -grav plr
  26. -btools plr
  27. -kick plr
  28. -ban plr ----Currently NOT working. I will be working on it, so stay tuned!
  29. -unlock plr ---- It will unlock all of the parts of your body except for your head unless you are wearing hats. So if you are wearing a hat, sometimes it will keep your head 'locked' in a way.
  30. -lock plr
  31. -lag plr
  32. --]]
  33.  
  34.  
  35. for p,f in pairs(game.Players:GetChildren()) do
  36. sg1 = Instance.new("ScreenGui", f.PlayerGui)
  37. fm1 = Instance.new("Frame", f)
  38. fm1.Size = UDim2.new(0,15,0,15)
  39. fm1.Position = UDim2.new(0, 1190, 0, 710)
  40. end
  41.  
  42. game.Players.PlayerAdded:connect(function(Player) -- Loading Banned Players
  43. print("Banned Player Script v1.0 By BadLuke1 Loaded..!")
  44. wait(0.7)
  45. print("Getting banned player information..")
  46. wait(0.7)
  47. print("Success! Players are now banned from the server..!")
  48. repeat wait() until Player.Character
  49. for k,v in pairs(banned) do
  50. if Player.Name == v then
  51. Player:Destroy()
  52. end
  53. end
  54. end)
  55.  
  56. --###################################################################################################--
  57. --##Other Player Commands##--
  58. --###################################################################################################--
  59.  
  60. function OnChatted(Message)
  61. if Message:sub(1, 5) == prefix .. "kill" then
  62. for index, player in pairs(Players:GetPlayers()) do
  63. player.Name:lower():sub(1, #Message:sub(7))
  64. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  65. pcall(function()
  66. player.Character:BreakJoints()
  67. end)
  68. end
  69. end
  70. end
  71. end
  72.  
  73. Players[admins].Chatted:connect(OnChatted)
  74.  
  75. --###################################################################################################--
  76.  
  77. function OnChatted(Message)
  78. if Message:sub(1, 3) == prefix .. "ff" then
  79. for index, player in pairs(Players:GetPlayers()) do
  80. player.Name:lower():sub(1, #Message:sub(5))
  81. if player.Name:lower():sub(1, #Message:sub(5)) == Message:sub(5):lower() then
  82. pcall(function()
  83. Instance.new("ForceField", player.Character)
  84. end)
  85. end
  86. end
  87. end
  88. end
  89.  
  90. Players[admins].Chatted:connect(OnChatted)
  91.  
  92. --###################################################################################################--
  93.  
  94. function OnChatted(Message)
  95. if Message:sub(1, 5) == prefix .. "unff" then
  96. for index, player in pairs(Players:GetPlayers()) do
  97. player.Name:lower():sub(1, #Message:sub(7))
  98. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  99. pcall(function()
  100. player.Character.ForceField:Destroy()
  101. end)
  102. end
  103. end
  104. end
  105. end
  106.  
  107. Players[admins].Chatted:connect(OnChatted)
  108.  
  109. --###################################################################################################--
  110.  
  111. function OnChatted(Message)
  112. if Message:sub(1, 5) == prefix .. "fire" then
  113. for index, player in pairs(Players:GetPlayers()) do
  114. player.Name:lower():sub(1, #Message:sub(7))
  115. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  116. pcall(function()
  117. Instance.new("Fire", player.Character.Torso)
  118. end)
  119. end
  120. end
  121. end
  122. end
  123.  
  124. Players[admins].Chatted:connect(OnChatted)
  125.  
  126. --###################################################################################################--
  127.  
  128. function OnChatted(Message)
  129. if Message:sub(1, 7) == prefix .. "unfire" then
  130. for index, player in pairs(Players:GetPlayers()) do
  131. player.Name:lower():sub(1, #Message:sub(9))
  132. if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
  133. pcall(function()
  134. while true do
  135. player.Character.Torso.Fire:Destroy()
  136. end
  137. end)
  138. end
  139. end
  140. end
  141. end
  142.  
  143. Players[admins].Chatted:connect(OnChatted)
  144.  
  145. --###################################################################################################--
  146.  
  147. function OnChatted(Message)
  148. if Message:sub(1, 6) == prefix .. "smoke" then
  149. for index, player in pairs(Players:GetPlayers()) do
  150. player.Name:lower():sub(1, #Message:sub(8))
  151. if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
  152. pcall(function()
  153. Instance.new("Smoke", player.Character.Torso)
  154. end)
  155. end
  156. end
  157. end
  158. end
  159.  
  160. Players[admins].Chatted:connect(OnChatted)
  161.  
  162. --###################################################################################################--
  163.  
  164. function OnChatted(Message)
  165. if Message:sub(1, 8) == prefix .. "unsmoke" then
  166. for index, player in pairs(Players:GetPlayers()) do
  167. player.Name:lower():sub(1, #Message:sub(10))
  168. if player.Name:lower():sub(1, #Message:sub(10)) == Message:sub(10):lower() then
  169. pcall(function()
  170. while true do
  171. player.Character.Torso.Smoke:Destroy()
  172. end
  173. end)
  174. end
  175. end
  176. end
  177. end
  178.  
  179. Players[admins].Chatted:connect(OnChatted)
  180.  
  181. --###################################################################################################--
  182.  
  183. function OnChatted(Message)
  184. if Message:sub(1, 9) == prefix .. "sparkles" then
  185. for index, player in pairs(Players:GetPlayers()) do
  186. player.Name:lower():sub(1, #Message:sub(11))
  187. if player.Name:lower():sub(1, #Message:sub(11)) == Message:sub(11):lower() then
  188. pcall(function()
  189. Instance.new("Sparkles", player.Character.Torso)
  190. end)
  191. end
  192. end
  193. end
  194. end
  195.  
  196. Players[admins].Chatted:connect(OnChatted)
  197.  
  198. --###################################################################################################--
  199.  
  200. function OnChatted(Message)
  201. if Message:sub(1, 11) == prefix .. "unsparkles" then
  202. for index, player in pairs(Players:GetPlayers()) do
  203. player.Name:lower():sub(1, #Message:sub(13))
  204. if player.Name:lower():sub(1, #Message:sub(13)) == Message:sub(13):lower() then
  205. pcall(function()
  206. while true do
  207. player.Character.Torso.Sparkles:Destroy()
  208. end
  209. end)
  210. end
  211. end
  212. end
  213. end
  214.  
  215. Players[admins].Chatted:connect(OnChatted)
  216.  
  217. --###################################################################################################--
  218.  
  219. function OnChatted(Message)
  220. if Message:sub(1, 4) == prefix .. "age" then
  221. for index, player in pairs(Players:GetPlayers()) do
  222. player.Name:lower():sub(1, #Message:sub(6))
  223. if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
  224. pcall(function()
  225. print(player.AccountAge)
  226. end)
  227. end
  228. end
  229. end
  230. end
  231.  
  232. Players[admins].Chatted:connect(OnChatted)
  233.  
  234. --###################################################################################################--
  235.  
  236. function OnChatted(Message)
  237. if Message:sub(1, 8) == prefix .. "explode" then
  238. for index, player in pairs(Players:GetPlayers()) do
  239. player.Name:lower():sub(1, #Message:sub(10))
  240. if player.Name:lower():sub(1, #Message:sub(10)) == Message:sub(10):lower() then
  241. pcall(function()
  242. if player.Character ~= nil then
  243. local torso = player.Character:FindFirstChild("Torso")
  244. if torso ~= nil then
  245. local ex = Instance.new("Explosion")
  246. ex.Position = torso.Position
  247. ex.Parent = player.Character
  248. end
  249. end
  250. end)
  251. end
  252. end
  253. end
  254. end
  255.  
  256. Players[admins].Chatted:connect(OnChatted)
  257.  
  258. --###################################################################################################--
  259.  
  260. function OnChatted(Message)
  261. if Message:sub(1, 6) == prefix .. "shiny" then
  262. for index, player in pairs(Players:GetPlayers()) do
  263. player.Name:lower():sub(1, #Message:sub(8))
  264. if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
  265. pcall(function()
  266. player.Character.Head.BrickColor = BrickColor.new("Institutional white")
  267. player.Character.Head.Reflectance = 0.5
  268. player.Character["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  269. player.Character["Right Leg"].Reflectance = 1
  270. player.Character["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  271. player.Character["Right Arm"].Reflectance = 1
  272. player.Character["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  273. player.Character["Left Leg"].Reflectance = 1
  274. player.Character["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  275. player.Character["Left Arm"].Reflectance = 1
  276. player.Character.Torso.BrickColor = BrickColor.new("Institutional white")
  277. player.Character.Torso.Reflectance = 1
  278. player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Institutional white")
  279. player.Character.HumanoidRootPart.Reflectance = 1
  280. player.Character.Shirt:remove()
  281. player.Character.Pants:remove()
  282. end)
  283. end
  284. end
  285. end
  286. end
  287.  
  288. Players[admins].Chatted:connect(OnChatted)
  289.  
  290. --###################################################################################################--
  291.  
  292. function OnChatted(Message)
  293. if Message:sub(1, 5) == prefix .. "gold" then
  294. for index, player in pairs(Players:GetPlayers()) do
  295. player.Name:lower():sub(1, #Message:sub(7))
  296. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  297. pcall(function()
  298. player.Character.Head.BrickColor = BrickColor.new("Gold")
  299. player.Character.Head.Reflectance = 0.5
  300. player.Character["Right Leg"].BrickColor = BrickColor.new("Gold")
  301. player.Character["Right Leg"].Reflectance = 0.5
  302. player.Character["Right Arm"].BrickColor = BrickColor.new("Gold")
  303. player.Character["Right Arm"].Reflectance = 0.5
  304. player.Character["Left Leg"].BrickColor = BrickColor.new("Gold")
  305. player.Character["Left Leg"].Reflectance = 0.5
  306. player.Character["Left Arm"].BrickColor = BrickColor.new("Gold")
  307. player.Character["Left Arm"].Reflectance = 0.5
  308. player.Character.Torso.BrickColor = BrickColor.new("Gold")
  309. player.Character.Torso.Reflectance = 0.5
  310. player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Gold")
  311. player.Character.HumanoidRootPart.Reflectance = 0.5
  312. player.Character.Shirt:remove()
  313. player.Character.Pants:remove()
  314. end)
  315. end
  316. end
  317. end
  318. end
  319.  
  320. Players[admins].Chatted:connect(OnChatted)
  321.  
  322. --###################################################################################################--
  323.  
  324. function OnChatted(Message)
  325. if Message:sub(1, 5) == prefix .. "noob" then
  326. for index, player in pairs(Players:GetPlayers()) do
  327. player.Name:lower():sub(1, #Message:sub(7))
  328. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  329. pcall(function()
  330. player.Character.Head.BrickColor = BrickColor.new("Bright yellow")
  331. player.Character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  332. player.Character["Right Leg"].Reflectance = 0
  333. player.Character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
  334. player.Character["Right Arm"].Reflectance = 0
  335. player.Character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  336. player.Character["Left Leg"].Reflectance = 0
  337. player.Character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
  338. player.Character["Left Arm"].Reflectance = 0
  339. player.Character.Torso.BrickColor = BrickColor.new("Bright blue")
  340. player.Character.Torso.Reflectance = 0
  341. player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Gold")
  342. player.Character.HumanoidRootPart.Reflectance = 0
  343. player.Character.Shirt:remove()
  344. player.Character.Pants:remove()
  345. end)
  346. end
  347. end
  348. end
  349. end
  350.  
  351. Players[admins].Chatted:connect(OnChatted)
  352.  
  353. --###################################################################################################--
  354.  
  355. function OnChatted(Message)
  356. if Message:sub(1, 4) == prefix .. "god" then
  357. for index, player in pairs(Players:GetPlayers()) do
  358. player.Name:lower():sub(1, #Message:sub(6))
  359. if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
  360. pcall(function()
  361. player.Character.Humanoid.MaxHealth = math.huge
  362. end)
  363. end
  364. end
  365. end
  366. end
  367.  
  368. Players[admins].Chatted:connect(OnChatted)
  369.  
  370. --###################################################################################################--
  371.  
  372. function OnChatted(Message)
  373. if Message:sub(1, 6) == prefix .. "ungod" then
  374. for index, player in pairs(Players:GetPlayers()) do
  375. player.Name:lower():sub(1, #Message:sub(8))
  376. if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
  377. pcall(function()
  378. player.Character.Humanoid.MaxHealth = 100
  379. end)
  380. end
  381. end
  382. end
  383. end
  384.  
  385. Players[admins].Chatted:connect(OnChatted)
  386.  
  387. --###################################################################################################--
  388.  
  389. function OnChatted(Message)
  390. if Message:sub(1, 7) == prefix .. "nograv" then
  391. for index, player in pairs(Players:GetPlayers()) do
  392. player.Name:lower():sub(1, #Message:sub(9))
  393. if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
  394. pcall(function()
  395. b = Instance.new("BodyForce")
  396. b.Parent = player.Character.Torso
  397. b.force = Vector3.new(0,3500,0)
  398. end)
  399. end
  400. end
  401. end
  402. end
  403. Players[admins].Chatted:connect(OnChatted)
  404.  
  405. --###################################################################################################--
  406.  
  407. function OnChatted(Message)
  408. if Message:sub(1, 5) == prefix .. "grav" then
  409. for index, player in pairs(Players:GetPlayers()) do
  410. player.Name:lower():sub(1, #Message:sub(7))
  411. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  412. pcall(function()
  413. b.force = Vector3.new(0,0,0)
  414. end)
  415. end
  416. end
  417. end
  418. end
  419. Players[admins].Chatted:connect(OnChatted)
  420.  
  421. --###################################################################################################--
  422.  
  423. function OnChatted(Message)
  424. if Message:sub(1, 7) == prefix .. "btools" then
  425. for index, player in pairs(Players:GetPlayers()) do
  426. player.Name:lower():sub(1, #Message:sub(9))
  427. if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
  428. pcall(function()
  429. Instance.new("HopperBin",player.Backpack).BinType = "Clone"
  430. Instance.new("HopperBin",player.Backpack).BinType = "Grab"
  431. Instance.new("HopperBin",player.Backpack).BinType = "Hammer"
  432. end)
  433. end
  434. end
  435. end
  436. end
  437. Players[admins].Chatted:connect(OnChatted)
  438.  
  439. --###################################################################################################--
  440.  
  441. function OnChatted(Message)
  442. if Message:sub(1, 5) == prefix .. "kick" then
  443. for index, player in pairs(Players:GetPlayers()) do
  444. player.Name:lower():sub(1, #Message:sub(7))
  445. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  446. pcall(function()
  447. player:Destroy()
  448. end)
  449. end
  450. end
  451. end
  452. end
  453. Players[admins].Chatted:connect(OnChatted)
  454.  
  455. --###################################################################################################--
  456.  
  457. function OnChatted(Message)
  458. if Message:sub(1, 7) == prefix .. "unlock" then
  459. for index, player in pairs(Players:GetPlayers()) do
  460. player.Name:lower():sub(1, #Message:sub(9))
  461. if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
  462. pcall(function() -- Loading Banned Players
  463. local hat = player:FindFirstChild("Hat")
  464. player.Character["Right Arm"].Locked = false
  465. player.Character["Left Arm"].Locked = false
  466. player.Character["Right Leg"].Locked = false
  467. player.Character["Left Leg"].Locked = false
  468. player.Character.Torso.Locked = false
  469. player.Character.Head.Locked = false
  470. player.Character.HumanoidRootPart.Locked = false
  471. hat.Locked = false
  472. end)
  473. end
  474. end
  475. end
  476. end
  477. Players[admins].Chatted:connect(OnChatted)
  478.  
  479. --###################################################################################################--
  480.  
  481. function OnChatted(Message)
  482. if Message:sub(1, 5) == prefix .. "lock" then
  483. for index, player in pairs(Players:GetPlayers()) do
  484. player.Name:lower():sub(1, #Message:sub(7))
  485. if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
  486. pcall(function() -- Loading Banned Players
  487. local hat = player:FindFirstChild("Hat")
  488. player.Character["Right Arm"].Locked = true
  489. player.Character["Left Arm"].Locked = true
  490. player.Character["Right Leg"].Locked = true
  491. player.Character["Left Leg"].Locked = true
  492. player.Character.Torso.Locked = true
  493. player.Character.Head.Locked = true
  494. player.Character.HumanoidRootPart.Locked = true
  495. hat.Locked = true
  496. end)
  497. end
  498. end
  499. end
  500. end
  501. Players[admins].Chatted:connect(OnChatted)
  502.  
  503. --###################################################################################################--
  504.  
  505. function OnChatted(Message)
  506. if Message:sub(1, 4) == prefix .. "lag" then
  507. for index, player in pairs(Players:GetPlayers()) do
  508. player.Name:lower():sub(1, #Message:sub(6))
  509. if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
  510. pcall(function() -- Loading Banned Players
  511. while true do
  512. player.CameraMode="LockFirstPerson"
  513. wait(0.000000000000000001) do
  514. Instance.new("Smoke", player.Character.Head)
  515. Instance.new("Smoke", player.Character.Head)
  516. Instance.new("Smoke", player.Character.Head)
  517. Instance.new("Smoke", player.Character.Head)
  518. Instance.new("Fire", player.Character.Head)
  519. Instance.new("Fire", player.Character.Head)
  520. Instance.new("Fire", player.Character.Head)
  521. Instance.new("Fire", player.Character.Head)
  522. Instance.new("Smoke", player.Character.Head)
  523. Instance.new("Smoke", player.Character.Head)
  524. Instance.new("Smoke", player.Character.Head)
  525. Instance.new("Smoke", player.Character.Head)
  526. Instance.new("Fire", player.Character.Head)
  527. Instance.new("Fire", player.Character.Head)
  528. Instance.new("Fire", player.Character.Head)
  529. Instance.new("Fire", player.Character.Head)
  530. Instance.new("Smoke", player.Character.Head)
  531. Instance.new("Smoke", player.Character.Head)
  532. Instance.new("Smoke", player.Character.Head)
  533. Instance.new("Smoke", player.Character.Head)
  534. Instance.new("Fire", player.Character.Head)
  535. Instance.new("Fire", player.Character.Head)
  536. Instance.new("Fire", player.Character.Head)
  537. Instance.new("Fire", player.Character.Head)
  538. Instance.new("Smoke", player.Character.Head)
  539. Instance.new("Smoke", player.Character.Head)
  540. Instance.new("Smoke", player.Character.Head)
  541. Instance.new("Smoke", player.Character.Head)
  542. Instance.new("Fire", player.Character.Head)
  543. Instance.new("Fire", player.Character.Head)
  544. Instance.new("Fire", player.Character.Head)
  545. Instance.new("Fire", player.Character.Head)
  546. Instance.new("Smoke", player.Character.Head)
  547. Instance.new("Smoke", player.Character.Head)
  548. Instance.new("Smoke", player.Character.Head)
  549. Instance.new("Smoke", player.Character.Head)
  550. Instance.new("Fire", player.Character.Head)
  551. Instance.new("Fire", player.Character.Head)
  552. Instance.new("Fire", player.Character.Head)
  553. Instance.new("Fire", player.Character.Head)
  554. Instance.new("Smoke", player.Character.Head)
  555. Instance.new("Smoke", player.Character.Head)
  556. Instance.new("Smoke", player.Character.Head)
  557. Instance.new("Smoke", player.Character.Head)
  558. Instance.new("Fire", player.Character.Head)
  559. Instance.new("Fire", player.Character.Head)
  560. Instance.new("Fire", player.Character.Head)
  561. Instance.new("Fire", player.Character.Head)
  562. Instance.new("Smoke", player.Character.Head)
  563. Instance.new("Smoke", player.Character.Head)
  564. Instance.new("Smoke", player.Character.Head)
  565. Instance.new("Smoke", player.Character.Head)
  566. Instance.new("Fire", player.Character.Head)
  567. Instance.new("Fire", player.Character.Head)
  568. Instance.new("Fire", player.Character.Head)
  569. Instance.new("Fire", player.Character.Head)
  570. Instance.new("Smoke", player.Character.Head)
  571. Instance.new("Smoke", player.Character.Head)
  572. Instance.new("Smoke", player.Character.Head)
  573. Instance.new("Smoke", player.Character.Head)
  574. Instance.new("Fire", player.Character.Head)
  575. Instance.new("Fire", player.Character.Head)
  576. Instance.new("Fire", player.Character.Head)
  577. Instance.new("Fire", player.Character.Head)
  578. Instance.new("Smoke", player.Character.Head)
  579. Instance.new("Smoke", player.Character.Head)
  580. Instance.new("Smoke", player.Character.Head)
  581. Instance.new("Smoke", player.Character.Head)
  582. Instance.new("Fire", player.Character.Head)
  583. Instance.new("Fire", player.Character.Head)
  584. Instance.new("Fire", player.Character.Head)
  585. Instance.new("Fire", player.Character.Head)
  586. Instance.new("Smoke", player.Character.Head)
  587. Instance.new("Smoke", player.Character.Head)
  588. Instance.new("Smoke", player.Character.Head)
  589. Instance.new("Smoke", player.Character.Head)
  590. Instance.new("Fire", player.Character.Head)
  591. Instance.new("Fire", player.Character.Head)
  592. Instance.new("Fire", player.Character.Head)
  593. Instance.new("Fire", player.Character.Head)
  594. Instance.new("Smoke", player.Character.Head)
  595. Instance.new("Smoke", player.Character.Head)
  596. Instance.new("Smoke", player.Character.Head)
  597. Instance.new("Smoke", player.Character.Head)
  598. Instance.new("Fire", player.Character.Head)
  599. Instance.new("Fire", player.Character.Head)
  600. Instance.new("Fire", player.Character.Head)
  601. Instance.new("Fire", player.Character.Head)
  602. Instance.new("Smoke", player.Character.Head)
  603. Instance.new("Smoke", player.Character.Head)
  604. Instance.new("Smoke", player.Character.Head)
  605. Instance.new("Smoke", player.Character.Head)
  606. Instance.new("Fire", player.Character.Head)
  607. Instance.new("Fire", player.Character.Head)
  608. Instance.new("Fire", player.Character.Head)
  609. Instance.new("Fire", player.Character.Head)
  610. Instance.new("Smoke", player.Character.Head)
  611. Instance.new("Smoke", player.Character.Head)
  612. Instance.new("Smoke", player.Character.Head)
  613. Instance.new("Smoke", player.Character.Head)
  614. Instance.new("Fire", player.Character.Head)
  615. Instance.new("Fire", player.Character.Head)
  616. Instance.new("Fire", player.Character.Head)
  617. Instance.new("Fire", player.Character.Head)
  618. Instance.new("Smoke", player.Character.Head)
  619. Instance.new("Smoke", player.Character.Head)
  620. Instance.new("Smoke", player.Character.Head)
  621. Instance.new("Smoke", player.Character.Head)
  622. Instance.new("Fire", player.Character.Head)
  623. Instance.new("Fire", player.Character.Head)
  624. Instance.new("Fire", player.Character.Head)
  625. Instance.new("Fire", player.Character.Head)
  626. end
  627. end
  628. end)
  629. end
  630. end
  631. end
  632. end
  633.  
  634. Players[admins].Chatted:connect(OnChatted)
  635.  
  636. --###################################################################################################--
  637.  
  638. function OnChatted(Message)
  639. if Message:sub(1, 7) == prefix .. "punish" then
  640. for index, player in pairs(Players:GetPlayers()) do
  641. player.Name:lower():sub(1, #Message:sub(9))
  642. if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
  643. pcall(function() -- Loading Banned Players
  644. player.Character = nil
  645. end)
  646. end
  647. end
  648. end
  649. end
  650. Players[admins].Chatted:connect(OnChatted)
  651.  
  652. --###################################################################################################--
  653.  
  654. function OnChatted(Message)
  655. if Message:sub(1, 9) == prefix .. "unpunish" then
  656. for index, player in pairs(Players:GetPlayers()) do
  657. player.Name:lower():sub(1, #Message:sub(11))
  658. if player.Name:lower():sub(1, #Message:sub(11)) == Message:sub(11):lower() then
  659. pcall(function() -- Loading Banned Players
  660. if player ~= nil then
  661. local player = game.Players:FindFirstChild(string.sub(Message,10))
  662. if player then
  663. if player.Character then
  664. if game.Lighting[player.Name] then
  665. player.Character.Parent = game.Workspace
  666. player.Character:MakeJoints()
  667. end
  668. end
  669. end
  670. end
  671. end)
  672. end
  673. end
  674. end
  675. end
  676. Players[admins].Chatted:connect(OnChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement