Advertisement
killme123

ROBLOX wand script

Aug 9th, 2016
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.64 KB | None | 0 0
  1. -- Put your name in "YOURNAME"
  2.  
  3. tool = Instance.new("HopperBin")
  4.  
  5.  
  6.  
  7. player = game.Players.useless_lampshade
  8. char = player.Character
  9.  
  10. tool = Instance.new("HopperBin")
  11.  
  12. tool.Parent = player.Backpack
  13.  
  14. script.Parent = tool
  15.  
  16. tool.Name = "Wand"
  17.  
  18.  
  19.  
  20. spin = false
  21.  
  22.  
  23.  
  24. landc = "Earth green"
  25.  
  26. firec = "Bright red"
  27.  
  28. icec = "Light blue"
  29.  
  30. windc = "Institutional white"
  31.  
  32. helthc = "Lime green"
  33.  
  34. elec = "New Yeller"
  35.  
  36.  
  37.  
  38. norm = 18
  39.  
  40.  
  41.  
  42. handle = Instance.new("Part")
  43.  
  44. handle.Parent = game.Lighting
  45.  
  46. handle.Name = "Handle"
  47.  
  48. handle.FormFactor = "Symmetric"
  49.  
  50. handle.Size = Vector3.new(1,4,1)
  51.  
  52. handle.TopSurface = 0
  53.  
  54. handle.BottomSurface = 0
  55.  
  56. handle.BrickColor = BrickColor.new("Black")
  57.  
  58. handle.Anchored = false
  59.  
  60. handle.Position = char["Right Arm"].Position
  61.  
  62. handle.CanCollide = false
  63.  
  64. handle.Locked = true
  65.  
  66. handle2 = Instance.new("Part")
  67.  
  68. handle2.Parent = game.Lighting
  69.  
  70. handle2.Name = "Handle2"
  71.  
  72. handle2.Shape = "Ball"
  73.  
  74. handle2.Size = Vector3.new(1,1,1)
  75.  
  76. handle2.TopSurface = 0
  77.  
  78. handle2.BottomSurface = 0
  79.  
  80. handle2.BrickColor = BrickColor.new("Bright red")
  81.  
  82. handle2.Anchored = false
  83.  
  84. handle2.Position = char["Right Arm"].Position
  85.  
  86. handle2.Transparency = 0.1
  87.  
  88. handle2.CanCollide = false
  89.  
  90. handle2.Locked = true
  91.  
  92.  
  93.  
  94. handle3 = Instance.new("Part")
  95.  
  96. handle3.Parent = game.Lighting
  97.  
  98. handle3.Name = "Handle2"
  99.  
  100. handle3.Shape = "Ball"
  101.  
  102. handle3.Size = Vector3.new(1,1,1)
  103.  
  104. handle3.TopSurface = 0
  105.  
  106. handle3.BottomSurface = 0
  107.  
  108. handle3.BrickColor = BrickColor.new("Black")
  109.  
  110. handle3.Anchored = false
  111.  
  112. handle3.Position = char["Right Arm"].Position
  113.  
  114. handle3.CanCollide = false
  115.  
  116. handle3.Locked = true
  117.  
  118. local m = Instance.new("CylinderMesh")
  119.  
  120. m.Parent = handle
  121.  
  122. m.Scale = Vector3.new(0.42,1,0.42)
  123.  
  124. local m2 = Instance.new("SpecialMesh")
  125.  
  126. m2.Parent = handle2
  127.  
  128. m2.MeshType = "Sphere"
  129.  
  130. m2.Scale = Vector3.new(0.8,0.8,0.8)
  131.  
  132. local m3 = Instance.new("SpecialMesh")
  133.  
  134. m3.Parent = handle3
  135.  
  136. m3.MeshType = "FileMesh"
  137.  
  138. m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  139.  
  140. m3.Scale = Vector3.new(0.4,0.85,0.4)
  141.  
  142. brick1 = Instance.new("Part")
  143.  
  144. brick1.Parent = char
  145.  
  146. brick1.formFactor = "Symmetric"
  147.  
  148. brick1.Size = Vector3.new(1,1,1)
  149.  
  150. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  151.  
  152. brick1.Shape = "Ball"
  153.  
  154. brick1.CanCollide = false
  155.  
  156. brick1.Transparency = 1
  157.  
  158. brick1.Locked = true
  159.  
  160. mesh1 = Instance.new("SpecialMesh")
  161.  
  162. mesh1.Parent = brick1
  163.  
  164. mesh1.MeshType = "Sphere"
  165.  
  166. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  167.  
  168. brick2 = Instance.new("Part")
  169.  
  170. brick2.Parent = game.Lighting
  171.  
  172. brick2.formFactor = "Symmetric"
  173.  
  174. brick2.Size = Vector3.new(1,1,1)
  175.  
  176. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  177.  
  178. brick2.Shape = "Ball"
  179.  
  180. brick2.CanCollide = false
  181.  
  182. brick2.Transparency = 1
  183.  
  184. brick2.BrickColor = handle2.BrickColor
  185.  
  186. brick2.Locked = true
  187.  
  188. mesh2 = Instance.new("SpecialMesh")
  189.  
  190. mesh2.Parent = brick2
  191.  
  192. mesh2.MeshType = "Sphere"
  193.  
  194. mesh2.Scale = Vector3.new(0.5,0.5,0.5)
  195.  
  196. brick3 = Instance.new("Part")
  197.  
  198. brick3.Parent = game.Lighting
  199.  
  200. brick3.formFactor = "Symmetric"
  201.  
  202. brick3.Size = Vector3.new(1,1,1)
  203.  
  204. brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  205.  
  206. brick3.Shape = "Ball"
  207.  
  208. brick3.CanCollide = false
  209.  
  210. brick3.Transparency = 1
  211.  
  212. brick3.BrickColor = handle2.BrickColor
  213.  
  214. brick3.Locked = true
  215.  
  216. mesh3 = Instance.new("SpecialMesh")
  217.  
  218. mesh3.Parent = brick3
  219.  
  220. mesh3.MeshType = "Sphere"
  221.  
  222. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  223.  
  224. wads = Instance.new("Weld")
  225.  
  226. wads.Parent = char.Torso
  227.  
  228. wads.Part0 = wads.Parent
  229.  
  230. wads.Part1 = brick1
  231.  
  232. wads.C1 = CFrame.new(-1.5,-0.5,0)
  233.  
  234. wads2 = Instance.new("Weld")
  235.  
  236. wads2.Parent = handle2
  237.  
  238. wads2.Part0 = wads2.Parent
  239.  
  240. wads2.Part1 = brick2
  241.  
  242. wads2.C1 = CFrame.new(1,0,0)
  243.  
  244. wads3 = Instance.new("Weld")
  245.  
  246. wads3.Parent = handle2
  247.  
  248. wads3.Part0 = wads2.Parent
  249.  
  250. wads3.Part1 = brick2
  251.  
  252. wads3.C1 = CFrame.new(-1,0,0)
  253.  
  254.  
  255.  
  256. wa = Instance.new("Weld")
  257.  
  258. wa.Parent = brick1
  259.  
  260. wa.Part0 = nil
  261.  
  262. wa.Part1 = nil
  263.  
  264.  
  265.  
  266. weld = Instance.new("Weld")
  267.  
  268.  
  269.  
  270. toha = Instance.new("Weld")
  271.  
  272. toha.Parent = char.Torso
  273.  
  274. toha.Part0 = nil
  275.  
  276. toha.Part1 = nil
  277.  
  278. toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)
  279.  
  280.  
  281.  
  282. original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
  283.  
  284. weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  285.  
  286.  
  287.  
  288. myhum = char.Humanoid
  289.  
  290. myhum.WalkSpeed = norm
  291.  
  292.  
  293.  
  294. enabled = false
  295.  
  296. hol = false
  297.  
  298.  
  299.  
  300. function select(mouse, key)
  301.  
  302. wa.Part0 = wa.Parent
  303.  
  304. wa.Part1 = char["Right Arm"]
  305.  
  306. wa.C1 = original
  307.  
  308. weld.Parent = char["Right Arm"]
  309.  
  310. weld.Part0 = nil
  311.  
  312. weld.Part1 = nil
  313.  
  314. weld.C1 = weporigin
  315.  
  316. handle.Parent = char
  317.  
  318. handle2.Parent = char
  319.  
  320. handle3.Parent = char
  321.  
  322. for i = 1, 8 do
  323.  
  324. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  325.  
  326. wait()
  327.  
  328. end
  329.  
  330. for i = 1, 4 do
  331.  
  332. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  333.  
  334. wait()
  335.  
  336. end
  337.  
  338. toha.Part0 = nil
  339.  
  340. toha.Part1 = nil
  341.  
  342. weld.Part0 = weld.Parent
  343.  
  344. weld.Part1 = handle
  345.  
  346. for i = 1, 4 do
  347.  
  348. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
  349.  
  350. wait()
  351.  
  352. end
  353.  
  354. for i = 1, 8 do
  355.  
  356. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  357.  
  358. wait()
  359.  
  360. end
  361.  
  362. wa.C1 = original
  363.  
  364. spin = true
  365.  
  366. brick2.Transparency = 0.3
  367.  
  368. brick2.Parent = char
  369.  
  370. brick3.Transparency = 0.3
  371.  
  372. brick3.Parent = char
  373.  
  374. weld2 = Instance.new("Weld")
  375.  
  376. weld2.Parent = handle
  377.  
  378. weld2.Part0 = weld2.Parent
  379.  
  380. weld2.Part1 = handle2
  381.  
  382. weld2.C1 = CFrame.new(0, 0, 2.1)
  383.  
  384. weld3 = Instance.new("Weld")
  385.  
  386. weld3.Parent = handle
  387.  
  388. weld3.Part0 = weld3.Parent
  389.  
  390. weld3.Part1 = handle3
  391.  
  392. weld3.C1 = CFrame.new(0, 0, 1.4)
  393.  
  394. weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  395.  
  396. weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0)
  397.  
  398. weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0)
  399.  
  400. coroutine.resume(coroutine.create(function()
  401.  
  402. while spin == true do
  403.  
  404. for i=1, 20 do
  405.  
  406. wait()
  407.  
  408. handle2.Transparency = handle2.Transparency + 0.025
  409.  
  410. end
  411.  
  412. for i=1, 20 do
  413.  
  414. wait()
  415.  
  416. handle2.Transparency = handle2.Transparency - 0.025
  417.  
  418. end
  419.  
  420. end
  421.  
  422. end))
  423.  
  424. coroutine.resume(coroutine.create(function()
  425.  
  426. while spin == true do
  427.  
  428. wait()
  429.  
  430. wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  431.  
  432. wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  433.  
  434. local fade = brick2:clone()
  435.  
  436. fade.Parent = char
  437.  
  438. fade.CFrame = brick2.CFrame
  439.  
  440. local weld = wads2:clone()
  441.  
  442. weld.Parent = handle2
  443.  
  444. weld.Part0 = weld.Parent
  445.  
  446. weld.Part1 = fade
  447.  
  448. local fade2 = brick3:clone()
  449.  
  450. fade2.Parent = char
  451.  
  452. fade2.CFrame = brick3.CFrame
  453.  
  454. local weld2 = wads3:clone()
  455.  
  456. weld2.Parent = handle2
  457.  
  458. weld2.Part0 = weld2.Parent
  459.  
  460. weld2.Part1 = fade2
  461.  
  462. coroutine.resume(coroutine.create(function()
  463.  
  464. for i=1, 8 do
  465.  
  466. wait()
  467.  
  468. fade.Transparency = fade.Transparency + 0.12
  469.  
  470. fade2.Transparency = fade2.Transparency + 0.12
  471.  
  472. end
  473.  
  474. fade:remove()
  475.  
  476. fade2:remove()
  477.  
  478. end))
  479.  
  480. end
  481.  
  482. end))
  483.  
  484. enabled = false
  485.  
  486. mouse.KeyDown:connect(function(key)
  487.  
  488. key = key:lower()
  489.  
  490. if (key == "k") then
  491.  
  492. if enabled == true then return end
  493.  
  494. enabled = true
  495.  
  496. hol = true
  497.  
  498. for i=1, 6 do
  499.  
  500. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
  501.  
  502. wait()
  503.  
  504. end
  505.  
  506. handle2.BrickColor = BrickColor.new(landc)
  507.  
  508. brick2.BrickColor = handle2.BrickColor
  509.  
  510. brick3.BrickColor = handle2.BrickColor
  511.  
  512. while hol == true do
  513.  
  514. wait(0.05)
  515.  
  516. local ki = Instance.new("Part")
  517.  
  518. ki.Parent = workspace
  519.  
  520. ki.Name = "Landmon"
  521.  
  522. ki.Size = Vector3.new(1,1,1)
  523.  
  524. ki.BrickColor = handle2.BrickColor
  525.  
  526. ki.TopSurface = 0
  527.  
  528. ki.BottomSurface = 0
  529.  
  530. ki.CanCollide = false
  531.  
  532. ki.Anchored = true
  533.  
  534. ki.CFrame = CFrame.new(mouse.Hit.p)
  535.  
  536. ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
  537.  
  538. local mef = Instance.new("SpecialMesh")
  539.  
  540. mef.Parent = ki
  541.  
  542. mef.MeshType = "Sphere"
  543.  
  544. mef.Scale = Vector3.new(9,16,9)
  545.  
  546. coroutine.resume(coroutine.create(function()
  547.  
  548. for i=1, 5 do
  549.  
  550. wait()
  551.  
  552. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
  553.  
  554. end
  555.  
  556. for i=1, 5 do
  557.  
  558. wait()
  559.  
  560. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
  561.  
  562. end
  563.  
  564. end))
  565.  
  566. coroutine.resume(coroutine.create(function()
  567.  
  568. for i=1, 25 do
  569.  
  570. wait()
  571.  
  572. ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
  573.  
  574. end
  575.  
  576. loo = ki.CFrame
  577.  
  578. ki.CanCollide = true
  579.  
  580. mef.Scale = Vector3.new(1,1,1)
  581.  
  582. ki.Size = Vector3.new(9,16,9)
  583.  
  584. ki.CFrame = loo
  585.  
  586. wait(7)
  587.  
  588. for i=1, 20 do
  589.  
  590. wait()
  591.  
  592. ki.Transparency = ki.Transparency + 0.05
  593.  
  594. end
  595.  
  596. ki:remove()
  597.  
  598. end))
  599.  
  600. end
  601.  
  602. elseif (key == "f") then
  603.  
  604. if enabled == true then return end
  605.  
  606. enabled = true
  607.  
  608. pof = mouse.Hit.p
  609.  
  610. local part = Instance.new("Part")
  611.  
  612. local fire = Instance.new("Fire")
  613.  
  614. fire.Parent = part
  615.  
  616. fire.Heat = 30
  617.  
  618. fire.Size = 40
  619.  
  620. local smoke = Instance.new("Smoke")
  621.  
  622. smoke.Parent = part
  623.  
  624. smoke.RiseVelocity = 2
  625.  
  626. smoke.Size = 20
  627.  
  628. smoke.Color = Color3.new(0,0,0)
  629.  
  630. smoke.Opacity = 1
  631.  
  632. local par = Instance.new("Part")
  633.  
  634. par.Parent = workspace
  635.  
  636. par.Size = Vector3.new(9,1,1)
  637.  
  638. par.Transparency = 0
  639.  
  640. par.Anchored = true
  641.  
  642. par.TopSurface = 0
  643.  
  644. par.BottomSurface = 0
  645.  
  646. par.BrickColor = BrickColor.new(firec)
  647.  
  648. par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  649.  
  650. par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
  651.  
  652. par.CanCollide = false
  653.  
  654. local mes = Instance.new("SpecialMesh")
  655.  
  656. mes.Parent = par
  657.  
  658. mes.MeshType = "Brick"
  659.  
  660. mes.Scale = Vector3.new(1,1,1)
  661.  
  662. local pa = par:clone()
  663.  
  664. pa.Parent = workspace
  665.  
  666. pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  667.  
  668. pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
  669.  
  670. handle2.BrickColor = BrickColor.new(firec)
  671.  
  672. brick2.BrickColor = handle2.BrickColor
  673.  
  674. brick3.BrickColor = handle2.BrickColor
  675.  
  676. for i=1, 10 do
  677.  
  678. wait(0.03)
  679.  
  680. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
  681.  
  682. end
  683.  
  684. for i=1, 4 do
  685.  
  686. for i=1, 3 do
  687.  
  688. wait(0.01)
  689.  
  690. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
  691.  
  692. end
  693.  
  694. for i=1, 3 do
  695.  
  696. wait(0.01)
  697.  
  698. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
  699.  
  700. end
  701.  
  702. end
  703.  
  704. for i=1, 7 do
  705.  
  706. wait(0.01)
  707.  
  708. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
  709.  
  710. end
  711.  
  712. wait(0.6)
  713.  
  714. for i=1, 10 do
  715.  
  716. wait(0.02)
  717.  
  718. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
  719.  
  720. par.Transparency = par.Transparency + 0.1
  721.  
  722. pa.Transparency = pa.Transparency + 0.1
  723.  
  724. mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
  725.  
  726. pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
  727.  
  728. end
  729.  
  730. wait(0.1)
  731.  
  732. pa:remove()
  733.  
  734. par:remove()
  735.  
  736. part.Parent = workspace
  737.  
  738. part.Size = Vector3.new(3,3,3)
  739.  
  740. part.Anchored = true
  741.  
  742. part.CFrame = CFrame.new(pof)
  743.  
  744. part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
  745.  
  746. part.Transparency = 1
  747.  
  748. coroutine.resume(coroutine.create(function()
  749.  
  750. for i=1, 100 do
  751.  
  752. wait()
  753.  
  754. part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
  755.  
  756. end
  757.  
  758. end))
  759.  
  760. local explode = Instance.new("Explosion")
  761.  
  762. explode.Parent = char
  763.  
  764. explode.BlastRadius = 11
  765.  
  766. explode.BlastPressure = 400000
  767.  
  768. explode.Position = part.Position
  769.  
  770. explode.archivable = false
  771.  
  772. wait(0.3)
  773.  
  774. wa.C1 = original
  775.  
  776. wait(0.7)
  777.  
  778. fire.Enabled = false
  779.  
  780. smoke.Enabled = false
  781.  
  782. wait(0.2)
  783.  
  784. part:remove()
  785.  
  786. wait(1)
  787.  
  788. enabled = false
  789.  
  790. elseif (key == "q") then
  791.  
  792. if enabled == true then return end
  793.  
  794. enabled = true
  795.  
  796. handle2.BrickColor = BrickColor.new(windc)
  797.  
  798. brick2.BrickColor = handle2.BrickColor
  799.  
  800. brick3.BrickColor = handle2.BrickColor
  801.  
  802. for i=1, 8 do
  803.  
  804. wait(0.01)
  805.  
  806. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
  807.  
  808. end
  809.  
  810. for i=1, 2 do
  811.  
  812. wait(0.01)
  813.  
  814. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
  815.  
  816. end
  817.  
  818. wait(0.3)
  819.  
  820. for i=1, 2 do
  821.  
  822. wait(0.01)
  823.  
  824. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  825.  
  826. end
  827.  
  828. local p = Instance.new("Part")
  829.  
  830. p.Parent = workspace
  831.  
  832. p.Name = "Sword"
  833.  
  834. p.Size = Vector3.new(1,4,1)
  835.  
  836. p.BottomSurface = 0
  837.  
  838. p.TopSurface = 0
  839.  
  840. p.Anchored = false
  841.  
  842. p.CanCollide = false
  843.  
  844. p.CFrame = handle.CFrame
  845.  
  846. p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
  847.  
  848. p:BreakJoints()
  849.  
  850. local mt = Instance.new("SpecialMesh")
  851.  
  852. mt.Parent = p
  853.  
  854. mt.MeshType = "FileMesh"
  855.  
  856. mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
  857.  
  858. mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
  859.  
  860. local bv = Instance.new("BodyVelocity")
  861.  
  862. bv.Parent = p
  863.  
  864. bv.velocity = char.Torso.CFrame.lookVector * 45
  865.  
  866. local bva = Instance.new("BodyAngularVelocity")
  867.  
  868. bva.Parent = p
  869.  
  870. bva.angularvelocity = Vector3.new(0,14,0)
  871.  
  872. p.Touched:connect(function(hit)
  873.  
  874. if hit.Parent.Name == player.Name then return end
  875.  
  876. local hum = hit.Parent:findFirstChild("Humanoid")
  877.  
  878. if hum ~= nil then
  879.  
  880. local hed = hit.Parent:findFirstChild("Head")
  881.  
  882. if hed ~= nil then
  883.  
  884. for i=1, 5 do
  885.  
  886. wait()
  887.  
  888. hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
  889.  
  890. end
  891.  
  892. hum.Health = 0
  893.  
  894. wait(0.05)
  895.  
  896. hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
  897.  
  898. hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  899.  
  900. end
  901.  
  902. hum.Health = 0
  903.  
  904. end
  905.  
  906. end)
  907.  
  908. local spi = true
  909.  
  910. coroutine.resume(coroutine.create(function()
  911.  
  912. while spi == true do
  913.  
  914. local fad = p:clone()
  915.  
  916. fad.Parent = workspace
  917.  
  918. fad.BrickColor = BrickColor.new(windc)
  919.  
  920. fad.Transparency = 0.2
  921.  
  922. fad.Mesh.TextureId = "Clear"
  923.  
  924. fad.Anchored = true
  925.  
  926. coroutine.resume(coroutine.create(function()
  927.  
  928. for i=1, 8 do
  929.  
  930. wait()
  931.  
  932. fad.Transparency = fad.Transparency + 0.1
  933.  
  934. end
  935.  
  936. fad:remove()
  937.  
  938. end))
  939.  
  940. wait()
  941.  
  942. end
  943.  
  944. end))
  945.  
  946. for i=1, 4 do
  947.  
  948. wait(0.01)
  949.  
  950. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  951.  
  952. end
  953.  
  954. wait(0.3)
  955.  
  956. for i=1, 7 do
  957.  
  958. wait(0.01)
  959.  
  960. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
  961.  
  962. end
  963.  
  964. wa.C1 = original
  965.  
  966. wait(0.3)
  967.  
  968. enabled = false
  969.  
  970. wait(1.2)
  971.  
  972. spi = false
  973.  
  974. wait()
  975.  
  976. p:remove()
  977.  
  978. elseif (key == "e") then
  979.  
  980. if enabled == true then return end
  981.  
  982. enabled = true
  983.  
  984. myhum.WalkSpeed = 0
  985.  
  986. handle2.BrickColor = BrickColor.new(helthc)
  987.  
  988. brick2.BrickColor = handle2.BrickColor
  989.  
  990. brick3.BrickColor = handle2.BrickColor
  991.  
  992. hol = true
  993.  
  994. for i=1, 6 do
  995.  
  996. wait(0.01)
  997.  
  998. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
  999.  
  1000. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
  1001.  
  1002. end
  1003.  
  1004. wait(0.5)
  1005.  
  1006. for i=1, 3 do
  1007.  
  1008. wait(0.01)
  1009.  
  1010. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
  1011.  
  1012. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
  1013.  
  1014. end
  1015.  
  1016. local pf = Instance.new("Part")
  1017.  
  1018. pf.Parent = workspace
  1019.  
  1020. pf.Name = "Healthbump"
  1021.  
  1022. pf.Size = Vector3.new(7,1,7)
  1023.  
  1024. pf.BottomSurface = 0
  1025.  
  1026. pf.TopSurface = 0
  1027.  
  1028. pf.Anchored = true
  1029.  
  1030. pf.CanCollide = false
  1031.  
  1032. pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
  1033.  
  1034. pf.Transparency = 0.3
  1035.  
  1036. pf.BrickColor = handle2.BrickColor
  1037.  
  1038. local meg = Instance.new("CylinderMesh")
  1039.  
  1040. meg.Parent = pf
  1041.  
  1042. meg.Scale = Vector3.new(0.6,0.8,0.6)
  1043.  
  1044. hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
  1045.  
  1046. coroutine.resume(coroutine.create(function()
  1047.  
  1048. for i=1, 50 do
  1049.  
  1050. wait()
  1051.  
  1052. pf.Transparency = pf.Transparency + 0.02
  1053.  
  1054. meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  1055.  
  1056. end
  1057.  
  1058. end))
  1059.  
  1060. while hol == true do
  1061.  
  1062. wait(0)
  1063.  
  1064. myhum.Health = myhum.Health + 0.5
  1065.  
  1066. local chanc = math.random(1,20)
  1067.  
  1068. if chanc == 8 then
  1069.  
  1070. coroutine.resume(coroutine.create(function()
  1071.  
  1072. pf.Transparency = 0.3
  1073.  
  1074. meg.Scale = Vector3.new(0.6,0.8,0.6)
  1075.  
  1076. for i=1, 50 do
  1077.  
  1078. wait()
  1079.  
  1080. pf.Transparency = pf.Transparency + 0.02
  1081.  
  1082. meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  1083.  
  1084. end
  1085.  
  1086. end))
  1087.  
  1088. end
  1089.  
  1090. local hp = Instance.new("Part")
  1091.  
  1092. hp.Parent = workspace
  1093.  
  1094. hp.formFactor = "Symmetric"
  1095.  
  1096. local randsiz = math.random(1,2)
  1097.  
  1098. local col = math.random(1,4)
  1099.  
  1100. hp.Size = Vector3.new(randsiz,randsiz,randsiz)
  1101.  
  1102. hp.BrickColor = BrickColor.new(hecols[col])
  1103.  
  1104. hp.TopSurface = 0
  1105.  
  1106. hp.BottomSurface = 0
  1107.  
  1108. hp.Transparency = 0.1
  1109.  
  1110. hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
  1111.  
  1112. hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  1113.  
  1114. hp.CanCollide = false
  1115.  
  1116. hp.Anchored = false
  1117.  
  1118. hp:BreakJoints()
  1119.  
  1120. local mf = Instance.new("SpecialMesh")
  1121.  
  1122. mf.MeshType = "Brick"
  1123.  
  1124. mf.Parent = hp
  1125.  
  1126. mf.Scale = Vector3.new(0.65,0.65,0.65)
  1127.  
  1128. local bv = Instance.new("BodyVelocity")
  1129.  
  1130. bv.Parent = hp
  1131.  
  1132. bv.velocity = Vector3.new(0,10,0)
  1133.  
  1134. coroutine.resume(coroutine.create(function()
  1135.  
  1136. wait(0.9)
  1137.  
  1138. for i=1, 9 do
  1139.  
  1140. hp.Transparency = hp.Transparency + 0.1
  1141.  
  1142. wait()
  1143.  
  1144. end
  1145.  
  1146. hp:remove()
  1147.  
  1148. end))
  1149.  
  1150. end
  1151.  
  1152. elseif (key == "r") then
  1153.  
  1154. if enabled == true then return end
  1155.  
  1156. enabled = true
  1157.  
  1158. myhum.WalkSpeed = 0
  1159.  
  1160. handle2.BrickColor = BrickColor.new(elec)
  1161.  
  1162. brick2.BrickColor = handle2.BrickColor
  1163.  
  1164. brick3.BrickColor = handle2.BrickColor
  1165.  
  1166. cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
  1167.  
  1168. for i=1, 6 do
  1169.  
  1170. wait(0.01)
  1171.  
  1172. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
  1173.  
  1174. end
  1175.  
  1176. wait(0.35)
  1177.  
  1178. tab = {}
  1179.  
  1180. for i=1, 50 do
  1181.  
  1182. for i=1, 20 do
  1183.  
  1184. local a = Instance.new("Part")
  1185.  
  1186. a.Parent = workspace
  1187.  
  1188. a.formFactor = "Symmetric"
  1189.  
  1190. a.Size = Vector3.new(4,1,1)
  1191.  
  1192. a.TopSurface = 0
  1193.  
  1194. a.BottomSurface = 0
  1195.  
  1196. local numb = math.random(1,4)
  1197.  
  1198. a.BrickColor = BrickColor.new(cols[numb])
  1199.  
  1200. a.Anchored = true
  1201.  
  1202. a.CanCollide = false
  1203.  
  1204. a.Transparency = 0.3
  1205.  
  1206. local mo = Instance.new("SpecialMesh")
  1207.  
  1208. mo.Parent = a
  1209.  
  1210. mo.MeshType = "Brick"
  1211.  
  1212. mo.Scale = Vector3.new(1,0.2,0.2)
  1213.  
  1214. a.CFrame = handle2.CFrame
  1215.  
  1216. 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)
  1217.  
  1218. table.insert(tab, a)
  1219.  
  1220. end
  1221.  
  1222. wait()
  1223.  
  1224. for _, v in pairs(tab) do
  1225.  
  1226. v:remove()
  1227.  
  1228. end
  1229.  
  1230. end
  1231.  
  1232. for i=1, 7 do
  1233.  
  1234. wait(0.01)
  1235.  
  1236. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
  1237.  
  1238. end
  1239.  
  1240. coroutine.resume(coroutine.create(function()
  1241.  
  1242. for i=1, 10 do
  1243.  
  1244. wait(0.2)
  1245.  
  1246. local h = Instance.new("Part")
  1247.  
  1248. h.Parent = workspace
  1249.  
  1250. h.Shape = "Ball"
  1251.  
  1252. h.Size = Vector3.new(3,3,3)
  1253.  
  1254. h.TopSurface = 0
  1255.  
  1256. h.BottomSurface = 0
  1257.  
  1258. local numb = math.random(1,4)
  1259.  
  1260. h.BrickColor = BrickColor.new(cols[numb])
  1261.  
  1262. h.Anchored = true
  1263.  
  1264. h.CanCollide = false
  1265.  
  1266. h.Transparency = 0.5
  1267.  
  1268. h.CFrame = handle2.CFrame
  1269.  
  1270. local function magn(hif)
  1271.  
  1272. if hif.Parent.Name == player.Name then return end
  1273.  
  1274. local dist = (char.Torso.Position - hif.Position).magnitude
  1275.  
  1276. if dist >= 10 then
  1277.  
  1278. print(dist)
  1279.  
  1280. local hum = hif.Parent:findFirstChild("Humanoid")
  1281.  
  1282. if hum ~= nil then
  1283.  
  1284. hum.Health = 0
  1285.  
  1286. end
  1287.  
  1288. end
  1289.  
  1290. end
  1291.  
  1292. coroutine.resume(coroutine.create(function()
  1293.  
  1294. for i=1, 30 do
  1295.  
  1296. wait()
  1297.  
  1298. magn(char.Torso)
  1299.  
  1300. end
  1301.  
  1302. end))
  1303.  
  1304. coroutine.resume(coroutine.create(function()
  1305.  
  1306. for i=1, 30 do
  1307.  
  1308. wait(0.04)
  1309.  
  1310. h.Size = h.Size + Vector3.new(2,2,2)
  1311.  
  1312. h.Transparency = h.Transparency + 0.023
  1313.  
  1314. h.CFrame = handle2.CFrame
  1315.  
  1316. end
  1317.  
  1318. h:remove()
  1319.  
  1320. end))
  1321.  
  1322. end
  1323.  
  1324. end))
  1325.  
  1326. for i=1, 19 do
  1327.  
  1328. for i=1, 30 do
  1329.  
  1330. local f = Instance.new("Part")
  1331.  
  1332. f.Parent = workspace
  1333.  
  1334. f.formFactor = "Symmetric"
  1335.  
  1336. f.Size = Vector3.new(25,1,1)
  1337.  
  1338. f.TopSurface = 0
  1339.  
  1340. f.BottomSurface = 0
  1341.  
  1342. local numb = math.random(1,4)
  1343.  
  1344. f.BrickColor = BrickColor.new(cols[numb])
  1345.  
  1346. f.Anchored = true
  1347.  
  1348. f.CanCollide = false
  1349.  
  1350. f.Transparency = 0.3
  1351.  
  1352. local mo = Instance.new("SpecialMesh")
  1353.  
  1354. mo.Parent = f
  1355.  
  1356. mo.MeshType = "Brick"
  1357.  
  1358. mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
  1359.  
  1360. f.CFrame = handle2.CFrame
  1361.  
  1362. 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)
  1363.  
  1364. table.insert(tab, f)
  1365.  
  1366. end
  1367.  
  1368. wait(0.1)
  1369.  
  1370. for _, v in pairs(tab) do
  1371.  
  1372. v:remove()
  1373.  
  1374. end
  1375.  
  1376. end
  1377.  
  1378. myhum.WalkSpeed = norm
  1379.  
  1380. enabled = false
  1381.  
  1382. end
  1383.  
  1384. end)
  1385.  
  1386. mouse.KeyUp:connect(function(key)
  1387.  
  1388. key = key:lower()
  1389.  
  1390. if (key == "k") then
  1391.  
  1392. hol = false
  1393.  
  1394. for i=1, 6 do
  1395.  
  1396. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
  1397.  
  1398. wait()
  1399.  
  1400. end
  1401.  
  1402. wa.C1 = original
  1403.  
  1404. enabled = false
  1405.  
  1406. wait(0.3)
  1407.  
  1408. wa.C1 = original
  1409.  
  1410. elseif (key == "e") then
  1411.  
  1412. hol = false
  1413.  
  1414. for i=1, 6 do
  1415.  
  1416. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
  1417.  
  1418. weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
  1419.  
  1420. wait()
  1421.  
  1422. end
  1423.  
  1424. myhum.WalkSpeed = norm
  1425.  
  1426. for i=1, 5 do
  1427.  
  1428. wait(0.15)
  1429.  
  1430. wa.C1 = original
  1431.  
  1432. weld.C1 = weporigin
  1433.  
  1434. end
  1435.  
  1436. enabled = false
  1437.  
  1438. end
  1439.  
  1440. end)
  1441.  
  1442. mouse.Button1Down:connect(function()
  1443.  
  1444. e = char.Torso
  1445.  
  1446. wait(0.2)
  1447.  
  1448. e.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,2.5,0)
  1449.  
  1450. end)
  1451.  
  1452. end
  1453.  
  1454.  
  1455.  
  1456. function deselect()
  1457.  
  1458. spin = false
  1459.  
  1460. for i = 1, 8 do
  1461.  
  1462. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  1463.  
  1464. wait()
  1465.  
  1466. end
  1467.  
  1468. for i = 1, 4 do
  1469.  
  1470. wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  1471.  
  1472. wait()
  1473.  
  1474. end
  1475.  
  1476. toha.Part0 = toha.Parent
  1477.  
  1478. toha.Part1 = handle
  1479.  
  1480. weld.Part0 = nil
  1481.  
  1482. weld.Part1 = nil
  1483.  
  1484. wait()
  1485.  
  1486. wa.Part0 = nil
  1487.  
  1488. wa.Part1 = nil
  1489.  
  1490. end
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496. script.Parent.Selected:connect(select)
  1497.  
  1498. script.Parent.Deselected:connect(deselect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement