Advertisement
DDDDDtuij

Untitled

Oct 7th, 2016
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.85 KB | None | 0 0
  1. Player=game:GetService('Players').endermites15
  2. Character=Player.Character
  3. Mouse=Player:GetMouse()
  4. m=Instance.new('Model',Character)
  5. m.Name="CryogenArm"
  6.  
  7.  
  8. local function weldBetween(a, b)
  9. local weldd = Instance.new("ManualWeld")
  10. weldd.Part0 = a
  11. weldd.Part1 = b
  12. weldd.C0 = CFrame.new()
  13. weldd.C1 = b.CFrame:inverse() * a.CFrame
  14. weldd.Parent = a
  15. return weldd
  16. end
  17.  
  18. it=Instance.new
  19.  
  20. function nooutline(part)
  21. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  22. end
  23.  
  24. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  25. local fp=it("Part")
  26. fp.formFactor=formfactor
  27. fp.Parent=parent
  28. fp.Reflectance=reflectance
  29. fp.Transparency=transparency
  30. fp.CanCollide=false
  31. fp.Locked=true
  32. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  33. fp.Name=name
  34. fp.Size=size
  35. fp.Position=Character.Torso.Position
  36. nooutline(fp)
  37. fp.Material=material
  38. fp:BreakJoints()
  39. return fp
  40. end
  41.  
  42. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  43. local mesh=it(Mesh)
  44. mesh.Parent=part
  45. if Mesh=="SpecialMesh" then
  46. mesh.MeshType=meshtype
  47. mesh.MeshId=meshid
  48. end
  49. mesh.Offset=offset
  50. mesh.Scale=scale
  51. return mesh
  52. end
  53.  
  54. function weld(parent,part0,part1,c0,c1)
  55. local weld=it("Weld")
  56. weld.Parent=parent
  57. weld.Part0=part0
  58. weld.Part1=part1
  59. weld.C0=c0
  60. weld.C1=c1
  61. return weld
  62. end
  63.  
  64. MN=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  65. MNweld=weld(m,Character["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
  66. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  67. TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  68. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  69. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"really red","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  70. MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
  71. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  72. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  73. MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  74. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  75. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  76. MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  77. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  78. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  79. MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  80. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  81. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  82. MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  83. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  84. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  85. MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  86. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  87. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  88. MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  89. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  90. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  91. MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
  92. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  93. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"really red","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  94. MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  95. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  96. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  97. MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  98. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  99. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  100. MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  101. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  102. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  103. MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  104. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  105. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  106. MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  107. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  108. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  109. MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  110. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  111. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  112. MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  113. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  114. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  115. MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  116. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  117. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  118. MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  119. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  120. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  121. MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  122. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  123. MD21=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  124. MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847))
  125. mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
  126. --opoop you found me
  127. AM2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","AM2",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  128. AM2weld=weld(m,TG2,AM2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.166828156, 3.64780426e-05, 2.43186951e-05, -0.000192319567, -1, -0.000198441558, 0.99999994, -0.000192359177, 0.000197284782, -0.000197345667, -0.000198401511, 1))
  129. mesh("SpecialMesh",AM2,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))
  130. --pls stop
  131. AM3=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","AM3",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  132. AM3weld=weld(m,TG3,AM3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.166828156, 3.67164612e-05, 1.04904175e-05, -0.000191303392, -1.00000393, -0.000253161415, 1.00000441, -0.000187523692, 0.000130466695, -0.000134325906, -0.000248713419, 1.00000381))
  133. mesh("SpecialMesh",AM3,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))
  134.  
  135.  
  136. --[[MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  137. MNweld=weld(m,Character["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
  138. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Maroon","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  139. TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  140. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  141. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  142. MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
  143. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  144. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  145. MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  146. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  147. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  148. MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  149. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  150. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  151. MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  152. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  153. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  154. MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  155. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  156. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  157. MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  158. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  159. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  160. MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  161. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  162. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  163. MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
  164. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  165. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  166. MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  167. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  168. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  169. MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  170. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  171. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  172. MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  173. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  174. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  175. MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  176. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  177. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  178. MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  179. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  180. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  181. MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  182. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  183. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  184. MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  185. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  186. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  187. MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  188. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  189. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  190. MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  191. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  192. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  193. MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  194. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) ]]
  195. -----------------------
  196. local p = game.Players.LocalPlayer
  197. local char = p.Character
  198. local mouse = p:GetMouse()
  199. local larm = char["Left Arm"]
  200. local rarm = char["Right Arm"]
  201. local lleg = char["Left Leg"]
  202. local rleg = char["Right Leg"]
  203. local hed = char.Head
  204. local torso = char.Torso
  205. local hum = char.Humanoid
  206. local cam = game.Workspace.CurrentCamera
  207. local root = char.HumanoidRootPart
  208. local deb = false
  209. local shot = 0
  210. local stanceToggle = "Normal"
  211. local laststanceToggle = "Normal"
  212. local l = game:GetService("Lighting")
  213. local debris=game:service"Debris"
  214. local rs = game:GetService("RunService").RenderStepped
  215. math.randomseed(os.time())
  216. hum.MaxHealth = 9001
  217. wait(1)
  218. hum.Health = 9001
  219. for i,v in pairs(char:children()) do
  220. if v:IsA("Hat") then
  221. v:Destroy()
  222. end
  223. end
  224. for i,v in pairs (hed:GetChildren()) do
  225. if v:IsA("Sound") then
  226. v:Destroy()
  227. end
  228. end
  229. ----------------------------------------------------
  230. ypcall(function()
  231. char.Shirt:Destroy()
  232. char.Pants:Destroy()
  233. shirt = Instance.new("Shirt", char)
  234. shirt.Name = "Shirt"
  235. pants = Instance.new("Pants", char)
  236. pants.Name = "Pants"
  237. char.Shirt.ShirtTemplate = "rbxassetid://246438816"
  238. char.Pants.PantsTemplate = "rbxassetid://267068334"
  239. end)
  240. ----------------------------------------------------
  241. Debounces = {
  242. CanAttack = true;
  243. CanJoke = true;
  244. NoIdl = false;
  245. Slashing = false;
  246. Slashed = false;
  247. Slapping = false;
  248. Slapped = false;
  249. ks = false;
  250. Shewt = false;
  251. }
  252. local Touche = {char.Name, }
  253. ----------------------------------------------------
  254. function Tween(a,b,c)
  255. return a+(b-a)*c
  256. end
  257. ----------------------------------------------------
  258. function nwPrt(prnt,siz,cf,col)
  259. local prt=Instance.new("Part")
  260. prt.Parent=prnt
  261. prt.FormFactor=3
  262. prt.Name="Part"
  263. prt.Size=siz
  264. prt.CanCollide=false
  265. prt.Anchored=true
  266. prt.Locked=true
  267. prt.TopSurface=10
  268. prt.BottomSurface=10
  269. prt.FrontSurface=10
  270. prt.BackSurface=10
  271. prt.LeftSurface=10
  272. prt.RightSurface=10
  273. prt:BreakJoints()
  274. prt.CFrame=cf or CFrame.new(30,10,30)
  275. prt.Material="Neon"
  276. prt.BrickColor=BrickColor.new(col)
  277. m=Instance.new("SpecialMesh",prt)
  278. m.MeshType=6
  279. return prt
  280. end
  281. ----------------------------------------------------
  282. function nwSnd(prnt,pch,vol,id)
  283. local s=Instance.new("Sound",prnt)
  284. s.Pitch=pch
  285. s.Volume=vol
  286. s.SoundId="rbxassetid://"..id
  287. s.PlayOnRemove=true
  288. return s
  289. end
  290. ----------------------------------------------------
  291. function weld5(part0, part1, c0, c1)
  292. weeld=Instance.new("Weld", part0)
  293. weeld.Part0=part0
  294. weeld.Part1=part1
  295. weeld.C0=c0
  296. weeld.C1=c1
  297. return weeld
  298. end
  299. ----------------------------------------------------
  300. function newRay(start,face,range,wat)
  301. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  302. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  303. return rey,hit,pos
  304. end
  305. ----------------------------------------------------
  306. function HasntTouched(plrname)
  307. local ret = true
  308. for _, v in pairs(Touche) do
  309. if v == plrname then
  310. ret = false
  311. end
  312. end
  313. return ret
  314. end
  315. ----------------------------------------------------
  316. mod=Instance.new('Model',char)
  317.  
  318. function Burst()
  319. part=Instance.new('Part',mod)
  320. part.Anchored=true
  321. part.CanCollide=false
  322. part.FormFactor='Custom'
  323. part.Size=Vector3.new(.2,.2,.2)
  324. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  325. part.Transparency=.7
  326. part.BrickColor=BrickColor.new('Really red')
  327. mesh=Instance.new('SpecialMesh',part)
  328. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  329. mesh.Scale=Vector3.new(10,5,10)
  330. part2=part:clone()
  331. part2.Parent=mod
  332. part2.BrickColor=BrickColor.new('Bright red')
  333. mesh2=mesh:clone()
  334. mesh2.Parent=part2
  335. mesh2.Scale=Vector3.new(5,2.5,5)
  336. coroutine.resume(coroutine.create(function()
  337. for i=0,1,0.1 do
  338. wait()
  339. part.CFrame=part.CFrame
  340. part.Transparency=i
  341. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  342. part2.CFrame=part2.CFrame
  343. part2.Transparency=i
  344. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  345. end
  346. part.Parent=nil
  347. part2.Parent=nil
  348. end))
  349. end
  350. ----------------------------------------------------
  351. mod4 = Instance.new("Model",char)
  352.  
  353. ptez = {0.7, 0.8, 0.9, 1}
  354.  
  355. function FindNearestTorso(Position,Distance,SinglePlayer)
  356. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  357. local List = {}
  358. for i,v in pairs(workspace:GetChildren())do
  359. if v:IsA("Model")then
  360. if v:findFirstChild("Torso")then
  361. if v ~= char then
  362. if(v.Torso.Position -Position).magnitude <= Distance then
  363. table.insert(List,v)
  364. end
  365. end
  366. end
  367. end
  368. end
  369. return List
  370. end
  371.  
  372. function Slam()
  373. part=Instance.new('Part',mod4)
  374. part.Anchored=true
  375. part.CanCollide=false
  376. part.FormFactor='Custom'
  377. part.Size=Vector3.new(.2,.2,.2)
  378. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  379. part.Transparency=.7
  380. part.BrickColor=BrickColor.new('Really black')
  381. mesh=Instance.new('SpecialMesh',part)
  382. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  383. mesh.Scale=Vector3.new(3,3,3)
  384. part2=Instance.new('Part',mod4)
  385. part2.Anchored=true
  386. part2.CanCollide=false
  387. part2.FormFactor='Custom'
  388. part2.Size=Vector3.new(.2,.2,.2)
  389. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  390. part2.Transparency=.7
  391. part2.BrickColor=BrickColor.new('Really red')
  392. mesh2=Instance.new('SpecialMesh',part2)
  393. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  394. mesh2.Scale=Vector3.new(3,1.5,3)
  395. x = Instance.new("Sound",char)
  396. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  397. x.Pitch = ptez[math.random(1,#ptez)]
  398. x.Volume = 1
  399. wait(.1)
  400. x1 = Instance.new("Sound",char)
  401. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  402. x1.Pitch = ptez[math.random(1,#ptez)]
  403. x1.Volume = 1
  404. wait(.1)
  405. x:Play()
  406. x1:Play()
  407. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  408. if v:FindFirstChild('Humanoid') then
  409. v.Humanoid:TakeDamage(math.random(30,45))
  410. end
  411. end
  412. coroutine.resume(coroutine.create(function()
  413. for i=0,0.62,0.13 do
  414. wait()
  415. part.CFrame=part.CFrame
  416. part.Transparency=i
  417. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  418. part2.CFrame=part2.CFrame
  419. part2.Transparency=i
  420. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  421. end
  422. part.Parent=nil
  423. part2.Parent=nil
  424. x:Destroy()
  425. end))
  426. end
  427. ----------------------------------------------------
  428. GroundWave = function()
  429. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  430. local Colors = {"Really red", "Really red"}
  431. local wave = Instance.new("Part", torso)
  432. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  433. wave.Anchored = true
  434. wave.CanCollide = false
  435. wave.Locked = true
  436. wave.Size = Vector3.new(1, 1, 1)
  437. wave.TopSurface = "Smooth"
  438. wave.BottomSurface = "Smooth"
  439. wave.Transparency = 0.35
  440. wave.CFrame = HandCF
  441. wm = Instance.new("SpecialMesh", wave)
  442. wm.MeshId = "rbxassetid://3270017"
  443. coroutine.wrap(function()
  444. for i = 1, 14, 1 do
  445. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  446. wave.Size = wm.Scale
  447. wave.CFrame = HandCF
  448. wave.Transparency = i/14
  449. wait()
  450. end
  451. wait()
  452. wave:Destroy()
  453. end)()
  454. end
  455. ----------------------------------------------------
  456. Magik = function()
  457. Spawn(function()
  458. if stanceToggle == "Normal" or stanceToggle == "Melee" then
  459. local function lerp(a,b,c)
  460. return a+(b-a)*c
  461. end
  462. local function rndRange(rng)
  463. return math.random(-rng*1000,rng*1000)/1000
  464. end
  465. local magik = Instance.new("Part", larm)
  466. local Colors = {"Really red", "Really black"}
  467. magik.Anchored = true
  468. magik.Locked = true
  469. magik.FormFactor = "Custom"
  470. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  471. magik.TopSurface = "Smooth"
  472. magik.BottomSurface = "Smooth"
  473. magik.Transparency = 0
  474. magik.CanCollide = false
  475. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  476. local mr = math.rad
  477. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  478. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  479. magik.CFrame = cf
  480. for i = 0, 1, .05 do
  481. local newTrans = lerp(0.5, 1, i)
  482. local ns = lerp(1,1.2,i)
  483. magik.Transparency = newTrans
  484. magik.Size = Vector3.new(ns,ns,ns)
  485. magik.CFrame = cf
  486. rs:wait()
  487. end
  488. magik:Destroy()
  489. elseif stanceToggle ~= "Normal" or stanceToggle ~= "Melee" then
  490. wait()
  491. end
  492. end)
  493. end
  494. ----------------------------------------------------
  495. Magik2 = function()
  496. Spawn(function()
  497. if stanceToggle == "Melee" then
  498. local function lerp(a,b,c)
  499. return a+(b-a)*c
  500. end
  501. local function rndRange(rng)
  502. return math.random(-rng*1000,rng*1000)/1000
  503. end
  504. local magik2 = Instance.new("Part", rarm)
  505. local Colors = {"Really red", "Really red"}
  506. magik2.Anchored = true
  507. magik2.Locked = true
  508. magik2.FormFactor = "Custom"
  509. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  510. magik2.TopSurface = "Smooth"
  511. magik2.BottomSurface = "Smooth"
  512. magik2.Transparency = 0
  513. magik2.CanCollide = false
  514. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  515. local mr = math.rad
  516. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  517. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  518. magik2.CFrame = cf
  519. for i = 0, 1, .05 do
  520. local newTrans = lerp(0.5, 1, i)
  521. local ns = lerp(1,1.2,i)
  522. magik2.Transparency = newTrans
  523. magik2.Size = Vector3.new(ns,ns,ns)
  524. magik2.CFrame = cf
  525. rs:wait()
  526. end
  527. magik2:Destroy()
  528. elseif stanceToggle ~= "Melee" then
  529. wait()
  530. end
  531. end)
  532. end
  533. ----------------------------------------------------
  534. Magik3 = function()
  535. Spawn(function()
  536. if stanceToggle == "Devil" then
  537. local function lerp(a,b,c)
  538. return a+(b-a)*c
  539. end
  540. local function rndRange(rng)
  541. return math.random(-rng*1000,rng*1000)/1000
  542. end
  543. local magik3 = Instance.new("Part", rarm)
  544. local Colors = {"Really red", "Really black"}
  545. magik3.Anchored = true
  546. magik3.Locked = true
  547. magik3.FormFactor = "Custom"
  548. magik3.Size = Vector3.new(1.2, 1.2, 1.2)
  549. magik3.TopSurface = "Smooth"
  550. magik3.BottomSurface = "Smooth"
  551. magik3.Transparency = 0
  552. magik3.CanCollide = false
  553. magik3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  554. local mr = math.rad
  555. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  556. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  557. magik3.CFrame = cf
  558. for i = 0, 1, .05 do
  559. local newTrans = lerp(0.5, 1, i)
  560. local ns = lerp(1,1.2,i)
  561. magik3.Transparency = newTrans
  562. magik3.Size = Vector3.new(ns,ns,ns)
  563. magik3.CFrame = cf
  564. rs:wait()
  565. end
  566. magik3:Destroy()
  567. elseif stanceToggle ~= "Devil" then
  568. wait()
  569. end
  570. end)
  571. end
  572. ----------------------------------------------------
  573. Magik4 = function()
  574. Spawn(function()
  575. if stanceToggle == "Devil" then
  576. local function lerp(a,b,c)
  577. return a+(b-a)*c
  578. end
  579. local function rndRange(rng)
  580. return math.random(-rng*1000,rng*1000)/1000
  581. end
  582. local magik4 = Instance.new("Part", larm)
  583. local Colors = {"Really red", "Really red"}
  584. magik4.Anchored = true
  585. magik4.Locked = true
  586. magik4.FormFactor = "Custom"
  587. magik4.Size = Vector3.new(1.2, 1.2, 1.2)
  588. magik4.TopSurface = "Smooth"
  589. magik4.BottomSurface = "Smooth"
  590. magik4.Transparency = 0
  591. magik4.CanCollide = false
  592. magik4.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  593. local mr = math.rad
  594. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  595. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  596. magik4.CFrame = cf
  597. for i = 0, 1, .05 do
  598. local newTrans = lerp(0.5, 1, i)
  599. local ns = lerp(1,1.2,i)
  600. magik4.Transparency = newTrans
  601. magik4.Size = Vector3.new(ns,ns,ns)
  602. magik4.CFrame = cf
  603. rs:wait()
  604. end
  605. magik4:Destroy()
  606. elseif stanceToggle ~= "Devil" then
  607. wait()
  608. end
  609. end)
  610. end
  611. ----------------------------------------------------
  612. function lerp(a, b, t) -- Linear interpolation
  613. return a + (b - a)*t
  614. end
  615.  
  616. function slerp(a, b, t) --Spherical interpolation
  617. dot = a:Dot(b)
  618. if dot > 0.99999 or dot < -0.99999 then
  619. return t <= 0.5 and a or b
  620. else
  621. r = math.acos(dot)
  622. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  623. end
  624. end
  625.  
  626. function matrixInterpolate(a, b, t)
  627. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  628. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  629. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  630. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  631. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  632. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  633. local t = v1:Dot(v2)
  634. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  635. return CFrame.new()
  636. end
  637. return CFrame.new(
  638. v0.x, v0.y, v0.z,
  639. v1.x, v1.y, v1.z,
  640. v2.x, v2.y, v2.z,
  641. v3.x, v3.y, v3.z)
  642. end
  643. ----------------------------------------------------
  644. function genWeld(a,b)
  645. local w = Instance.new("Weld",a)
  646. w.Part0 = a
  647. w.Part1 = b
  648. return w
  649. end
  650. function weld(a, b)
  651. local weld = Instance.new("Weld")
  652. weld.Name = "W"
  653. weld.Part0 = a
  654. weld.Part1 = b
  655. weld.C0 = a.CFrame:inverse() * b.CFrame
  656. weld.Parent = a
  657. return weld;
  658. end
  659. ----------------------------------------------------
  660. function Lerp(c1,c2,al)
  661. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  662. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  663. for i,v in pairs(com1) do
  664. com1[i] = v+(com2[i]-v)*al
  665. end
  666. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  667. end
  668. ----------------------------------------------------
  669. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  670. local wld = Instance.new("Weld", wp1)
  671. wld.Part0 = wp0
  672. wld.Part1 = wp1
  673. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  674. end
  675. ----------------------------------------------------
  676. newWeld(torso, larm, -1.5, 0.5, 0)
  677. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  678. newWeld(torso, rarm, 1.5, 0.5, 0)
  679. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  680. newWeld(torso, hed, 0, 1.5, 0)
  681. newWeld(torso, lleg, -0.5, -1, 0)
  682. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  683. newWeld(torso, rleg, 0.5, -1, 0)
  684. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  685. newWeld(root, torso, 0, -1, 0)
  686. torso.Weld.C1 = CFrame.new(0, -1, 0)
  687. ----------------------------------------------------
  688. --local SIDz = {"167985102"}--181449739, 167161785, 148274436, 167985102
  689. z = Instance.new("Sound",char)
  690. z.SoundId = "rbxassetid://148274436"--..SIDz[math.random(1,#SIDz)]
  691. z.Looped = true
  692. z.Volume = 1
  693. z.Pitch = .72
  694. wait(1)
  695. z:Play()
  696. hum.WalkSpeed = 16
  697. lite = Instance.new("PointLight",torso)
  698. lite.Brightness = 16
  699. lite.Range = 12
  700. lite.Color = Color3.new(255/255,0,0)
  701. ----------------------------------------------------
  702. l = game.Lighting
  703. rb = Color3.new(0,0,0)
  704. nb = Color3.new(0.1,0.1,0.1)
  705. --l.TimeOfDay = 0
  706. --[[l.Ambient = rb
  707. l.OutdoorAmbient = rb
  708. l.FogColor = rb
  709. l.FogEnd = 100
  710. s = Instance.new("Sky",l)
  711. s.CelestialBodiesShown = false
  712. workspace.Base.Material = "Plastic"
  713. workspace.Base.BrickColor = BrickColor.new("Really black")]]--
  714. ----------------------------------------------------
  715. local m = Instance.new("Model")
  716. m.Name = "Genkadda"
  717. p1 = Instance.new("Part", m)
  718. p1.Material = "Metal"
  719. p1.BrickColor = BrickColor.new("Really red")
  720. p1.Name = "BladePart"
  721. p1.FormFactor = Enum.FormFactor.Symmetric
  722. p1.Size = Vector3.new(1, 1, 1)
  723. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  724. p1.CanCollide = false
  725. p1.Locked = true
  726. p1.Elasticity = 0
  727. p1.BottomSurface = Enum.SurfaceType.Smooth
  728. p1.TopSurface = Enum.SurfaceType.Smooth
  729. b1 = Instance.new("BlockMesh", p1)
  730. b1.Name = "Mesh"
  731. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  732. p2 = Instance.new("Part", m)
  733. p2.Material = "Metal"
  734. p2.BrickColor = BrickColor.new("Really black")
  735. p2.FormFactor = Enum.FormFactor.Symmetric
  736. p2.Size = Vector3.new(1, 1, 1)
  737. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  738. p2.CanCollide = false
  739. p2.Locked = true
  740. p2.Elasticity = 0
  741. p2.BottomSurface = Enum.SurfaceType.Smooth
  742. p2.TopSurface = Enum.SurfaceType.Smooth
  743. b2 = Instance.new("BlockMesh", p2)
  744. b2.Name = "Mesh"
  745. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  746. p3 = Instance.new("Part", m)
  747. p3.Material = "Metal"
  748. p3.BrickColor = BrickColor.new("Really red")
  749. p3.FormFactor = Enum.FormFactor.Symmetric
  750. p3.Size = Vector3.new(1, 2, 1)
  751. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  752. p3.CanCollide = false
  753. p3.Locked = true
  754. p3.Elasticity = 0
  755. p3.BottomSurface = Enum.SurfaceType.Smooth
  756. p3.TopSurface = Enum.SurfaceType.Smooth
  757. b3 = Instance.new("BlockMesh", p3)
  758. b3.Name = "Mesh"
  759. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  760. p4 = Instance.new("Part", m)
  761. p4.Material = "Metal"
  762. p4.BrickColor = BrickColor.new("Really black")
  763. p4.Name = "BladePart"
  764. p4.FormFactor = Enum.FormFactor.Symmetric
  765. p4.Size = Vector3.new(1, 1, 1)
  766. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  767. p4.CanCollide = false
  768. p4.Locked = true
  769. p4.Elasticity = 0
  770. p4.BottomSurface = Enum.SurfaceType.Smooth
  771. p4.TopSurface = Enum.SurfaceType.Smooth
  772. b4 = Instance.new("BlockMesh", p4)
  773. b4.Name = "Mesh"
  774. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  775. p5 = Instance.new("Part", m)
  776. p5.Material = "Metal"
  777. p5.BrickColor = BrickColor.new("Really red")
  778. p5.Name = "Hilt"
  779. p5.FormFactor = Enum.FormFactor.Custom
  780. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  781. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  782. p5.CanCollide = false
  783. p5.Locked = true
  784. p5.BottomSurface = Enum.SurfaceType.Smooth
  785. p5.TopSurface = Enum.SurfaceType.Smooth
  786. b5 = Instance.new("BlockMesh", p5)
  787. b5.Name = "Mesh"
  788. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  789. p6 = Instance.new("Part", m)
  790. p6.Material = "Metal"
  791. p6.BrickColor = BrickColor.new("Really black")
  792. p6.Name = "Handle"
  793. p6.FormFactor = Enum.FormFactor.Custom
  794. p6.Size = Vector3.new(1.29999995, 1, 1)
  795. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  796. p6.CanCollide = false
  797. p6.Locked = true
  798. p6.BottomSurface = Enum.SurfaceType.Smooth
  799. p6.TopSurface = Enum.SurfaceType.Smooth
  800. b6 = Instance.new("SpecialMesh", p6)
  801. b6.MeshType = Enum.MeshType.Cylinder
  802. b6.Name = "Mesh"
  803. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  804. p7 = Instance.new("Part", m)
  805. p7.Material = "Metal"
  806. p7.BrickColor = BrickColor.new("Really red")
  807. p7.FormFactor = Enum.FormFactor.Symmetric
  808. p7.Size = Vector3.new(1, 1, 1)
  809. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  810. p7.CanCollide = false
  811. p7.Locked = true
  812. b7 = Instance.new("SpecialMesh", p7)
  813. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  814. b7.TextureId = ""
  815. b7.MeshType = Enum.MeshType.FileMesh
  816. b7.Name = "Mesh"
  817. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  818. p8 = Instance.new("Part", m)
  819. p8.Material = "Metal"
  820. p8.BrickColor = BrickColor.new("Really black")
  821. p8.Name = "BladePart"
  822. p8.FormFactor = Enum.FormFactor.Symmetric
  823. p8.Size = Vector3.new(1, 1, 1)
  824. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  825. p8.CanCollide = false
  826. p8.Locked = true
  827. p8.Elasticity = 0
  828. p8.BottomSurface = Enum.SurfaceType.Smooth
  829. p8.TopSurface = Enum.SurfaceType.Smooth
  830. b8 = Instance.new("BlockMesh", p8)
  831. b8.Name = "Mesh"
  832. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  833. p9 = Instance.new("Part", m)
  834. p9.Material = "Metal"
  835. p9.BrickColor = BrickColor.new("Really red")
  836. p9.Name = "BladePart"
  837. p9.FormFactor = Enum.FormFactor.Symmetric
  838. p9.Size = Vector3.new(1, 1, 1)
  839. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  840. p9.CanCollide = false
  841. p9.Locked = true
  842. p9.Elasticity = 0
  843. p9.BottomSurface = Enum.SurfaceType.Smooth
  844. p9.TopSurface = Enum.SurfaceType.Smooth
  845. b9 = Instance.new("BlockMesh", p9)
  846. b9.Name = "Mesh"
  847. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  848. p10 = Instance.new("Part", m)
  849. p10.Material = "Metal"
  850. p10.BrickColor = BrickColor.new("Really red")
  851. p10.Name = "BladeTip"
  852. p10.FormFactor = Enum.FormFactor.Symmetric
  853. p10.Size = Vector3.new(1, 1, 2)
  854. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  855. p10.CanCollide = false
  856. p10.Locked = true
  857. p10.Elasticity = 0
  858. p10.BottomSurface = Enum.SurfaceType.Smooth
  859. p10.TopSurface = Enum.SurfaceType.Smooth
  860. b10 = Instance.new("SpecialMesh", p10)
  861. b10.MeshType = Enum.MeshType.Wedge
  862. b10.Name = "Mesh"
  863. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  864. p11 = Instance.new("Part", m)
  865. p11.Material = "Metal"
  866. p11.BrickColor = BrickColor.new("Really black")
  867. p11.Name = "BladePart"
  868. p11.FormFactor = Enum.FormFactor.Symmetric
  869. p11.Size = Vector3.new(1, 1, 1)
  870. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  871. p11.CanCollide = false
  872. p11.Locked = true
  873. p11.Elasticity = 0
  874. p11.BottomSurface = Enum.SurfaceType.Smooth
  875. p11.TopSurface = Enum.SurfaceType.Smooth
  876. b11 = Instance.new("BlockMesh", p11)
  877. b11.Name = "Mesh"
  878. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  879. p12 = Instance.new("Part", m)
  880. p12.Material = "Metal"
  881. p12.BrickColor = BrickColor.new("Really red")
  882. p12.Name = "BladeTip2"
  883. p12.FormFactor = Enum.FormFactor.Custom
  884. p12.Size = Vector3.new(1, 1, 2.4000001)
  885. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  886. p12.CanCollide = false
  887. p12.Locked = true
  888. p12.Elasticity = 0
  889. p12.BottomSurface = Enum.SurfaceType.Smooth
  890. p12.TopSurface = Enum.SurfaceType.Smooth
  891. b12 = Instance.new("SpecialMesh", p12)
  892. b12.MeshType = Enum.MeshType.Wedge
  893. b12.Name = "Mesh"
  894. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  895. p13 = Instance.new("Part", m)
  896. p13.Material = "Metal"
  897. p13.BrickColor = BrickColor.new("Medium stone grey")
  898. p13.Transparency = 1
  899. p13.Name = "HitBox"
  900. p13.FormFactor = Enum.FormFactor.Custom
  901. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  902. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  903. p13.CanCollide = false
  904. p13.Locked = true
  905. p13.BottomSurface = Enum.SurfaceType.Smooth
  906. p13.TopSurface = Enum.SurfaceType.Smooth
  907. w1 = Instance.new("Weld", p1)
  908. w1.Name = "Part_Weld"
  909. w1.Part0 = p1
  910. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  911. w1.Part1 = p2
  912. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  913. w2 = Instance.new("Weld", p2)
  914. w2.Name = "Part_Weld"
  915. w2.Part0 = p2
  916. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  917. w2.Part1 = p3
  918. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  919. w3 = Instance.new("Weld", p3)
  920. w3.Name = "BladePart_Weld"
  921. w3.Part0 = p3
  922. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  923. w3.Part1 = p4
  924. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  925. w4 = Instance.new("Weld", p4)
  926. w4.Name = "Hilt_Weld"
  927. w4.Part0 = p4
  928. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  929. w4.Part1 = p5
  930. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  931. w5 = Instance.new("Weld", p5)
  932. w5.Name = "Handle_Weld"
  933. w5.Part0 = p5
  934. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  935. w5.Part1 = p6
  936. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  937. w6 = Instance.new("Weld", p6)
  938. w6.Name = "Part_Weld"
  939. w6.Part0 = p6
  940. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  941. w6.Part1 = p7
  942. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  943. w7 = Instance.new("Weld", p7)
  944. w7.Name = "BladePart_Weld"
  945. w7.Part0 = p7
  946. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  947. w7.Part1 = p8
  948. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  949. w8 = Instance.new("Weld", p8)
  950. w8.Name = "BladePart_Weld"
  951. w8.Part0 = p8
  952. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  953. w8.Part1 = p9
  954. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  955. w9 = Instance.new("Weld", p9)
  956. w9.Name = "BladeTip_Weld"
  957. w9.Part0 = p9
  958. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  959. w9.Part1 = p10
  960. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  961. w10 = Instance.new("Weld", p10)
  962. w10.Name = "BladePart_Weld"
  963. w10.Part0 = p10
  964. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  965. w10.Part1 = p11
  966. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  967. w11 = Instance.new("Weld", p11)
  968. w11.Name = "BladeTip2_Weld"
  969. w11.Part0 = p11
  970. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  971. w11.Part1 = p12
  972. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  973. w12 = Instance.new("Weld", p12)
  974. w12.Name = "HitBox_Weld"
  975. w12.Part0 = p12
  976. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  977. w12.Part1 = p13
  978. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  979. w13 = Instance.new("Weld", p13)
  980. w13.Name = "Weld"
  981. w13.Part0 = p13
  982. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  983. m.Parent = char
  984. m:MakeJoints()
  985. ----------------------------------------------------
  986. local cor = Instance.new("Part", char.Genkadda)
  987. cor.Name = "Thingy"
  988. cor.Locked = true
  989. cor.BottomSurface = 0
  990. cor.CanCollide = false
  991. cor.Size = Vector3.new(1, 9, 1)
  992. cor.Transparency = 1
  993. cor.TopSurface = 0
  994. corw = Instance.new("Weld", cor)
  995. corw.Part0 = rarm
  996. corw.Part1 = cor
  997. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  998. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  999. weld1 = Instance.new("Weld", char.Genkadda)
  1000. weld1.Part0 = cor
  1001. weld1.Part1 = char.Genkadda.Handle
  1002. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1003. ----------------------------------------------------
  1004. function Vanish()
  1005. for i = 1, 10 do wait()
  1006. for i,v in pairs(char.Genkadda:GetChildren()) do
  1007. if v:IsA("Part") or v:IsA("WedgePart") then
  1008. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1009. v.Transparency = v.Transparency + 0.1
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015. ----------------------------------------------------
  1016. function Appear()
  1017. for i = 1, 10 do wait()
  1018. for i,v in pairs(char.Genkadda:GetChildren()) do
  1019. if v:IsA("Part") or v:IsA("WedgePart") then
  1020. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1021. v.Transparency = v.Transparency - 0.1
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end
  1027. ----------------------------------------------------
  1028. function devilcr()
  1029. for i = 1, 10 do wait()
  1030. for i,v in pairs(char.CryogenArm:GetChildren()) do
  1031. if v:IsA("Part") or v:IsA("WedgePart") then
  1032. if v.BrickColor==BrickColor.new("Really red") then
  1033. v.BrickColor=BrickColor.new("Bright red") --("Really red")
  1034. end
  1035. end
  1036. end
  1037. end
  1038. end
  1039. ----------------------------------------------------
  1040. function normalcr()
  1041. for i = 1, 10 do wait()
  1042. for i,v in pairs(char.CryogenArm:GetChildren()) do
  1043. if v:IsA("Part") or v:IsA("WedgePart") then
  1044. if v.BrickColor==BrickColor.new("Bright red") then --("Really red") then
  1045. v.BrickColor=BrickColor.new("Really red")
  1046. end
  1047. end
  1048. end
  1049. end
  1050. end
  1051. ----------------------------------------------------
  1052. local player = game.Players.LocalPlayer
  1053. local pchar = player.Character
  1054. local mouse = player:GetMouse()
  1055. local cam = workspace.CurrentCamera
  1056.  
  1057. local rad = math.rad
  1058.  
  1059. local keysDown = {}
  1060. local flySpeed = 0
  1061. local MAX_FLY_SPEED = 50
  1062.  
  1063. local canFly = false
  1064. local flyToggled = false
  1065.  
  1066. local forward, side = 0, 0
  1067. local lastForward, lastSide = 0, 0
  1068.  
  1069. local floatBP = Instance.new("BodyPosition")
  1070. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1071. local flyBV = Instance.new("BodyVelocity")
  1072. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1073. local turnBG = Instance.new("BodyGyro")
  1074. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1075.  
  1076. mouse.KeyDown:connect(function(key)
  1077. keysDown[key] = true
  1078.  
  1079. if key == "f" then
  1080. flyToggled = not flyToggled
  1081.  
  1082. if not flyToggled then
  1083. stanceToggle = "Normal"
  1084. floatBP.Parent = nil
  1085. flyBV.Parent = nil
  1086. turnBG.Parent = nil
  1087. root.Velocity = Vector3.new()
  1088. pchar.Humanoid.PlatformStand = false
  1089. end
  1090. end
  1091.  
  1092. end)
  1093. mouse.KeyUp:connect(function(key)
  1094. keysDown[key] = nil
  1095. end)
  1096.  
  1097. local function updateFly()
  1098.  
  1099. if not flyToggled then return end
  1100.  
  1101. lastForward = forward
  1102. lastSide = side
  1103.  
  1104. forward = 0
  1105. side = 0
  1106.  
  1107. if keysDown.w then
  1108. forward = forward + 1
  1109. end
  1110. if keysDown.s then
  1111. forward = forward - 1
  1112. end
  1113. if keysDown.a then
  1114. side = side - 1
  1115. end
  1116. if keysDown.d then
  1117. side = side + 1
  1118. end
  1119.  
  1120. canFly = (forward ~= 0 or side ~= 0)
  1121.  
  1122. if canFly then
  1123. stanceToggle = "Floating"
  1124. turnBG.Parent = root
  1125. floatBP.Parent = nil
  1126. flyBV.Parent = root
  1127.  
  1128. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1129. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1130. else
  1131. floatBP.position = root.Position
  1132. floatBP.Parent = root
  1133.  
  1134. flySpeed = flySpeed - 1
  1135. if flySpeed < 0 then flySpeed = 0 end
  1136. end
  1137.  
  1138. local camCF = cam.CoordinateFrame
  1139. local in_forward = canFly and forward or lastForward
  1140. local in_side = canFly and side or lastSide
  1141.  
  1142. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1143. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1144.  
  1145. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1146. 0)
  1147. end
  1148.  
  1149. game:service'RunService'.RenderStepped:connect(function()
  1150. if flyToggled then
  1151. pchar.Humanoid.PlatformStand = true
  1152. end
  1153. updateFly()
  1154. end)
  1155. ----------------------------------------------------
  1156. p13.Touched:connect(function(ht)
  1157. hit = ht.Parent
  1158. if ht and hit:IsA("Model") then
  1159. if hit:FindFirstChild("Humanoid") then
  1160. if hit.Name ~= p.Name then
  1161. if Debounces.Slashing == true and Debounces.Slashed == false then
  1162. Debounces.Slashed = true
  1163. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  1164. wait(.3)
  1165. Debounces.Slashed = false
  1166. end
  1167. end
  1168. end
  1169. elseif ht and hit:IsA("Hat") then
  1170. if hit.Parent.Name ~= p.Name then
  1171. if hit.Parent:FindFirstChild("Humanoid") then
  1172. if Debounces.Slashing == true and Debounces.Slashed == false then
  1173. Debounces.Slashed = true
  1174. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  1175. wait(.3)
  1176. Debounces.Slashed = false
  1177. end
  1178. end
  1179. end
  1180. end
  1181. end)
  1182. ----------------------------------------------------
  1183. blocks = {}
  1184. last_block = nil
  1185. function ezBlock(type, name, cframe, size, rotation, material, parent, BrickColor, transparency,
  1186.  
  1187. weldToThis, formFactor)
  1188. block = Instance.new(type, parent)
  1189. block.Name = name
  1190. block.FormFactor=formFactor
  1191. block.Size = size
  1192. block.CanCollide = false
  1193. block.Anchored = false
  1194. block.BrickColor = BrickColor
  1195. block.Transparency=transparency
  1196. block.TopSurface = 'SmoothNoOutlines'
  1197. block.BottomSurface = 'SmoothNoOutlines'
  1198. block.FrontSurface = 'SmoothNoOutlines'
  1199. block.BackSurface = 'SmoothNoOutlines'
  1200. block.LeftSurface = 'SmoothNoOutlines'
  1201. block.RightSurface = 'SmoothNoOutlines'
  1202. block.Material = material
  1203. block.formFactor = 'Custom'
  1204. block.CFrame = cframe
  1205.  
  1206. if weldToThis then
  1207. stick(weldToThis, block)
  1208. elseif last_block ~= nil then
  1209. stick(block, last_block)
  1210. last_block = block
  1211. else
  1212. last_block = block
  1213. end
  1214. table.insert(blocks, block)
  1215.  
  1216. return #blocks
  1217. end
  1218. ----------------------------------------------------
  1219. for i, v in pairs(blocks) do
  1220. v.Parent = char.Genkadda
  1221. end
  1222. ----------------------------------------------------
  1223. local LastCFr = nil
  1224. local Trails = Instance.new("Model",char)
  1225. local Trail = {}
  1226. local Tip = char.Genkadda.BladeTip --blocks[test]
  1227. local number = 0
  1228. local num2 = 1
  1229. game:GetService("RunService").RenderStepped:connect(function()
  1230. local start = nil
  1231. for i = num2,number do
  1232. local v = Trail[i]
  1233. if v ~= nil then
  1234. local cfr = v.CFrame
  1235. local Amount = v.Size.Y/4
  1236. v.Size = v.Size-Vector3.new(0,Amount,0)
  1237. v.Transparency = v.Transparency+0.05
  1238. v.CFrame = cfr*CFrame.new(0,Amount/2,0)
  1239. if v.Size.Y <= 0.205 or v.Transparency > 0.95 then
  1240. v:Destroy()
  1241. Trail[i] = nil
  1242. num2=num2+1
  1243. end
  1244. break
  1245. end
  1246. end
  1247. if Debounces.Slashing then
  1248. if LastCFr ~= nil and (Tip.Position-LastCFr.p).Magnitude > 0.01 then
  1249. local cfr = Tip.CFrame
  1250. local T = Instance.new("Part",Trails)
  1251. number = number+1
  1252. Trail[number] = T
  1253. T.FormFactor = "Custom"
  1254. T.Name = "Trail"
  1255. T.Anchored = true
  1256. T.CanCollide = false
  1257. T.Size = Vector3.new(0.5,(LastCFr.p-cfr.p).Magnitude,0.5)
  1258. T.TopSurface = "SmoothNoOutlines"
  1259. T.BottomSurface = "SmoothNoOutlines"
  1260. T.FrontSurface = "SmoothNoOutlines"
  1261. T.BackSurface = "SmoothNoOutlines"
  1262. T.LeftSurface = "SmoothNoOutlines"
  1263. T.RightSurface = "SmoothNoOutlines"
  1264. --[[local m = Instance.new("SpecialMesh",T)
  1265. m.MeshType = "Head"
  1266. m.Name = "Mesh"]]
  1267. T.BrickColor = BrickColor.new("Really black")
  1268. T.Transparency = 0.4
  1269. T.CFrame = CFrame.new(cfr.p, LastCFr.p)* CFrame.Angles(math.rad(90),0,0) * CFrame.new(0, -(LastCFr.p-cfr.p).Magnitude/2, 0)
  1270. LastCFr = cfr
  1271. else
  1272. LastCFr = Tip.CFrame
  1273. end
  1274. else
  1275. if LastCFr ~= nil then LastCFr = nil Trails:ClearAllChildren() Trail = {} end
  1276. end
  1277. end)
  1278. ----------------------------------------------------
  1279. local orbt={}
  1280. local stlt={}
  1281. local chot={}
  1282. local cfxt={}
  1283. local pfxt={}
  1284. local cns=0
  1285. local cnOrb=nil
  1286. mouse.KeyDown:connect(function(key)
  1287. if key == "j" and stanceToggle == "Devil" then
  1288. if Debounces.CanAttack == true then
  1289. Debounces.CanAttack = false
  1290. Debounces.NoIdl = true
  1291. Debounces.on = true
  1292. orbt={}
  1293. stlt={}
  1294. chot={}
  1295. cfxt={}
  1296. --lol
  1297. for i = 1, 20 do
  1298. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.3,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2)
  1299. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(170),math.rad(-20),math.rad(-30)), 0.2)
  1300. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-40),0), 0.2)
  1301. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.2)
  1302. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0.15) * CFrame.Angles(math.rad(-20), math.rad(20), math.rad(-10)), 0.2)
  1303. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, -0.15) * CFrame.Angles(math.rad(20), math.rad(-10), math.rad(10)), 0.2)
  1304. if Debounces.on == false then end
  1305. rs:wait()
  1306. end
  1307. z = Instance.new("Sound",char)
  1308. z.SoundId = "rbxassetid://170053944"
  1309. z.Pitch = 1.07
  1310. z.Volume = 1
  1311. wait(0.1)
  1312. z:Play()
  1313. cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"Really red")
  1314. debris:AddItem(cnOrb,50)
  1315. cnOrb.Mesh.MeshType=3
  1316. table.insert(orbt,cnOrb)
  1317. table.insert(stlt,cnOrb)
  1318. local nt=0
  1319. for i=0,5,0.02 do
  1320. nt=nt+1
  1321. cns=i
  1322. if nt>=2 then
  1323. nt=0
  1324. local cho=nwPrt(mod3,Vector3.new(2,2,2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"Really black")
  1325. debris:AddItem(cho,1)
  1326. cho.Mesh.MeshType=3
  1327. table.insert(chot,cho)
  1328. end
  1329. cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1)
  1330. cnOrb.Mesh.Scale=Vector3.new(i,i,i)
  1331. wait()
  1332. end
  1333.  
  1334. --lol
  1335. function FindNearestTorso(Position,Distance,SinglePlayer)
  1336. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1337. local List = {}
  1338. for i,v in pairs(workspace:GetChildren())do
  1339. if v:IsA("Model")then
  1340. if v:findFirstChild("Torso")then
  1341. if v ~= char then
  1342. if(v.Torso.Position -Position).magnitude <= Distance then
  1343. table.insert(List,v)
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349. return List
  1350. end
  1351. --[[ z = Instance.new("Sound",hed)
  1352. z.SoundId = "rbxassetid://232213955"
  1353. z.Pitch = 1
  1354. z.Volume = 1
  1355. wait(0.2)
  1356. z:Play()
  1357. sp = Instance.new("Part",rarm)
  1358. sp.Anchored = true
  1359. sp.CanCollide = false
  1360. sp.Locked = true
  1361. sp.Transparency = 0
  1362. sp.Material = "Neon"
  1363. sp.Size = Vector3.new(1,1,1)
  1364. sp.TopSurface = "SmoothNoOutlines"
  1365. sp.BottomSurface = "SmoothNoOutlines"
  1366. sp.BrickColor = BrickColor.new("Really red")
  1367. spm = Instance.new("SpecialMesh",sp)
  1368. spm.MeshType = "Sphere"
  1369. spm.Scale = Vector3.new(21,21,21)
  1370. sp2 = Instance.new("Part", rarm)
  1371. sp2.Name = "Energy"
  1372. sp2.BrickColor = BrickColor.new("Really red")
  1373. sp2.Size = Vector3.new(1, 1, 1)
  1374. sp2.Shape = "Ball"
  1375. sp2.CanCollide = false
  1376. sp2.Anchored = true
  1377. sp2.Locked = true
  1378. sp2.TopSurface = 0
  1379. sp2.BottomSurface = 0
  1380. sp2.Transparency = 1
  1381. spm2 = Instance.new("SpecialMesh",sp2)
  1382. spm2.MeshId = "rbxassetid://9982590"
  1383. spm2.Scale = Vector3.new(2,2,2)
  1384. for i = 1, 20 do
  1385. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1386. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1387. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1388. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1389. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1390. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1391. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1392. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1393. if Debounces.on == false then break end
  1394. rs:wait()
  1395. end
  1396. for i = 1, 100, 20 do rs:wait()
  1397. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1398. end
  1399. for i = 1, 20 do
  1400. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1401. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1402. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1403. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1404. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1405. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1406. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1407. if Debounces.on == false then break end
  1408. rs:wait()
  1409. end
  1410. sp.Transparency = 1
  1411. for i = 1, 20 do
  1412. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1413. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1414. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1415. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1416. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1417. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1418. if Debounces.on == false then break end
  1419. rs:wait()
  1420. end
  1421. wait(1)
  1422. sp.Transparency = 0
  1423. sp2.Transparency = 0.84 ]]
  1424. for i = 1, 20 do
  1425. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1426. --sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1427. --sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1428. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1429. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1432. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1433. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1434. if Debounces.on == false then break end
  1435. rs:wait()
  1436. end
  1437. --[[for i = 1, 2880, 50 do
  1438. rs:wait()
  1439. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1440. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1441. rs:wait()
  1442. end
  1443. sp:Destroy()
  1444. sp2:Destroy() ]]
  1445. cnOrb:Destroy()
  1446. local X = Instance.new("Part",char)
  1447. local O = Instance.new("ObjectValue",X)
  1448. O.Name = "creator"
  1449. X.Locked = true
  1450. X.Name = "Shell"
  1451. X.Anchored = false
  1452. X.CanCollide = false
  1453. X.Transparency = 0
  1454. X.Reflectance = 0
  1455. X.BottomSurface = 0
  1456. X.TopSurface = 0
  1457. X.Shape = 0
  1458. local V = Instance.new("ObjectValue",X)
  1459. V.Value = char
  1460. V.Name = "creator"
  1461. --X.BrickColor = BrickColor.new("Really red")
  1462. X.BrickColor = BrickColor.new("Really red")
  1463. X.Size = Vector3.new(2,2,2)
  1464. X.Material = "Neon"
  1465. local Z = Instance.new("SpecialMesh",X)
  1466. Z.MeshType = "Sphere"
  1467. Z.Scale = Vector3.new(0.5,0.5,1)
  1468. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1469. local bv = Instance.new("BodyVelocity",X)
  1470. bv.maxForce = Vector3.new(99999,99999,99999)
  1471. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1472. bv.velocity = X.CFrame.lookVector*65
  1473.  
  1474. Explode = X.Touched:connect(function(hit)
  1475. if hit ~= char and hit.Name ~= "Shell" then
  1476. local cf = X.CFrame
  1477. bv:Destroy()
  1478. X.Anchored = true
  1479. Z:Remove()
  1480. Explode:disconnect()
  1481. X.Size = Vector3.new(3,3,3)
  1482. X.Touched:connect(function(hit) end)
  1483. X.CanCollide = false
  1484. local part3 = Instance.new("Part", rarm)
  1485. part3.Anchored=true
  1486. part3.CanCollide=false
  1487. part3.Locked = true
  1488. part3.TopSurface = "SmoothNoOutlines"
  1489. part3.BottomSurface = "SmoothNoOutlines"
  1490. part3.FormFactor='Custom'
  1491. part3.Size=Vector3.new(1,1, 1)
  1492. part3.CFrame=X.CFrame
  1493. part3.Transparency=0
  1494. --part3.BrickColor=BrickColor.new("Really red")
  1495. part3.BrickColor=BrickColor.new("Really black")
  1496. local mesh3 = Instance.new("SpecialMesh",part3)
  1497. mesh3.MeshType = "Sphere"
  1498. mesh3.Scale = Vector3.new(1,1,1)
  1499. --debris:AddItem(X,8)
  1500. local part4 = Instance.new("Part", rarm)
  1501. part4.Material = "Neon"
  1502. part4.Anchored=true
  1503. part4.CanCollide=false
  1504. part4.Locked = true
  1505. part4.TopSurface = "SmoothNoOutlines"
  1506. part4.BottomSurface = "SmoothNoOutlines"
  1507. part4.FormFactor='Custom'
  1508. part4.Size=Vector3.new(1,1, 1)
  1509. part4.CFrame=X.CFrame
  1510. part4.Transparency=0
  1511. --part4.BrickColor=BrickColor.new("Hot pink")
  1512. part4.BrickColor=BrickColor.new("Really red")
  1513. local mesh4 = Instance.new("SpecialMesh",part4)
  1514. mesh4.MeshType = "Sphere"
  1515. mesh4.Scale = Vector3.new(.5,.5,.5)
  1516. local part7 = Instance.new("Part", rarm)
  1517. part7.Material = "Neon"
  1518. part7.Anchored=true
  1519. part7.CanCollide=false
  1520. part7.Locked = true
  1521. part7.TopSurface = "SmoothNoOutlines"
  1522. part7.BottomSurface = "SmoothNoOutlines"
  1523. part7.FormFactor='Custom'
  1524. part7.Size=Vector3.new(1,1, 1)
  1525. part7.CFrame=X.CFrame
  1526. part7.Transparency=0
  1527. part7.BrickColor=BrickColor.new("Really black")
  1528. local mesh7 = Instance.new("SpecialMesh",part7)
  1529. mesh7.MeshType = "Sphere"
  1530. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1531. --[[X.Touched:connect(function(ht)
  1532. hit = ht.Parent
  1533. if ht and hit:IsA("Model") then
  1534. if hit:FindFirstChild("Humanoid") then
  1535. if hit.Name ~= p.Name then
  1536. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1537. wait(.3)
  1538. end
  1539. end
  1540. elseif ht and hit:IsA("Hat") then
  1541. if hit.Parent.Name ~= p.Name then
  1542. if hit.Parent:FindFirstChild("Humanoid") then
  1543. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1544. wait(.3)
  1545. end
  1546. end
  1547. end
  1548. end)
  1549. part3.Touched:connect(function(ht)
  1550. hit = ht.Parent
  1551. if ht and hit:IsA("Model") then
  1552. if hit:FindFirstChild("Humanoid") then
  1553. if hit.Name ~= p.Name then
  1554. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1555. wait(.3)
  1556. end
  1557. end
  1558. elseif ht and hit:IsA("Hat") then
  1559. if hit.Parent.Name ~= p.Name then
  1560. if hit.Parent:FindFirstChild("Humanoid") then
  1561. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1562. wait(.3)
  1563. end
  1564. end
  1565. end
  1566. end)]]--
  1567. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1568. if v:FindFirstChild('Humanoid') then
  1569. v.Humanoid:TakeDamage(math.random(60,90))
  1570. v.Humanoid.PlatformStand = true
  1571. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1572. end
  1573. end
  1574.  
  1575. local acos = math.acos
  1576. local sqrt = math.sqrt
  1577. local Vec3 = Vector3.new
  1578. local fromAxisAngle = CFrame.fromAxisAngle
  1579.  
  1580. local function toAxisAngle(CFr)
  1581. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1582. local Angle = math.acos((R00+R11+R22-1)/2)
  1583. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1584. A = A == 0 and 0.00001 or A
  1585. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1586. B = B == 0 and 0.00001 or B
  1587. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1588. C = C == 0 and 0.00001 or C
  1589. local x = (R21-R12)/sqrt(A)
  1590. local y = (R02-R20)/sqrt(B)
  1591. local z = (R10-R01)/sqrt(C)
  1592. return Vec3(x,y,z),Angle
  1593. end
  1594.  
  1595. function ApplyTrig(Num,Func)
  1596. local Min,Max = Func(0),Func(1)
  1597. local i = Func(Num)
  1598. return (i-Min)/(Max-Min)
  1599. end
  1600.  
  1601. function LerpCFrame(CFrame1,CFrame2,Num)
  1602. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1603. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1604. end
  1605.  
  1606. function Crater(Torso,Radius)
  1607. Spawn(function()
  1608. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1609. local Ignore = {}
  1610. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1611. if v.Character ~= nil then
  1612. Ignore[#Ignore+1] = v.Character
  1613. end
  1614. end
  1615. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1616. if Hit == nil then return end
  1617. local Parts = {}
  1618. for i = 1,360,10 do
  1619. local P = Instance.new("Part",Torso.Parent)
  1620. P.Anchored = true
  1621. P.FormFactor = "Custom"
  1622. P.BrickColor = Hit.BrickColor
  1623. P.Material = Hit.Material
  1624. P.TopSurface = "Smooth"
  1625. P.BottomSurface = "Smooth"
  1626. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1627. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1628. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1629. if math.random(0,5) == 0 then -- rubble
  1630. local P = Instance.new("Part",Torso.Parent)
  1631. P.Anchored = true
  1632. P.FormFactor = "Custom"
  1633. P.BrickColor = Hit.BrickColor
  1634. P.Material = Hit.Material
  1635. P.TopSurface = "Smooth"
  1636. P.BottomSurface = "Smooth"
  1637. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1638. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1639. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1640. end
  1641. end
  1642. for i = 0,1,0.05 do
  1643. for i2,v in pairs(Parts) do
  1644. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1645. end
  1646. wait(0.02)
  1647. end
  1648. for i,v in pairs(Parts) do
  1649. if v[1].Size.X > 2.1 then
  1650. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1651. end
  1652. v[1].Anchored = false
  1653. end
  1654. for i = 0,1,0.05 do
  1655. for i2,v in pairs(Parts) do
  1656. v[1].Transparency = i
  1657. if i == 1 then
  1658. v[1]:Destroy()
  1659. elseif i >= 0.25 then
  1660. v[1].CanCollide = false
  1661. end
  1662. end
  1663. wait(0.02)
  1664. end
  1665. Parts = nil
  1666. end)
  1667. end
  1668.  
  1669. ROW = function(out, trans, s, wt, t, ang, plus)
  1670. for i = 1, 360, 360/t do
  1671. local c = Instance.new("Part", game.Workspace)
  1672. c.FormFactor = 3
  1673. c.TopSurface = 0
  1674. c.BottomSurface = 0
  1675. c.Size = s
  1676. c.Anchored = true
  1677. c.CanCollide = wt
  1678. c.Material=workspace.Base.Material
  1679. c.Transparency = trans
  1680. c.BrickColor = workspace.Base.BrickColor
  1681. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1682. c.Locked=true
  1683. game.Debris:AddItem(c,15)
  1684. end
  1685. end
  1686.  
  1687. Part = function(x,y,z,color,tr,cc,an,parent)
  1688. local p = Instance.new('Part',parent or Weapon)
  1689. p.formFactor = 'Custom'
  1690. p.Size = Vector3.new(x,y,z)
  1691. p.BrickColor = BrickColor.new(color)
  1692. p.CanCollide = cc
  1693. p.Transparency = tr
  1694. p.Anchored = an
  1695. p.TopSurface,p.BottomSurface = 0,0
  1696. p.Locked=true
  1697. p:BreakJoints()
  1698. return p end
  1699.  
  1700. Mesh = function(par,num,x,y,z)
  1701. local msh = _
  1702. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1703. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1704. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1705. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1706. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1707. end msh.Scale = Vector3.new(x,y,z)
  1708. return msh end
  1709.  
  1710. function explosion(col1,col2,cfr,sz,rng,dmg)
  1711. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1712. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1713. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1714. v1,v2,v3=sz.x,sz.y,sz.z
  1715. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1716. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1717. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1718. a.CFrame=cfr
  1719. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1720. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1721.  
  1722. Spawn(function()
  1723. while wait() do
  1724. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1725. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1726. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1727. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1728. a.Transparency=a.Transparency+0.05
  1729. a2.Transparency=a2.Transparency+0.05
  1730. a3.Transparency=a3.Transparency+0.05
  1731. end
  1732. end)
  1733. end
  1734.  
  1735. Crater(X,20)
  1736. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1737. z = Instance.new("Sound",X)
  1738. z.SoundId = "rbxassetid://231917744"
  1739. z.Pitch = .5
  1740. z.Volume = 10
  1741. z1 = Instance.new("Sound",X)
  1742. z1.SoundId = "rbxassetid://231917744"
  1743. z1.Pitch = .5
  1744. z1.Volume = 10
  1745. z2 = Instance.new("Sound",X)
  1746. z2.SoundId = "rbxassetid://231917744"
  1747. z2.Pitch = .5
  1748. z2.Volume = 10
  1749. z3 = Instance.new("Sound",X)
  1750. z3.SoundId = "rbxassetid://245537790"
  1751. z3.Pitch = .7
  1752. z3.Volume = 1
  1753. z4 = Instance.new("Sound",X)
  1754. z4.SoundId = "rbxassetid://245537790"
  1755. z4.Pitch = .7
  1756. z4.Volume = 1
  1757. wait(0.1)
  1758. z:Play()
  1759. z1:Play()
  1760. z2:Play()
  1761. z3:Play()
  1762. z4:Play()
  1763.  
  1764. local part=Instance.new('Part',rarm)
  1765. part.Anchored=true
  1766. part.CanCollide=false
  1767. part.Locked = true
  1768. part.FormFactor='Custom'
  1769. part.Size=Vector3.new(1,1,1)
  1770. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1771. part.Transparency=0
  1772. part.BrickColor=BrickColor.new('Really red')
  1773. local mesh=Instance.new('SpecialMesh',part)
  1774. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1775. mesh.Scale=Vector3.new(2,2,2)
  1776. local part2=part:clone()
  1777. part2.Parent = rarm
  1778. --part2.BrickColor=BrickColor.new("Really red")
  1779. part2.BrickColor=BrickColor.new("Really black")
  1780. local part5=part:clone()
  1781. part5.Parent = rarm
  1782. --part5.BrickColor=BrickColor.new("Magenta")
  1783. part5.BrickColor=BrickColor.new("Really black")
  1784. local part6=part:clone()
  1785. part6.Parent = rarm
  1786. --part6.BrickColor=BrickColor.new("Black")
  1787. part6.BrickColor=BrickColor.new("Really red")
  1788. local mesh2=mesh:clone()
  1789. mesh2.Parent=part2
  1790. mesh2.Scale=Vector3.new(3, 3, 3)
  1791. local mesh5=mesh:clone()
  1792. mesh5.Parent=part5
  1793. mesh5.Scale=Vector3.new(3, 3, 3)
  1794. local mesh6=mesh:clone()
  1795. mesh6.Parent=part6
  1796. mesh6.Scale=Vector3.new(3, 3, 3)
  1797. local blast = Instance.new("Part", rarm)
  1798. blast.BrickColor = BrickColor.new("Really black")
  1799. blast.Anchored = true
  1800. blast.CanCollide = false
  1801. blast.Locked = true
  1802. blast.Size = Vector3.new(1, 1, 1)
  1803. blast.TopSurface = "Smooth"
  1804. blast.BottomSurface = "Smooth"
  1805. blast.Transparency = 0
  1806. blast.CFrame = HandCF
  1807. local bm = Instance.new("SpecialMesh", blast)
  1808. bm.Scale = Vector3.new(5,1,5)
  1809. bm.MeshId = "rbxassetid://3270017"
  1810. local blast2 = Instance.new("Part", rarm)
  1811. blast2.BrickColor = BrickColor.new("Really red")
  1812. blast2.Anchored = true
  1813. blast2.CanCollide = false
  1814. blast2.Locked = true
  1815. blast2.Size = Vector3.new(1, 1, 1)
  1816. blast2.TopSurface = "Smooth"
  1817. blast2.BottomSurface = "Smooth"
  1818. blast2.Transparency = 0
  1819. blast2.CFrame = HandCF
  1820. local bm2 = Instance.new("SpecialMesh", blast2)
  1821. bm2.Scale = Vector3.new(3,1,3)
  1822. bm2.MeshId = "rbxassetid://3270017"
  1823. local blast3 = Instance.new("Part", rarm)
  1824. blast3.BrickColor = BrickColor.new("Really black")
  1825. blast3.Anchored = true
  1826. blast3.CanCollide = false
  1827. blast3.Locked = true
  1828. blast3.Size = Vector3.new(1, 1, 1)
  1829. blast3.TopSurface = "Smooth"
  1830. blast3.BottomSurface = "Smooth"
  1831. blast3.Transparency = 0
  1832. blast3.CFrame = HandCF
  1833. local bm3 = Instance.new("SpecialMesh", blast3)
  1834. bm3.Scale = Vector3.new(3,1,3)
  1835. bm3.MeshId = "rbxassetid://3270017"
  1836. for i = 1,120 do rs:wait()
  1837. X.Transparency = X.Transparency + (1/120)
  1838. part.Transparency = part.Transparency + (1/120)
  1839. part2.Transparency = part2.Transparency + (1/120)
  1840. part3.Transparency = part3.Transparency + (1/120)
  1841. part4.Transparency = part4.Transparency + (1/120)
  1842. part5.Transparency = part5.Transparency + (1/120)
  1843. part6.Transparency = part6.Transparency + (1/120)
  1844. part7.Transparency = part7.Transparency + (1/120)
  1845. blast.Transparency = blast.Transparency + (1/120)
  1846. blast2.Transparency = blast2.Transparency + (1/120)
  1847. blast3.Transparency = blast3.Transparency + (1/120)
  1848. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1849. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1850. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1851. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1852. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1853. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1854. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1855. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1856. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1857. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1858. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1859. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1860. X.CFrame = cf
  1861. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1862. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1863. part3.CFrame=X.CFrame
  1864. part4.CFrame=X.CFrame
  1865. part7.CFrame=X.CFrame
  1866. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1867. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1868. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1869. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1870. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1871. rs:wait()
  1872. end
  1873. X:Destroy()
  1874. part:Destroy()
  1875. part2:Destroy()
  1876. part3:Destroy()
  1877. part4:Destroy()
  1878. part5:Destroy()
  1879. part6:Destroy()
  1880. blast:Destroy()
  1881. blast2:Destroy()
  1882. blast3:Destroy()
  1883. z:Destroy()
  1884. z1:Destroy()
  1885. z2:Destroy()
  1886. z3:Destroy()
  1887. z4:Destroy()
  1888. end
  1889. end)
  1890. for i = 1, 20 do
  1891. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1892. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1893. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1894. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1895. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1896. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1897. if Debounces.on == false then break end
  1898. rs:wait()
  1899. end
  1900. if Debounces.CanAttack == false then
  1901. Debounces.CanAttack = true
  1902. Debounces.NoIdl = false
  1903. Debounces.on = false
  1904. end
  1905. end
  1906. end
  1907. end)
  1908. ----------------------------------------------------
  1909. ptz = {0.7, 0.8, 0.9, 1}
  1910. idz = {"161006212", "161006195"}
  1911. mouse.KeyDown:connect(function(key)
  1912. if key == "q" then
  1913. if Debounces.CanAttack == true then
  1914. Debounces.CanAttack = false
  1915. Debounces.NoIdl = true
  1916. Debounces.on = true
  1917. for i = 1, 20 do
  1918. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2)
  1919. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
  1920. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
  1921. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
  1922. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  1923. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  1924. if Debounces.on == false then break end
  1925. rs:wait(2)
  1926. end
  1927. z = Instance.new("Sound", hed)
  1928. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1929. z.Pitch = ptz[math.random(1,#ptz)]
  1930. z.Volume = 1
  1931. wait(.01)
  1932. z:Play()
  1933. Debounces.Slashing = true
  1934. for i = 1, 20 do
  1935. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
  1936. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
  1937. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
  1938. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
  1939. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  1940. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  1941. if Debounces.on == false then break end
  1942. rs:wait(2)
  1943. end
  1944. z1 = Instance.new("Sound", hed)
  1945. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1946. z1.Pitch = ptz[math.random(1,#ptz)]
  1947. z1.Volume = 1
  1948. wait(.01)
  1949. z1:Play()
  1950. Debounces.Slashing = true
  1951. for i = 1, 26 do
  1952. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35)
  1953. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
  1954. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35)
  1955. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35)
  1956. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  1957. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  1958. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
  1959. if Debounces.on == false then break end
  1960. rs:wait(2)
  1961. end
  1962. Debounces.Slashing = false
  1963. z:Destroy()
  1964. z1:Destroy()
  1965. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1966. if Debounces.CanAttack == false then
  1967. Debounces.CanAttack = true
  1968. Debounces.NoIdl = false
  1969. Debounces.on = false
  1970. end
  1971. end
  1972. end
  1973. end)
  1974. -------------------------------
  1975. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  1976. mouse.KeyDown:connect(function(key)
  1977. if key == "e" then
  1978. if Debounces.CanAttack == true then
  1979. Debounces.CanAttack = false
  1980. Debounces.NoIdl = true
  1981. Debounces.on = true
  1982. Debounces.ks = true
  1983. larm.Touched:connect(function(ht)
  1984. hit = ht.Parent
  1985. if ht and hit:IsA("Model") then
  1986. if hit:FindFirstChild("Humanoid") then
  1987. if hit.Name ~= p.Name then
  1988. if Debounces.Slapping == true and Debounces.Slapped == false then
  1989. Debounces.Slapped = true
  1990. if Debounces.ks==true then
  1991. z = Instance.new("Sound",hed)
  1992. z.SoundId = "rbxassetid://169380525"
  1993. z.Volume = 1
  1994. z:Play()
  1995. z1 = Instance.new("Sound",char)
  1996. z1.SoundId = "rbxassetid://261010715"
  1997. z1.Pitch = pts[math.random(1,#pts)]
  1998. z1.Volume = 1
  1999. z2 = Instance.new("Sound",char)
  2000. z2.SoundId = "rbxassetid://261010715"
  2001. z2.Pitch = z1.Pitch
  2002. z2.Volume = 1
  2003. z3 = Instance.new("Sound",char)
  2004. z3.SoundId = "rbxassetid://261010715"
  2005. z3.Pitch = z1.Pitch
  2006. z3.Volume = 1
  2007. z1:Play()
  2008. z2:Play()
  2009. z3:Play()
  2010. Debounces.ks=false
  2011. end
  2012. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  2013. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  2014. wait(.5)
  2015. Debounces.Slapped = false
  2016. z:Destroy()
  2017. z1:Destroy()
  2018. z2:Destroy()
  2019. z3:Destroy()
  2020. end
  2021. end
  2022. end
  2023. elseif ht and hit:IsA("Hat") then
  2024. if hit.Parent.Name ~= p.Name then
  2025. if hit.Parent:FindFirstChild("Humanoid") then
  2026. if Debounces.Slapping == true and Debounces.Slapped == false then
  2027. Debounces.Slapped = true
  2028. if Debounces.ks==true then
  2029. z = Instance.new("Sound",hed)
  2030. z.SoundId = "rbxassetid://169380525"
  2031. z.Volume = 1
  2032. z:Play()
  2033. z1 = Instance.new("Sound",char)
  2034. z1.SoundId = "rbxassetid://261010715"
  2035. z1.Pitch = pts[math.random(1,#pts)]
  2036. z1.Volume = 1
  2037. z2 = Instance.new("Sound",char)
  2038. z2.SoundId = "rbxassetid://261010715"
  2039. z2.Pitch = z1.Pitch
  2040. z2.Volume = 1
  2041. z3 = Instance.new("Sound",char)
  2042. z3.SoundId = "rbxassetid://261010715"
  2043. z3.Pitch = z1.Pitch
  2044. z3.Volume = 1
  2045. z1:Play()
  2046. z2:Play()
  2047. z3:Play()
  2048. Debounces.ks=false
  2049. end
  2050. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  2051. wait(.5)
  2052. Debounces.Slapped = false
  2053. z:Destroy()
  2054. z1:Destroy()
  2055. z2:Destroy()
  2056. z3:Destroy()
  2057. end
  2058. end
  2059. end
  2060. end
  2061. end)
  2062. for i = 1, 14 do
  2063. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
  2064. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
  2065. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  2066. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  2067. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2068. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2069. if Debounces.on==false then break end
  2070. rs:wait(2)
  2071. end
  2072. Debounces.Slapping = true
  2073. for i = 1, 20 do
  2074. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
  2075. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
  2076. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
  2077. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
  2078. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2079. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2080. if Debounces.on==false then break end
  2081. rs:wait(2)
  2082. end
  2083. Debounces.Slapping = false
  2084. if Debounces.CanAttack == false then
  2085. Debounces.CanAttack = true
  2086. Debounces.NoIdl = false
  2087. Debounces.on = false
  2088. end
  2089. end
  2090. end
  2091. end)
  2092. -------------------------------
  2093. mouse.KeyDown:connect(function(key)
  2094. if key == "y" then
  2095. if Debounces.CanAttack == true then
  2096. Debounces.CanAttack = false
  2097. Debounces.on = true
  2098. Debounces.NoIdl = true
  2099. --[[for i,v in pairs (char.Claw:GetChildren()) do
  2100. if v:IsA("Part") then
  2101. v.Transparency=0
  2102. end
  2103. end
  2104. for i,v in pairs (char.Claw:GetChildren()) do
  2105. if v:IsA("WedgePart") then
  2106. v.Transparency=0
  2107. end
  2108. end ]]
  2109. for i = 1, 15 do
  2110. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2111. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2112. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2113. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2114. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2115. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2116. if Debounces.on == false then break end
  2117. rs:wait(2.7)
  2118. end
  2119. x = Instance.new("Sound",char)
  2120. x.SoundId = "rbxassetid://228343271"
  2121. x.Pitch = 1
  2122. x.Volume = .8
  2123. wait(.1)
  2124. x:Play()
  2125. Debounces.on = false
  2126. Debounces.Here = false
  2127. shot = shot + 1
  2128. local rng = Instance.new("Part", larm)
  2129. rng.Anchored = true
  2130. rng.BrickColor = BrickColor.new("Crimson")
  2131. rng.CanCollide = false
  2132. rng.FormFactor = 3
  2133. rng.Name = "Ring"
  2134. rng.Size = Vector3.new(1, 1, 1)
  2135. rng.Transparency = 0.35
  2136. rng.TopSurface = 0
  2137. rng.BottomSurface = 0
  2138. rng2 = rng:clone()
  2139. rng3 = rng2:clone()
  2140. rng4 = rng2:clone()
  2141. local rngm = Instance.new("SpecialMesh", rng)
  2142. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2143. rngm.Scale = Vector3.new(10, 10, 1)
  2144. rngm2 = rngm:clone()
  2145. rngm2.Scale = Vector3.new(5, 5, 3)
  2146. rngm3=rngm2:clone()
  2147. rngm3.Parent = rng3
  2148. rngm3.Scale = Vector3.new(8, 8, 1)
  2149. rngm4 = rngm2:clone()
  2150. rngm4.Parent = rng4
  2151. rngm4.Scale = Vector3.new(6, 6, 1)
  2152. local bem = Instance.new("Part", larm)
  2153. bem.Anchored = true
  2154. bem.BrickColor = BrickColor.new("Really red")
  2155. bem.CanCollide = false
  2156. bem.FormFactor = 3
  2157. bem.Name = "Beam" .. shot
  2158. bem.Size = Vector3.new(1, 1, 1)
  2159. bem.Transparency = 0.35
  2160. bem.TopSurface = 0
  2161. bem.BottomSurface = 0
  2162. local bemm = Instance.new("SpecialMesh", bem)
  2163. bemm.MeshType = 4
  2164. bemm.Scale = Vector3.new(1, 4, 4)
  2165. local out = Instance.new("Part", larm)
  2166. out.Anchored = true
  2167. out.BrickColor = BrickColor.new("Really black")
  2168. out.CanCollide = false
  2169. out.FormFactor = 3
  2170. out.Name = "Out"
  2171. out.Size = Vector3.new(4, 4, 4)
  2172. out.Transparency = 0.35
  2173. out.TopSurface = 0
  2174. out.BottomSurface = 0
  2175. local outm = Instance.new("SpecialMesh", out)
  2176. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2177. outm.Scale = Vector3.new(6, 4, 6)
  2178. local bnd = Instance.new("Part", larm)
  2179. bnd.Anchored = true
  2180. bnd.BrickColor = BrickColor.new("Really red")
  2181. bnd.CanCollide = false
  2182. bnd.FormFactor = 3
  2183. bnd.Name = "Bend"
  2184. bnd.Size = Vector3.new(1, 1, 1)
  2185. bnd.Transparency = 1
  2186. bnd.TopSurface = 0
  2187. bnd.BottomSurface = 0
  2188. local bndm = Instance.new("SpecialMesh", bnd)
  2189. bndm.MeshType = 3
  2190. bndm.Scale = Vector3.new(8, 8, 8)
  2191. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2192. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2193. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2194. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2195. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2196. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2197. Debounces.Shewt = true
  2198. coroutine.wrap(function()
  2199. for i = 1, 20, 0.2 do
  2200. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2201. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2202. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2203. rng.Transparency = i/20
  2204. rng3.Transparency = 1/24
  2205. rng4.Transparency = i/26
  2206. wait()
  2207. end
  2208. wait()
  2209. rng:Destroy()
  2210. end)()
  2211. if Debounces.Shewt == true then
  2212. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2213. hit = ht.Parent
  2214. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2215. if HasntTouched(hit.Name) == true and deb == false then
  2216. deb = true
  2217. coroutine.wrap(function()
  2218. hit:FindFirstChild("Humanoid").PlatformStand = true
  2219. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2220. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2221. end)()
  2222. table.insert(Touche, hit.Name)
  2223. deb = false
  2224. end
  2225. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2226. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2227. deb = true
  2228. coroutine.wrap(function()
  2229. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2230. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2231. wait(1)
  2232. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2233. end)()
  2234. table.insert(Touche, hit.Parent.Name)
  2235. deb = false
  2236. for i, v in pairs(Touche) do
  2237. print(v)
  2238. end
  2239. end
  2240. end
  2241. end)
  2242. end
  2243. for i = 0, 260, 8 do
  2244. bem.Size = Vector3.new(i, 3, 3)
  2245. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2246. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2247. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2248. bnd.Size = Vector3.new(1,1,1)
  2249. bndm.Scale = Vector3.new(8,8,8)
  2250. if i % 10 == 0 then
  2251. local newRng = rng2:Clone()
  2252. newRng.Parent = larm
  2253. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2254. local newRngm = rngm2:clone()
  2255. newRngm.Parent=newRng
  2256. coroutine.wrap(function()
  2257. for i = 1, 10, 0.2 do
  2258. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2259. newRng.Transparency = i/10
  2260. wait()
  2261. end
  2262. wait()
  2263. newRng:Destroy()
  2264. end)()
  2265. end
  2266. wait()
  2267. end
  2268. wait()
  2269. Debounces.Shewt = false
  2270. bem:Destroy()
  2271. out:Destroy()
  2272. bnd:Destroy()
  2273. Debounces.Ready = false
  2274. for i, v in pairs(Touche) do
  2275. table.remove(Touche, i)
  2276. end
  2277. wait()
  2278. --[[for i,v in pairs (char.Claw:GetChildren()) do
  2279. if v:IsA("Part") then
  2280. v.Transparency=1
  2281. end
  2282. end
  2283. for i,v in pairs (char.Claw:GetChildren()) do
  2284. if v:IsA("WedgePart") then
  2285. v.Transparency=1
  2286. end
  2287. end ]]
  2288. table.insert(Touche, char.Name)
  2289. Debounces.NoIdl = false
  2290. if Debounces.CanAttack == false then
  2291. Debounces.CanAttack = true
  2292. end
  2293. end
  2294. end
  2295. end)
  2296. -------------------------------
  2297. mouse.KeyDown:connect(function(key)
  2298. if key == "u" then
  2299. if Debounces.CanAttack == true then
  2300. Debounces.CanAttack = false
  2301. Debounces.on = true
  2302. Debounces.NoIdl = true
  2303. for i = 1, 20 do
  2304. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
  2305. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
  2306. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  2307. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  2308. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2309. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2310. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
  2311. if Debounces.on == false then break end
  2312. wait()
  2313. end
  2314. Spawn(function()
  2315. local Parts = {}
  2316. for Y = -5,5 do
  2317. local P = Instance.new("Part",char)
  2318. P.Anchored = true
  2319. P.FormFactor = "Custom"
  2320. P.CanCollide = false
  2321. P.Size = Vector3.new(1,2,1)
  2322. P.TopSurface = "SmoothNoOutlines"
  2323. P.BottomSurface = "SmoothNoOutlines"
  2324. P.BrickColor = BrickColor.new("Really red")
  2325. P.Name = tostring(Y)
  2326. local i = (Y+5)/(10)
  2327. i = 1-math.cos(math.pi*i-(math.pi/2))
  2328. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  2329. --[[P.Touched:connect(function(ht)
  2330. local hit = ht.Parent
  2331. if hit:FindFirstChild("Humanoid") then
  2332. hit.Humanoid:TakeDamage(math.random(20,50))
  2333. end
  2334. end)]]--
  2335. s = Instance.new("Sound",P)
  2336. s.SoundId = "rbxassetid://228343271"
  2337. s.Volume = .7
  2338. s.Pitch = 0.9
  2339. s:Play()
  2340. P.Touched:connect(function(ht)
  2341. hit = ht.Parent
  2342. if ht and hit:IsA("Model") then
  2343. if hit:FindFirstChild("Humanoid") then
  2344. if hit.Name ~= p.Name then
  2345. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2346. Debounces.Slashed = true]]--
  2347. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  2348. hit:FindFirstChild("Humanoid").PlatformStand = true
  2349. wait(1)
  2350. --Debounces.Slashed = false
  2351. --end
  2352. end
  2353. end
  2354. elseif ht and hit:IsA("Hat") then
  2355. if hit.Parent.Name ~= p.Name then
  2356. if hit.Parent:FindFirstChild("Humanoid") then
  2357. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2358. Debounces.Slashed = true]]--
  2359. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  2360. hit:FindFirstChild("Humanoid").PlatformStand = true
  2361. wait(1)
  2362. --Debounces.Slashed = false
  2363. --end
  2364. end
  2365. end
  2366. end
  2367. end)
  2368. Parts[#Parts+1] = P
  2369. end
  2370. local BREAKIT = false
  2371. local CParts = {}
  2372. local Rocks = {}
  2373. local LastPos = nil
  2374. for i = 1,70 do
  2375. for i2,v in pairs(Parts) do
  2376. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  2377. local cf = v.CFrame
  2378. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  2379. v.CFrame = cf
  2380. v.Transparency = v.Transparency+0.02
  2381. if v.Transparency >= 0.975 then BREAKIT = true end
  2382. if v.Name == "0" then
  2383. local Ignore = {}
  2384. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2385. if v.Character ~= nil then
  2386. Ignore[#Ignore+1] = v.Character
  2387. end
  2388. end
  2389. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  2390. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  2391. if Hit ~= nil then
  2392. if #Rocks == 0 then
  2393. for i = 1,5 do
  2394. local P = Instance.new("Part",char)
  2395. Rocks[#Rocks+1] = P
  2396. P.Anchored = true
  2397. P.FormFactor = "Custom"
  2398. P.BrickColor = Hit.BrickColor
  2399. P.Material = Hit.Material
  2400. P.TopSurface = "Smooth"
  2401. P.BottomSurface = "Smooth"
  2402. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  2403. end
  2404. end
  2405. for i,P in pairs(Rocks) do
  2406. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  2407. end
  2408. local P = Instance.new("Part",char)
  2409. CParts[#CParts+1] = {P,tick()}
  2410. P.Anchored = true
  2411. P.FormFactor = "Custom"
  2412. P.BrickColor = Hit.BrickColor
  2413. P.Material = Hit.Material
  2414. P.TopSurface = "Smooth"
  2415. P.BottomSurface = "Smooth"
  2416. P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
  2417. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2418. Pos = Pos.p
  2419. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  2420. local P = P:Clone()
  2421. CParts[#CParts+1] = {P,tick()}
  2422. P.Parent = char
  2423. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  2424. Pos = Pos.p
  2425. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  2426. if LastPos ~= nil then
  2427. local P = P:Clone()
  2428. CParts[#CParts+1] = {P,tick()}
  2429. P.Parent = char
  2430. P.BrickColor = BrickColor.new("Really black")
  2431. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2432. Pos = Pos.p
  2433. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2434. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  2435. --P.Velocity = Vector3.new(0,-1000,0)
  2436. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  2437. end
  2438. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2439. end
  2440. end
  2441. end
  2442. if BREAKIT then break end
  2443. wait(0.002)
  2444. end
  2445. for i,v in pairs(Rocks) do
  2446. CParts[#CParts+1] = {v,tick()}
  2447. end
  2448. for i,v in pairs(Parts) do
  2449. v:Destroy()
  2450. end
  2451. Parts = nil
  2452. while true do
  2453. local t = tick()
  2454. local p = nil
  2455. for i,v in pairs(CParts) do
  2456. if t-v[2] > 4 then
  2457. v[1].Transparency = v[1].Transparency+0.05
  2458. if v[1].Transparency >= 1 then
  2459. v[1]:Destroy()
  2460. CParts[i] = nil
  2461. end
  2462. end
  2463. p = v
  2464. end
  2465. if p == nil then break end
  2466. wait(0.002)
  2467. end
  2468. for i,v in pairs(CParts) do
  2469. v:Destroy()
  2470. end
  2471. CParts = {}
  2472. end)
  2473. for i = 1, 20 do
  2474. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
  2475. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
  2476. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2477. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  2478. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2479. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  2480. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
  2481. if Debounces.on == false then break end
  2482. wait()
  2483. end
  2484. if Debounces.CanAttack == false then
  2485. Debounces.CanAttack = true
  2486. Debounces.on = false
  2487. Debounces.NoIdl = false
  2488. end
  2489. end
  2490. end
  2491. end)
  2492. -------------------------------
  2493. function Landing()
  2494. part=Instance.new('Part',mod5)
  2495. part.Anchored=true
  2496. part.CanCollide=false
  2497. part.FormFactor='Custom'
  2498. part.Size=Vector3.new(.2,.2,.2)
  2499. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  2500. part.Transparency=.7
  2501. part.BrickColor=BrickColor.new('Really red')
  2502. mesh=Instance.new('SpecialMesh',part)
  2503. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2504. mesh.Scale=Vector3.new(10,5,10)
  2505.  
  2506. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  2507. if v:FindFirstChild('Humanoid') then
  2508. v.Humanoid:TakeDamage(math.random(20,30))
  2509. v.Humanoid.PlatformStand = true
  2510. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2511. end
  2512. end
  2513.  
  2514. coroutine.resume(coroutine.create(function()
  2515. for i=0,3.8,0.05 do
  2516. wait()
  2517. part.CFrame=part.CFrame
  2518. part.Transparency=i
  2519. mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  2520. end
  2521. part.Parent = nil
  2522. end))
  2523. end
  2524. -------------------------------
  2525. mouse.KeyDown:connect(function(key)
  2526. if key == "x" and stanceToggle=="Devil" then
  2527. hum.WalkSpeed = 0
  2528. if Debounces.CanAttack == true then
  2529. Debounces.CanAttack = false
  2530. Debounces.on = true
  2531. Debounces.NoIdl = true
  2532. --[[x = Instance.new("Sound",char)
  2533. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  2534. x.Looped = false
  2535. x.Pitch = 1.1
  2536. x.Volume = 1
  2537. x:Play()
  2538. x2 = Instance.new("Sound",char)
  2539. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  2540. x2.Looped = false
  2541. x2.Pitch = .7
  2542. x2.Volume = 1
  2543. wait(.1)
  2544. x:Play()
  2545. x2:Play()
  2546. for i = 1, 20 do
  2547. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.3,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2548. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2549. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  2550. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2551. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2552. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  2553. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  2554. if Debounces.on == false then break end
  2555. wait()
  2556. x:Destroy()
  2557. x2:Destroy()
  2558. end
  2559. wait(1)]]--
  2560. local rng = Instance.new("Part", char)
  2561. rng.Anchored = true
  2562. rng.BrickColor = BrickColor.new("Really black")
  2563. rng.CanCollide = false
  2564. rng.FormFactor = 3
  2565. rng.Name = "Ring"
  2566. rng.Size = Vector3.new(1, 1, 1)
  2567. rng.Transparency = 0.35
  2568. rng.TopSurface = 0
  2569. rng.BottomSurface = 0
  2570. rng.Position = torso.Position - Vector3.new(0,2,0)
  2571. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2572. local rngm = Instance.new("SpecialMesh", rng)
  2573. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2574. rngm.Scale = Vector3.new(1, 1, 2)
  2575. x = Instance.new("Sound",char)
  2576. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2577. x.Looped = false
  2578. x.Pitch = .7
  2579. x.Volume = 1
  2580. x:Play()
  2581. coroutine.wrap(function()
  2582. for i = 1, 60, 2 do
  2583. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2584. rng.Transparency = i/60
  2585. wait()
  2586. end
  2587. wait()
  2588. rng:Destroy()
  2589. end)()
  2590. hum.WalkSpeed = 50
  2591. BV = Instance.new("BodyVelocity", torso)
  2592. BV.maxForce = Vector3.new(0,200000,0)
  2593. BV.P = 50000
  2594. BV.velocity = Vector3.new(0,800,0)
  2595. for i = 1, 20 do
  2596. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2597. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2598. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2599. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2600. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2601. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.6) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2602. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2603. if Debounces.on == false then break end
  2604. wait()
  2605. end
  2606. x:Destroy()
  2607. BV:Destroy()
  2608. --[[for i = 1, 30 do
  2609. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2610. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2611. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2612. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2613. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.2, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2614. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2615. if Debounces.on == false then break end
  2616. wait()
  2617. end]]--
  2618. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2619. for i = 1, 30 do
  2620. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2621. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2622. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2623. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2624. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2625. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2626. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2627. if Debounces.on == false then break end
  2628. wait()
  2629. end
  2630. end
  2631. Debounces.on = false
  2632. Debounces.NoIdl = false
  2633. local ry,ht,ps=nil,nil,nil
  2634. while ht==nil do
  2635. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2636. wait()
  2637. end
  2638. z = Instance.new("Sound",char)
  2639. z.SoundId = "rbxassetid://142070127"
  2640. z.Volume = 1
  2641. wait(.1)
  2642. z:Play()
  2643. Landing()
  2644. hum.WalkSpeed = 16
  2645. if Debounces.CanAttack == false then
  2646. Debounces.CanAttack = true
  2647. end
  2648. end
  2649. end
  2650. end)
  2651. -------------------------------
  2652. mouse.KeyDown:connect(function(key)
  2653. if key == "r" then
  2654. if Debounces.CanAttack == true then
  2655. Debounces.CanAttack = false
  2656. Debounces.NoIdl = true
  2657. Debounces.on = true
  2658. for i = 1, 20 do
  2659. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
  2660. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
  2661. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  2662. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  2663. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2665. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
  2666. if Debounces.on==false then break end
  2667. rs:wait(2)
  2668. end
  2669. Debounces.Slashing = true
  2670. z = Instance.new("Sound",hed)
  2671. z.SoundId = "rbxassetid://206083107"
  2672. z.Pitch = .75
  2673. z.Volume = .65
  2674. wait(0.1)
  2675. z:Play()
  2676. z1 = Instance.new("Sound", hed)
  2677. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  2678. z1.Pitch = ptz[math.random(1,#ptz)]
  2679. z1.Volume = 1
  2680. wait(.01)
  2681. z1:Play()
  2682. for i = 1, 20 do
  2683. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
  2684. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
  2685. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2686. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  2687. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2688. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  2689. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
  2690. if Debounces.on==false then break end
  2691. rs:wait(2)
  2692. end
  2693. Debounces.Slashing = false
  2694. cor.Weld.C1 = CFrame.Angles(0,0,0)
  2695. if Debounces.CanAttack == false then
  2696. Debounces.CanAttack = true
  2697. Debounces.NoIdl = false
  2698. Debounces.on = false
  2699. end
  2700. end
  2701. end
  2702. end)
  2703. -------------------------------
  2704. mouse.KeyDown:connect(function(key)
  2705. if key == "t" then
  2706. if Debounces.CanAttack == true then
  2707. Debounces.CanAttack = false
  2708. Debounces.on = true
  2709. Debounces.NoIdl = true
  2710. for i = 1,20 do
  2711. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
  2712. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
  2713. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
  2714. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
  2715. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2)
  2716. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2)
  2717. if Debounces.on==false then break end
  2718. rs:wait(2)
  2719. end
  2720. for i = 1,20 do
  2721. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
  2722. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
  2723. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
  2724. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  2725. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2)
  2726. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  2727. if Debounces.on==false then break end
  2728. rs:wait(2)
  2729. end
  2730. if Debounces.CanAttack == false then
  2731. Debounces.CanAttack = true
  2732. Debounces.on = false
  2733. Debounces.NoIdl = false
  2734. end
  2735. end
  2736. end
  2737. end)
  2738. -------------------------------
  2739. mouse.KeyDown:connect(function(key)
  2740. if key == "g" then
  2741. if Debounces.CanAttack == true then
  2742. Debounces.CanAttack = false
  2743. Debounces.NoIdl = true
  2744. Debounces.on = true
  2745. Debounces.Slashing = true
  2746. for i = 1, 8 do
  2747. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
  2748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
  2749. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  2750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
  2751. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  2752. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  2753. if Debounces.on==false then break end
  2754. rs:wait(2)
  2755. end
  2756. for i = 1, 1440, 48 do
  2757. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  2758. rs:wait(4)
  2759. end
  2760. torso.Weld.C1 = CFrame.new(0, -1, 0)
  2761. Debounces.Slashing = false
  2762. if Debounces.CanAttack == false then
  2763. Debounces.CanAttack = true
  2764. Debounces.NoIdl = false
  2765. Debounces.on = false
  2766. end
  2767. end
  2768. end
  2769. end)
  2770. ----------------------------------------------------
  2771. pt = {6.6, 6.8, 7, 7.2, 7.4}
  2772. mouse.KeyDown:connect(function(key)
  2773. if key == "h" then
  2774. if Debounces.CanJoke == true then
  2775. Debounces.CanJoke = false
  2776. u = Instance.new("Sound",char)
  2777. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2778. u.Pitch = pt[math.random(1,#pt)]
  2779. u.Volume = 1
  2780. u2 = Instance.new("Sound",char)
  2781. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2782. u2.Pitch = u.Pitch
  2783. u2.Volume = 1
  2784. u3 = Instance.new("Sound",char)
  2785. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  2786. u3.Pitch = u.Pitch
  2787. u3.Volume = 1
  2788. wait(.01)
  2789. u:Play()
  2790. u2:Play()
  2791. u3:Play()
  2792. wait(1.5)
  2793. u:Destroy()
  2794. u2:Destroy()
  2795. u3:Destroy()
  2796. if Debounces.CanJoke == false then
  2797. Debounces.CanJoke = true
  2798. end
  2799. end
  2800. end
  2801. end)
  2802. ----------------------------------------------------
  2803. Grab = false
  2804. mouse.KeyDown:connect(function(key)
  2805. if key == "z" then
  2806. Debounces.on = true
  2807. Debounces.NoIdl = true
  2808. Debounces.ks = true
  2809. if Grab == false then
  2810. gp = nil
  2811. for i = 1, 20 do
  2812. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2813. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  2814. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2815. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2816. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  2817. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  2818. if Debounces.on == false then break end
  2819. rs:wait(2)
  2820. end
  2821. con1=larm.Touched:connect(function(hit) -- this is grab
  2822. ht = hit.Parent
  2823. hum1=ht:FindFirstChild('Humanoid')
  2824. if hum1 ~= nil then
  2825. if Debounces.ks==true then
  2826. z = Instance.new("Sound",hed)
  2827. z.SoundId = "rbxassetid://169380525"
  2828. z.Volume = 1
  2829. z:Play()
  2830. Debounces.ks=false
  2831. end
  2832. hum1.PlatformStand=true
  2833. gp = ht
  2834. Grab = true
  2835. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  2836. asd.Parent = larm
  2837. asd.Name = "asd"
  2838. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2839. stanceToggle = "Grabbed"
  2840. --[[elseif hum1 == nil then
  2841. con1:disconnect()
  2842. wait() return]]--
  2843. end
  2844. end)
  2845. for i = 1, 20 do
  2846. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2847. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2848. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  2849. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  2850. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  2851. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  2852. if Debounces.on == false then break end
  2853. rs:wait(2)
  2854. end
  2855. con1:disconnect()
  2856. Debounces.on = false
  2857. Debounces.NoIdl = false
  2858. elseif Grab == true then
  2859. Grab = false
  2860. --[[for i = 1, 16 do
  2861. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  2862. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  2863. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2864. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2865. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  2866. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2867. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2868. if Debounces.on == false then end
  2869. rs:wait()
  2870. end]]--
  2871. for i = 1, 16 do
  2872. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2873. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
  2874. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2875. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  2876. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  2877. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2878. if Debounces.on == false then end
  2879. rs:wait()
  2880. end
  2881. Slam()
  2882. if gp ~= nil then
  2883. for i,v in pairs(larm:GetChildren()) do
  2884. if v.Name == "asd" and v:IsA("Weld") then
  2885. v:Remove()
  2886. end
  2887. end
  2888. for i = 1, 16 do
  2889. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2890. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
  2891. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  2892. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  2893. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  2894. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  2895. if Debounces.on == false then end
  2896. rs:wait()
  2897. end
  2898. stanceToggle = "Normal"
  2899. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2900. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2901. bv.P = 125000
  2902. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2903. ht=nil
  2904. Debounces.on = false
  2905. Debounces.NoIdl = false
  2906. elseif ht == nil then wait()
  2907. Grab = false
  2908. Debounces.on = false
  2909. Debounces.NoIdl = false
  2910. end
  2911. end
  2912. end
  2913. end)
  2914. -------------------------------
  2915. Sit = false
  2916. mouse.KeyDown:connect(function(key)
  2917. if key == "v" then
  2918. if Sit == false then
  2919. Sit = true
  2920. hum.WalkSpeed = 0.1
  2921. stanceToggle = "Sitting"
  2922. elseif Sit == true then
  2923. Sit = false
  2924. hum.WalkSpeed = 7
  2925. stanceToggle = "Normal"
  2926. end
  2927. end
  2928. end)
  2929. -------------------------------
  2930. Melee = false
  2931. mouse.KeyDown:connect(function(key)
  2932. if key == "m" then
  2933. if Melee == false then
  2934. Melee = true
  2935. Vanish()
  2936. stanceToggle = "Melee"
  2937. elseif Melee == true then
  2938. Melee = false
  2939. Appear()
  2940. stanceToggle = "Normal"
  2941. end
  2942. end
  2943. end)
  2944. -------------------------------
  2945. smashso = function(parent, pitch)
  2946. smash = Instance.new("Sound")
  2947. smash.Parent=parent
  2948. smash.SoundId="rbxassetid://193444173"
  2949. smash.Volume=100
  2950. smash.Pitch=pitch
  2951. wait(0.001)
  2952. smash:Play()
  2953. end
  2954. -------------------------------
  2955. devil = false
  2956. devilform = false
  2957. -------------------------------
  2958. Vanish()
  2959. -------------------------------
  2960. local fx = Instance.new("Part",torso)
  2961. fx.Anchored = true
  2962. fx.Material = "Neon"
  2963. fx.CanCollide = false
  2964. fx.Locked = true
  2965. fx.Transparency = 1
  2966. fx.Material = "SmoothPlastic"
  2967. fx.Size = Vector3.new(1,1,1)
  2968. fx.TopSurface = "SmoothNoOutlines"
  2969. fx.BottomSurface = "SmoothNoOutlines"
  2970. fx.BrickColor = BrickColor.new("Really red")
  2971. fxm = Instance.new("SpecialMesh",fx)
  2972. fxm.MeshType = "Sphere"
  2973. fxm.Scale = Vector3.new(1,1,1)
  2974. for i = 1, 20 do rs:wait()
  2975. fx.Transparency = fx.Transparency - (1/20)
  2976. fx.CFrame = torso.CFrame
  2977. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  2978. rs:wait()
  2979. end
  2980. -------------------------------
  2981. hum.WalkSpeed=16
  2982. -------------------------------
  2983. wavesdev = function()
  2984. if devilform == true then
  2985. local wave = Instance.new("Part", torso)
  2986. wave.BrickColor = BrickColor.new("Really red")
  2987. wave.Anchored = true
  2988. wave.CanCollide = false
  2989. wave.Locked = true
  2990. wave.Size = Vector3.new(1, 1, 1)
  2991. wave.TopSurface = "Smooth"
  2992. wave.BottomSurface = "Smooth"
  2993. wave.Transparency = 0.35
  2994. wave.CFrame = fx.CFrame
  2995. wm = Instance.new("SpecialMesh", wave)
  2996. wm.MeshType = "Sphere"
  2997. wm.Scale = Vector3.new(1,1,1)
  2998. coroutine.wrap(function()
  2999. for i = 1, 18, 1 do
  3000. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  3001. --wave.Size = wm.Scale
  3002. fx.CFrame=char.Torso.CFrame
  3003. wave.CFrame = fx.CFrame
  3004. wave.Transparency = i/14
  3005. wait()
  3006. end
  3007. wait()
  3008. wave:Destroy()
  3009. end)()
  3010. elseif devilform == false then
  3011. wait()
  3012. end
  3013. end
  3014.  
  3015. for i = 1, 100 do rs:wait()
  3016. fx.CFrame = torso.CFrame
  3017. end
  3018.  
  3019. Spawn(function()
  3020. while wait(1) do
  3021. if devilform==true then
  3022. wavesdev()
  3023. end
  3024. end
  3025. end)
  3026.  
  3027. wait(4)
  3028.  
  3029. for i = 1, 20 do rs:wait()
  3030. fx.Transparency = fx.Transparency + (1/20)
  3031. fx.CFrame = torso.CFrame
  3032. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  3033. rs:wait()
  3034. end
  3035.  
  3036. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3037. local wave = Instance.new("Part", torso)
  3038. wave.BrickColor = BrickColor.new("Institutional white")
  3039. wave.Anchored = true
  3040. wave.CanCollide = false
  3041. wave.Locked = true
  3042. wave.Size = Vector3.new(1, 1, 1)
  3043. wave.TopSurface = "Smooth"
  3044. wave.BottomSurface = "Smooth"
  3045. wave.Transparency = 0.35
  3046. wave.CFrame = HandCF
  3047. wm = Instance.new("SpecialMesh", wave)
  3048. wm.MeshId = "rbxassetid://3270017"
  3049. coroutine.wrap(function()
  3050. for i = 1, 14, 1 do
  3051. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  3052. wave.Size = wm.Scale
  3053. wave.CFrame = HandCF
  3054. wave.Transparency = i/14
  3055. wait()
  3056. end
  3057. wait()
  3058. wave:Destroy()
  3059. end)()
  3060. -------------------------------
  3061. mouse.KeyDown:connect(function(key)
  3062. if key == "n" then
  3063. if devilform == false then
  3064. devilform = true
  3065. devilcr()
  3066. Vanish()
  3067. stanceToggle = "Devil"
  3068. elseif devilform == true then
  3069. devilform = false
  3070. Appear()
  3071. normalcr()
  3072. stanceToggle = "Normal"
  3073. end
  3074. end
  3075. end)
  3076. -------------------------------
  3077. Appear()
  3078. -------------------------------
  3079. mouse.KeyDown:connect(function(key)
  3080. if string.byte(key) == 52 then
  3081. if Debounces.CanAttack == true then
  3082. if stanceToggle ~= "Floating" then
  3083. char.Humanoid.WalkSpeed = 60
  3084. Burst()
  3085. elseif Debounces.CanAttack == false then
  3086. elseif stanceToggle == "Floating" then
  3087. wait()
  3088. end
  3089. end
  3090. end
  3091. end)
  3092. mouse.KeyUp:connect(function(key)
  3093. if string.byte(key) == 52 then
  3094. char.Humanoid.WalkSpeed = 16
  3095. end
  3096. end)
  3097. -------------------------------
  3098. local animpose = "Idle"
  3099. local lastanimpose = "Idle"
  3100. local grab = false
  3101. local sine = 0
  3102. local change = 1
  3103. local val = 0
  3104. local ffing = false
  3105. -------------------------------
  3106. --[[if stanceToggle == "Sitting" then
  3107. if wait(math.random(1,2)) == 1 then
  3108. stanceToggle = "Sitting2"
  3109. wait(8)
  3110. stanceToggle = "Sitting"
  3111. end
  3112. end]]--
  3113. -------------------------------
  3114. game:GetService("RunService").RenderStepped:connect(function()
  3115. --[[if char.Humanoid.Jump == true then
  3116. jump = true
  3117. else
  3118. jump = false
  3119. end]]
  3120. char.Humanoid.FreeFalling:connect(function(f)
  3121. if f then
  3122. ffing = true
  3123. else
  3124. ffing = false
  3125. end
  3126. end)
  3127. sine = sine + change
  3128. if jumpn == true then
  3129. animpose = "Jumping"
  3130. elseif ffing == true then
  3131. animpose = "Freefalling"
  3132. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3133. animpose = "Idle"
  3134. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3135. animpose = "Walking"
  3136. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3137. animpose = "Running"
  3138. end
  3139. if animpose ~= lastanimpose then
  3140. sine = 0
  3141. if Debounces.NoIdl == false then
  3142. if stanceToggle == "Normal" then
  3143. for i = 1, 2 do
  3144. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
  3145. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
  3146. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  3147. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  3148. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3149. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  3150. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  3151. end
  3152. elseif stanceToggle == "Sitting" then
  3153. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2)
  3154. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  3155. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  3156. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3)
  3157. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  3158. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  3159. elseif stanceToggle == "Floating" then
  3160. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  3161. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  3162. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3163. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3164. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3165. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3166. wait()
  3167. end
  3168. else
  3169. end
  3170. end
  3171. lastanimpose = animpose
  3172. if Debounces.NoIdl == false then
  3173. if animpose == "Idle" then
  3174. if stanceToggle == "Normal" then
  3175. change = 0.5
  3176. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  3177. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  3178. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2)
  3179. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  3180. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3181. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  3182. elseif stanceToggle == "Melee" then
  3183. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
  3184. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  3185. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3186. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3187. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3188. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3189. elseif stanceToggle == "Sitting" then
  3190. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  3191. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  3192. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  3193. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3)
  3194. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  3195. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  3196. elseif stanceToggle == "Floating" then
  3197. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  3198. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  3199. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3200. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3201. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3202. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3203. elseif stanceToggle == "Devil" then
  3204. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  3205. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  3206. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3207. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3208. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3209. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3210. elseif stanceToggle == "Grabbed" then
  3211. grab = true
  3212. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  3213. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
  3214. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  3215. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  3216. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  3217. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  3218. end
  3219. elseif animpose == "Walking" then
  3220. if stanceToggle == "Normal" then
  3221. change = 1
  3222. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  3223. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  3224. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  3225. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  3226. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  3227. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  3228. elseif stanceToggle == "Melee" then
  3229. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
  3230. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
  3231. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  3232. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  3233. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  3234. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  3235. elseif stanceToggle == "Devil" then
  3236. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3237. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3238. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3239. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3240. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3241. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3242. elseif stanceToggle == "Floating" then
  3243. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3244. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3245. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
  3246. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
  3247. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
  3248. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3249. elseif stanceToggle == "Grabbed" then
  3250. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  3251. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
  3252. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  3253. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  3254. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  3255. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  3256. end
  3257. elseif animpose == "Running" then
  3258. if stanceToggle == "Normal" then
  3259. change = 1
  3260. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  3261. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  3262. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  3263. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  3264. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  3265. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  3266. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-50), math.rad(0)), 0.35)
  3267. elseif stanceToggle == "Floating" then
  3268. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3269. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3270. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  3271. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  3272. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  3273. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
  3274. elseif stanceToggle == "Melee" then
  3275. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  3276. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  3277. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  3278. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  3279. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  3280. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  3281. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-50), math.rad(0)), 0.35)
  3282. elseif stanceToggle == "Devil" then
  3283. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  3284. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  3285. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3286. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  3287. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  3288. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  3289. end
  3290. end
  3291. end
  3292. end)
  3293.  
  3294. hed.face.Texture = "rbxassetid://257837512"
  3295. ----------------------------------------------------
  3296. p1 = Instance.new("Part",char)
  3297. p1.BrickColor = BrickColor.new("Really red")
  3298. p1.FormFactor = Enum.FormFactor.Custom
  3299. p1.Size = Vector3.new(2, 2, 2)
  3300. p1.CanCollide = false
  3301. p1.Locked = true
  3302. p1.BottomSurface = Enum.SurfaceType.Smooth
  3303. p1.TopSurface = Enum.SurfaceType.Smooth
  3304. SMesh = Instance.new("SpecialMesh", p1)
  3305. SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529"
  3306. SMesh.TextureId = ""
  3307. SMesh.MeshType = Enum.MeshType.FileMesh
  3308. SMesh.Name = "Mesh"
  3309. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3310. SMesh.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  3311. w1 = Instance.new("Weld", hed)
  3312. w1.Part0 = hed
  3313. w1.C0 = CFrame.new(0,-1.5,0)
  3314. w1.Part1 = p1
  3315. w1.C1 = CFrame.new(1.75514506e-005, -2.06990719, 0.00210596342, -0.999966383, -1.62210035e-005, -0.00820016116, -9.25059425e-008, 0.999998093, -0.00196684781, 0.00820017792, -0.00196678098, -0.999964535)
  3316. p2 = Instance.new("Part",char)
  3317. p2.BrickColor = BrickColor.new("Really black")
  3318. p2.FormFactor = Enum.FormFactor.Custom
  3319. p2.Size = Vector3.new(1, 1, 1)
  3320. p2.CanCollide = false
  3321. p2.Locked = true
  3322. p2.BottomSurface = Enum.SurfaceType.Smooth
  3323. p2.TopSurface = Enum.SurfaceType.Smooth
  3324. SMesh = Instance.new("SpecialMesh", p2)
  3325. SMesh.MeshId = "http://www.roblox.com/asset/?id=45916884"
  3326. SMesh.TextureId = ""
  3327. SMesh.MeshType = Enum.MeshType.FileMesh
  3328. SMesh.Name = "Mesh"
  3329. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3330. SMesh.Scale = Vector3.new(1, 0.9, 1)
  3331. w1 = Instance.new("Weld", hed)
  3332. w1.Part0 = hed
  3333. w1.C0 = CFrame.new(0,-1.5,0)
  3334. w1.Part1 = p2
  3335. w1.C1 = CFrame.new(0.00981426239, -1.86002111, 0.000148773193, 1, 4.98469959e-008, 4.58955765e-006, -4.98459833e-008, 1, -2.23582518e-007, -4.58955765e-006, 2.23582191e-007, 1)
  3336. p3 = Instance.new("Part",char)
  3337. p3.BrickColor = BrickColor.new("Really red")
  3338. p3.FormFactor = Enum.FormFactor.Custom
  3339. p3.Size = Vector3.new(1, 1, 1)
  3340. p3.CanCollide = false
  3341. p3.Locked = true
  3342. p3.BottomSurface = Enum.SurfaceType.Smooth
  3343. p3.TopSurface = Enum.SurfaceType.Smooth
  3344. SMesh = Instance.new("SpecialMesh", p3)
  3345. SMesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  3346. SMesh.TextureId = ""
  3347. SMesh.MeshType = Enum.MeshType.FileMesh
  3348. SMesh.Name = "Mesh"
  3349. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3350. SMesh.Scale = Vector3.new(1, 1, 1)
  3351. w1 = Instance.new("Weld", hed)
  3352. w1.Part0 = hed
  3353. w1.C0 = CFrame.new(0,-1.5,0)
  3354. w1.Part1 = p3
  3355. w1.C1 = CFrame.new(0.059677124, -1.98001814, -0.199489594, 0.99999994, 1.02864064e-008, 4.82797577e-006, -1.02842179e-008, 1, -4.61996478e-007, -4.82797577e-006, 4.61996365e-007, 0.99999994)
  3356. p4 = Instance.new("Part",char)
  3357. p4.BrickColor = BrickColor.new("Really black")
  3358. p4.FormFactor = Enum.FormFactor.Custom
  3359. p4.Size = Vector3.new(1, 1, 1)
  3360. p4.CanCollide = false
  3361. p4.Locked = true
  3362. p4.BottomSurface = Enum.SurfaceType.Smooth
  3363. p4.TopSurface = Enum.SurfaceType.Smooth
  3364. SMesh = Instance.new("SpecialMesh", p4)
  3365. SMesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
  3366. SMesh.TextureId = ""
  3367. SMesh.MeshType = Enum.MeshType.FileMesh
  3368. SMesh.Name = "Mesh"
  3369. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3370. SMesh.Scale = Vector3.new(1.02, 1.05, 1.05)
  3371. w1 = Instance.new("Weld", hed)
  3372. w1.Part0 = hed
  3373. w1.C0 = CFrame.new(0,-1.5,0)
  3374. w1.Part1 = p4
  3375. w1.C1 = CFrame.new(0.0104255676, -1.94979095, 0.129776001, 0.99999994, -2.00533847e-008, 5.2192072e-006, -3.74953743e-007, 0.995037675, 0.0995008945, -4.8863717e-006, -0.0995009243, 0.995037436)
  3376. p5 = Instance.new("Part",char)
  3377. p5.BrickColor = BrickColor.new("Really red")
  3378. p5.FormFactor = Enum.FormFactor.Custom
  3379. p5.Size = Vector3.new(1, 1, 1)
  3380. p5.CanCollide = false
  3381. p5.Locked = true
  3382. p5.BottomSurface = Enum.SurfaceType.Smooth
  3383. p5.TopSurface = Enum.SurfaceType.Smooth
  3384. SMesh = Instance.new("SpecialMesh", p5)
  3385. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  3386. SMesh.TextureId = ""
  3387. SMesh.MeshType = Enum.MeshType.FileMesh
  3388. SMesh.Name = "Mesh"
  3389. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3390. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  3391. w1 = Instance.new("Weld", hed)
  3392. w1.Part0 = hed
  3393. w1.C0 = CFrame.new(0,-1.5,0)
  3394. w1.Part1 = p5
  3395. w1.C1 = CFrame.new(0.00938796997, -2.00957298, 1.44282532, 1, -1.34962974e-007, 5.35256595e-006, -3.26552458e-006, 0.729885638, 0.683569431, -3.88335775e-006, -0.68356967, 0.729885519)
  3396. p6 = Instance.new("Part",char)
  3397. p6.BrickColor = BrickColor.new("Really black")
  3398. p6.FormFactor = Enum.FormFactor.Custom
  3399. p6.Size = Vector3.new(1, 1, 1)
  3400. p6.CanCollide = false
  3401. p6.Locked = true
  3402. p6.BottomSurface = Enum.SurfaceType.Smooth
  3403. p6.TopSurface = Enum.SurfaceType.Smooth
  3404. SMesh = Instance.new("SpecialMesh", p6)
  3405. SMesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
  3406. SMesh.TextureId = ""
  3407. SMesh.MeshType = Enum.MeshType.FileMesh
  3408. SMesh.Name = "Mesh"
  3409. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3410. SMesh.Scale = Vector3.new(1, 1, 1)
  3411. w1 = Instance.new("Weld", hed)
  3412. w1.Part0 = hed
  3413. w1.C0 = CFrame.new(0,-1.5,0)
  3414. w1.Part1 = p6
  3415. w1.C1 = CFrame.new(0.00993537903, -2.2400105, -0.079624176, 1.00000012, -2.98023064e-008, -1.54972145e-006, 2.980231e-008, 1, -4.94502617e-009, 1.54972145e-006, 4.94494401e-009, 1.00000012)
  3416. p7 = Instance.new("Part",char)
  3417. p7.BrickColor = BrickColor.new("Really red")
  3418. p7.FormFactor = Enum.FormFactor.Custom
  3419. p7.Size = Vector3.new(1, 1, 1)
  3420. p7.CanCollide = false
  3421. p7.Locked = true
  3422. p7.BottomSurface = Enum.SurfaceType.Smooth
  3423. p7.TopSurface = Enum.SurfaceType.Smooth
  3424. SMesh = Instance.new("SpecialMesh", p7)
  3425. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  3426. SMesh.TextureId = ""
  3427. SMesh.MeshType = Enum.MeshType.FileMesh
  3428. SMesh.Name = "Mesh"
  3429. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3430. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  3431. w1 = Instance.new("Weld", hed)
  3432. w1.Part0 = hed
  3433. w1.C0 = CFrame.new(0,-1.5,0)
  3434. w1.Part1 = p7
  3435. w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216)
  3436. p8 = Instance.new("Part",char)
  3437. p8.BrickColor = BrickColor.new("Really black")
  3438. p8.FormFactor = Enum.FormFactor.Custom
  3439. p8.Size = Vector3.new(1, 1, 1)
  3440. p8.CanCollide = false
  3441. p8.Locked = true
  3442. p8.BottomSurface = Enum.SurfaceType.Smooth
  3443. p8.TopSurface = Enum.SurfaceType.Smooth
  3444. SMesh = Instance.new("SpecialMesh", p8)
  3445. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  3446. SMesh.TextureId = ""
  3447. SMesh.MeshType = Enum.MeshType.FileMesh
  3448. SMesh.Name = "Mesh"
  3449. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3450. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  3451. w1 = Instance.new("Weld", hed)
  3452. w1.Part0 = hed
  3453. w1.C0 = CFrame.new(0,-1.5,0)
  3454. w1.Part1 = p8
  3455. w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216)
  3456. p9 = Instance.new("Part",char)
  3457. p9.BrickColor = BrickColor.new("Really red")
  3458. p9.FormFactor = Enum.FormFactor.Custom
  3459. p9.Size = Vector3.new(1, 1, 1)
  3460. p9.CanCollide = false
  3461. p9.Locked = true
  3462. p9.BottomSurface = Enum.SurfaceType.Smooth
  3463. p9.TopSurface = Enum.SurfaceType.Smooth
  3464. SMesh = Instance.new("SpecialMesh", p9)
  3465. SMesh.MeshId = "http://www.roblox.com/asset/?id=76056263"
  3466. SMesh.TextureId = ""
  3467. SMesh.MeshType = Enum.MeshType.FileMesh
  3468. SMesh.Name = "Mesh"
  3469. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3470. SMesh.Scale = Vector3.new(1, 1, 1)
  3471. w1 = Instance.new("Weld", hed)
  3472. w1.Part0 = hed
  3473. w1.C0 = CFrame.new(0,-1.5,0)
  3474. w1.Part1 = p9
  3475. w1.C1 = CFrame.new(0.110746384, -1.71002722, -0.198999405, 0.999999881, 1.02863646e-008, 4.70876603e-006, -1.02842392e-008, 1, -4.61996422e-007, -4.70876603e-006, 4.61996336e-007, 0.999999881)
  3476. p10 = Instance.new("Part",char)
  3477. p10.BrickColor = BrickColor.new("Really black")
  3478. p10.FormFactor = Enum.FormFactor.Custom
  3479. p10.Size = Vector3.new(1, 1, 1)
  3480. p10.CanCollide = false
  3481. p10.Locked = true
  3482. p10.BottomSurface = Enum.SurfaceType.Smooth
  3483. p10.TopSurface = Enum.SurfaceType.Smooth
  3484. SMesh = Instance.new("SpecialMesh", p10)
  3485. SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529"
  3486. SMesh.TextureId = ""
  3487. SMesh.MeshType = Enum.MeshType.FileMesh
  3488. SMesh.Name = "Mesh"
  3489. SMesh.VertexColor = Vector3.new(0, 0, 0)
  3490. SMesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  3491. w1 = Instance.new("Weld", hed)
  3492. w1.Part0 = hed
  3493. w1.C0 = CFrame.new(0,-1.5,0)
  3494. w1.Part1 = p10
  3495. w1.C1 = CFrame.new(0.00981426239, -2.11002183, 0.000148773193, 1.00000012, 2.98023295e-008, 1.66892983e-006, -2.98023295e-008, 1, 4.94492847e-009, -1.66892983e-006, -4.94500441e-009, 1.00000012)
  3496.  
  3497. print"Absolute v7 loaded"
  3498.  
  3499. Spawn(function()
  3500. while wait() do
  3501. updateFly()
  3502. end
  3503. end)
  3504.  
  3505. Spawn(function()
  3506. while wait(.1) do
  3507. Magik()
  3508. end
  3509. end)
  3510.  
  3511. Spawn(function()
  3512. while wait(.1) do
  3513. Magik2()
  3514. end
  3515. end)
  3516.  
  3517. Spawn(function()
  3518. while wait(.1) do
  3519. Magik3()
  3520. end
  3521. end)
  3522.  
  3523. Spawn(function()
  3524. while wait(.1) do
  3525. Magik4()
  3526. end
  3527. end)
  3528.  
  3529. Spawn(function()
  3530. while wait(4) do
  3531. if stanceToggle==("Normal" or "Normal2") then
  3532. GroundWave()
  3533. end
  3534. end
  3535. end)
  3536.  
  3537. -----------------------------------------------------------------------------
  3538.  
  3539. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3540. --[[Part0 = Vector3 (Start pos)
  3541. Part1 = Vector3 (End pos)
  3542. Times = number (Amount of lightning parts)
  3543. Offset = number (Offset)
  3544. Color = color (brickcolor value)
  3545. Thickness = number (thickness)
  3546. Trans = number (transparency)
  3547. ]]--
  3548. local magz = (Part0 - Part1).magnitude
  3549. local curpos = Part0
  3550. local trz = {-Offset,Offset}
  3551. for i=1,Times do
  3552. local li = Instance.new("Part", torso)
  3553. li.Name = "Lightning"
  3554. li.TopSurface =0
  3555. li.Material = "Neon"
  3556. li.BottomSurface = 0
  3557. li.Anchored = true
  3558. li.Locked = true
  3559. li.Transparency = Trans or 0.4
  3560. li.BrickColor = BrickColor.new(Color)
  3561. li.formFactor = "Custom"
  3562. li.CanCollide = false
  3563. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3564. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3565. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3566. if Times == i then
  3567. local magz2 = (curpos - Part1).magnitude
  3568. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3569. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3570. else
  3571. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3572. end
  3573. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3574. game.Debris:AddItem(li,.1)
  3575. end
  3576. end
  3577.  
  3578. BodyParts = {} -- Parts to emit lightning effects from
  3579. for _, v in pairs(char.Genkadda:GetChildren()) do
  3580. if v:IsA("Part") then
  3581. table.insert(BodyParts, v)
  3582. end
  3583. end
  3584.  
  3585. Bounding = {} -- Calculate the bounding boxes
  3586. for _, v in pairs(BodyParts) do
  3587. local temp = {X=nil, Y=nil, Z=nil}
  3588. temp.X = v.Size.X/2 * 15
  3589. temp.Y = v.Size.Y/2 * 15
  3590. temp.Z = v.Size.Z/2 * 15
  3591. Bounding[v.Name] = temp
  3592. --table.insert(Bounding, v.Name, temp)
  3593. end
  3594.  
  3595. while wait(0.001) do if stanceToggle=="Normal" then -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original
  3596. local ArmColor = MN.Color
  3597. local Body1 = BodyParts[math.random(#BodyParts)]
  3598. local Body2 = BodyParts[math.random(#BodyParts)]
  3599. local Pos1 = Vector3.new(
  3600. --[[math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3601. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3602. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 ]]
  3603. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/1000,
  3604. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/1000,
  3605. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/1000
  3606. )
  3607. local Pos2 = Vector3.new(
  3608. --[[math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3609. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3610. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 ]]
  3611. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/1000,
  3612. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/1000,
  3613. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/1000
  3614. )
  3615. local SPos1 = Body1.Position --Body1.Position + Pos1
  3616. local SPos2 = Body2.Position --Body2.Position + Pos2
  3617. --Lightning(SPos1, SPos2, 1, .5, ArmColor, .3, .56)
  3618. Lightning(SPos1, SPos2, 1, .5, "Really red", .3, .56)
  3619. --Lightning(SPos1, SPos2, 4, 3, "Really red", .3, .56)
  3620. end
  3621. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement