Advertisement
Guest User

Plates of Fate: Mayhem - Chat Script

a guest
Jul 23rd, 2017
2,804
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.78 KB | None | 0 0
  1. --Plates of Fate: Mayhem Chat Script
  2. --Made by Apostasia/Apostasla/XxCreeperStalkerz
  3. --lol copyright a script lmao
  4. plr = game.Players.LocalPlayer
  5. local player
  6. local all = "all"
  7. local others = "others"
  8. local me = "me"
  9. local pos
  10. local mine = "minefield"
  11. local bana = "bananarain"
  12. local pla = "plates"
  13. local mon = "moneyrain"
  14. local mega = "megafield"
  15. local size = "platesize"
  16. local point = "points"
  17. local wati = true
  18.  
  19. local fire = "fire"
  20. local black = "blackhole"
  21. local ls = "lavaspinner"
  22. local bmb = "bomb"
  23. local pri = "prison"
  24. local spk = "spike"
  25. local zomb = "zombie"
  26. local bmbc = "bombcloud"
  27. local tor = "tornado"
  28. local fen = "fence"
  29. local dis = "disco"
  30. local pbmb = "plrbomb"
  31. local cac = "cactus"
  32. local wal = "wall"
  33. local frz = "freeze"
  34. local vol = "volcano"
  35. local mun = "moon"
  36. local nuk = "nuke"
  37. local min = "landmine"
  38. local marb = "marble"
  39.  
  40. local coin = "coin"
  41. local chest = "chest"
  42.  
  43. local xx = math.random(-69.25, 147.75)
  44. local zz = math.random(113.75, 330.75)
  45. local yy = math.random(-20.5,45.5)
  46. local plat = math.random(-10,10)
  47. plr.Chatted:Connect(function(msg)
  48. if string.sub(msg, 1, 5) == "kill/" then
  49. if not all:match(string.sub(msg, 6)) or others:match(string.sub(msg, 6)) or me:match(string.sub(msg, 6)) then
  50. for i,v in pairs (game.Players:GetChildren()) do
  51. if v.Name:match(string.sub(msg, 6)) then
  52. player = v.Character.Humanoid
  53. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  54. elseif all:match(string.sub(msg, 6)) then
  55. player = v.Character.Humanoid
  56. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  57. elseif others:match(string.sub(msg, 6)) then
  58. if v ~= game.Players.LocalPlayer then
  59. player = v.Character.Humanoid
  60. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  61. elseif me:match(string.sub(msg, 6)) then
  62. if v == game.Players.LocalPlayer then
  63. player = v.Character.Humanoid
  64. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  65. end
  66. end
  67. end
  68. end
  69. end
  70. end
  71. if string.sub(msg, 1, 9) == "loopkill/" then
  72. if not all:match(string.sub(msg, 10)) or others:match(string.sub(msg, 10)) or me:match(string.sub(msg, 10)) then
  73. for i,v in pairs (game.Players:GetChildren()) do
  74. if v.Name:match(string.sub(msg, 10)) then
  75. while wait(1) do
  76. player = v.Character.Humanoid
  77. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  78. end
  79. elseif all:match(string.sub(msg, 10)) then
  80. while wait(1) do
  81. player = v.Character.Humanoid
  82. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  83. end
  84. elseif others:match(string.sub(msg, 10)) then
  85. if v ~= game.Players.LocalPlayer then
  86. while wait(1) do
  87. player = v.Character.Humanoid
  88. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  89. end
  90. elseif me:match(string.sub(msg, 10)) then
  91. if v == game.Players.LocalPlayer then
  92. while wait(1) do
  93. player = v.Character.Humanoid
  94. workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
  95. end
  96. end
  97. end
  98. end
  99. end
  100. end
  101. end
  102. if string.sub(msg, 1, 8) == "explode/" then
  103. if not all:match(string.sub(msg, 9)) or others:match(string.sub(msg, 9)) or me:match(string.sub(msg, 9)) then
  104. for i,v in pairs (game.Players:GetChildren()) do
  105. if v.Name:match(string.sub(msg, 9)) then
  106. pos = v.Character.HumanoidRootPart.Position
  107. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  108. elseif all:match(string.sub(msg, 9)) then
  109. pos = v.Character.HumanoidRootPart.Position
  110. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  111. elseif others:match(string.sub(msg, 9)) then
  112. if v ~= game.Players.LocalPlayer then
  113. pos = v.Character.HumanoidRootPart.Position
  114. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  115. elseif me:match(string.sub(msg, 9)) then
  116. if v == game.Players.LocalPlayer then
  117. pos = v.Character.HumanoidRootPart.Position
  118. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  119. end
  120. end
  121. end
  122. end
  123. end
  124. end
  125. if string.sub(msg, 1, 6) == "plate/" then
  126. if not all:match(string.sub(msg, 7)) or others:match(string.sub(msg, 7)) or me:match(string.sub(msg, 7)) then
  127. for i,v in pairs (game.Players:GetChildren()) do
  128. if v.Name:match(string.sub(msg, 7)) then
  129. pos = v.Character.HumanoidRootPart.Position
  130. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  131. elseif all:match(string.sub(msg, 7)) then
  132. pos = v.Character.HumanoidRootPart.Position
  133. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  134. elseif others:match(string.sub(msg, 7)) then
  135. if v ~= game.Players.LocalPlayer then
  136. pos = v.Character.HumanoidRootPart.Position
  137. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  138. elseif me:match(string.sub(msg, 7)) then
  139. if v == game.Players.LocalPlayer then
  140. pos = v.Character.HumanoidRootPart.Position
  141. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  142. end
  143. end
  144. end
  145. end
  146. end
  147. end
  148. if string.sub(msg, 1, 5) == "tree/" then
  149. if not all:match(string.sub(msg, 6)) or others:match(string.sub(msg, 6)) or me:match(string.sub(msg, 6)) then
  150. for i,v in pairs (game.Players:GetChildren()) do
  151. if v.Name:match(string.sub(msg, 6)) then
  152. pos = v.Character.HumanoidRootPart.Position
  153. workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  154. elseif all:match(string.sub(msg, 6)) then
  155. pos = v.Character.HumanoidRootPart.Position
  156. workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  157. elseif others:match(string.sub(msg, 6)) then
  158. if v ~= game.Players.LocalPlayer then
  159. pos = v.Character.HumanoidRootPart.Position
  160. workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  161. elseif me:match(string.sub(msg, 6)) then
  162. if v == game.Players.LocalPlayer then
  163. pos = v.Character.HumanoidRootPart.Position
  164. workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  165. end
  166. end
  167. end
  168. end
  169. end
  170. end
  171. if string.sub(msg, 1, 7) == "banana/" then
  172. if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
  173. for i,v in pairs (game.Players:GetChildren()) do
  174. if v.Name:match(string.sub(msg, 8)) then
  175. pos = v.Character.HumanoidRootPart.Position
  176. for i = 1,3 do
  177. workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  178. end
  179. elseif all:match(string.sub(msg, 8)) then
  180. pos = v.Character.HumanoidRootPart.Position
  181. for i = 1,3 do
  182. workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  183. end
  184. elseif others:match(string.sub(msg, 8)) then
  185. if v ~= game.Players.LocalPlayer then
  186. pos = v.Character.HumanoidRootPart.Position
  187. for i = 1,3 do
  188. workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  189. end
  190. elseif me:match(string.sub(msg, 8)) then
  191. if v == game.Players.LocalPlayer then
  192. pos = v.Character.HumanoidRootPart.Position
  193. for i = 1,3 do
  194. workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
  195. end
  196. end
  197. end
  198. end
  199. end
  200. end
  201. end
  202. if string.sub(msg, 1, 7) == "potato/" then
  203. if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
  204. for i,v in pairs (game.Players:GetChildren()) do
  205. if v.Name:match(string.sub(msg, 8)) then
  206. for i = 1,3 do
  207. workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
  208. end
  209. elseif all:match(string.sub(msg, 8)) then
  210. for i = 1,3 do
  211. workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
  212. end
  213. elseif others:match(string.sub(msg, 8)) then
  214. if v ~= game.Players.LocalPlayer then
  215. for i = 1,3 do
  216. workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
  217. end
  218. elseif me:match(string.sub(msg, 8)) then
  219. if v == game.Players.LocalPlayer then
  220. for i = 1,3 do
  221. workspace.RemoteEvents.BananaEvent:FireServer(""..v.Name,true)
  222. end
  223. end
  224. end
  225. end
  226. end
  227. end
  228. end
  229. if string.sub(msg, 1, 7) == "kawaii/" then
  230. local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
  231. local decal = math.random(#decals)
  232. local c = decals[ decal ]
  233.  
  234. local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
  235. local song = math.random(#songs)
  236. local b = songs[ song ]
  237.  
  238. for i,v in pairs (workspace.Plates:GetChildren()) do
  239. workspace.RemoteEvents.AddDecal:FireServer(c, v, true)
  240. for i = 1,5 do
  241. workspace.RemoteEvents.AddParticles:FireServer(c, v, true)
  242. end
  243. workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, true)
  244. song = math.random(#songs)
  245. b = songs[ song ]
  246. decal = math.random(#decals)
  247. c = decals[ decal ]
  248. end
  249. end
  250. if string.sub(msg, 1, 7) == "touhou/" then
  251. for i,v in pairs (game.Players:GetChildren()) do
  252. if v.Name:match(string.sub(msg, 8)) then
  253. player = v.Name
  254. end
  255. end
  256. local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
  257. local decal = math.random(#decals)
  258. local z = decals[ decal ]
  259.  
  260. local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
  261. local song = math.random(#songs)
  262. local x = songs[ song ]
  263. for i,b in pairs (workspace.Plates:GetChildren()) do
  264. if b.Owner.Value == player and wati == true then
  265. workspace.RemoteEvents.AddDecal:FireServer(z, b, true)
  266. for i = 1,5 do
  267. workspace.RemoteEvents.AddParticles:FireServer(z, b, true)
  268. end
  269. workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..x, b, true)
  270. wati = false
  271. wait(3)
  272. wati = true
  273. end
  274. end
  275. end
  276. if string.sub(msg, 1, 14) == "destroy/server" then
  277. local xx = math.random(-151.6, 151.6)
  278. local zz = math.random(-108.2, 108.2)
  279. for i = 1,10 do
  280. for i = 1,50 do
  281. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), true)
  282. xx = math.random(-151.6, 151.6)
  283. zz = math.random(-158.2, 158.2)
  284. yy = math.random(-20.5,45.5)
  285. end
  286. end
  287. wait(3)
  288. local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
  289. local decal = math.random(#decals)
  290. local c = decals[ decal ]
  291.  
  292. local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
  293. local song = math.random(#songs)
  294. local b = songs[ song ]
  295.  
  296. for i,v in pairs (workspace.Plates:GetChildren()) do
  297. workspace.RemoteEvents.AddDecal:FireServer(c, v, true)
  298. for i = 1,5 do
  299. workspace.RemoteEvents.AddParticles:FireServer(c, v, true)
  300. end
  301. workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, true)
  302. song = math.random(#songs)
  303. b = songs[ song ]
  304. decal = math.random(#decals)
  305. c = decals[ decal ]
  306. end
  307. for i = 1,10 do
  308. for i = 1,300 do
  309. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
  310. xx = math.random(-151.6, 151.6)
  311. zz = math.random(-158.2, 158.2)
  312. yy = math.random(-20.5,85.5)
  313. end
  314. end
  315. end
  316. if string.sub(msg, 1, 3) == "tp/" then
  317. if not all:match(string.sub(msg, 4)) or others:match(string.sub(msg, 4)) or me:match(string.sub(msg, 4)) then
  318. for i,v in pairs (game.Players:GetChildren()) do
  319. if v.Name:match(string.sub(msg, 4)) then
  320. player = v.Character.HumanoidRootPart.Position
  321. workspace.RemoteEvents.ToolTeleportEvent:FireServer(Vector3.new(player.X,player.Y,player.Z), true)
  322. end
  323. end
  324. end
  325. end
  326. if string.sub(msg, 1, 7) == "points/" then
  327. if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
  328. if me:match(string.sub(msg, 8)) then
  329. workspace.RemoteEvents.ShopBuyEvent:FireServer(-999999999, true)
  330. end
  331. end
  332. end
  333. if string.sub(msg, 1, 12) == "EXPLOOOSION/" then
  334. if not all:match(string.sub(msg, 13)) or others:match(string.sub(msg, 13)) or me:match(string.sub(msg, 13)) then
  335. for i,v in pairs (workspace.Plates:GetChildren()) do
  336. local becal = 723125464
  337. workspace.RemoteEvents.AddDecal:FireServer(becal, v, true)
  338. for i = 1,5 do
  339. workspace.RemoteEvents.AddParticles:FireServer(becal, v, true)
  340. end
  341. workspace.RemoteEvents.AddSound:FireServer("rbxassetid://665015838", v, true)
  342. local xx = math.random(-111.6, 111.6)
  343. local zz = math.random(-108.2, 108.2)
  344. local yy = math.random(-20.5,85.5)
  345. for i = 1,15 do
  346. for i = 1,200 do
  347. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
  348. xx = math.random(-111.6, 111.6)
  349. zz = math.random(-108.2, 108.2)
  350. yy = math.random(-20.5,85.5)
  351. end
  352. end
  353. end
  354.  
  355. end
  356. end
  357. if string.sub(msg, 1, 6) == "round/" then
  358. if mine:match(string.sub(msg, 7)) then
  359. local xx = math.random(-111.6, 111.6)
  360. local zz = math.random(-108.2, 108.2)
  361. local yy = math.random(-20.5,85.5)
  362. for i = 1,50 do
  363. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
  364. xx = math.random(-111.6, 111.6)
  365. zz = math.random(-108.2, 108.2)
  366. yy = math.random(-20.5,85.5)
  367. end
  368. elseif mega:match(string.sub(msg, 7)) then
  369. local xx = math.random(-111.6, 111.6)
  370. local zz = math.random(-108.2, 108.2)
  371. local yy = math.random(-20.5,85.5)
  372. for i = 1,10 do
  373. for i = 1,100 do
  374. workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
  375. xx = math.random(-111.6, 111.6)
  376. zz = math.random(-108.2, 108.2)
  377. yy = math.random(-20.5,85.5)
  378. end
  379. end
  380. elseif bana:match(string.sub(msg, 7)) then
  381. local xx = math.random(-111.6, 111.6)
  382. local zz = math.random(-108.2, 108.2)
  383. for i = 1,25 do
  384. for i = 1,100 do
  385. workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(xx,103.5,zz), true)
  386. xx = math.random(-111.6, 111.6)
  387. zz = math.random(-108.2, 108.2)
  388. wait()
  389. end
  390. wait(2)
  391. end
  392. elseif pla:match(string.sub(msg, 7)) then
  393. local xx = math.random(-111.6, 111.6)
  394. local zz = math.random(-108.2, 108.2)
  395. for i = 1,10 do
  396. for i = 1,5 do
  397. workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), true)
  398. xx = math.random(-111.6, 111.6)
  399. zz = math.random(-108.2, 108.2)
  400. yy = math.random(-20.5,45.5)
  401. wait()
  402. end
  403. wait(3.5)
  404. end
  405. elseif mon:match(string.sub(msg, 7)) then
  406. local xx = math.random(-111.6, 111.6)
  407. local zz = math.random(-108.2, 108.2)
  408. for i = 1,25 do
  409. for i = 1,75 do
  410. workspace.RemoteEvents.MoneybagEvent:FireServer(CFrame.new(Vector3.new(xx,103.5,zz)), true)
  411. xx = math.random(-111.6, 111.6)
  412. zz = math.random(-108.2, 108.2)
  413. wait(.1)
  414. end
  415. wait(2)
  416. end
  417. elseif size:match(string.sub(msg, 7)) then
  418. for i,v in pairs(game.Players:getChildren()) do
  419. plat = math.random(-20,15)
  420. if v.gamestats.Plate then
  421. game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, plat, true)
  422. end
  423. end
  424. end
  425. end
  426. if string.sub(msg, 1, 7) == "delete/" then
  427. if fire:match(string.sub(msg, 8)) then
  428. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  429. if v.Name == "FirePart" then
  430. v:Destroy()
  431. end
  432. end
  433. elseif black:match(string.sub(msg, 8)) then
  434. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  435. if v.Name == "Blackhole" then
  436. v:Destroy()
  437. end
  438. end
  439. elseif tor:match(string.sub(msg, 8)) then
  440. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  441. if v.Name == "Tornado" then
  442. v:Destroy()
  443. end
  444. end
  445. elseif min:match(string.sub(msg, 8)) then
  446. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  447. if v.Name == "Landmine" then
  448. v:Destroy()
  449. end
  450. end
  451. elseif vol:match(string.sub(msg, 8)) then
  452. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  453. if v.Name == "Part" and v.BrickColor == BrickColor.new("Crimson") then
  454. v:Destroy()
  455. end
  456. end
  457. elseif dis:match(string.sub(msg, 8)) then
  458. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  459. if v.Name == "DiscoBallOfDoom" then
  460. v:Destroy()
  461. end
  462. end
  463. elseif nuk:match(string.sub(msg, 8)) then
  464. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  465. if v.Name == "Nuke" or v.Name == "NukeExplosion" then
  466. v:Destroy()
  467. end
  468. end
  469. elseif mun:match(string.sub(msg, 8)) then
  470. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  471. if v.Name == "Moon" then
  472. v:Destroy()
  473. end
  474. end
  475. elseif ls:match(string.sub(msg, 8)) then
  476. for i,v in pairs (workspace.Plates:GetChildren()) do
  477. for i,b in pairs (v:GetChildren()) do
  478. if b.Name == "LavaSpinner" then
  479. b:Destroy()
  480. end
  481. end
  482. end
  483. for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
  484. if v.Name == "GiantLavaSpinner" then
  485. v:Destroy()
  486. end
  487. end
  488. elseif bmb:match(string.sub(msg, 8)) then
  489. for i,v in pairs (workspace.Plates:GetChildren()) do
  490. for i,b in pairs (v:GetChildren()) do
  491. if b.Name == "TimeBomb" then
  492. b:Destroy()
  493. end
  494. end
  495. end
  496. elseif pri:match(string.sub(msg, 8)) then
  497. for i,v in pairs (workspace.Plates:GetChildren()) do
  498. for i,b in pairs (v:GetChildren()) do
  499. if b.Name == "Cage" then
  500. b:Destroy()
  501. end
  502. end
  503. end
  504. elseif spk:match(string.sub(msg, 8)) then
  505. for i,v in pairs (workspace.Plates:GetChildren()) do
  506. for i,b in pairs (v:GetChildren()) do
  507. if b.Name == "Spike" then
  508. b:Destroy()
  509. end
  510. end
  511. end
  512. elseif zomb:match(string.sub(msg, 8)) then
  513. for i,v in pairs (workspace.Plates:GetChildren()) do
  514. for i,b in pairs (v:GetChildren()) do
  515. if b.Name == "Zombie" then
  516. b:Destroy()
  517. end
  518. end
  519. end
  520. elseif bmbc:match(string.sub(msg, 8)) then
  521. for i,v in pairs (workspace.Plates:GetChildren()) do
  522. for i,b in pairs (v:GetChildren()) do
  523. if b.Name == "BombCloud" then
  524. b:Destroy()
  525. end
  526. end
  527. end
  528. elseif fen:match(string.sub(msg, 8)) then
  529. for i,v in pairs (workspace.Plates:GetChildren()) do
  530. for i,b in pairs (v:GetChildren()) do
  531. if b.Name == "ElectricFence" then
  532. b:Destroy()
  533. end
  534. end
  535. end
  536. elseif cac:match(string.sub(msg, 8)) then
  537. for i,v in pairs (workspace.Plates:GetChildren()) do
  538. for i,b in pairs (v:GetChildren()) do
  539. if b.Name == "Cactus" then
  540. b:Destroy()
  541. end
  542. end
  543. end
  544. elseif wal:match(string.sub(msg, 8)) then
  545. for i,v in pairs (workspace.Plates:GetChildren()) do
  546. for i,b in pairs (v:GetChildren()) do
  547. if b.Name == "Wall" then
  548. b:Destroy()
  549. end
  550. end
  551. end
  552. elseif pbmb:match(string.sub(msg, 8)) then
  553. game.Players.LocalPlayer.Character.PlayerTimeBomb:Destroy()
  554. end
  555. elseif frz:match(string.sub(msg, 8)) then
  556. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  557. if v.Name == "Part" then
  558. v:Destroy()
  559. end
  560. end
  561. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  562. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  563. elseif marb:match(string.sub(msg, 8)) then
  564. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  565. if v.Name == "Marble" then
  566. v:Destroy()
  567. end
  568. end
  569. end
  570. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement