Advertisement
shad0wzombie

Untitled

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