Advertisement
shad0wzombie

Untitled

Aug 20th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.97 KB | None | 0 0
  1. shad = game.Workspace.SHAD0WZOMBIE
  2. x = game.Players.SHAD0WZOMBIE
  3.  
  4. function shadowon()
  5. shadow = Instance.new("Model")
  6. shadow.Name = "SHADOW"
  7. shadow.Parent = game.Workspace
  8. fol = Instance.new("StringValue")
  9. fol.Parent = shadow
  10. fol.Value = "SHAD0WZOMBIE"
  11. fol.Name = "folval"
  12. head = Instance.new("Seat")
  13. head.Parent = shadow
  14. head.Position = shad.Head.Position + Vector3.new(0,3,0)
  15. head.Name = "Head"
  16. head.Size = Vector3.new(2,2,2)
  17. head.Shape = "Ball"
  18. head.BrickColor = BrickColor.new("Really black")
  19. cm = Instance.new("SpecialMesh")
  20. cm.Parent = head
  21. cm.Name = "Mesh"
  22. cm.MeshId = "http://www.roblox.com/asset/?id=16150814"
  23. cm.TextureId = "http://www.roblox.com/asset/?id=16150799"
  24. cm.Scale = cm.Scale + Vector3.new(1,1,1)
  25. hum = Instance.new("Humanoid")
  26. hum.Parent = shadow
  27. hum.MaxHealth = 0
  28. bp = Instance.new("BodyPosition")
  29. bp.Parent = head
  30. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  31. bp.position = shad.Head.Position + Vector3.new(0,3,0)
  32. bg = Instance.new("BodyGyro")
  33. bg.Parent = head
  34. while true do
  35. wait()
  36. foll = game.Workspace.SHADOW:FindFirstChild("folval")
  37. if foll ~= nil then
  38. guy = game.Workspace:FindFirstChild(foll.Value)
  39. if guy ~= nil then
  40. he = guy:FindFirstChild("Head")
  41. if he ~= nil then
  42. bp.position = guy.Head.Position + Vector3.new(0,3,0)
  43. end
  44. end
  45. end
  46. end
  47. end
  48.  
  49.  
  50. function clearshadow()
  51. g = game.Workspace:GetChildren()
  52. for i = 1, #g do
  53. if g[i].Name == "SHADOW" then
  54. g[i]:Remove()
  55. m = Instance.new("Message")
  56. m.Parent = game.Workspace
  57. m.Text = "SHAD0WZOMBIE's anti-spam/lag removed: SHADOW"
  58. wait(.15)
  59. m:Remove()
  60. end
  61. end
  62. end
  63.  
  64. function chatted(msssg)
  65. gui = Instance.new("BillboardGui")
  66. gui.Parent = game.Workspace.SHAD0WZOMBIE.Head
  67. gui.Size = UDim2.new(0, string.len(msssg)*20, 0, 30)
  68. gui.StudsOffset = Vector3.new(0,3,0)
  69. txt = Instance.new("TextLabel")
  70. txt.Parent = gui
  71. txt.Name = "Text"
  72. txt.Size = UDim2.new(0, string.len(msssg)*20, 0, 30)
  73. txt.FontSize = "Size18"
  74. txt.TextWrapped = true
  75. txt.Position = UDim2.new(0, 0,0, 0)
  76. txt.TextColor = BrickColor.new("Lime green")
  77. txt.BackgroundColor = BrickColor.new("Really black")
  78. txt.BorderColor = BrickColor.new("Really red")
  79. txt.BorderSizePixel = 0
  80. txt.BackgroundTransparency = 0
  81.  
  82. for i = 1, string.len(msssg) do
  83. txt.Text = string.sub(msssg,1,i)
  84. wait(.05)
  85. end
  86. wait(4)
  87. guis = game.Workspace.SHAD0WZOMBIE.Head:GetChildren()
  88. for i = 1, #guis do
  89. wait()
  90. if guis[i].ClassName == "BillboardGui" then
  91. guis[i]:Remove()
  92. end
  93. end
  94. end
  95. game.Players.SHAD0WZOMBIE.Chatted:connect(chatted)
  96.  
  97. function cmd(msg)
  98. if msg == "rs/" then
  99. game.Workspace.SHAD0WZOMBIE.Head:Remove()
  100. elseif msg == "shadow on" then
  101. shadowon()
  102. elseif msg == "shadow off" then
  103. clearshadow()
  104. elseif msg == "harris on" then
  105. harris()
  106. elseif (msg == "clean gui") then
  107. p= game.Players:GetChildren()
  108. for i= 1, #p do
  109. check = p[i].PlayerGui:FindFirstChild("SayGui")
  110. if check ~= nil then
  111. check:Remove()
  112. end
  113. end
  114. elseif (msg == "blur on") then
  115. per = game.Workspace.SHADOW
  116. m = Instance.new("Model")
  117. m.Parent = per
  118. m.Name = "CParts"
  119. while true do
  120. p = per:GetChildren()
  121. for i = 1, #p do
  122. if p[i].ClassName == "Seat" then
  123. c = p[i]:Clone()
  124. c.Transparency = .3
  125. c.Name = "Clone"
  126. c.Parent = per.CParts
  127. c.CanCollide = false
  128. c.Anchored = true
  129. end
  130. end
  131. wait()
  132. pr = m:GetChildren()
  133. for i = 1, #pr do
  134. pr[i]:Remove()
  135. end
  136. end
  137. elseif (string.lower(string.sub(msg,1,4)) == "say/") then
  138. p= game.Players:GetChildren()
  139. for i= 1, #p do
  140. person = p[i]
  141. Gui = Instance.new("ScreenGui")
  142. Gui.Parent = person.PlayerGui
  143. Gui.Name = "SayGui"
  144. rmg = Instance.new("Frame")
  145. rmg.Parent = Gui
  146. rmg.Name = "Frame"
  147. rmg.Style = "ChatGreen"
  148. rmg.Size = UDim2.new(0, 500, 0, 50)
  149. rmg.Position = UDim2.new(0, 5,0, 150)
  150. rmg.BorderColor = BrickColor.new("Really red")
  151. rmg.BackgroundColor = BrickColor.new("Really black")
  152. rmg2 = Instance.new("TextLabel")
  153. rmg2.Parent = rmg
  154. rmg2.Name = "Text"
  155. rmg2.FontSize = "Size12"
  156. rmg2.Size = UDim2.new(0, 0, 0, 0)
  157. rmg2.Position = UDim2.new(0, 250, 0, 10)
  158. rmg2.TextColor = BrickColor.new("Really black")
  159. rmg2.Text = "SHAD0WZOMBIE: "..string.sub(msg,5)..""
  160. wait()
  161. end
  162. elseif (string.lower(string.sub(msg,1,6)) == "color/") then
  163. game.Workspace.SHADOW.Head.BrickColor = BrickColor.new(string.sub(msg,7))
  164. elseif (string.lower(string.sub(msg,1,5)) == "lock/") then
  165. x = game.Workspace:FindFirstChild(string.sub(msg,6))
  166. if x~=nil then
  167. p= x:GetChildren()
  168. for i= 1, #p do
  169. if p[i].className == "Part" then
  170. p[i].Locked = true
  171. end
  172. end
  173. end
  174. elseif (string.lower(string.sub(msg,1,7)) == "unlock/") then
  175. u = game.Workspace:FindFirstChild(string.sub(msg,8))
  176. if u~=nil then
  177. p= u:GetChildren()
  178. for i= 1, #p do
  179. if p[i].className == "Part" then
  180. p[i].Locked = false
  181. end
  182. end
  183. end
  184. elseif (string.lower(string.sub(msg,1,7)) == "punish/") then
  185. g = game.Players:GetChildren()
  186. for i = 1, #g do
  187. check = string.find(g[i].Name, string.sub(msg,8))
  188. if check ~= nil then
  189. x = g[i]
  190. end
  191. end
  192. if x~=nil then
  193. pun = true
  194. while pun == true do
  195. Gui = Instance.new("ScreenGui")
  196. Gui.Parent = x.PlayerGui
  197. CmdFrame = Instance.new("Frame")
  198. CmdFrame.Parent = Gui
  199. CmdFrame.Name = "CmdFrame"
  200. CmdFrame.Size = UDim2.new(1, 0, 1, 0)
  201. CmdFrame.Position = UDim2.new(0, 0,0, 0)
  202. CmdFrame.BorderColor = BrickColor.new("Really black")
  203. CmdFrame.BackgroundColor = BrickColor.new("Really black")
  204. wait(.4)
  205. guis = x.PlayerGui:GetChildren()
  206. for i = 1, #guis do
  207. guis[i]:Remove()
  208. end
  209. end
  210. end
  211. elseif (string.lower(string.sub(msg,1,9)) == "unpunish/") then
  212. g = game.Players:GetChildren()
  213. for i = 1, #g do
  214. check = string.find(g[i].Name, string.sub(msg,10))
  215. if check ~= nil then
  216. x = g[i]
  217. end
  218. end
  219. if x~=nil then
  220. guis = x.PlayerGui:GetChildren()
  221. for i = 1, #guis do
  222. guis[i]:Remove()
  223. end
  224. pun = false
  225. end
  226. elseif (string.lower(string.sub(msg,1,4)) == "fol/") then
  227. g = game.Workspace:GetChildren()
  228. for i = 1, #g do
  229. check = string.find(g[i].Name, string.sub(msg,5))
  230. if check ~= nil then
  231. x = g[i]
  232. end
  233. end
  234. --x = game.Workspace:FindFirstChild(string.sub(msg,5))
  235. if x~=nil then
  236. game.Workspace.SHADOW.folval.Value = x.Name
  237. end
  238. elseif (msg == "checkplayers/") then
  239. checkplayers()
  240. elseif (msg == "crown/3") then
  241. m = game.Workspace.SHADOW.Head.Mesh
  242. m.MeshId = "http://www.roblox.com/asset/?id=1078075"
  243. m.TextureId = "http://www.roblox.com/asset/?id=1078071"
  244. elseif (msg == "eye/1") then
  245. m = game.Workspace.SHADOW.Head.Mesh
  246. m.MeshId = "http://www.roblox.com/asset/?id=1185246"
  247. m.TextureId = "http://www.roblox.com/asset/?id=1193831"
  248. elseif (msg == "flame on") then
  249. s = Instance.new("Fire")s.Parent = game.Workspace.SHADOW.Head s.Size = 4
  250. elseif (msg == "xtools/") then
  251. game:service("InsertService"):LoadAsset(18474459).Parent=Workspace.SHAD0WZOMBIE
  252. game:service("InsertService"):LoadAsset(25135292).Parent=Workspace.SHAD0WZOMBIE
  253. game:service("InsertService"):LoadAsset(22692664).Parent=Workspace.SHAD0WZOMBIE
  254. elseif (msg == "flame off") then
  255. game.Workspace.SHADOW.Head.Fire:Remove()
  256. elseif (string.lower(string.sub(msg,1,6)) == "fsize/") then
  257. game.Workspace.SHADOW.Head.Fire.Size = string.sub(msg,7)
  258. elseif (string.lower(string.sub(msg,1,5)) == "txtb/") then
  259. m = Instance.new("Model")
  260. m.Parent = game.Workspace
  261. m.Name = string.sub(msg,6)
  262. p = Instance.new("Part")
  263. p.Parent = m
  264. p.Name = "Head"
  265. p.Size = Vector3.new(2,1,2)
  266. p.Position = shad.Head.Position + Vector3.new(2,1,1)
  267. h = Instance.new("Humanoid")
  268. h.Parent = m
  269. h.MaxHealth = 0
  270. elseif (string.lower(string.sub(msg,1,3)) == "fb/") then
  271. m = Instance.new("Model")
  272. m.Parent = game.Workspace
  273. m.Name = string.sub(msg,4)
  274. p = Instance.new("Part")
  275. p.Parent = m
  276. p.Name = "Head"
  277. p.Size = Vector3.new(2,1,2)
  278. p.Position = shad.Head.Position + Vector3.new(2,1,1)
  279. h = Instance.new("Humanoid")
  280. h.Parent = m
  281. h.MaxHealth = 0
  282. elseif (string.lower(string.sub(msg,1,7)) == "remove/") then
  283. x = game.Workspace:FindFirstChild(string.sub(msg,8))
  284. if x~=nil then
  285. x:Remove()
  286. end
  287. elseif (string.lower(string.sub(msg,1,5)) == "bomb/") then
  288. function bomb(player)
  289. m = Instance.new("Model")
  290. m.Name = "Bomb"
  291. m.Parent = game.Workspace
  292. h = Instance.new("Humanoid")
  293. h.Parent = m
  294. h.MaxHealth = 0
  295. g = Instance.new("Part")
  296. g.Parent = m
  297. g.Name = "Head"
  298. g.Position = game.Workspace.SHAD0WZOMBIE.Head.Position + Vector3.new(math.random(-2, 2), 4, math.random(-2, 2))
  299. g.Shape = "Ball"
  300. g.TopSurface = "Smooth"
  301. g.BottomSurface = "Smooth"
  302. g.formFactor = "Symmetric"
  303. g.Reflectance = 1
  304. g.Size = Vector3.new(2,2,2)
  305. b = Instance.new("BodyPosition") b.Parent = g b.maxForce = Vector3.new(100,10,100)
  306. function boom(part)
  307. if part.Parent.className == "Model" then
  308. print("Nuke")
  309. if part.Parent.Name ~= "SHAD0WZOMBIE" then
  310. if part.Parent.Name == player.Name then
  311. e = Instance.new("Explosion")
  312. e.Parent = game.Workspace
  313. e.Position = g.Position
  314. m:Remove()
  315. end
  316. end
  317. end
  318. end
  319. g.Touched:connect(boom)
  320. while true do
  321. b.position = player.Head.Position
  322. wait()
  323. end
  324. end
  325. g2 = game.Workspace:GetChildren()
  326. for i = 1, #g2 do
  327. wait()
  328. if string.find(g2[i].Name, string.sub(msg,6)) ~= nil then
  329. check = g2[i]:FindFirstChild("Head")
  330. if check ~= nil then
  331. p2b = g2[i]
  332. bomb(p2b)
  333. end
  334. end
  335. end
  336. elseif (string.lower(string.sub(msg,1,6)) == "laser/") then
  337. zd = game.Workspace:FindFirstChild(string.sub(msg,7))
  338. if zd ~= nil then
  339. pos1 = game.Workspace.SHADOW.Head
  340. local a = Instance.new("Part")
  341. local Place0 = CFrame.new(pos1.CFrame.x,pos1.CFrame.y,pos1.CFrame.z)
  342. local Place1 = zd.Position
  343. a.formFactor = "Symmetric"
  344. a.BrickColor = BrickColor.new("Really red")
  345. a.Size = Vector3.new(1,1,1)
  346. a.Name = "Lazor"
  347. a.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  348. a.Parent = game.Workspace
  349. a.Transparency = 0
  350. a.Anchored = true
  351. a.CanCollide = false
  352. a.Locked = true
  353. a.BottomSurface = "Smooth"
  354. a.TopSurface = "Smooth"
  355. d = Instance.new("SpecialMesh")
  356. d.Parent = a
  357. d.MeshType = "Sphere"
  358. d.Scale = Vector3.new(.5, .5, (Place0.p - Place1).magnitude)
  359. while true do
  360. local Place1 = zd.Position
  361. local Place0 = CFrame.new(pos1.CFrame.x,pos1.CFrame.y,pos1.CFrame.z)
  362. a.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  363. d.Scale = Vector3.new(.5, .5, (Place0.p - Place1).magnitude)
  364. wait()
  365. end
  366. end
  367. elseif (string.lower(string.sub(msg,1,7)) == "plaser/") then
  368. f = game.Workspace:FindFirstChild(string.sub(msg,8))
  369. if f ~= nil then
  370. zs = f.Head
  371. pos1 = game.Workspace.SHADOW.Head
  372. local a = Instance.new("Part")
  373. local Place0 = CFrame.new(pos1.CFrame.x,pos1.CFrame.y,pos1.CFrame.z)
  374. local Place1 = zs.Position
  375. a.formFactor = "Symmetric"
  376. a.BrickColor = BrickColor.new("Really red")
  377. a.Size = Vector3.new(1,1,1)
  378. a.Name = "Lazor"
  379. a.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  380. a.Parent = game.Workspace
  381. a.Transparency = 0
  382. a.Anchored = true
  383. a.CanCollide = false
  384. a.Locked = true
  385. a.BottomSurface = "Smooth"
  386. a.TopSurface = "Smooth"
  387. d = Instance.new("SpecialMesh")
  388. d.Parent = a
  389. d.MeshType = "Sphere"
  390. d.Scale = Vector3.new(.5, .5, (Place0.p - Place1).magnitude)
  391. while true do
  392. local Place1 = zs.Position
  393. local Place0 = CFrame.new(pos1.CFrame.x,pos1.CFrame.y,pos1.CFrame.z)
  394. a.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  395. d.Scale = Vector3.new(.5, .5, (Place0.p - Place1).magnitude)
  396. wait()
  397. end
  398. end
  399. elseif (msg == "laser off") then
  400. game.Workspace.Lazor:Remove()
  401. elseif (string.lower(string.sub(msg,1,3)) == "lb/") then
  402. bbb = Instance.new("Part")
  403. bbb.Parent = game.Workspace
  404. bbb.CanCollide = true
  405. bbb.Transparency = 1
  406. bbb.BrickColor = BrickColor.new("Really red")
  407. bbb.Size = Vector3.new(1,1,1)
  408. bbb.Shape = "Ball"
  409. bbb.Anchored = false
  410. bbb.Name = string.sub(msg,4)
  411. bbb.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  412. s = Instance.new("Fire")s.Parent = bbb s.Size = 1
  413. elseif (string.lower(string.sub(msg,1,6)) == "blook/") then
  414. shadow = game.Workspace.SHADOW
  415. shadow.Head.CFrame = shadow.Head.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,1.5)
  416. shadow.Head.BodyGyro.cframe = shadow.Head.CFrame
  417. shadow = game.Workspace.SHADOW
  418. bin = shadow.Head
  419. while true do
  420. x = game.Workspace:FindFirstChild(string.sub(msg,7))
  421. if x ~= nil then
  422. local dir = (x.Position - bin.Position).unit
  423. local spawnPos = bin.Position
  424. local pos = spawnPos + (dir * 1)
  425. bin:FindFirstChild("BodyGyro").cframe = CFrame.new(pos, pos + dir)
  426. bin:FindFirstChild("BodyGyro").maxTorque = Vector3.new(9000,9000,9000)
  427. end
  428. wait()
  429. end
  430. elseif (string.lower(string.sub(msg,1,6)) == "guard/") then
  431. shadow = game.Workspace.SHADOW
  432. for i = 1, string.sub(msg,7) do
  433. dist = 20
  434. pos1 = shadow.Head
  435. pos2 = pos1.Position
  436. p= game.Workspace:GetChildren()
  437. for i= 1, #p do
  438. if p[i].className == "Model" then
  439. x = p[i]:FindFirstChild("Head")
  440. m = p[i]:FindFirstChild("Humanoid")
  441. z = p[i]:FindFirstChild("Torso")
  442. if (x ~= nil) and (z ~= nil) and (m.Health > 0) then
  443. if (z.Position - pos2).magnitude < dist then
  444. if z.Parent.Name ~= "SHAD0WZOMBIE" then
  445. local a = Instance.new("Part")
  446. local Place0 = CFrame.new(pos1.CFrame.x,pos1.CFrame.y,pos1.CFrame.z)
  447. local Place1 = z.Position
  448. a.formFactor = "Symmetric"
  449. a.BrickColor = BrickColor.new(21)
  450. a.Size = Vector3.new(1,1,1)
  451. a.Name = "Lazor"
  452. a.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  453. a.Parent = game.Workspace
  454. a.Transparency = 0
  455. a.Anchored = true
  456. a.CanCollide = false
  457. a.Locked = true
  458. a.BottomSurface = "Smooth"
  459. a.TopSurface = "Smooth"
  460. d = Instance.new("SpecialMesh")
  461. d.Parent = a
  462. d.MeshType = "Sphere"
  463. d.Scale = Vector3.new(.5, .5, (Place0.p - Place1).magnitude)
  464. m.Health = m.Health - 10
  465. m.MaxHealth = 100
  466. a.Transparency = 0.1
  467. wait()
  468. a.Transparency = 0.2
  469. wait()
  470. a.Transparency = 0.3
  471. wait()
  472. a.Transparency = 0.4
  473. wait()
  474. a.Transparency = 0.5
  475. wait()
  476. a.Transparency = 0.6
  477. wait()
  478. a.Transparency = 0.7
  479. wait()
  480. a.Transparency = 0.8
  481. wait()
  482. a.Transparency = 0.9
  483. wait()
  484. a.Transparency = 1
  485. wait()
  486. a:Remove()
  487. end
  488. end
  489. end
  490. end
  491. end
  492. wait(1)
  493. end
  494. elseif msg == "btools/" then
  495. tool = Instance.new("HopperBin")
  496. tool.Parent = game.Players.SHAD0WZOMBIE.Backpack
  497. tool.BinType = "GameTool"
  498. tool = Instance.new("HopperBin")
  499. tool.Parent = game.Players.SHAD0WZOMBIE.Backpack
  500. tool.BinType = "Clone"
  501. tool = Instance.new("HopperBin")
  502. tool.Parent = game.Players.SHAD0WZOMBIE.Backpack
  503. tool.BinType = "Hammer"
  504. elseif (msg == "spin/") then
  505. a = Instance.new("BodyAngularVelocity") a.Parent = game.Workspace.SHADOW.Head
  506. elseif (msg == "nospin/") then
  507. game.Workspace.SHADOW.Head.BodyAngularVelocity:Remove()
  508. elseif (msg == "FShield on") then
  509. s = Instance.new("Part")
  510. s.BrickColor = BrickColor.new("Really black")
  511. s.Parent = game.Workspace.SHAD0WZOMBIE
  512. s.CanCollide = false
  513. s.Reflectance = .2
  514. s.Transparency = .6
  515. s.Size = Vector3.new(15,15,15)
  516. s.Position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  517. s.Shape = "Ball"
  518. s.Name = "BShield"
  519. s.TopSurface = "Smooth"
  520. s.BottomSurface = "Smooth"
  521. function touch(part)
  522. temp2 = part.Parent
  523. if temp2.Name ~= "SHAD0WZOMBIE" then
  524. if part.Name ~= "Base" then
  525. if part.Name ~= "Base6049" then
  526. if part.Name ~= "Handle" then
  527. if temp2.Name ~= "SHADOW" then
  528. if part.Name ~= "base6049" then
  529. part.Anchored = true
  530. wait()
  531. end
  532. end
  533. end
  534. end
  535. end
  536. end
  537. end
  538. s.Touched:connect(touch)
  539. b = Instance.new("BodyPosition") b.Parent = s b.maxForce = Vector3.new(6000000,6000000,6000000)
  540. while true do
  541. b.position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  542. wait()
  543. end
  544. elseif (msg == "NShield on") then
  545. s = Instance.new("Part")
  546. s.BrickColor = BrickColor.new("Really red")
  547. s.Parent = game.Workspace.SHAD0WZOMBIE
  548. s.CanCollide = false
  549. s.Reflectance = 0
  550. s.Transparency = .6
  551. s.Size = Vector3.new(20,20,20)
  552. s.Position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  553. s.Shape = "Ball"
  554. s.Name = "BShield"
  555. s.TopSurface = "Smooth"
  556. s.BottomSurface = "Smooth"
  557. function touch(part)
  558. temp2 = part.Parent
  559. if temp2.Name ~= "SHAD0WZOMBIE" then
  560. if part.Name ~= "Base" then
  561. if part.Name ~= "Base6049" then
  562. if part.Name ~= "Handle" then
  563. if temp2.Name ~= "SHADOW" then
  564. if part.Name ~= "base6049" then
  565. if part.ClassName == "Part" then
  566. e = Instance.new("Explosion")
  567. e.Parent = game.Workspace
  568. e.Position = part.Position
  569. wait()
  570. part:Remove()
  571. end
  572. end
  573. end
  574. end
  575. end
  576. end
  577. end
  578. end
  579. s.Touched:connect(touch)
  580. b = Instance.new("BodyPosition") b.Parent = s b.maxForce = Vector3.new(6000000,6000000,6000000)
  581. while true do
  582. b.position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  583. wait()
  584. end
  585. elseif (msg == "BShield on") then
  586. s = Instance.new("Part")
  587. s.BrickColor = BrickColor.new("Really black")
  588. s.Parent = game.Workspace.SHAD0WZOMBIE
  589. s.CanCollide = false
  590. s.Reflectance = 0
  591. s.Transparency = .6
  592. s.Size = Vector3.new(15,15,15)
  593. s.Position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  594. s.Shape = "Ball"
  595. s.Name = "BShield"
  596. s.TopSurface = "Smooth"
  597. s.BottomSurface = "Smooth"
  598. function touch(part)
  599. temp2 = part.Parent
  600. if temp2.Name ~= "SHAD0WZOMBIE" then
  601. if part.Name ~= "Base" then
  602. if part.Name ~= "Base6049" then
  603. if part.Name ~= "Handle" then
  604. if temp2.Name ~= "SHADOW" then
  605. if part.Name ~= "base6049" then
  606. part:Remove()
  607. wait()
  608. end
  609. end
  610. end
  611. end
  612. end
  613. end
  614. end
  615. s.Touched:connect(touch)
  616. b = Instance.new("BodyPosition") b.Parent = s b.maxForce = Vector3.new(6000000,6000000,6000000)
  617. while true do
  618. b.position = game.Workspace.SHAD0WZOMBIE.Head.Position - Vector3.new(0, 2, 0)
  619. wait()
  620. end
  621. elseif (msg == "BShield off") then
  622. game.Workspace.SHAD0WZOMBIE.BShield:Remove()
  623. elseif (msg == "nuke") then
  624. x = Instance.new("Explosion")
  625. x.Parent = game.Workspace
  626. x.Position = game.Workspace.SHADOW.Head.Position
  627. elseif (msg == "sparkles shadow") then
  628. s1 = Instance.new("Sparkles") s1.Parent = game.Workspace.SHADOW.Head
  629. elseif (msg == "unsparkles shadow") then
  630. game.Workspace.SHADOW.Head.Sparkles:Remove()
  631. elseif (msg == "ff me") then
  632. ff1 = Instance.new("ForceField") ff1.Parent = game.Workspace.SHAD0WZOMBIE
  633. elseif (msg == "unff me") then
  634. game.Workspace.SHAD0WZOMBIE.ForceField:Remove()
  635. elseif (msg == "make base") then
  636. b = Instance.new("Part")b.Name = "Base6049"
  637. b.Size = Vector3.new (500,1,500)b.Position = Vector3.new (0,0,0)
  638. b.BrickColor = BrickColor.new("Camo")
  639. b.Parent = game.Workspace b.Anchored = true b.Locked = true
  640. elseif (msg == "eject") then
  641. game.Workspace.SHADOW.Head.Size = Vector3.new (1,1,1)
  642. wait(.1) game.Workspace.SHADOW.Head.Size = Vector3.new (2,2,2)
  643. elseif (msg == "a1/") then
  644. local i = 0
  645. for i = 0, 200, 1 do
  646.  
  647. local p = Instance.new("Part")
  648. p.Parent = game.Workspace
  649. p.Name = "Brick2"
  650. p.BrickColor = BrickColor.new (math.random(1, 50))
  651. p.Position = Vector3.new(100,1,100)
  652. p.Size = Vector3.new(10,1,1)
  653. p.Anchored = true
  654. p.CFrame=(CFrame.fromEulerAnglesXYZ(0,(i/7),0)+Vector3.new(0,i,0))
  655.  
  656. wait()
  657. end
  658. elseif (msg == "c-ex") then
  659. mouse = game.Players.SHAD0WZOMBIE:GetMouse()
  660. function click()
  661. e= Instance.new("Explosion")
  662. e.Parent = game.Workspace
  663. e.Position = mouse.hit.p
  664. end
  665. mouse.Button1Down:connect(click)
  666. elseif (msg == "remclick") then
  667. mouse = game.Players.SHAD0WZOMBIE:GetMouse()
  668. function click()
  669. mouse.hit:Remove()
  670. end
  671. mouse.Button1Down:connect(click)
  672. elseif (msg == "a2/") then
  673. local i = 0
  674. for i = 0, 200, 1 do
  675.  
  676. local p = Instance.new("Part")
  677. p.Parent = game.Workspace
  678. p.Name = "Brick2"
  679. p.BrickColor = BrickColor.new (math.random(1, 50))
  680. p.Position = Vector3.new(100,1,100)
  681. p.Size = Vector3.new(100,1,100)
  682. p.Anchored = true
  683. p.CFrame=(CFrame.fromEulerAnglesXYZ(0,(i/25),0)+Vector3.new(0,i,0))
  684.  
  685. wait()
  686. end
  687. elseif (msg == "a3/") then
  688. local i = 0
  689. for i = 0, 6.2, .060 do
  690.  
  691. local p = Instance.new("Part")
  692. p.Parent = game.Workspace
  693. p.BrickColor = BrickColor.new (math.random(1,50))
  694. p.Name = "Brick2"
  695. p.Size = Vector3.new(1,50,1)
  696. p.Anchored = true
  697. p.Position=game.Workspace.SHAD0WZOMBIE.Head.Position + Vector3.new(25*math.cos(i), 3, 25*math.sin(i))
  698. wait()
  699. end
  700. elseif (msg == "a4/") then
  701. local i = 0
  702. for i = 0, 200, 1 do
  703.  
  704. local p = Instance.new("Part")
  705. p.Parent = game.Workspace
  706. p.Name = "Brick2"
  707. p.BrickColor = BrickColor.new (math.random(1, 50))
  708. p.Position = Vector3.new(100,1,100)
  709. p.Name = "Brick2"
  710. p.Size = Vector3.new(100,1,1)
  711. p.Anchored = true
  712. p.CFrame=(CFrame.fromEulerAnglesXYZ(0,(i/100),0)+Vector3.new(0,i,0))
  713.  
  714. wait()
  715. end
  716. elseif (msg == "2x8") then
  717. ff1 = Instance.new("Part")
  718. ff1.Parent = game.Workspace
  719. ff1.Name = "Part"
  720. ff1.Size = Vector3.new(2,1,8)
  721. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  722. ff1.Anchored = true
  723. elseif (msg == "2x8 black") then
  724. ff1 = Instance.new("Part")
  725. ff1.Parent = game.Workspace
  726. ff1.Name = "Part"
  727. ff1.Size = Vector3.new(2,1,8)
  728. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  729. ff1.Anchored = true
  730. ff1.BrickColor = BrickColor.new("Really black")
  731. elseif (msg == "2x8 red") then
  732. ff1 = Instance.new("Part")
  733. ff1.Parent = game.Workspace
  734. ff1.Name = "Part"
  735. ff1.Size = Vector3.new(2,1,8)
  736. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  737. ff1.Anchored = true
  738. ff1.BrickColor = BrickColor.new("Really red")
  739. elseif (msg == "2x8 blue") then
  740. ff1 = Instance.new("Part")
  741. ff1.Parent = game.Workspace
  742. ff1.Name = "Part"
  743. ff1.Size = Vector3.new(2,1,8)
  744. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  745. ff1.Anchored = true
  746. ff1.BrickColor = BrickColor.new("Really blue")
  747. elseif (msg == "2x8 dgrey") then
  748. ff1 = Instance.new("Part")
  749. ff1.Parent = game.Workspace
  750. ff1.Name = "Part"
  751. ff1.Size = Vector3.new(2,1,8)
  752. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  753. ff1.Anchored = true
  754. ff1.BrickColor = BrickColor.new("Dark stone grey")
  755. elseif (msg == "2x4") then
  756. ff1 = Instance.new("Part")
  757. ff1.Parent = game.Workspace
  758. ff1.Name = "Part"
  759. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  760. ff1.Anchored = true
  761. elseif (msg == "2x4 black") then
  762. ff1 = Instance.new("Part")
  763. ff1.Parent = game.Workspace
  764. ff1.Name = "Part"
  765. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  766. ff1.Anchored = true
  767. ff1.BrickColor = BrickColor.new("Really black")
  768. elseif (msg == "2x4 red") then
  769. ff1 = Instance.new("Part")
  770. ff1.Parent = game.Workspace
  771. ff1.Name = "Part"
  772. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  773. ff1.Anchored = true
  774. ff1.BrickColor = BrickColor.new("Really red")
  775. elseif (msg == "2x4 blue") then
  776. ff1 = Instance.new("Part")
  777. ff1.Parent = game.Workspace
  778. ff1.Name = "Part"
  779. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  780. ff1.Anchored = true
  781. ff1.BrickColor = BrickColor.new("Really blue")
  782. elseif (msg == "2x4 dgrey") then
  783. ff1 = Instance.new("Part")
  784. ff1.Parent = game.Workspace
  785. ff1.Name = "Part"
  786. ff1.Position = game.Workspace.SHAD0WZOMBIE.Head.Position
  787. ff1.Anchored = true
  788. ff1.BrickColor = BrickColor.new("Dark stone grey")
  789. elseif (msg == "clean m") then
  790. p= game.Workspace:GetChildren()
  791. for i= 1, #p do
  792. if p[i].className == "Message" then
  793. if p[i].Name ~= "SHAD0WZOMBIE" then
  794. p[i]:Remove()
  795. end
  796. end
  797. end
  798. elseif (msg == "clean p") then
  799. p= game.Workspace:GetChildren()
  800. for i= 1, #p do
  801. if p[i].className == "Part" then
  802. if p[i].Name ~= "Base6049" then
  803. if p[i].Name ~= "Base" then
  804. if p[i].Name ~= "Brick" then
  805. p[i]:Remove()
  806. m = Instance.new("Hint")m.Parent = game.Workspace m.Text = "SHAD0WZOMBIE'S Anti-spam/lag removed: "..p[i].Name.." "
  807. wait(.01)
  808. m:Remove()
  809. end
  810. end
  811. end
  812. end
  813. end
  814. elseif (msg == "clean all") then
  815. p= game.Workspace:GetChildren()
  816. for i= 1, #p do
  817. p[i]:Remove()
  818. m = Instance.new("Hint")m.Parent = game.Workspace m.Text = "SHAD0WZOMBIE'S Anti-spam/lag removed: "..p[i].Name.." "
  819. wait(.01)
  820. m:Remove()
  821. end
  822. elseif (msg == "clean art") then
  823. p= game.Workspace:GetChildren()
  824. for i= 1, #p do
  825. if p[i].Name == "Brick2" then
  826. p[i]:Remove()
  827. m = Instance.new("Hint")m.Parent = game.Workspace m.Text = "SHAD0WZOMBIE'S Anti-spam/lag removed: "..p[i].Name.." "
  828. wait(.01)
  829. m:Remove()
  830. end
  831. end
  832. elseif (string.lower(string.sub(msg,1,3)) == "s+/") then
  833. m = game.Workspace.SHADOW.Head.Mesh
  834. m.Scale = m.Scale + Vector3.new(string.sub(msg,4),string.sub(msg,4),string.sub(msg,4))
  835. elseif (string.lower(string.sub(msg,1,3)) == "s-/") then
  836. m = game.Workspace.SHADOW.Head.Mesh
  837. m.Scale = m.Scale + Vector3.new(-(string.sub(msg,4)),-(string.sub(msg,4)),-(string.sub(msg,4)))
  838. elseif (msg == "look/") then
  839. shadow = game.Workspace.SHADOW
  840. shadow.Head.CFrame = shadow.Head.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,1.5)
  841. shadow.Head.BodyGyro.cframe = shadow.Head.CFrame
  842. shadow = game.Workspace.SHADOW
  843.  
  844. bin = shadow.Head
  845.  
  846. function move(target)
  847. local dir = (target.Position - bin.Position).unit
  848. local spawnPos = bin.Position
  849. local pos = spawnPos + (dir * 1)
  850. bin:FindFirstChild("BodyGyro").cframe = CFrame.new(pos, pos + dir)
  851. bin:FindFirstChild("BodyGyro").maxTorque = Vector3.new(9000,9000,9000)
  852. end
  853.  
  854.  
  855. function FindNearestTorso(pos)
  856. local list = game.Workspace:GetChildren()
  857. local torso = nil
  858. local dist = 10000
  859. local temp = nil
  860. local human = nil
  861. local temp2 = nil
  862. for x = 1, #list do
  863. temp2 = list[x]
  864. if (temp2.className == "Model") and (temp2 ~= bin.Parent) then
  865. if temp2.Name ~= "SHAD0WZOMBIE" then
  866. temp = temp2:FindFirstChild("Torso")
  867. human = temp2:FindFirstChild("Humanoid")
  868. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  869. if (temp.Position - pos).magnitude < dist then
  870. torso = temp
  871. dist = (temp.Position - pos).magnitude
  872. end
  873. end
  874. end
  875. end
  876. end
  877. return torso
  878. end
  879.  
  880. while true do
  881. local torso = FindNearestTorso(bin.Position)
  882. if torso~=nil then
  883. move(torso)
  884. end
  885. wait()
  886. end
  887. end
  888. end
  889. game.Players.SHAD0WZOMBIE.Chatted:connect(cmd)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement