Advertisement
clockwatcher00f

soul blaster

Jul 31st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.67 KB | None | 0 0
  1. -----------------Soul Blaster V.5.61 is now offical!--------------------------------------------------------------------------------
  2.  
  3. local modeld
  4.  
  5. local aable = true
  6.  
  7. local animate
  8.  
  9. player = game:service("Players").trollmaster100z
  10.  
  11. char = player.Character
  12.  
  13. Name=char.Name
  14.  
  15. humanoid = char.Humanoid
  16.  
  17. Allies = {
  18.  
  19. yfc = true
  20.  
  21. }
  22.  
  23. Allies[player.Name] = true
  24.  
  25. suit = Instance.new("Model", player.Character)
  26.  
  27. color = "Really black"
  28.  
  29. damage = 10
  30.  
  31. spdamage = 1
  32.  
  33. m=Instance.new("Model")--------For the wave and spikes
  34.  
  35. m.Parent=char
  36.  
  37. m.Name="Gourd"
  38.  
  39. saber = Instance.new("HopperBin", player.Backpack)--------The tool
  40.  
  41. saber.Name = "Soul Blaster"
  42.  
  43. saberh = Instance.new("Part", saber)------The Handle(Stick)
  44.  
  45. saberh.Name = "Handle"
  46.  
  47. saberh.FormFactor = "Custom"
  48.  
  49. saberh.TopSurface = "Smooth"
  50.  
  51. saberh.BottomSurface = "Smooth"
  52.  
  53. saberh.Transparency = 0
  54.  
  55. saberh.Size = Vector3.new(0.1, 4, 0.1)
  56.  
  57. saberh.BrickColor = BrickColor.new(color)
  58.  
  59. crystal = Instance.new("Part",saber)-------The Crystal
  60.  
  61. crystal.Name = "Crystal"
  62.  
  63. crystal.FormFactor = "Custom"
  64.  
  65. crystal.TopSurface = "Smooth"
  66.  
  67. crystal.BottomSurface = "Smooth"
  68.  
  69. crystal.Size = Vector3.new(1, 1, 1)
  70.  
  71. crystal.Reflectance = 0.25
  72.  
  73. crystal.BrickColor = BrickColor.new("Pastel Blue")
  74.  
  75. crystalMesh = Instance.new("SpecialMesh",crystal)-------The crystal's mesh
  76.  
  77. crystalMesh.MeshId = "http://www.roblox.com/Asset/?id=975ffre444236362"
  78.  
  79. crystalMesh.Scale=Vector3.new(0.8, 0.8, 0.8)
  80.  
  81. bsaber1 = Instance.new("Part", saber)------One of the circulating balls
  82.  
  83. bsaber1.Name = "Handle2"
  84.  
  85. bsaber1.FormFactor = "Custom"
  86.  
  87. bsaber1.TopSurface = "Smooth"
  88.  
  89. bsaber1.BottomSurface = "Smooth"
  90.  
  91. bsaber1.Transparency = 0
  92.  
  93. bsaber1.Size = Vector3.new(0.4, 0.4, 0.4)
  94.  
  95. bsaber1.BrickColor = BrickColor.new("Institutional white")
  96.  
  97. bsaber2 = Instance.new("Part", saber)-------The other circulating ball
  98.  
  99. bsaber2.Name = "Handle3"
  100.  
  101. bsaber2.FormFactor = "Custom"
  102.  
  103. bsaber2.TopSurface = "Smooth"
  104.  
  105. bsaber2.BottomSurface = "Smooth"
  106.  
  107. bsaber2.Transparency = 0
  108.  
  109. bsaber2.Size = Vector3.new(0.4, 0.4, 0.4)
  110.  
  111. bsaber2.BrickColor = BrickColor.new("Institutional white")
  112.  
  113. Instance.new("SpecialMesh", bsaber1).MeshType = "Sphere"
  114.  
  115. Instance.new("SpecialMesh", bsaber2).MeshType = "Sphere"
  116.  
  117. bsaber3 = bsaber1:clone()
  118.  
  119. bsaber4 = bsaber2:clone()
  120.  
  121. bsaber3.Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  122.  
  123. bsaber4.Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  124.  
  125. bsaber3.Transparency = 0.8
  126.  
  127. bsaber4.Transparency = 0.8
  128.  
  129. local mousefunc = 1 -----Mouse functions
  130.  
  131. local minfunc = 1
  132.  
  133. local maxfunc = 7
  134.  
  135. local func1 = BrickColor.new("Pastel Blue")
  136.  
  137. local func2 = BrickColor.new("Lime green")
  138.  
  139. local func3 = BrickColor.new("New Yeller")
  140.  
  141. local func4 = BrickColor.new("White")
  142.  
  143. local func5 = BrickColor.new("Bright blue")
  144.  
  145. local func6 = BrickColor.new("Light reddish violet")
  146.  
  147. local func7 = BrickColor.new("Pastel green")
  148.  
  149. for i=1,1 do --------Tool counter(Removes the staff when there is more than one)
  150.  
  151. local sabercheck = player.Backpack:GetChildren() ------To remove the staff when it's not equipped
  152.  
  153. for i=1,#sabercheck do
  154.  
  155. if sabercheck[i].Name == saber.Name and sabercheck[i] ~= saber then
  156.  
  157. sabercheck[i]:Remove()
  158.  
  159. else
  160.  
  161. end
  162.  
  163. end
  164.  
  165. local sabercheck1 = char:GetChildren()-------To remove the staff when it's equipped
  166.  
  167. for i=1,#sabercheck1 do
  168.  
  169. if sabercheck1[i].Name == saber.Name and sabercheck1[i] ~= saber then
  170.  
  171. sabercheck1[i]:Remove()
  172.  
  173. else
  174.  
  175. end
  176.  
  177. end
  178.  
  179. local sabercheck2 = char:GetChildren()
  180.  
  181. for i=1,#sabercheck2 do
  182.  
  183. if sabercheck2[i].Name == "AutioradiousModel" then
  184.  
  185. sabercheck2[i]:remove()
  186.  
  187. end
  188.  
  189. end
  190.  
  191. end
  192.  
  193. function Revolve(p, n)----------The circulation of the balls
  194.  
  195. local rweld = Instance.new("Weld", p)
  196.  
  197. rweld.Part0 = saberh
  198.  
  199. rweld.Part1 = p
  200.  
  201. rweld.C0 = CFrame.new(0, 2, 0)
  202.  
  203. coroutine.resume(coroutine.create(function()
  204.  
  205. for i = n, math.huge, 2 do
  206.  
  207. local pos = Vector3.new(math.sin(i/12) * 0.75, 2, math.cos(i/12) * 0.75)
  208.  
  209. rweld.C0 = CFrame.new(pos)
  210.  
  211. wait()
  212.  
  213. wait()
  214.  
  215. end
  216.  
  217. end))
  218.  
  219. end
  220.  
  221. CatchMsg = function(Msg)-----------Dialog
  222.  
  223. if game:service("Players").LocalPlayer.Character ~= nil then
  224.  
  225. pcall(function() game:service("Chat"):Chat(game:service("Players").LocalPlayer.Character.Head, Msg, Enum.ChatColor.Blue) end)
  226.  
  227. end
  228.  
  229. end
  230.  
  231. function onMove(mouse) --------For the moves that involve your mouse's position
  232.  
  233. MousePos = mouse.hit.p
  234.  
  235. end
  236.  
  237. function CreateModel()-----------Makes the staff go on your back
  238.  
  239. local Mo = Instance.new("Model", char)
  240.  
  241. Mo.Name = "AutioradiousModel"
  242.  
  243.  
  244.  
  245. local mweld = Instance.new("Weld", Mo)
  246.  
  247. mweld.Part0 = char.Torso
  248.  
  249. mweld.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(0, 0, math.rad(45))
  250.  
  251.  
  252.  
  253. local msaber = saberh:clone()
  254.  
  255. msaber.Parent = Mo
  256.  
  257. mweld.Part1 = msaber
  258.  
  259.  
  260.  
  261. local crystalm = Instance.new("Part",Mo)
  262.  
  263. crystalm.Name = "Crystal"
  264.  
  265. crystalm.FormFactor = "Custom"
  266.  
  267. crystalm.TopSurface = "Smooth"
  268.  
  269. crystalm.BottomSurface = "Smooth"
  270.  
  271. crystalm.Size = Vector3.new(1, 1, 1)
  272.  
  273. crystalm.Reflectance = 0.25
  274.  
  275. crystalm.BrickColor = crystal.BrickColor
  276.  
  277. local crystalMeshm = Instance.new("SpecialMesh",crystalm)
  278.  
  279. crystalMeshm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  280.  
  281. crystalMeshm.Scale=Vector3.new(0.8, 0.8, 0.8)
  282.  
  283.  
  284.  
  285. local mweldc = Instance.new("Weld", Mo)
  286.  
  287. mweldc.Part0 = msaber
  288.  
  289. mweldc.Part1 = crystalm
  290.  
  291. mweldc.C0 = CFrame.new(0, 1.6, 0) * CFrame.Angles(0, 0, 0)
  292.  
  293.  
  294.  
  295. return Mo
  296.  
  297. end
  298.  
  299. -----------------------------------Moves--------------------------------
  300.  
  301. function Spin()-------Makes you spin
  302.  
  303. print()
  304.  
  305. onOff = not onOff
  306.  
  307. while onOff == true do
  308.  
  309. wait(.000000001)
  310.  
  311. humanoid.WalkSpeed = 0
  312.  
  313. player.Character.Torso.CFrame = player.Character.Torso.CFrame * CFrame.Angles(0,2,0)
  314.  
  315. end
  316.  
  317. end
  318.  
  319. function Wave()------The Tsunami
  320.  
  321. if MousePos.x>char.Torso.Position.x then
  322.  
  323. Deg=-2
  324.  
  325. Fre=-120
  326.  
  327. else
  328.  
  329. Deg=2
  330.  
  331. Fre=120
  332.  
  333. end
  334.  
  335. local X=char.Torso.CFrame.x
  336.  
  337. for i=0,Fre,Deg do
  338.  
  339. wait()
  340.  
  341. local p=Instance.new("Part")
  342.  
  343. p.Parent=Gourd
  344.  
  345. p.Size=Vector3.new(2,1,game.Workspace.Base.Size.z)
  346.  
  347. p.BrickColor=BrickColor.new("Bright blue")
  348.  
  349. p.Anchored=true
  350.  
  351. p.CFrame=CFrame.new(X,0,game.Workspace.Base.Position.z)*CFrame.new(-i,0,0)
  352.  
  353. local m=Instance.new("BlockMesh")
  354.  
  355. m.Parent=p
  356.  
  357. m.Scale=Vector3.new(1,1.2,1.005)
  358.  
  359. Delay(0,function()
  360.  
  361. local p=p
  362.  
  363. local m=m
  364.  
  365. for i=1,9,0.25 do
  366.  
  367. m.Scale=m.Scale+Vector3.new(0,.25,0)
  368.  
  369. wait()
  370.  
  371. end
  372.  
  373. wait()
  374.  
  375. for i=1,9,0.25 do
  376.  
  377. m.Scale=m.Scale+Vector3.new(0,-.25,0)
  378.  
  379. wait()
  380.  
  381. end
  382.  
  383. p:remove()
  384.  
  385. end)
  386.  
  387. for _,v in pairs(game.Players:GetPlayers()) do
  388.  
  389. if v.Character and v.Character:findFirstChild("Head") then
  390.  
  391. if v.Character.Head.Position.y<(workspace.Base.Position.y+9.5) then
  392.  
  393. if v.Character.Torso.Position.x<p.Position.x+p.Size.x/2 and v.Character.Torso.Position.x>p.Position.x-p.Size.x/2 then
  394.  
  395. Hit1(v.Character.Head)
  396.  
  397. end
  398.  
  399. end
  400.  
  401. end
  402.  
  403. end
  404.  
  405. end
  406.  
  407. end
  408.  
  409. function Spike()--------The circular spike move
  410.  
  411. local Pos=char.Torso.Position
  412.  
  413. for ii=8,25,3 do
  414.  
  415. wait()
  416.  
  417. for i=0,360,360/16 do
  418.  
  419. local x = (ii) * math.sin(i) + Pos.x
  420.  
  421. local y = Pos.y-4
  422.  
  423. local z = (ii)* math.cos (i) + Pos.z
  424.  
  425. local brick = Instance.new("Part")
  426.  
  427. brick.Size=Vector3.new(1,1,1)
  428.  
  429. brick.Anchored=true
  430.  
  431. brick.BrickColor=BrickColor.new("Medium stone grey")
  432.  
  433. brick.Parent=Gourd
  434.  
  435. brick.CFrame = CFrame.new(x,y,z)
  436.  
  437. brick.Touched:connect(sphit)
  438.  
  439. local mesh = Instance.new("SpecialMesh")
  440.  
  441. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  442.  
  443. mesh.Parent = brick
  444.  
  445. mesh.Scale=Vector3.new(0.6, 3.4, 0.6)
  446.  
  447. Delay(0,function()
  448.  
  449. local p=brick
  450.  
  451. local m=mesh
  452.  
  453. Spin()
  454.  
  455. for i=1,10 do
  456.  
  457. m.Scale=m.Scale+Vector3.new(0,.25,0)
  458.  
  459. p.CFrame=p.CFrame*CFrame.new(0,0.25,0)
  460.  
  461. wait()
  462.  
  463. end
  464.  
  465. onOff = false
  466.  
  467. for i=1,10 do
  468.  
  469. p.Transparency=i/10
  470.  
  471. wait(0.05)
  472.  
  473. end
  474.  
  475. humanoid.WalkSpeed = 16
  476.  
  477. p:remove()
  478.  
  479. end)
  480.  
  481. end
  482.  
  483. for _,v in pairs(game.Players:GetPlayers()) do
  484.  
  485. if v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Pos).magnitude<ii then
  486.  
  487. sphit(v)
  488.  
  489. end
  490.  
  491. end
  492.  
  493. wait(0.08)
  494.  
  495. end
  496.  
  497. end
  498.  
  499. ---------------------------------------Damage Functions-----------------------------------
  500.  
  501. function Hit1(p)
  502.  
  503. if not Allies[p.Parent.Name] then
  504.  
  505. Delay(0,function()
  506.  
  507. p.Anchored=true
  508.  
  509. p.Name="Sand"
  510.  
  511. p.BrickColor=BrickColor.new("Medium stone grey")
  512.  
  513. for i=1,5 do
  514.  
  515. p.Transparency=0
  516.  
  517. wait(0.1)
  518.  
  519. end
  520.  
  521. p:remove()
  522.  
  523. end)
  524.  
  525. end
  526.  
  527. end
  528.  
  529. function sphit(h)
  530.  
  531. if h.Parent.Name == player.Name then
  532.  
  533. return end
  534.  
  535. local hum = h.Parent:findFirstChild("Humanoid")
  536.  
  537. if hum ~= nil then
  538.  
  539. hum:TakeDamage(spdamage)
  540.  
  541. end
  542.  
  543. end
  544.  
  545. function hit(h)
  546.  
  547. if h.Parent.Name == player.Name then
  548.  
  549. return end
  550.  
  551. local hum = h.Parent:findFirstChild("Humanoid")
  552.  
  553. if hum ~= nil then
  554.  
  555. hum:TakeDamage(damage)
  556.  
  557. end
  558.  
  559. end
  560.  
  561. -------------------------------------Controls for the moves----------------------------
  562.  
  563. function onKeyDown(key)
  564.  
  565. kdown = true
  566.  
  567. key:lower()
  568.  
  569. print(key)
  570.  
  571. if key == "v" then ------Spikes
  572.  
  573. if aable then
  574.  
  575. aable = false
  576.  
  577. rs = player.Character.Torso["Right Shoulder"]
  578.  
  579. ls = player.Character.Torso["Left Shoulder"]
  580.  
  581. local speed = rs.MaxVelocity
  582.  
  583. for a = 1, 9 do
  584.  
  585. rs.C0 = rs.C0 * CFrame.Angles(0,0.1,0)
  586.  
  587. ls.C0 = ls.C0 * CFrame.Angles(0,-0.1,0)
  588.  
  589. end
  590.  
  591. rs.MaxVelocity = 0.7
  592.  
  593. ls.MaxVelocity = 0.7
  594.  
  595. for i = 1, 5 do
  596.  
  597. wait()
  598.  
  599. rs.DesiredAngle = 2.5
  600.  
  601. ls.DesiredAngle = -2.5
  602.  
  603. end
  604.  
  605. rs.MaxVelocity = 0
  606.  
  607. ls.MaxVelocity = 0
  608.  
  609. wait(0.5)
  610.  
  611. rs.MaxVelocity = 0.2
  612.  
  613. ls.MaxVelocity = 0.2
  614.  
  615. Spike()
  616.  
  617. for i = 1, 80 do
  618.  
  619. wait()
  620.  
  621. rs.DesiredAngle = 1.2
  622.  
  623. ls.DesiredAngle = -1.2
  624.  
  625. end
  626.  
  627. rs.DesiredAngle = 0
  628.  
  629. ls.DesiredAngle = 0
  630.  
  631. rs.MaxVelocity = speed
  632.  
  633. ls.MaxVelocity = speed
  634.  
  635. for a = 1, 9 do
  636.  
  637. wait()
  638.  
  639. rs.C0 = rs.C0 * CFrame.Angles(0,-0.1,0)
  640.  
  641. ls.C0 = ls.C0 * CFrame.Angles(0,0.1,0)
  642.  
  643. end
  644.  
  645. aable = true
  646.  
  647. end
  648.  
  649. elseif key == "c" then
  650.  
  651. if aable then
  652.  
  653. aable = false
  654.  
  655. rs = player.Character.Torso["Right Shoulder"]
  656.  
  657. ls = player.Character.Torso["Left Shoulder"]
  658.  
  659. local speed = rs.MaxVelocity
  660.  
  661. for a = 1, 9 do
  662.  
  663. rs.C0 = rs.C0 * CFrame.Angles(0,0.1,0)
  664.  
  665. ls.C0 = ls.C0 * CFrame.Angles(0,-0.1,0)
  666.  
  667. end
  668.  
  669. rs.MaxVelocity = 0.7
  670.  
  671. ls.MaxVelocity = 0.7
  672.  
  673. for i = 1, 5 do
  674.  
  675. wait()
  676.  
  677. rs.DesiredAngle = 2.5
  678.  
  679. ls.DesiredAngle = -2.5
  680.  
  681. end
  682.  
  683. rs.MaxVelocity = 0
  684.  
  685. ls.MaxVelocity = 0
  686.  
  687. wait(0.5)
  688.  
  689. rs.MaxVelocity = 0.2
  690.  
  691. ls.MaxVelocity = 0.2
  692.  
  693. local thrust = Instance.new("BodyVelocity")
  694.  
  695. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  696.  
  697. thrust.velocity = Vector3.new(0,50,0)
  698.  
  699. thrust.maxForce = Vector3.new(0,4e+050,0)
  700.  
  701. wait(0.12)
  702.  
  703. Wave()
  704.  
  705. thrust.Parent=nil
  706.  
  707. for i = 1, 80 do
  708.  
  709. wait()
  710.  
  711. rs.DesiredAngle = 1.2
  712.  
  713. ls.DesiredAngle = -1.2
  714.  
  715. end
  716.  
  717. rs.DesiredAngle = 0
  718.  
  719. ls.DesiredAngle = 0
  720.  
  721. rs.MaxVelocity = speed
  722.  
  723. ls.MaxVelocity = speed
  724.  
  725. for a = 1, 9 do
  726.  
  727. wait()
  728.  
  729. rs.C0 = rs.C0 * CFrame.Angles(0,-0.1,0)
  730.  
  731. ls.C0 = ls.C0 * CFrame.Angles(0,0.1,0)
  732.  
  733. end
  734.  
  735. aable = true
  736.  
  737. end
  738.  
  739. elseif key == "t" then ---- Teleport
  740.  
  741. char:MoveTo(MousePos)
  742.  
  743. elseif key == "f" then ----Platform
  744.  
  745.  
  746.  
  747. local plat = Instance.new("Part")
  748.  
  749. plat.Parent = Workspace
  750.  
  751. plat.Size = Vector3.new(10,1,10)
  752.  
  753. plat.formFactor = "Symmetric"
  754.  
  755. plat.CFrame = char.Torso.CFrame *CFrame.new(0,-3.42,0)
  756.  
  757. plat.TopSurface = 0
  758.  
  759. plat.BottomSurface = 0
  760.  
  761. plat.Anchored = true
  762.  
  763. plat.BrickColor = BrickColor.new("Pastel Blue")
  764.  
  765. plat.Material = "Ice"
  766.  
  767. game:GetService("Debris"):AddItem(plat, 15)
  768.  
  769. while plat:IsDescendantOf(Workspace) do
  770.  
  771. wait()
  772.  
  773. plat.CFrame = char.Torso.CFrame*CFrame.new(0,-3.42,0)
  774.  
  775. end
  776.  
  777.  
  778.  
  779. elseif key == "b" then -----Rocks
  780.  
  781. humanoid.WalkSpeed = 0
  782.  
  783. for i = 2,52 do
  784.  
  785. wait()
  786.  
  787. local boulder = Instance.new("Part")
  788.  
  789. boulder.TopSurface = 0
  790.  
  791. boulder.BottomSurface = 0
  792.  
  793. boulder.Anchored = true
  794.  
  795. boulder.BrickColor = BrickColor.new("Dark stone grey")
  796.  
  797. boulder.Size = Vector3.new((i+math.random(-1,1)),(i+math.random(-1,1)),2)
  798.  
  799. boulder.CFrame = crystal.CFrame * CFrame.new(0,0,-2*i)
  800.  
  801. boulder.Velocity = boulder.CFrame.lookVector * 500
  802.  
  803. boulder.Material = "Slate"
  804.  
  805. boulder.Parent = game.Workspace
  806.  
  807. boulder.Touched:connect(function(hitb)
  808.  
  809. if hitb.Parent:findFirstChild("Humanoid") ~= nil and not Allies[hitb.Parent.Name]then
  810.  
  811. hitb.Parent.Humanoid.PlatformStand = true
  812.  
  813. wait(1.1)
  814.  
  815. hitb.Parent.Humanoid.PlatformStand = false
  816.  
  817. end
  818.  
  819. end)
  820.  
  821. game:GetService("Debris"):AddItem(boulder, .8)
  822.  
  823. end
  824.  
  825. humanoid.WalkSpeed = 16
  826.  
  827. elseif key == "h" then -----Double jump
  828.  
  829. char.Torso.Velocity = Vector3.new(char.Torso.Velocity.x, (char.Torso.Velocity.y / 2) + 100, char.Torso.Velocity.z)
  830.  
  831. local shock = Instance.new("Part")
  832.  
  833. shock.FormFactor = "Custom"
  834.  
  835. shock.Size = Vector3.new(1, 1, 1)
  836.  
  837. shock.BrickColor = BrickColor.new("Really blue")
  838.  
  839. shock.Anchored = true
  840.  
  841. shock.Name = "Shock Ring"
  842.  
  843. shock.CanCollide = false
  844.  
  845. shock.Parent = game.Workspace
  846.  
  847. local mesh = Instance.new("SpecialMesh")
  848.  
  849. mesh.MeshType = "FileMesh"
  850.  
  851. mesh.MeshId = "http://www.roblox.com/Asset/?id=20329976"
  852.  
  853. mesh.Scale = Vector3.new(1, 1, 1)
  854.  
  855. mesh.Parent = shock
  856.  
  857. shock.CFrame = CFrame.new(char.Torso.Position - Vector3.new(0, 2.5, 0))
  858.  
  859. coroutine.resume(coroutine.create(function()
  860.  
  861. for i = 0, 25 do
  862.  
  863. mesh.Scale = Vector3.new(i, i / 5, i)
  864.  
  865. shock.Transparency = 0
  866.  
  867. wait()
  868.  
  869. end
  870.  
  871. shock:Remove()
  872.  
  873. end))
  874.  
  875. elseif key == "z" then ----Move change +
  876.  
  877. mousefunc = mousefunc +1
  878.  
  879. if (mousefunc == maxfunc+1) then
  880.  
  881. mousefunc = minfunc
  882.  
  883. end
  884.  
  885. if mousefunc == 1 then
  886.  
  887. crystal.BrickColor = func1
  888.  
  889. end
  890.  
  891. if mousefunc == 2 then
  892.  
  893. crystal.BrickColor = func2
  894.  
  895. end
  896.  
  897. if mousefunc == 3 then
  898.  
  899. crystal.BrickColor = func3
  900.  
  901. end
  902.  
  903. if mousefunc == 4 then
  904.  
  905. crystal.BrickColor = func4
  906.  
  907. end
  908.  
  909. if mousefunc == 5 then
  910.  
  911. crystal.BrickColor = func5
  912.  
  913. end
  914.  
  915. if mousefunc == 6 then
  916.  
  917. crystal.BrickColor = func6
  918.  
  919. end
  920.  
  921. if mousefunc == 7 then
  922.  
  923. crystal.BrickColor = func7
  924.  
  925. end
  926.  
  927. elseif key == "x" then ----Move Changer -
  928.  
  929. mousefunc = mousefunc -1
  930.  
  931. if (mousefunc == minfunc-1) then
  932.  
  933. mousefunc = maxfunc
  934.  
  935. end
  936.  
  937. if mousefunc == 1 then
  938.  
  939. crystal.BrickColor = func1
  940.  
  941. end
  942.  
  943. if mousefunc == 2 then
  944.  
  945. crystal.BrickColor = func2
  946.  
  947. end
  948.  
  949. if mousefunc == 3 then
  950.  
  951. crystal.BrickColor = func3
  952.  
  953. end
  954.  
  955. if mousefunc == 4 then
  956.  
  957. crystal.BrickColor = func4
  958.  
  959. end
  960.  
  961. if mousefunc == 5 then
  962.  
  963. crystal.BrickColor = func5
  964.  
  965. end
  966.  
  967. if mousefunc == 6 then
  968.  
  969. crystal.BrickColor = func6
  970.  
  971. end
  972.  
  973. if mousefunc == 7 then
  974.  
  975. crystal.BrickColor = func7
  976.  
  977. end
  978.  
  979. end
  980.  
  981. end
  982.  
  983. function onKeyUp(key)
  984.  
  985. kdown = false
  986.  
  987. key:lower()
  988.  
  989. end
  990.  
  991. -----------------------------------------------------------------------------
  992.  
  993. saber.Selected:connect(function(mouse)
  994.  
  995. modeld:Destroy()
  996.  
  997. Revolve(bsaber1, 0)
  998.  
  999. Revolve(bsaber2, math.pi*12)
  1000.  
  1001. cryweld = Instance.new("Weld",crystal)
  1002.  
  1003. cryweld.Part0 = crystal
  1004.  
  1005. cryweld.Part1 = saberh
  1006.  
  1007. cryweld.C0 = CFrame.new(0, -1.6, 0)
  1008.  
  1009. bglow1 = Instance.new("Weld", bsaber1)
  1010.  
  1011. bglow2 = Instance.new("Weld", bsaber2)
  1012.  
  1013. bglow1.Part0 = bsaber1
  1014.  
  1015. bglow2.Part0 = bsaber2
  1016.  
  1017. bglow1.Part1 = bsaber3
  1018.  
  1019. bglow2.Part1 = bsaber4
  1020.  
  1021. Gourd=char.Gourd
  1022.  
  1023. -------------------------------------Moves On Click-------------------------
  1024.  
  1025. mouse.Button1Down:connect(function()
  1026.  
  1027. mdown = true
  1028.  
  1029. if (mousefunc == 1) then
  1030.  
  1031. if aable then
  1032.  
  1033. aable = false
  1034.  
  1035. local tcon = saberh.Touched:connect(hit)
  1036.  
  1037. animate.Disabled = true
  1038.  
  1039. rs = player.Character.Torso["Right Shoulder"]
  1040.  
  1041. ls = player.Character.Torso["Left Shoulder"]
  1042.  
  1043. local speed = rs.MaxVelocity
  1044.  
  1045. for a = 1, 9 do
  1046.  
  1047. rs.C0 = rs.C0 * CFrame.Angles(0,0.1,0)
  1048.  
  1049. ls.C0 = ls.C0 * CFrame.Angles(0,-0.1,0)
  1050.  
  1051. end
  1052.  
  1053. rs.MaxVelocity = 0.7
  1054.  
  1055. ls.MaxVelocity = 0.7
  1056.  
  1057. for i = 1, 5, 1.25 do
  1058.  
  1059. wait()
  1060.  
  1061. rs.DesiredAngle = 2.5
  1062.  
  1063. ls.DesiredAngle = -2.5
  1064.  
  1065. end
  1066.  
  1067. rs.MaxVelocity = 0
  1068.  
  1069. ls.MaxVelocity = 0
  1070.  
  1071. wait(0.2)
  1072.  
  1073. rs.MaxVelocity = 0.2
  1074.  
  1075. ls.MaxVelocity = 0.2
  1076.  
  1077. for i = 1, 80,10 do
  1078.  
  1079. wait()
  1080.  
  1081. rs.DesiredAngle = 1.2
  1082.  
  1083. ls.DesiredAngle = -1.2
  1084.  
  1085. end
  1086.  
  1087. rs.DesiredAngle = 0
  1088.  
  1089. ls.DesiredAngle = 0
  1090.  
  1091. rs.MaxVelocity = speed
  1092.  
  1093. ls.MaxVelocity = speed
  1094.  
  1095. for a = 1, 9 do
  1096.  
  1097. wait()
  1098.  
  1099. rs.C0 = rs.C0 * CFrame.Angles(0,-0.1,0)
  1100.  
  1101. ls.C0 = ls.C0 * CFrame.Angles(0,0.1,0)
  1102.  
  1103. end
  1104.  
  1105. animate.Disabled = false
  1106.  
  1107. tcon:disconnect()
  1108.  
  1109. aable = true
  1110.  
  1111. end
  1112.  
  1113. end
  1114.  
  1115. if (mousefunc == 2) then
  1116.  
  1117. while mdown == true do
  1118.  
  1119. local i = mouse.Target
  1120.  
  1121. local oPos = Vector3.new(0,0,0)
  1122.  
  1123. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1124.  
  1125. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1126.  
  1127. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1128.  
  1129. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1130.  
  1131. if (mag > 2048) then return end
  1132.  
  1133. if (mag2 > 2048) then return end
  1134.  
  1135. local r = Instance.new("Part")
  1136.  
  1137. r.BrickColor = func2
  1138.  
  1139. r.formFactor = "Custom"
  1140.  
  1141. r.Size = Vector3.new(0.2,0.2,mag)
  1142.  
  1143. r.CFrame = cf
  1144.  
  1145. r.Anchored = true
  1146.  
  1147. r.CanCollide = false
  1148.  
  1149. r.Parent = suit
  1150.  
  1151. r.Transparency = 0
  1152.  
  1153. local r2 = Instance.new("Part")
  1154.  
  1155. r2.BrickColor = func2
  1156.  
  1157. r2.formFactor = "Custom"
  1158.  
  1159. r2.Size = Vector3.new(0.2,0.2,mag2)
  1160.  
  1161. r2.CFrame = cf2
  1162.  
  1163. r2.Anchored = true
  1164.  
  1165. r2.CanCollide = false
  1166.  
  1167. r2.Parent = suit
  1168.  
  1169. r2.Transparency = 0
  1170.  
  1171. wait(0.01)
  1172.  
  1173. r:remove()
  1174.  
  1175. r2:remove()
  1176.  
  1177. if i ~= nil then
  1178.  
  1179. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1180.  
  1181. if a then
  1182.  
  1183. if a.Character:findFirstChild("Humanoid") then
  1184.  
  1185. a.Character.Humanoid.Health = a.Character.Humanoid.Health - damage
  1186.  
  1187. end
  1188.  
  1189. else
  1190.  
  1191. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1192.  
  1193.  
  1194.  
  1195. if a then
  1196.  
  1197. if a.Character:findFirstChild("Humanoid") then
  1198.  
  1199. a.Character.Humanoid.Health = a.Character.Humanoid.Health - damage
  1200.  
  1201. end end end end end end
  1202.  
  1203. if (mousefunc == 3) then
  1204.  
  1205. while mdown == true do
  1206.  
  1207. local i = mouse.Target
  1208.  
  1209. local oPos = Vector3.new(0,0,0)
  1210.  
  1211. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1212.  
  1213. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1214.  
  1215. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1216.  
  1217. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1218.  
  1219. if (mag > 2048) then return end
  1220.  
  1221. if (mag2 > 2048) then return end
  1222.  
  1223. local r = Instance.new("Part")
  1224.  
  1225. r.BrickColor = func3
  1226.  
  1227. r.formFactor = "Custom"
  1228.  
  1229. r.Size = Vector3.new(0.2,0.2,mag)
  1230.  
  1231. r.CFrame = cf
  1232.  
  1233. r.Anchored = true
  1234.  
  1235. r.CanCollide = false
  1236.  
  1237. r.Parent = suit
  1238.  
  1239. r.Transparency = 0
  1240.  
  1241. local r2 = Instance.new("Part")
  1242.  
  1243. r2.BrickColor = func3
  1244.  
  1245. r2.formFactor = "Custom"
  1246.  
  1247. r2.Size = Vector3.new(0.2,0.2,mag2)
  1248.  
  1249. r2.CFrame = cf2
  1250.  
  1251. r2.Anchored = true
  1252.  
  1253. r2.CanCollide = false
  1254.  
  1255. r2.Parent = suit
  1256.  
  1257. r2.Transparency = 0
  1258.  
  1259. wait(0.01)
  1260.  
  1261. r:remove()
  1262.  
  1263. r2:remove()
  1264.  
  1265. if i ~= nil then
  1266.  
  1267. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1268.  
  1269. if a then
  1270.  
  1271. if a.Character:findFirstChild("Humanoid") then
  1272.  
  1273. a.Character.Humanoid.PlatformStand = true
  1274.  
  1275. wait(0.3)
  1276.  
  1277. local thrust = Instance.new("BodyVelocity")
  1278.  
  1279. thrust.Parent = a.Character.PrimaryPart
  1280.  
  1281. thrust.velocity = Vector3.new(0,50,0)
  1282.  
  1283. thrust.maxForce = Vector3.new(0,4e+050,0)
  1284.  
  1285. wait(3)
  1286.  
  1287. thrust.Parent = nil
  1288.  
  1289. a.Character.Humanoid.Sit = true
  1290.  
  1291. end
  1292.  
  1293. else
  1294.  
  1295. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1296.  
  1297.  
  1298.  
  1299. if a then
  1300.  
  1301. if a.Character:findFirstChild("Humanoid") then
  1302.  
  1303. a.Character.Humanoid.PlatformStand = true
  1304.  
  1305. wait(0.3)
  1306.  
  1307. local thrust = Instance.new("BodyVelocity")
  1308.  
  1309. thrust.Parent = a.Character.PrimaryPart
  1310.  
  1311. thrust.velocity = Vector3.new(0,50,0)
  1312.  
  1313. thrust.maxForce = Vector3.new(0,4e+050,0)
  1314.  
  1315. wait(3)
  1316.  
  1317. thrust.Parent = nil
  1318.  
  1319. a.Character.Humanoid.Sit = true
  1320.  
  1321. end end end end end end
  1322.  
  1323. if (mousefunc == 4) then
  1324.  
  1325. while mdown == true do
  1326.  
  1327. local i = mouse.Target
  1328.  
  1329. local oPos = Vector3.new(0,0,0)
  1330.  
  1331. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1332.  
  1333. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1334.  
  1335. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1336.  
  1337. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1338.  
  1339. if (mag > 2048) then return end
  1340.  
  1341. if (mag2 > 2048) then return end
  1342.  
  1343. local r = Instance.new("Part")
  1344.  
  1345. r.BrickColor = func4
  1346.  
  1347. r.formFactor = "Custom"
  1348.  
  1349. r.Size = Vector3.new(0.2,0.2,mag)
  1350.  
  1351. r.CFrame = cf
  1352.  
  1353. r.Anchored = true
  1354.  
  1355. r.CanCollide = false
  1356.  
  1357. r.Parent = suit
  1358.  
  1359. r.Transparency = 0
  1360.  
  1361. local r2 = Instance.new("Part")
  1362.  
  1363. r2.BrickColor = func4
  1364.  
  1365. r2.formFactor = "Custom"
  1366.  
  1367. r2.Size = Vector3.new(0.2,0.2,mag2)
  1368.  
  1369. r2.CFrame = cf2
  1370.  
  1371. r2.Anchored = true
  1372.  
  1373. r2.CanCollide = false
  1374.  
  1375. r2.Parent = suit
  1376.  
  1377. r2.Transparency = 0
  1378.  
  1379. wait(0.01)
  1380.  
  1381. r:remove()
  1382.  
  1383. r2:remove()
  1384.  
  1385. if i ~= nil then
  1386.  
  1387. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1388.  
  1389. if a then
  1390.  
  1391. if a.Character:findFirstChild("Humanoid") then
  1392.  
  1393. local Force = Instance.new("BodyVelocity")
  1394.  
  1395. Force.Parent = a.Character.Torso
  1396.  
  1397. Force.Name = "Force"
  1398.  
  1399. Force.maxForce = mouse.Target.Size * 10000
  1400.  
  1401. Force.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 999999
  1402.  
  1403. wait(1)
  1404.  
  1405. Force:remove()
  1406.  
  1407. end
  1408.  
  1409. else
  1410.  
  1411. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1412.  
  1413.  
  1414.  
  1415. if a then
  1416.  
  1417. if a.Character:findFirstChild("Humanoid") then
  1418.  
  1419. local Force = Instance.new("BodyVelocity")
  1420.  
  1421. Force.Parent = a.Character.Torso
  1422.  
  1423. Force.Name = "Force"
  1424.  
  1425. Force.maxForce = mouse.Target.Size * 10000
  1426.  
  1427. Force.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 999999
  1428.  
  1429. wait(1)
  1430.  
  1431. Force:remove()
  1432.  
  1433. end end end end end end
  1434.  
  1435. if (mousefunc == 5) then
  1436.  
  1437. while mdown == true do
  1438.  
  1439. local i = mouse.Target
  1440.  
  1441. local oPos = Vector3.new(0,0,0)
  1442.  
  1443. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1444.  
  1445. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1446.  
  1447. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1448.  
  1449. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1450.  
  1451. if (mag > 2048) then return end
  1452.  
  1453. if (mag2 > 2048) then return end
  1454.  
  1455. local r = Instance.new("Part")
  1456.  
  1457. r.BrickColor = func5
  1458.  
  1459. r.formFactor = "Custom"
  1460.  
  1461. r.Size = Vector3.new(0.2,0.2,mag)
  1462.  
  1463. r.CFrame = cf
  1464.  
  1465. r.Anchored = true
  1466.  
  1467. r.CanCollide = false
  1468.  
  1469. r.Parent = suit
  1470.  
  1471. r.Transparency = 0
  1472.  
  1473. local r2 = Instance.new("Part")
  1474.  
  1475. r2.BrickColor = func5
  1476.  
  1477. r2.formFactor = "Custom"
  1478.  
  1479. r2.Size = Vector3.new(0.2,0.2,mag2)
  1480.  
  1481. r2.CFrame = cf2
  1482.  
  1483. r2.Anchored = true
  1484.  
  1485. r2.CanCollide = false
  1486.  
  1487. r2.Parent = suit
  1488.  
  1489. r2.Transparency = 0
  1490.  
  1491. wait(0.01)
  1492.  
  1493. r:remove()
  1494.  
  1495. r2:remove()
  1496.  
  1497. if i ~= nil then
  1498.  
  1499. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1500.  
  1501. if a then
  1502.  
  1503. if a.Character:findFirstChild("Humanoid") then
  1504.  
  1505. i.Anchored = true
  1506.  
  1507. i.Friction = 0
  1508.  
  1509. i.Transparency = 0.3
  1510.  
  1511. i.Reflectance = 0.3
  1512.  
  1513. end
  1514.  
  1515. else
  1516.  
  1517. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1518.  
  1519. if a then
  1520.  
  1521. if a.Character:findFirstChild("Humanoid") then
  1522.  
  1523. i.Anchored = true
  1524.  
  1525. i.Friction = 0
  1526.  
  1527. i.Transparency = 0.3
  1528.  
  1529. i.Reflectance = 0.3
  1530.  
  1531. end end end end end end
  1532.  
  1533.  
  1534.  
  1535. if (mousefunc == 6) then
  1536.  
  1537. while mdown == true do
  1538.  
  1539. local i = mouse.Target
  1540.  
  1541. local oPos = Vector3.new(0,0,0)
  1542.  
  1543. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1544.  
  1545. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1546.  
  1547. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1548.  
  1549. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1550.  
  1551. if (mag > 2048) then return end
  1552.  
  1553. if (mag2 > 2048) then return end
  1554.  
  1555. local r = Instance.new("Part")
  1556.  
  1557. r.BrickColor = func6
  1558.  
  1559. r.formFactor = "Custom"
  1560.  
  1561. r.Size = Vector3.new(0.2,0.2,mag)
  1562.  
  1563. r.CFrame = cf
  1564.  
  1565. r.Anchored = true
  1566.  
  1567. r.CanCollide = false
  1568.  
  1569. r.Parent = suit
  1570.  
  1571. r.Transparency = 0.5
  1572.  
  1573. local r2 = Instance.new("Part")
  1574.  
  1575. r2.BrickColor = func6
  1576.  
  1577. r2.formFactor = "Custom"
  1578.  
  1579. r2.Size = Vector3.new(0.2,0.2,mag2)
  1580.  
  1581. r2.CFrame = cf2
  1582.  
  1583. r2.Anchored = true
  1584.  
  1585. r2.CanCollide = false
  1586.  
  1587. r2.Parent = suit
  1588.  
  1589. r2.Transparency = 0.5
  1590.  
  1591. wait(0.01)
  1592.  
  1593. r:remove()
  1594.  
  1595. r2:remove()
  1596.  
  1597. if i ~= nil then
  1598.  
  1599. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1600.  
  1601. if a then
  1602.  
  1603. if a.Character:findFirstChild("Humanoid") then
  1604.  
  1605. i.Anchored = false
  1606.  
  1607. i.Friction = 0.3
  1608.  
  1609. i.Transparency = 0
  1610.  
  1611. i.Reflectance = 0
  1612.  
  1613. end
  1614.  
  1615. else
  1616.  
  1617. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1618.  
  1619. if a then
  1620.  
  1621. if a.Character:findFirstChild("Humanoid") then
  1622.  
  1623. i.Anchored = false
  1624.  
  1625. i.Friction = 0.3
  1626.  
  1627. i.Transparency = 0
  1628.  
  1629. i.Reflectance = 0
  1630.  
  1631. end end end end end end
  1632.  
  1633. if (mousefunc == 7) then
  1634.  
  1635. while mdown == true do
  1636.  
  1637. local i = mouse.Target
  1638.  
  1639. local oPos = Vector3.new(0,0,0)
  1640.  
  1641. local cf = CFrame.new((bsaber1.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1642.  
  1643. local mag = (bsaber1.Position - mouse.Hit.p).magnitude
  1644.  
  1645. local cf2 = CFrame.new((bsaber2.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  1646.  
  1647. local mag2 = (bsaber2.Position - mouse.Hit.p).magnitude
  1648.  
  1649. if (mag > 2048) then return end
  1650.  
  1651. if (mag2 > 2048) then return end
  1652.  
  1653. local r = Instance.new("Part")
  1654.  
  1655. r.BrickColor = func7
  1656.  
  1657. r.formFactor = "Custom"
  1658.  
  1659. r.Size = Vector3.new(0.2,0.2,mag)
  1660.  
  1661. r.CFrame = cf
  1662.  
  1663. r.Anchored = true
  1664.  
  1665. r.CanCollide = false
  1666.  
  1667. r.Parent = suit
  1668.  
  1669. r.Transparency = 0.5
  1670.  
  1671. local r2 = Instance.new("Part")
  1672.  
  1673. r2.BrickColor = func7
  1674.  
  1675. r2.formFactor = "Custom"
  1676.  
  1677. r2.Size = Vector3.new(0.2,0.2,mag2)
  1678.  
  1679. r2.CFrame = cf2
  1680.  
  1681. r2.Anchored = true
  1682.  
  1683. r2.CanCollide = false
  1684.  
  1685. r2.Parent = suit
  1686.  
  1687. r2.Transparency = 0.5
  1688.  
  1689. wait(0.01)
  1690.  
  1691. r:remove()
  1692.  
  1693. r2:remove()
  1694.  
  1695. if i ~= nil then
  1696.  
  1697. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent)
  1698.  
  1699. if a then
  1700.  
  1701. if a.Character:findFirstChild("Humanoid") then
  1702.  
  1703. local position = Instance.new("BodyPosition")
  1704.  
  1705. position.Name = "Cysis"
  1706.  
  1707. position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1708.  
  1709. position.P = 1000
  1710.  
  1711. position.D = 50
  1712.  
  1713. position.Parent = i
  1714.  
  1715. position.position = crystal.Position + ((MousePos- crystal.Position).unit * 10)
  1716.  
  1717. for i = 0, math.huge do
  1718.  
  1719. if mdown == false then break end
  1720.  
  1721. if char == nil then break end
  1722.  
  1723. if humanoid == nil then break end
  1724.  
  1725. if humanoid.Health <= 0 then break end
  1726.  
  1727. if i ~= nil and position ~= nil then
  1728.  
  1729. position.position = crystal.Position + ((MousePos - crystal.Position).unit * 10)
  1730.  
  1731. end
  1732.  
  1733. wait()
  1734.  
  1735. end
  1736.  
  1737. if position ~= nil then position:Remove() end
  1738.  
  1739. if i ~= nil then
  1740.  
  1741. if i.Parent:FindFirstChild("Humanoid") ~= nil then
  1742.  
  1743. i.Parent.Humanoid.PlatformStand = false
  1744.  
  1745. i.Parent.Humanoid.Sit = true
  1746.  
  1747. end
  1748.  
  1749. end
  1750.  
  1751. end
  1752.  
  1753. else
  1754.  
  1755. local a = game:service("Players"):GetPlayerFromCharacter(i.Parent.Parent)
  1756.  
  1757. if a then
  1758.  
  1759. if a.Character:findFirstChild("Humanoid") then
  1760.  
  1761. local position = Instance.new("BodyPosition")
  1762.  
  1763. position.Name = "Cysis"
  1764.  
  1765. position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1766.  
  1767. position.P = 1000
  1768.  
  1769. position.D = 50
  1770.  
  1771. position.Parent = i
  1772.  
  1773. position.position = crystal.Position + ((MousePos- crystal.Position).unit * 10)
  1774.  
  1775. for i = 0, math.huge do
  1776.  
  1777. if mdown == false then break end
  1778.  
  1779. if char == nil then break end
  1780.  
  1781. if humanoid == nil then break end
  1782.  
  1783. if humanoid.Health <= 0 then break end
  1784.  
  1785. if i ~= nil and position ~= nil then
  1786.  
  1787. position.position = crystal.Position + ((MousePos - crystal.Position).unit * 10)
  1788.  
  1789. end
  1790.  
  1791. wait()
  1792.  
  1793. end
  1794.  
  1795. if position ~= nil then position:Remove() end
  1796.  
  1797. if i ~= nil then
  1798.  
  1799. if i.Parent:FindFirstChild("Humanoid") ~= nil then
  1800.  
  1801. i.Parent.Humanoid.PlatformStand = false
  1802.  
  1803. i.Parent.Humanoid.Sit = true
  1804.  
  1805. i.Parent.Humanoid.Jump = true
  1806.  
  1807. end
  1808.  
  1809. end
  1810.  
  1811. end end end end end end
  1812.  
  1813. end)
  1814.  
  1815. mouse.Button1Up:connect(function()
  1816.  
  1817. mdown = false
  1818.  
  1819. end)
  1820.  
  1821. mouse.Move:connect(function() onMove(mouse) end)
  1822.  
  1823. mouse.KeyDown:connect(onKeyDown)
  1824.  
  1825. mouse.KeyUp:connect(onKeyUp)
  1826.  
  1827. onOff = false
  1828.  
  1829. end)
  1830.  
  1831. -------------------------------------------------------------------------
  1832.  
  1833. saber.Deselected:connect(function()
  1834.  
  1835. modeld = CreateModel()
  1836.  
  1837. cryweld:Destroy()
  1838.  
  1839. end)
  1840.  
  1841. modeld = CreateModel()
  1842.  
  1843. if char:FindFirstChild("Animate") then
  1844.  
  1845. animate = char.Animate
  1846.  
  1847. end
  1848.  
  1849. coroutine.wrap(function()
  1850.  
  1851. while char ~= nil do
  1852.  
  1853. pcall(function() CatchMsgConnection:disconnect() end)
  1854.  
  1855. pcall(function() CatchMsgConnection = game:service("Players").LocalPlayer.Chatted:connect(CatchMsg) end)
  1856.  
  1857. wait(5)
  1858.  
  1859. end
  1860.  
  1861. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement