Hebablazin

Wand

May 31st, 2016
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.72 KB | None | 0 0
  1. --Wand Gifted by machontz, Regular Script!
  2.  
  3. tool = Instance.new("HopperBin")
  4. player = game.Players.LocalPlayer
  5. char = player.Character
  6. tool = Instance.new("HopperBin")
  7. tool.Parent = player.Backpack
  8. script.Parent = tool
  9. tool.Name = "Wand"
  10. spin = false
  11. landc = "Earth green"
  12. firec = "Bright red"
  13. icec = "Light blue"
  14. windc = "Institutional white"
  15. helthc = "Lime green"
  16. elec = "New Yeller"
  17. norm = 18
  18. handle = Instance.new("Part")
  19. handle.Parent = game.Lighting
  20. handle.Name = "Handle"
  21. handle.FormFactor = "Symmetric"
  22. handle.Size = Vector3.new(1,4,1)
  23. handle.TopSurface = 0
  24. handle.BottomSurface = 0
  25. handle.BrickColor = BrickColor.new("Black")
  26. handle.Anchored = false
  27. handle.Position = char["Right Arm"].Position
  28. handle.CanCollide = false
  29. handle.Locked = true
  30. handle2 = Instance.new("Part")
  31. handle2.Parent = game.Lighting
  32. handle2.Name = "Handle2"
  33. handle2.Shape = "Ball"
  34. handle2.Size = Vector3.new(1,1,1)
  35. handle2.TopSurface = 0
  36. handle2.BottomSurface = 0
  37. handle2.BrickColor = BrickColor.new("Bright red")
  38. handle2.Anchored = false
  39. handle2.Position = char["Right Arm"].Position
  40. handle2.Transparency = 0.1
  41. handle2.CanCollide = false
  42. handle2.Locked = true
  43. handle3 = Instance.new("Part")
  44. handle3.Parent = game.Lighting
  45. handle3.Name = "Handle2"
  46. handle3.Shape = "Ball"
  47. handle3.Size = Vector3.new(1,1,1)
  48. handle3.TopSurface = 0
  49. handle3.BottomSurface = 0
  50. handle3.BrickColor = BrickColor.new("Black")
  51. handle3.Anchored = false
  52. handle3.Position = char["Right Arm"].Position
  53. handle3.CanCollide = false
  54. handle3.Locked = true
  55. local m = Instance.new("CylinderMesh")
  56. m.Parent = handle
  57. m.Scale = Vector3.new(0.42,1,0.42)
  58. local m2 = Instance.new("SpecialMesh")
  59. m2.Parent = handle2
  60. m2.MeshType = "Sphere"
  61. m2.Scale = Vector3.new(0.8,0.8,0.8)
  62. local m3 = Instance.new("SpecialMesh")
  63. m3.Parent = handle3
  64. m3.MeshType = "FileMesh"
  65. m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  66. m3.Scale = Vector3.new(0.4,0.85,0.4)
  67. brick1 = Instance.new("Part")
  68. brick1.Parent = char
  69. brick1.formFactor = "Symmetric"
  70. brick1.Size = Vector3.new(1,1,1)
  71. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  72. brick1.Shape = "Ball"
  73. brick1.CanCollide = false
  74. brick1.Transparency = 1
  75. brick1.Locked = true
  76. mesh1 = Instance.new("SpecialMesh")
  77. mesh1.Parent = brick1
  78. mesh1.MeshType = "Sphere"
  79. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  80. brick2 = Instance.new("Part")
  81. brick2.Parent = game.Lighting
  82. brick2.formFactor = "Symmetric"
  83. brick2.Size = Vector3.new(1,1,1)
  84. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  85. brick2.Shape = "Ball"
  86. brick2.CanCollide = false
  87. brick2.Transparency = 1
  88. brick2.BrickColor = handle2.BrickColor
  89. brick2.Locked = true
  90. mesh2 = Instance.new("SpecialMesh")
  91. mesh2.Parent = brick2
  92. mesh2.MeshType = "Sphere"
  93. mesh2.Scale = Vector3.new(0.5,0.5,0.5)
  94. brick3 = Instance.new("Part")
  95. brick3.Parent = game.Lighting
  96. brick3.formFactor = "Symmetric"
  97. brick3.Size = Vector3.new(1,1,1)
  98. brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  99. brick3.Shape = "Ball"
  100. brick3.CanCollide = false
  101. brick3.Transparency = 1
  102. brick3.BrickColor = handle2.BrickColor
  103. brick3.Locked = true
  104. mesh3 = Instance.new("SpecialMesh")
  105. mesh3.Parent = brick3
  106. mesh3.MeshType = "Sphere"
  107. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  108. wads = Instance.new("Weld")
  109. wads.Parent = char.Torso
  110. wads.Part0 = wads.Parent
  111. wads.Part1 = brick1
  112. wads.C1 = CFrame.new(-1.5,-0.5,0)
  113. wads2 = Instance.new("Weld")
  114. wads2.Parent = handle2
  115. wads2.Part0 = wads2.Parent
  116. wads2.Part1 = brick2
  117. wads2.C1 = CFrame.new(1,0,0)
  118. wads3 = Instance.new("Weld")
  119. wads3.Parent = handle2
  120. wads3.Part0 = wads2.Parent
  121. wads3.Part1 = brick2
  122. wads3.C1 = CFrame.new(-1,0,0)
  123. wa = Instance.new("Weld")
  124. wa.Parent = brick1
  125. wa.Part0 = nil
  126. wa.Part1 = nil
  127. weld = Instance.new("Weld")
  128. toha = Instance.new("Weld")
  129. toha.Parent = char.Torso
  130. toha.Part0 = nil
  131. toha.Part1 = nil
  132. toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)
  133. original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
  134. weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  135. myhum = char.Humanoid
  136. myhum.WalkSpeed = norm
  137. enabled = false
  138. hol = false
  139. function select(mouse, key)
  140. wa.Part0 = wa.Parent
  141. wa.Part1 = char["Right Arm"]
  142. wa.C1 = original
  143. weld.Parent = char["Right Arm"]
  144. weld.Part0 = nil
  145. weld.Part1 = nil
  146. weld.C1 = weporigin
  147. handle.Parent = char
  148. handle2.Parent = char
  149. handle3.Parent = char
  150. for i = 1, 8 do
  151. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  152. wait()
  153. end
  154. for i = 1, 4 do
  155. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  156. wait()
  157. end
  158. toha.Part0 = nil
  159. toha.Part1 = nil
  160. weld.Part0 = weld.Parent
  161. weld.Part1 = handle
  162. for i = 1, 4 do
  163. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
  164. wait()
  165. end
  166. for i = 1, 8 do
  167. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  168. wait()
  169. end
  170. wa.C1 = original
  171. spin = true
  172. brick2.Transparency = 0.3
  173. brick2.Parent = char
  174. brick3.Transparency = 0.3
  175. brick3.Parent = char
  176. weld2 = Instance.new("Weld")
  177. weld2.Parent = handle
  178. weld2.Part0 = weld2.Parent
  179. weld2.Part1 = handle2
  180. weld2.C1 = CFrame.new(0, 0, 2.1)
  181. weld3 = Instance.new("Weld")
  182. weld3.Parent = handle
  183. weld3.Part0 = weld3.Parent
  184. weld3.Part1 = handle3
  185. weld3.C1 = CFrame.new(0, 0, 1.4)
  186. weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  187. weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0)
  188. weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0)
  189. coroutine.resume(coroutine.create(function()
  190. while spin == true do
  191. for i=1, 20 do
  192. wait()
  193. handle2.Transparency = handle2.Transparency + 0.025
  194. end
  195. for i=1, 20 do
  196. wait()
  197. handle2.Transparency = handle2.Transparency - 0.025
  198. end
  199. end
  200. end))
  201. coroutine.resume(coroutine.create(function()
  202. while spin == true do
  203. wait()
  204. wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  205. wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  206. local fade = brick2:clone()
  207. fade.Parent = char
  208. fade.CFrame = brick2.CFrame
  209. local weld = wads2:clone()
  210. weld.Parent = handle2
  211. weld.Part0 = weld.Parent
  212. weld.Part1 = fade
  213. local fade2 = brick3:clone()
  214. fade2.Parent = char
  215. fade2.CFrame = brick3.CFrame
  216. local weld2 = wads3:clone()
  217. weld2.Parent = handle2
  218. weld2.Part0 = weld2.Parent
  219. weld2.Part1 = fade2
  220. coroutine.resume(coroutine.create(function()
  221. for i=1, 8 do
  222. wait()
  223. fade.Transparency = fade.Transparency + 0.12
  224. fade2.Transparency = fade2.Transparency + 0.12
  225. end
  226. fade:remove()
  227. fade2:remove()
  228. end))
  229. end
  230. end))
  231. enabled = false
  232. mouse.KeyDown:connect(function(key)
  233. key = key:lower()
  234. if (key == "k") then
  235. if enabled == true then return end
  236. enabled = true
  237. hol = true
  238. for i=1, 6 do
  239. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
  240. wait()
  241. end
  242. handle2.BrickColor = BrickColor.new(landc)
  243. brick2.BrickColor = handle2.BrickColor
  244. brick3.BrickColor = handle2.BrickColor
  245. while hol == true do
  246. wait(0.05)
  247. local ki = Instance.new("Part")
  248. ki.Parent = workspace
  249. ki.Name = "Landmon"
  250. ki.Size = Vector3.new(1,1,1)
  251. ki.BrickColor = handle2.BrickColor
  252. ki.TopSurface = 0
  253. ki.BottomSurface = 0
  254. ki.CanCollide = false
  255. ki.Anchored = true
  256. ki.CFrame = CFrame.new(mouse.Hit.p)
  257. ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
  258. local mef = Instance.new("SpecialMesh")
  259. mef.Parent = ki
  260. mef.MeshType = "Sphere"
  261. mef.Scale = Vector3.new(9,16,9)
  262. coroutine.resume(coroutine.create(function()
  263. for i=1, 5 do
  264. wait()
  265. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
  266. end
  267. for i=1, 5 do
  268. wait()
  269. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
  270. end
  271. end))
  272. coroutine.resume(coroutine.create(function()
  273. for i=1, 25 do
  274. wait()
  275. ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
  276. end
  277. loo = ki.CFrame
  278. ki.CanCollide = true
  279. mef.Scale = Vector3.new(1,1,1)
  280. ki.Size = Vector3.new(9,16,9)
  281. ki.CFrame = loo
  282. wait(7)
  283. for i=1, 20 do
  284. wait()
  285. ki.Transparency = ki.Transparency + 0.05
  286. end
  287. ki:remove()
  288. end))
  289. end
  290. elseif (key == "f") then
  291. if enabled == true then return end
  292. enabled = true
  293. pof = mouse.Hit.p
  294. local part = Instance.new("Part")
  295. local fire = Instance.new("Fire")
  296. fire.Parent = part
  297. fire.Heat = 30
  298. fire.Size = 40
  299. local smoke = Instance.new("Smoke")
  300. smoke.Parent = part
  301. smoke.RiseVelocity = 2
  302. smoke.Size = 20
  303. smoke.Color = Color3.new(0,0,0)
  304. smoke.Opacity = 1
  305. local par = Instance.new("Part")
  306. par.Parent = workspace
  307. par.Size = Vector3.new(9,1,1)
  308. par.Transparency = 0
  309. par.Anchored = true
  310. par.TopSurface = 0
  311. par.BottomSurface = 0
  312. par.BrickColor = BrickColor.new(firec)
  313. par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  314. par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
  315. par.CanCollide = false
  316. local mes = Instance.new("SpecialMesh")
  317. mes.Parent = par
  318. mes.MeshType = "Brick"
  319. mes.Scale = Vector3.new(1,1,1)
  320. local pa = par:clone()
  321. pa.Parent = workspace
  322. pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  323. pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
  324. handle2.BrickColor = BrickColor.new(firec)
  325. brick2.BrickColor = handle2.BrickColor
  326. brick3.BrickColor = handle2.BrickColor
  327. for i=1, 10 do
  328. wait(0.03)
  329. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
  330. end
  331. for i=1, 4 do
  332. for i=1, 3 do
  333. wait(0.01)
  334. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
  335. end
  336. for i=1, 3 do
  337. wait(0.01)
  338. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
  339. end
  340. end
  341. for i=1, 7 do
  342. wait(0.01)
  343. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
  344. end
  345. wait(0.6)
  346. for i=1, 10 do
  347. wait(0.02)
  348. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
  349. par.Transparency = par.Transparency + 0.1
  350. pa.Transparency = pa.Transparency + 0.1
  351. mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
  352. pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
  353. end
  354. wait(0.1)
  355. pa:remove()
  356. par:remove()
  357. part.Parent = workspace
  358. part.Size = Vector3.new(3,3,3)
  359. part.Anchored = true
  360. part.CFrame = CFrame.new(pof)
  361. part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
  362. part.Transparency = 1
  363. coroutine.resume(coroutine.create(function()
  364. for i=1, 100 do
  365. wait()
  366. part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
  367. end
  368. end))
  369. local explode = Instance.new("Explosion")
  370. explode.Parent = char
  371. explode.BlastRadius = 11
  372. explode.BlastPressure = 400000
  373. explode.Position = part.Position
  374. explode.archivable = false
  375. wait(0.3)
  376. wa.C1 = original
  377. wait(0.7)
  378. fire.Enabled = false
  379. smoke.Enabled = false
  380. wait(0.2)
  381. part:remove()
  382. wait(1)
  383. enabled = false
  384. elseif (key == "q") then
  385. if enabled == true then return end
  386. enabled = true
  387. handle2.BrickColor = BrickColor.new(windc)
  388. brick2.BrickColor = handle2.BrickColor
  389. brick3.BrickColor = handle2.BrickColor
  390. for i=1, 8 do
  391. wait(0.01)
  392. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
  393. end
  394. for i=1, 2 do
  395. wait(0.01)
  396. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
  397. end
  398. wait(0.3)
  399. for i=1, 2 do
  400. wait(0.01)
  401. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  402. end
  403. local p = Instance.new("Part")
  404. p.Parent = workspace
  405. p.Name = "Sword"
  406. p.Size = Vector3.new(1,4,1)
  407. p.BottomSurface = 0
  408. p.TopSurface = 0
  409. p.Anchored = false
  410. p.CanCollide = false
  411. p.CFrame = handle.CFrame
  412. p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
  413. p:BreakJoints()
  414. local mt = Instance.new("SpecialMesh")
  415. mt.Parent = p
  416. mt.MeshType = "FileMesh"
  417. mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
  418. mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
  419. local bv = Instance.new("BodyVelocity")
  420. bv.Parent = p
  421. bv.velocity = char.Torso.CFrame.lookVector * 45
  422. local bva = Instance.new("BodyAngularVelocity")
  423. bva.Parent = p
  424. bva.angularvelocity = Vector3.new(0,14,0)
  425. p.Touched:connect(function(hit)
  426. if hit.Parent.Name == player.Name then return end
  427. local hum = hit.Parent:findFirstChild("Humanoid")
  428. if hum ~= nil then
  429. local hed = hit.Parent:findFirstChild("Head")
  430. if hed ~= nil then
  431. for i=1, 5 do
  432. wait()
  433. hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
  434. end
  435. hum.Health = 0
  436. wait(0.05)
  437. hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
  438. hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  439. end
  440. hum.Health = 0
  441. end
  442. end)
  443. local spi = true
  444. coroutine.resume(coroutine.create(function()
  445. while spi == true do
  446. local fad = p:clone()
  447. fad.Parent = workspace
  448. fad.BrickColor = BrickColor.new(windc)
  449. fad.Transparency = 0.2
  450. fad.Mesh.TextureId = "Clear"
  451. fad.Anchored = true
  452. coroutine.resume(coroutine.create(function()
  453. for i=1, 8 do
  454. wait()
  455. fad.Transparency = fad.Transparency + 0.1
  456. end
  457. fad:remove()
  458. end))
  459. wait()
  460. end
  461. end))
  462. for i=1, 4 do
  463. wait(0.01)
  464. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  465. end
  466. wait(0.3)
  467. for i=1, 7 do
  468. wait(0.01)
  469. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
  470. end
  471. wa.C1 = original
  472. wait(0.3)
  473. enabled = false
  474. wait(1.2)
  475. spi = false
  476. wait()
  477. p:remove()
  478. elseif (key == "e") then
  479. if enabled == true then return end
  480. enabled = true
  481. myhum.WalkSpeed = 0
  482. handle2.BrickColor = BrickColor.new(helthc)
  483. brick2.BrickColor = handle2.BrickColor
  484. brick3.BrickColor = handle2.BrickColor
  485. hol = true
  486. for i=1, 6 do
  487. wait(0.01)
  488. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
  489. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
  490. end
  491. wait(0.5)
  492. for i=1, 3 do
  493. wait(0.01)
  494. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
  495. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
  496. end
  497. local pf = Instance.new("Part")
  498. pf.Parent = workspace
  499. pf.Name = "Healthbump"
  500. pf.Size = Vector3.new(7,1,7)
  501. pf.BottomSurface = 0
  502. pf.TopSurface = 0
  503. pf.Anchored = true
  504. pf.CanCollide = false
  505. pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
  506. pf.Transparency = 0.3
  507. pf.BrickColor = handle2.BrickColor
  508. local meg = Instance.new("CylinderMesh")
  509. meg.Parent = pf
  510. meg.Scale = Vector3.new(0.6,0.8,0.6)
  511. hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
  512. coroutine.resume(coroutine.create(function()
  513. for i=1, 50 do
  514. wait()
  515. pf.Transparency = pf.Transparency + 0.02
  516. meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  517. end
  518. end))
  519. while hol == true do
  520. wait(0)
  521. myhum.Health = myhum.Health + 0.5
  522. local chanc = math.random(1,20)
  523. if chanc == 8 then
  524. coroutine.resume(coroutine.create(function()
  525. pf.Transparency = 0.3
  526. meg.Scale = Vector3.new(0.6,0.8,0.6)
  527. for i=1, 50 do
  528. wait()
  529. pf.Transparency = pf.Transparency + 0.02
  530. meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  531. end
  532. end))
  533. end
  534. local hp = Instance.new("Part")
  535. hp.Parent = workspace
  536. hp.formFactor = "Symmetric"
  537. local randsiz = math.random(1,2)
  538. local col = math.random(1,4)
  539. hp.Size = Vector3.new(randsiz,randsiz,randsiz)
  540. hp.BrickColor = BrickColor.new(hecols[col])
  541. hp.TopSurface = 0
  542. hp.BottomSurface = 0
  543. hp.Transparency = 0.1
  544. hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
  545. hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  546. hp.CanCollide = false
  547. hp.Anchored = false
  548. hp:BreakJoints()
  549. local mf = Instance.new("SpecialMesh")
  550. mf.MeshType = "Brick"
  551. mf.Parent = hp
  552. mf.Scale = Vector3.new(0.65,0.65,0.65)
  553. local bv = Instance.new("BodyVelocity")
  554. bv.Parent = hp
  555. bv.velocity = Vector3.new(0,10,0)
  556. coroutine.resume(coroutine.create(function()
  557. wait(0.9)
  558. for i=1, 9 do
  559. hp.Transparency = hp.Transparency + 0.1
  560. wait()
  561. end
  562. hp:remove()
  563. end))
  564. end
  565. elseif (key == "r") then
  566. if enabled == true then return end
  567. enabled = true
  568. myhum.WalkSpeed = 0
  569. handle2.BrickColor = BrickColor.new(elec)
  570. brick2.BrickColor = handle2.BrickColor
  571. brick3.BrickColor = handle2.BrickColor
  572. cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
  573. for i=1, 6 do
  574. wait(0.01)
  575. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
  576. end
  577. wait(0.35)
  578. tab = {}
  579. for i=1, 50 do
  580. for i=1, 20 do
  581. local a = Instance.new("Part")
  582. a.Parent = workspace
  583. a.formFactor = "Symmetric"
  584. a.Size = Vector3.new(4,1,1)
  585. a.TopSurface = 0
  586. a.BottomSurface = 0
  587. local numb = math.random(1,4)
  588. a.BrickColor = BrickColor.new(cols[numb])
  589. a.Anchored = true
  590. a.CanCollide = false
  591. a.Transparency = 0.3
  592. local mo = Instance.new("SpecialMesh")
  593. mo.Parent = a
  594. mo.MeshType = "Brick"
  595. mo.Scale = Vector3.new(1,0.2,0.2)
  596. a.CFrame = handle2.CFrame
  597. a.CFrame = a.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(2,0,0)
  598. table.insert(tab, a)
  599. end
  600. wait()
  601. for _, v in pairs(tab) do
  602. v:remove()
  603. end
  604. end
  605. for i=1, 7 do
  606. wait(0.01)
  607. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
  608. end
  609. coroutine.resume(coroutine.create(function()
  610. for i=1, 10 do
  611. wait(0.2)
  612. local h = Instance.new("Part")
  613. h.Parent = workspace
  614. h.Shape = "Ball"
  615. h.Size = Vector3.new(3,3,3)
  616. h.TopSurface = 0
  617. h.BottomSurface = 0
  618. local numb = math.random(1,4)
  619. h.BrickColor = BrickColor.new(cols[numb])
  620. h.Anchored = true
  621. h.CanCollide = false
  622. h.Transparency = 0.5
  623. h.CFrame = handle2.CFrame
  624. local function magn(hif)
  625. if hif.Parent.Name == player.Name then return end
  626. local dist = (char.Torso.Position - hif.Position).magnitude
  627. if dist >= 10 then
  628. print(dist)
  629. local hum = hif.Parent:findFirstChild("Humanoid")
  630. if hum ~= nil then
  631. hum.Health = 0
  632. end
  633. end
  634. end
  635. coroutine.resume(coroutine.create(function()
  636. for i=1, 30 do
  637. wait()
  638. magn(char.Torso)
  639. end
  640. end))
  641. coroutine.resume(coroutine.create(function()
  642. for i=1, 30 do
  643. wait(0.04)
  644. h.Size = h.Size + Vector3.new(2,2,2)
  645. h.Transparency = h.Transparency + 0.023
  646. h.CFrame = handle2.CFrame
  647. end
  648. h:remove()
  649. end))
  650. end
  651. end))
  652. for i=1, 19 do
  653. for i=1, 30 do
  654. local f = Instance.new("Part")
  655. f.Parent = workspace
  656. f.formFactor = "Symmetric"
  657. f.Size = Vector3.new(25,1,1)
  658. f.TopSurface = 0
  659. f.BottomSurface = 0
  660. local numb = math.random(1,4)
  661. f.BrickColor = BrickColor.new(cols[numb])
  662. f.Anchored = true
  663. f.CanCollide = false
  664. f.Transparency = 0.3
  665. local mo = Instance.new("SpecialMesh")
  666. mo.Parent = f
  667. mo.MeshType = "Brick"
  668. mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
  669. f.CFrame = handle2.CFrame
  670. f.CFrame = f.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(12.5,0,0)
  671. table.insert(tab, f)
  672. end
  673. wait(0.1)
  674. for _, v in pairs(tab) do
  675. v:remove()
  676. end
  677. end
  678. myhum.WalkSpeed = norm
  679. enabled = false
  680. end
  681. end)
  682. mouse.KeyUp:connect(function(key)
  683. key = key:lower()
  684. if (key == "k") then
  685. hol = false
  686. for i=1, 6 do
  687. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
  688. wait()
  689. end
  690. wa.C1 = original
  691. enabled = false
  692. wait(0.3)
  693. wa.C1 = original
  694. elseif (key == "e") then
  695. hol = false
  696. for i=1, 6 do
  697. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
  698. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
  699. wait()
  700. end
  701. myhum.WalkSpeed = norm
  702. for i=1, 5 do
  703. wait(0.15)
  704. wa.C1 = original
  705. weld.C1 = weporigin
  706. end
  707. enabled = false
  708. end
  709. end)
  710. mouse.Button1Down:connect(function()
  711. e = char.Torso
  712. wait(0.2)
  713. e.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,2.5,0)
  714. end)
  715. end
  716.  
  717. function deselect()
  718. spin = false
  719. for i = 1, 8 do
  720. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  721. wait()
  722. end
  723. for i = 1, 4 do
  724. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  725. wait()
  726. end
  727. toha.Part0 = toha.Parent
  728. toha.Part1 = handle
  729. weld.Part0 = nil
  730. weld.Part1 = nil
  731. wait()
  732. wa.Part0 = nil
  733. wa.Part1 = nil
  734. end
  735. script.Parent.Selected:connect(select)
  736. script.Parent.Deselected:connect(deselect)
Add Comment
Please, Sign In to add comment