Advertisement
brandon5487

Untitled

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