Advertisement
welel33t

Untitled

Oct 3rd, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.16 KB | None | 0 0
  1. wait(.25)--made by yoyyo75 :3
  2. run = game:GetService("RunService")
  3. local player = game.Players.LocalPlayer;char = player.Character;char.Archivable = true;
  4. hrp = char:findFirstChild("HumanoidRootPart");head = char:findFirstChild("Head");ra = char:findFirstChild("Right Arm");la = char:findFirstChild("Left Arm");t = char:findFirstChild("Torso");humanoid = char:findFirstChild("Humanoid");ll = char:findFirstChild("Left Leg");rl = char:findFirstChild("Right Leg");
  5. mainColor = "Crimson";color1 = "Really black";color2="Bright red"
  6. local hb = Instance.new("HopperBin", player.Backpack)
  7. hb.Name = "ShardBlade"
  8. sword = Instance.new("Model");sword.Name = "ShardBlade"
  9. script.Parent = hb
  10. char.Humanoid.WalkSpeed = 30
  11. equip=false;anim = false;banim=false;click=false;damageon=false;DMG=0;
  12.  
  13. function playSound(id,parent,volume,pitch)
  14. local sound = Instance.new("Sound",parent or workspace)
  15. sound.SoundId = "http://www.roblox.com/asset?id="..id
  16. sound.Volume = volume or 1
  17. sound.Pitch = pitch or 1
  18. coroutine.wrap(function()
  19. wait()
  20. sound:Play()
  21. wait(10)
  22. sound:Stop()
  23. sound:Destroy()
  24. end)()
  25. return sound
  26. end
  27.  
  28. --[[function damage(hit,damage,cooldown)
  29. for i,v in pairs(hit:GetChildren()) do
  30. if v:IsA("Humanoid") and hit.Name ~= char.Name then
  31. local find = v:FindFirstChild("Hitz")
  32. if not find then
  33. if v.Parent:findFirstChild("Head") then
  34. local BillG = Instance.new("BillboardGui",v.Parent.Head)BillG.Size = UDim2.new(1,0,1,0)
  35. BillG.Adornee = v.Parent.Head BillG.StudsOffset = Vector3.new(math.random(-3,3),math.random(3,5),math.random(-3,3))
  36. local TL = Instance.new("TextLabel",BillG)TL.Size = UDim2.new(1,0,1,0)
  37. TL.BackgroundTransparency = 1 TL.Text = tostring(damage).."-"
  38. TL.TextColor3 = BrickColor.new("Dark stone grey").Color TL.TextStrokeColor3 = BrickColor.new("Cyan").Color
  39. TL.TextStrokeTransparency = 0 TL.TextXAlignment = Enum.TextXAlignment.Center
  40. TL.TextYAlignment = Enum.TextYAlignment.Center TL.FontSize = Enum.FontSize.Size18
  41. TL.Font = "ArialBold"
  42. coroutine.resume(coroutine.create(function()
  43. wait(1)
  44. for i = 0,1,.1 do wait(.1) BillG.StudsOffset = BillG.StudsOffset+Vector3.new(0,.1,0) end
  45. BillG:Destroy()
  46. end))
  47. end
  48. v.Health = v.Health - damage local bool = Instance.new("BoolValue",v)bool.Name = 'Hitz'game:GetService("Debris"):AddItem(bool,cooldown)
  49. end
  50. end
  51. end
  52. end]]--
  53.  
  54. function Hit(part)
  55. hum = part.Parent:findFirstChild("Humanoid")
  56. if hum and damageon and hum ~= humanoid then
  57. hum.Health = hum.Health-DMG;damageon=false
  58. end
  59. end
  60. Add = {
  61. part = function(color,size,pos, place, naym,scale, thing,mt,ccd,id,transparent,loool,ff,yos)
  62. if loool ~= nil then
  63. balleff = Instance.new(loool, place)
  64. else
  65. balleff = Instance.new("Part", place)
  66. balleff.Material = "SmoothPlastic"
  67. balleff.TopSurface = "SmoothNoOutlines"
  68. balleff.BottomSurface = "SmoothNoOutlines"
  69. balleff.RightSurface = "SmoothNoOutlines"
  70. balleff.LeftSurface = "SmoothNoOutlines"
  71. end
  72. balleff.Name = naym
  73. balleff.Anchored= true
  74. balleff.CFrame = pos
  75. if loool == nil then
  76. balleff.Shape = thing
  77. end
  78. if ff then
  79. balleff.FormFactor = ff
  80. end
  81. balleff.CanCollide = ccd;balleff.Transparency = transparent;
  82. balleff.TopSurface = 0
  83. balleff.BottomSurface = 0
  84. balleff.Size = size
  85. balleff.BrickColor = BrickColor.new(color)
  86. if not yos then
  87. mesh = Instance.new("SpecialMesh",balleff)
  88. mesh.MeshType = mt
  89. else
  90. mesh = Instance.new(yos,balleff)
  91. end
  92. mesh.Scale = scale
  93. if mt == "FileMesh" then
  94. mesh.MeshId = id
  95. end
  96. balleff.Parent = place
  97. return balleff
  98. end
  99. }
  100.  
  101. slash={
  102. function()
  103. anim = true;banim=true
  104. playSound(10209850,b1,1,1)
  105. for i = 1, 6 do wait()
  106. animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(-0),i/6)
  107. animate("hr",CFrame.new(0,1,0),math.rad(25),math.rad(15),0,i/6);animate("Toso",co,0,0,math.rad(-20),i/6)
  108. animate("rr",CFrame.new(1.5,0.5,0),math.rad(120),math.rad(20),math.rad(15),i/6);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(70),math.rad(40),math.rad(0),i/6)
  109. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/6);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/6)
  110. end;damageon=true;DMG=15;
  111. for i = 1, 10 do wait()
  112. animate("bw",CFrame.new(0,-1,-0.25),math.rad(-90),math.rad(90),math.rad(-0),i/10)
  113. animate("hr",CFrame.new(0,1,0),math.rad(-25),math.rad(-15),0,i/10);animate("Toso",co,0,0,math.rad(20),i/10)
  114. animate("rr",CFrame.new(1.5,0.5,0),math.rad(20),math.rad(20),math.rad(0),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(10),math.rad(40),math.rad(0),i/10)
  115. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  116. end;click=false;damageon=false
  117. for i = 1, 10 do if not click then wait(); else break;end;end
  118. if click then
  119. slash[2]()
  120. else
  121. standard()
  122. anim=false;banim=false end end,
  123. ---[2]---
  124. function()
  125. for i = 1, 10 do wait(); banim = true
  126. playSound(10209850,b1,1,1)
  127. animate("bw",CFrame.new(0,-1-.75*(i/10),.5*(i/10)),math.rad(-180),math.rad(90),math.rad(-45),i/10)
  128. animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,i/10);animate("Toso",co,0,0,math.rad(90),i/10)
  129. animate("rr",CFrame.new(1.5-.15*(i/10),0.5,-.25*(i/10)),math.rad(0),math.rad(135),math.rad(90),i/10);animate("lr",CFrame.new(-1.5+.15*(i/10),0.5,-.25*(i/10)),math.rad(0),math.rad(-135),math.rad(-90),i/10)
  130. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  131. end;lastpoint=b1.Position
  132. for i = 1, 20 do wait();damageon=true;DMG=5;
  133. animate("Toso",co,0,0,math.rad(-1080),i/50);lineEffect(b1)
  134. end;animate("Toso",co,0,0,math.rad(0),1);damageon=false;banim=false;click=false;for i = 1, 10 do if not click then wait(); else break;end; end;if click then slash[3](); else standard();anim=false;banim=false end
  135. end,
  136. ---[3]---
  137. function()
  138. playSound(10209850,b1,1,1)
  139. for i = 1, 10 do wait(); banim = true
  140. animate("bw",CFrame.new(0,-1,0),math.rad(-105),math.rad(90),math.rad(-0),i/10)
  141. animate("hr",CFrame.new(0,1,0),math.rad(-20),math.rad(-40),0,i/10);animate("Toso",co,0,0,math.rad(45),i/10)
  142. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(110),math.rad(75),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(0),math.rad(0),math.rad(-40),i/10)
  143. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  144. end;damageon=true;DMG=17;
  145. for i = 1, 10 do wait();
  146. animate("bw",CFrame.new(0,-1,0),math.rad(-180),math.rad(90),math.rad(-0),i/10)
  147. animate("hr",CFrame.new(0,1,0),math.rad(-20),math.rad(40),0,i/10);animate("Toso",co,0,0,math.rad(-45),i/10)
  148. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(-30),math.rad(75),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(0),math.rad(0),math.rad(-40),i/10)
  149. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  150. end;banim=false;damageon=false;for i = 1, 10 do if not edown then wait(); else break;end; end;if not edown then standard();anim=false else slash[4]() end;end,
  151. ---[4]----
  152. function()
  153. for i = 1, 10 do wait(); banim = true
  154. animate("bw",CFrame.new(0,-1,0),math.rad(-105),math.rad(90),math.rad(-0),i/10)
  155. animate("hr",CFrame.new(0,1,0),math.rad(20),math.rad(0),0,i/10);animate("Toso",co+Vector3.new(0,2*(i/10),0),0,0,math.rad(0),i/10)
  156. animate("rr",CFrame.new(1.5,0.5,0),math.rad(160),math.rad(110),math.rad(75),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(160),math.rad(0),math.rad(-40),i/10)
  157. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  158. end
  159. standard();banim=false;damageon=false;anim=false;end
  160. }
  161. function weldIt(p1,p2,r1,r2,place)
  162. local w = Instance.new("Weld")
  163. if place then
  164. w.Parent = place
  165. else
  166. w.Parent = p1
  167. end
  168. w.Part0 = p1
  169. w.Part1 = p2
  170. w.C0 = r1
  171. if r2 then
  172. w.C1 = r2
  173. end
  174. return w
  175. end
  176. --making sword--
  177. handle = Add.part(color1,Vector3.new(1, 2.4, 1),CFrame.new(-1.33407784, 2.80192566, 2.60732269, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Handle",Vector3.new(0.211, 0.816, 0.211),"Block","Brick",false,nil,0,nil,"Brick","CylinderMesh")
  178. orb = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33406639, 1.78086853, 2.60733032, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"ORB",Vector3.new(0.316, 0.158, 0.316),"Block","Head",false,nil,0,nil,"Brick")
  179. spike = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33406067, 1.5282402, 2.60733414, -0.999998868, 2.33399769e-005, 1.04800883e-005, -2.33397095e-005, -0.999999762, 1.35496139e-005, 1.04803985e-005, 1.35494402e-005, 0.999999106),sword,"Spike",Vector3.new(0.153, 0.621, 0.153),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=1033714",0,nil,"Brick")
  180. w1 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.40252697, 4.03350067, 2.60730743, -1.04800874e-005, -2.33399805e-005, 0.999998868, -1.3549612e-005, 0.999999881, 2.33397095e-005, -0.999998987, -1.3549442e-005, -1.04803985e-005),sword,"Wedge",Vector3.new(0.241, 0.361, 0.131),"Block","Wedge",false,nil,0,nil,"Brick")
  181. w2 = Add.part(color1,Vector3.new(1, 1.2, 1),CFrame.new(-1.4393692, 4.03350067, 2.60730743, -1.04800874e-005, -2.33399805e-005, 0.999998868, -1.3549612e-005, 0.999999881, 2.33397095e-005, -0.999998987, -1.3549442e-005, -1.04803985e-005),sword,"Wedge",Vector3.new(0.211, 0.421, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  182. w3 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.26358211, 4.03350067, 2.60730362, 1.06588468e-005, -2.28629742e-005, -0.999992371, 1.33885387e-005, 0.999992609, -2.27733144e-005, 0.999993503, -1.34937982e-005, 1.0480323e-005),sword,"Wedge",Vector3.new(0.241, 0.361, 0.131),"Block","Wedge",false,nil,0,nil,"Brick")
  183. w4 = Add.part(color1,Vector3.new(1, 1.2, 1),CFrame.new(-1.22884369, 4.03350067, 2.60730362, 1.06588468e-005, -2.28629742e-005, -0.999992371, 1.33885387e-005, 0.999992609, -2.27733144e-005, 0.999993503, -1.34937982e-005, 1.0480323e-005),sword,"Wedge",Vector3.new(0.211, 0.421, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  184. bog1 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33408737, 3.23348236, 2.60731888, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Bilogs",Vector3.new(0.237, 0.026, 0.237),"Block","Head",false,nil,0,nil,"Brick","CylinderMesh")
  185. bog2 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33408546, 3.12823486, 2.60731888, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Bilogs",Vector3.new(0.237, 0.026, 0.237),"Block","Head",false,nil,0,nil,"Brick","CylinderMesh")
  186. bog3 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33408737, 2.86506653, 2.60731888, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Bilogs",Vector3.new(0.237, 0.026, 0.237),"Block","Head",false,nil,0,nil,"Brick","CylinderMesh")
  187. bog4 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33408546, 2.94928741, 2.60731888, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Bilogs",Vector3.new(0.237, 0.026, 0.237),"Block","Head",false,nil,0,nil,"Brick","CylinderMesh")
  188. bog5 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.33408737, 3.03350067, 2.60731888, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Bilogs",Vector3.new(0.237, 0.026, 0.237),"Block","Head",false,nil,0,nil,"Brick","CylinderMesh")
  189. bwings = Add.part(color1,Vector3.new(1, 0.4, 1),CFrame.new(-1.33252335, 3.80191803, 2.58099365, -0.999997973, -1.45399179e-010, -7.27595761e-012, 1.45399179e-010, 0.999999762, 8.27640179e-011, -7.27595761e-012, -8.27640179e-011, -0.999998212),sword,"BWINGS",Vector3.new(0.132, 0.447, 0.053),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=15039295",0,nil,"Plate")
  190. b1 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.14421082, 8.50718689, 2.58081436, -0.000282594148, -2.33399805e-005, -0.999998927, 1.35427736e-005, 0.999999881, -2.33436822e-005, 0.999999106, -1.3549442e-005, -0.000282593857),sword,"Blade",Vector3.new(0.01, 0.456, 0.416),"Block","Wedge",false,nil,0.5,nil,"Brick")
  191. b2 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.62308502, 5.41242981, 2.58097458, -9.75956118e-006, -2.21925784e-005, 1.00000358, -1.35496966e-005, 1.00000393, 2.21625323e-005, -1.00000644, -1.36687177e-005, -9.67722008e-006),sword,"Blade",Vector3.new(0.053, 0.263, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  192. b3 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-0.887804985, 4.56140137, 2.57992554, 1.05462423e-005, -2.35187945e-005, -0.999999106, 1.35985892e-005, 0.999999881, -2.34887284e-005, 0.999998987, -1.35805712e-005, 1.04801138e-005),sword,"Blade",Vector3.new(0.01, 0.053, 0.105),"Block","Wedge",false,nil,0.5,nil,"Brick")
  193. b4 = Add.part(mainColor,Vector3.new(0.2, 3.063, 0.2),CFrame.new(-1.33888626, 5.89138794, 2.58096313, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Blade",Vector3.new(0.232, 1.1, 0.289),"Block","Brick",false,nil,0,nil,"Custom")
  194. b5 = Add.part(color2,Vector3.new(0.2, 0.474, 0.2),CFrame.new(-1.53359604, 4.76506805, 2.58098221, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Blade",Vector3.new(0.158, 1, 0.263),"Block","Brick",false,nil,0,nil,"Custom","BlockMesh")
  195. b6 = Add.part(mainColor,Vector3.new(0.789, 4.442, 0.2),CFrame.new(-1.33362579, 6.01243591, 2.58096313, 0.999998987, -2.33399805e-005, 1.04800883e-005, 2.33397132e-005, 0.999999881, 1.35496139e-005, -1.04803994e-005, -1.3549442e-005, 0.999999106),sword,"Blade",Vector3.new(1, 1, 0.053),"Block","Brick",false,nil,0.5,nil,"Custom")
  196. b7 = Add.part(color2,Vector3.new(0.2, 2.126, 0.2),CFrame.new(-1.52839088, 7.17033386, 2.58075333, 0.999998927, -2.33399805e-005, -0.000267181982, 2.3343473e-005, 0.999999881, 1.35431337e-005, 0.000267181691, -1.3549442e-005, 0.999999106),sword,"Blade",Vector3.new(0.211, 1, 0.263),"Block","Brick",false,nil,0,nil,"Custom")
  197. b8 = Add.part(mainColor,Vector3.new(0.2, 0.737, 0.2),CFrame.new(-0.887794495, 4.16139984, 2.57992935, -0.999998868, -2.33399805e-005, -1.04800874e-005, -2.33397095e-005, 0.999999881, -1.3549612e-005, 1.04803985e-005, -1.3549442e-005, -0.999998987),sword,"Blade",Vector3.new(0.526, 1, 0.053),"Block","Brick",false,nil,0.5,nil,"Custom")
  198. b9 = Add.part(mainColor,Vector3.new(0.2, 0.737, 0.2),CFrame.new(-1.78095245, 4.15979767, 2.58099365, 0.999999464, -2.33101782e-005, 1.05465324e-005, 2.33695264e-005, 0.999999881, 1.35317714e-005, -1.04139599e-005, -1.35672863e-005, 0.999999106),sword,"Blade",Vector3.new(0.526, 1, 0.053),"Block","Brick",false,nil,0.5,nil,"Custom")
  199. b10 = Add.part(color2,Vector3.new(1, 4.8, 1),CFrame.new(-1.33362961, 6.08612061, 2.58079147, 0.999998808, -2.33399805e-005, -0.000279997184, 2.3343513e-005, 0.999999881, 1.35428327e-005, 0.00027019775, -1.3549442e-005, 0.999998987),sword,"Blade",Vector3.new(0.368, 0.895, 0.053),"Block","Brick",false,nil,0,nil,"Brick")
  200. b11 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.3915062, 5.38085938, 2.58097076, -9.75956118e-006, -2.21925784e-005, 1.00000358, -1.35496966e-005, 1.00000393, 2.21625323e-005, -1.00000644, -1.36687177e-005, -9.67722008e-006),sword,"Blade",Vector3.new(0.063, 0.211, 0.105),"Block","Wedge",false,nil,0,nil,"Brick")
  201. b12 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.44947433, 8.45454407, 2.58072662, 0.000280871434, -2.33399805e-005, 0.999998927, -1.35428136e-005, 0.999999881, 2.33436585e-005, -0.999999106, -1.3549442e-005, 0.000280871114),sword,"Blade",Vector3.new(0.053, 0.368, 0.2),"Block","Wedge",false,nil,0,nil,"Brick")
  202. b13 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.78096008, 4.55979919, 2.58098984, -1.0612689e-005, -2.31313643e-005, 0.999999702, -1.34827969e-005, 0.999999881, 2.32205202e-005, -0.999999106, -1.3536157e-005, -1.04136734e-005),sword,"Blade",Vector3.new(0.01, 0.053, 0.105),"Block","Wedge",false,nil,0.5,nil,"Brick")
  203. b14 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.04413223, 5.09666443, 2.58097458, -1.03609555e-005, 2.40255285e-005, -1.0000037, -1.36045401e-005, -1.00000393, -2.40550817e-005, -1.00000644, 1.35010014e-005, 1.03612501e-005),sword,"Blade",Vector3.new(0.053, 0.263, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  204. b15 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.28623772, 5.12823486, 2.58097458, -1.03609555e-005, 2.40255285e-005, -1.0000037, -1.36045401e-005, -1.00000393, -2.40550817e-005, -1.00000644, 1.35010014e-005, 1.03612501e-005),sword,"Blade",Vector3.new(0.063, 0.211, 0.105),"Block","Wedge",false,nil,0,nil,"Brick")
  205. b16 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.28624344, 5.38085938, 2.58097076, 9.76491083e-006, -2.44875719e-005, -1.00000358, 1.35496975e-005, 1.00000393, -2.45171341e-005, 1.00000644, -1.34302754e-005, 9.64600076e-006),sword,"Blade",Vector3.new(0.063, 0.211, 0.105),"Block","Wedge",false,nil,0,nil,"Brick")
  206. b17 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.62307739, 5.09664917, 2.58097839, 1.03919683e-005, 2.26546217e-005, 1.0000037, 1.34948832e-005, -1.00000393, 2.26245702e-005, 1.00000644, 1.35979917e-005, -1.03096354e-005),sword,"Blade",Vector3.new(0.053, 0.263, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  207. b18 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.24947548, 8.45454407, 2.58078384, -0.00028039061, -2.33399805e-005, -0.999998927, 1.35428254e-005, 0.999999881, -2.33436531e-005, 0.999999106, -1.3549442e-005, -0.00028039029),sword,"Blade",Vector3.new(0.053, 0.368, 0.2),"Block","Wedge",false,nil,0,nil,"Brick")
  208. b19 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-0.782531738, 4.15613556, 2.58098221, 1.05396912e-005, -2.35187945e-005, -0.999999225, 1.35985892e-005, 0.999999881, -2.34887302e-005, 0.999998987, -1.35805712e-005, 1.04804039e-005),sword,"Blade",Vector3.new(0.01, 0.605, 0.105),"Block","Wedge",false,nil,0.5,nil,"Brick")
  209. b20 = Add.part(mainColor,Vector3.new(1, 1.5, 1),CFrame.new(-1.88621521, 4.15453339, 2.5799408, -1.0546245e-005, -2.31611666e-005, 0.999999225, -1.35006394e-005, 0.999999881, 2.3190707e-005, -0.999999106, -1.35183127e-005, -1.0480112e-005),sword,"Blade",Vector3.new(0.01, 0.605, 0.105),"Block","Wedge",false,nil,0.5,nil,"Brick")
  210. b21 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.39150047, 5.12823486, 2.58097458, 1.03919683e-005, 2.26546217e-005, 1.0000037, 1.34948832e-005, -1.00000393, 2.26245702e-005, 1.00000644, 1.35979917e-005, -1.03096354e-005),sword,"Blade",Vector3.new(0.063, 0.211, 0.105),"Block","Wedge",false,nil,0,nil,"Brick")
  211. b22 = Add.part(mainColor,Vector3.new(1, 1.2, 1),CFrame.new(-1.53894806, 8.50717163, 2.58073044, 0.00027767272, -2.33399805e-005, 0.999998927, -1.35428882e-005, 0.999999881, 2.33436149e-005, -0.999999106, -1.3549442e-005, 0.000277672429),sword,"Blade",Vector3.new(0.01, 0.456, 0.379),"Block","Wedge",false,nil,0.5,nil,"Brick")
  212. b23 = Add.part(color2,Vector3.new(1, 1.2, 1),CFrame.new(-1.04413986, 5.41244507, 2.58097076, 9.76491083e-006, -2.44875719e-005, -1.00000358, 1.35496975e-005, 1.00000393, -2.45171341e-005, 1.00000644, -1.34302754e-005, 9.64600076e-006),sword,"Blade",Vector3.new(0.053, 0.263, 0.211),"Block","Wedge",false,nil,0,nil,"Brick")
  213. Light = Instance.new("PointLight",b14)
  214. Light.Color = Color3.new(255, 255, 0)
  215. Light.Range = 10
  216. nu = sword:GetChildren()
  217. for i = 1, #nu do
  218. if nu[i].Name ~= "Handle" then
  219. if nu[i].Name == "Blade" then
  220. nu[i].Touched:connect(Hit)
  221. end
  222. w = Instance.new("Weld", sword.Handle)
  223. w.Part0 = sword.Handle
  224. w.Part1 = nu[i]
  225. w.C0 = sword.Handle.CFrame:toObjectSpace(nu[i].CFrame)
  226. nu[i].Anchored = false
  227. end
  228. end
  229. while not ra or not la or not t or not humanoid or not head or not ll or not rl or not hrp do
  230. wait()
  231. end
  232. hrpw = hrp:findFirstChild("RootJoint");lh = t:findFirstChild("Left Hip");rh = t:findFirstChild("Right Hip");rs = t:findFirstChild("Right Shoulder");ls = t:findFirstChild("Left Shoulder");neck = t:findFirstChild("Neck");
  233. while not ls or not rs or not neck or not hrpw do
  234. wait()
  235. end
  236. co = hrpw.C0
  237. sword.Handle.Anchored = false;sword.Parent = char
  238. function backweld()
  239. bw = weldIt(t,handle,CFrame.new(1.5,2,0.75)*CFrame.Angles(0,0,math.rad(135)),nil)
  240. return bw
  241. end
  242. function Lerp(x,y,inc) return x + (y - x) * inc end
  243.  
  244. function animate(mem,cfr,x,y,z,e)
  245. To[mem].cf =cfr;To[mem].X=Lerp(To[mem].X,x,e);To[mem].Y=Lerp(To[mem].Y,y,e);To[mem].Z=Lerp(To[mem].Z,z,e)
  246. end
  247. To={
  248. rr={X=0;Y=0;Z=0;cf=CFrame.new(1.5,0.5,0)};bw={X=math.rad(5);Y=math.rad(90);Z=0;cf=CFrame.new(0,-1,0)};lr={X=0;Y=0;Z=0;cf=CFrame.new(-1.5,0.5,0)};hr={X=0;Y=0;Z=0;cf=CFrame.new(0,1.5,0)};leg={X=0;Y=0;Z=0;cf=CFrame.new(-0.5,-1,0)};reg={X=0;Y=0;Z=0;cf=CFrame.new(0.5,-1,0)};Toso={X=0;Y=0;Z=0;cf=co}
  249. }
  250. game:service'RunService'.RenderStepped:connect(function()
  251. if rw then rw.C0=To["rr"].cf*CFrame.Angles((To["rr"].X),(To["rr"].Y),(To["rr"].Z));rw.C1=CFrame.new(0,0.5,0) end
  252. if hw and equip and banim then hw.C0=To.bw.cf*CFrame.Angles((To.bw.X),(To.bw.Y),(To.bw.Z)) end
  253. if lw then lw.C0=To["lr"].cf*CFrame.Angles((To["lr"].X),(To["lr"].Y),(To["lr"].Z));lw.C1=CFrame.new(0,0.5,0) end
  254. if nw then nw.C0=To["hr"].cf*CFrame.Angles((To["hr"].X),To["hr"].Y,To["hr"].Z);nw.C1 = CFrame.new(0,-0.5,0) end
  255. if rlw then rlw.C0=To["reg"].cf*CFrame.Angles(To["reg"].X,To["reg"].Y,To["reg"].Z);rlw.C1=CFrame.new(0,1,0) end
  256. if llw then llw.C0=To["leg"].cf*CFrame.Angles(To["leg"].X,To["leg"].Y,To["leg"].Z);llw.C1=CFrame.new(0,1,0) end
  257. if hrpw then hrpw.C0=To["Toso"].cf*CFrame.Angles(To["Toso"].X,To["Toso"].Y,To["Toso"].Z) end
  258. end)
  259.  
  260. function standard()
  261. banim=true;for i = 1, 10 do wait()
  262. animate("bw",CFrame.new(0,-1,-0.25),math.rad(10),math.rad(90),math.rad(-35),i/10)
  263. animate("hr",CFrame.new(0,1,0),math.rad(-25),math.rad(25),0,i/10);animate("Toso",co,0,0,math.rad(-20),i/10)
  264. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(30),math.rad(37.5),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(0),math.rad(0),math.rad(-25),i/10)
  265. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),i/10)
  266. end;banim=false
  267. end
  268. function clicked(mouse) click=true
  269. if not anim then
  270. slash[1]();
  271. end
  272. end
  273. hb.Selected:connect(function(mouse)
  274. while anim do wait() end
  275. if not equip then
  276. To={
  277. rr={X=0;Y=0;Z=0;cf=CFrame.new(1.5,0.5,0)};bw={X=math.rad(5);Y=math.rad(90);Z=0;cf=CFrame.new(0,-1,0)};lr={X=0;Y=0;Z=0;cf=CFrame.new(-1.5,0.5,0)};hr={X=0;Y=0;Z=0;cf=CFrame.new(0,1,0)};leg={X=0;Y=0;Z=0;cf=CFrame.new(-0.5,-1,0)};reg={X=0;Y=0;Z=0;cf=CFrame.new(0.5,-1,0)};Toso={X=0;Y=0;Z=0;cf=co}
  278. }
  279. rh.Parent=nil;rs.Parent=nil;lh.Parent=nil;neck.Parent=nil;ls.Parent=nil;rlw = weldIt(t,rl, CFrame.new(0.5,-1.5,0),nil);llw = weldIt(t,ll, CFrame.new(-0.5,-1.5,0),nil);
  280. rw = weldIt(t,ra,CFrame.new(1.5,0,0),nil);lw = weldIt(t,la,CFrame.new(-1.5,0,0));nw = weldIt(t,head,CFrame.new(0, 1, 0))
  281. anim = true
  282. for i = 1, 10 do wait()
  283. animate("rr",CFrame.new(1.5,0.5,0),math.rad(190),math.rad(0),math.rad(20),i/10)
  284. end
  285. wait(0.15)
  286. hw.Part0 = ra;hw.C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),math.rad(90),0)
  287. equip = true;banim = true
  288. standard()
  289. anim = false;banim=false;
  290. mouse.Button1Down:connect(function() clicked(mouse) end)
  291. end
  292. end)
  293. function reset()
  294. rs.Parent = t;ls.Parent = t;neck.Parent = t;rh.Parent = t;lh.Parent = t;hrpw.C0 = co
  295. if rw then rw.Parent = nil end
  296. if lw then lw.Parent = nil end
  297. if nw then nw.Parent = nil end
  298. if rlw then rlw.Parent = nil end
  299. if llw then llw.Parent = nil end
  300. end
  301. hw = backweld()
  302. hb.Deselected:connect(function(mouse)
  303. while anim do wait() end
  304. if equip then
  305. anim = true
  306. for i = 1, 10 do wait();banim = true;
  307. animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(0),i/10)
  308. animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,i/10);animate("Toso",co,0,0,math.rad(0),i/10)
  309. animate("rr",CFrame.new(1.5,0.5,0),math.rad(190),math.rad(0),math.rad(20),i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(0),math.rad(0),math.rad(0),i/10)
  310. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(0),i/10);animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(0),i/10)
  311.  
  312. end
  313. equip = false;banim=false;hw.Part0=t;hw.C0=CFrame.new(1.5,2,0.75)*CFrame.Angles(0,0,math.rad(135))
  314. for i = 1, 10 do wait();banim = true;
  315. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(0),math.rad(0),i/10)
  316. end
  317. reset()
  318. anim = false
  319. end
  320. end)
  321.  
  322.  
  323. function jump()
  324. for i = 1, 10 do
  325. if equip and not anim and (t.Velocity*Vector3.new(0, 1, 0)).magnitude > 2 then
  326. jumped = false
  327. animate("rr",CFrame.new(1.5,0.5,0),math.rad(45),math.rad(0),math.rad(0),i/10);animate("bw",CFrame.new(0,-1,-0.25),math.rad(10),math.rad(90),math.rad(-35),i/10)
  328. animate("leg",CFrame.new(-0.5,-1,0),math.rad(-45),math.rad(0),math.rad(0),i/10);animate("reg",CFrame.new(0.5,-1+.25*(i/10),-0.5*(i/10)),math.rad(-30),math.rad(0),math.rad(0),i/10)
  329. animate("Toso",co,0,0,math.rad(0),i/10);animate("hr",CFrame.new(0,1,0),math.rad(5),math.rad(0),0,i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-45),math.rad(0),math.rad(25),i/10)
  330. jumped = true
  331. wait()
  332. else
  333. break
  334. end
  335. end
  336. end
  337. function fal(hit)
  338. if hit.Parent ~= sword and hit.CanCollide == true and hit.Parent ~= char and jumped then
  339. for i = 1, 10 do
  340. if equip and not anim and jumped then
  341. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(0),math.rad(0),i/10);animate("bw",CFrame.new(0,-1,-0.25),math.rad(10),math.rad(90),math.rad(-35),i/10)
  342. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(0),i/10);animate("reg",CFrame.new(0.5,-.75-.25*(i/10),-0.5+.5*(i/10)),math.rad(0),math.rad(0),math.rad(0),i/10)
  343. animate("Toso",co,0,0,math.rad(0),i/10);animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,i/10);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(0),math.rad(0),math.rad(-25),i/10)
  344. wait()
  345. else
  346. break
  347. end
  348. end
  349. jumped = false
  350. end
  351. end
  352. rl.Touched:connect(fal);ll.Touched:connect(fal)
  353. inf = 0;wasidle=false;jumped=false
  354. humanoid.Jumping:connect(jump)
  355.  
  356.  
  357.  
  358.  
  359. function lineEffect(tip)
  360. if tip~= nil then
  361. off = (tip.Mesh.Scale.z/tip.Size.z)/2
  362. point = (tip.CFrame*CFrame.new(0, 0, -off)).p
  363. unit = (lastpoint - point).unit
  364. mag = (lastpoint - point).magnitude
  365. if mag>1 then
  366. middle = lastpoint-(unit*(mag/2))
  367. cf = CFrame.new(middle, point)
  368. l = Instance.new("Part")
  369. l.Material = "Neon"
  370. l.Name = "Wind"
  371. l.Anchored = true
  372. l.CanCollide = false
  373. l.Size = Vector3.new(1, 1, mag)
  374. l.BrickColor = BrickColor.new(color2)
  375. l.TopSurface = "SmoothNoOutlines"
  376. l.BottomSurface = "SmoothNoOutlines"
  377. l.RightSurface = "SmoothNoOutlines"
  378. l.LeftSurface = "SmoothNoOutlines"
  379. local m= Instance.new("SpecialMesh")
  380. m.Name = "Mesh"
  381. m.MeshType = "Brick"
  382. if shadowblades and tip == claw2.BladeT then
  383. m.Scale = Vector3.new(1, .025, mag)/l.Size
  384. l.Transparency = 0.8
  385. else
  386. m.Scale = Vector3.new(.215, .215, mag)/l.Size
  387. end
  388. m.Parent = l
  389. l.Parent = sword
  390. l.CFrame = cf
  391. lastpoint = point
  392. end
  393. coroutine.resume(coroutine.create(function(lo,mog)
  394. for i = 0 , 1 , 0.1 do if lo then
  395. wait()
  396. lo.Transparency = 1*i
  397. lo.Mesh.Scale = (Vector3.new(.215, .215, mog)/lo.Size)-Vector3.new(.215, .215, 0)*i
  398. end;end;if lo then
  399. lo.Parent = nil;end;
  400. end),l,mag)
  401. end
  402. end
  403.  
  404.  
  405.  
  406.  
  407. while true do
  408. if inf == 1000 then
  409. inf = 0
  410. end
  411. if equip and not anim and not jumped then banim = true --and (t.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then (t.Velocity*Vector3.new(0, 1, 0)).magnitude > 2
  412. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90+6*math.cos(inf/15)),math.rad(30),math.rad(37.5),1);animate("bw",CFrame.new(0,-1,-0.25),math.rad(10),math.rad(90),math.rad(-35),1)
  413. if (t.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  414. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),math.rad(0),math.rad(-20),1);animate("hr",CFrame.new(0,1,0),math.rad(-25+4*math.cos(inf/15)),math.rad(25),0,1)
  415. animate("reg",CFrame.new(0.5,-1,0),math.rad(0),math.rad(0),math.rad(20),1)
  416. animate("lr",CFrame.new(-1.5,0.65+0.15*math.cos(inf/15),0),math.rad(0),math.rad(0),math.rad(-25),1);animate("Toso",co,0,0,math.rad(-20),1)
  417. elseif(t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 then
  418. animate("Toso",co,0,0,math.rad(0),1);animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,1)
  419. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-35*math.cos(inf/4)),math.rad(0),math.rad(0),1);
  420. animate("leg",CFrame.new(-0.5,-.85+.15*math.cos(inf/2),0+.1*math.cos(inf/4)),math.rad(45*math.cos(inf/4)),math.rad(0),math.rad(0),1)
  421. animate("reg",CFrame.new(0.5,-.85-.15*math.cos(inf/2),0-.1*math.cos(inf/4)),math.rad(-45*math.cos((inf)/4)),math.rad(0),math.rad(0),1)
  422. end
  423.  
  424. end
  425. inf =inf+1
  426. wait()
  427. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement