vibrantsinger423

RedKeksaom

Aug 2nd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.10 KB | None | 0 0
  1. rs = game:GetService'RunService'
  2. plrs = game:GetService'Players'
  3. lp = plrs.LocalPlayer
  4. c = lp.Character
  5. root = lp.Character.HumanoidRootPart
  6. human = c.Humanoid
  7. FPS = 0
  8. inf = 0
  9. opos1 = Vector3.new()
  10. opos2 = Vector3.new()
  11. opos3 = Vector3.new()
  12. waves = Instance.new("Model", c)
  13. res = Instance.new("Model", c)
  14.  
  15. local function b()
  16. local t=tick();
  17. local l=t%1*3;
  18. local t=.5*math.pi*(l%1);
  19. if l<1 then
  20. return Color3.new(47,0,32);
  21. elseif l<2 then
  22. return Color3.new(47,0,35);
  23. else
  24. return Color3.new(0,0,0);
  25. end;
  26. end;
  27. speedParts = function()
  28. for i = 1, 4 do
  29. local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2)
  30. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  31. local opos
  32. if i == 1 then
  33. opos = opos1
  34. elseif i == 2 then
  35. opos = opos2
  36. else
  37. opos = opos3
  38. end
  39. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  40. local e
  41. if #res:children() <= 3 then
  42. e = Instance.new("Part")
  43. else
  44. e = res:FindFirstChild("Trail")
  45. end
  46. e.Parent = waves
  47. e.Anchored = true
  48. e.CanCollide = false
  49. e.Transparency = 0
  50. e.Material = "Neon"
  51. e.Name = "Trail"
  52. e.Color = b(); --Color = a();
  53. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  54. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  55. end
  56. if i == 1 then
  57. opos1 = CFramepos
  58. elseif i == 2 then
  59. opos2 = CFramepos
  60. else
  61. opos3 = CFramepos
  62. end
  63. end
  64. end
  65.  
  66. rs.RenderStepped:connect(function()
  67. FPS = 1 / rs.RenderStepped:wait()
  68. for i, v in pairs (waves:children()) do
  69. v.Transparency = v.Transparency + .05 / (FPS / 60)
  70. if v.Transparency >= .98 then
  71. v.Transparency = 1
  72. v.Parent = res
  73. end
  74. end
  75. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  76. speedParts()
  77. end)
  78. --------------
  79. Player=game:GetService('Players').LocalPlayer
  80. Character=Player.Character
  81. Mouse=Player:GetMouse()
  82. m=Instance.new('Model',Character)
  83.  
  84.  
  85. local function weldBetween(a, b)
  86. local weldd = Instance.new("ManualWeld")
  87. weldd.Part0 = a
  88. weldd.Part1 = b
  89. weldd.C0 = CFrame.new()
  90. weldd.C1 = b.CFrame:inverse() * a.CFrame
  91. weldd.Parent = a
  92. return weldd
  93. end
  94.  
  95. it=Instance.new
  96.  
  97. function nooutline(part)
  98. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  99. end
  100.  
  101. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  102. local fp=it("Part")
  103. fp.formFactor=formfactor
  104. fp.Parent=parent
  105. fp.Reflectance=reflectance
  106. fp.Transparency=transparency
  107. fp.CanCollide=false
  108. fp.Locked=true
  109. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  110. fp.Name=name
  111. fp.Size=size
  112. fp.Position=Character.Torso.Position
  113. nooutline(fp)
  114. fp.Material=material
  115. fp:BreakJoints()
  116. return fp
  117. end
  118.  
  119. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  120. local mesh=it(Mesh)
  121. mesh.Parent=part
  122. if Mesh=="SpecialMesh" then
  123. mesh.MeshType=meshtype
  124. mesh.MeshId=meshid
  125. end
  126. mesh.Offset=offset
  127. mesh.Scale=scale
  128. return mesh
  129. end
  130.  
  131. function weld(parent,part0,part1,c0,c1)
  132. local weld=it("Weld")
  133. weld.Parent=parent
  134. weld.Part0=part0
  135. weld.Part1=part1
  136. weld.C0=c0
  137. weld.C1=c1
  138. return weld
  139. end
  140.  
  141. MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Royal purple","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  142. 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))
  143. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Royal purple","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  144. 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))
  145. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  146. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  147. 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))
  148. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  149. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  150. 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))
  151. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  152. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  153. 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))
  154. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  155. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  156. 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))
  157. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  158. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  159. 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))
  160. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  161. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  162. 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))
  163. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  164. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  165. 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))
  166. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  167. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  168. 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))
  169. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  170. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  171. 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))
  172. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  173. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  174. 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))
  175. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  176. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  177. 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))
  178. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  179. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  180. 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))
  181. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  182. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  183. 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))
  184. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  185. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  186. 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))
  187. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  188. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  189. 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))
  190. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  191. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  192. 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))
  193. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  194. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  195. 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))
  196. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  197. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  198. 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))
  199. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  200.  
  201. --[[MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  202. 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))
  203. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Maroon","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  204. 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))
  205. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  206. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  207. 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))
  208. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  209. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  210. 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))
  211. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  212. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  213. 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))
  214. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  215. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  216. 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))
  217. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  218. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  219. 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))
  220. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  221. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  222. 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))
  223. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  224. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  225. 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))
  226. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  227. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  228. 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))
  229. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  230. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  231. 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))
  232. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  233. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  234. 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))
  235. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  236. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  237. 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))
  238. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  239. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  240. 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))
  241. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  242. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  243. 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))
  244. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  245. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  246. 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))
  247. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  248. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  249. 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))
  250. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  251. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  252. 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))
  253. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  254. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  255. 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))
  256. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  257. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  258. 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))
  259. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) ]]
  260. -----------------------
  261. local p = game.Players.LocalPlayer
  262. local char = p.Character
  263. local mouse = p:GetMouse()
  264. local larm = char["Left Arm"]
  265. local rarm = char["Right Arm"]
  266. local lleg = char["Left Leg"]
  267. local rleg = char["Right Leg"]
  268. local hed = char.Head
  269. local torso = char.Torso
  270. local hum = char.Humanoid
  271. local cam = game.Workspace.CurrentCamera
  272. local root = char.HumanoidRootPart
  273. local deb = false
  274. local shot = 0
  275. local stanceToggle = "Normal"
  276. local l = game:GetService("Lighting")
  277. local rs = game:GetService("RunService").RenderStepped
  278. math.randomseed(os.time())
  279. hum.MaxHealth = math.huge
  280. wait(1)
  281. hum.Health = math.huge
  282. for i,v in pairs(char:children()) do
  283. if v:IsA("Hat") then
  284. v:Destroy()
  285. end
  286. end
  287. for i,v in pairs (hed:GetChildren()) do
  288. if v:IsA("Sound") then
  289. v:Destroy()
  290. end
  291. end
  292. ----------------------------------------------------
  293. ypcall(function()
  294. char.Shirt:Destroy()
  295. char.Pants:Destroy()
  296. shirt = Instance.new("Shirt", char)
  297. shirt.Name = "Shirt"
  298. pants = Instance.new("Pants", char)
  299. pants.Name = "Pants"
  300. char.Shirt.ShirtTemplate = "rbxassetid://345371561"
  301. char.Pants.PantsTemplate = "rbxassetid://345372241"
  302. end)
  303. ----------------------------------------------------
  304. Debounces = {
  305. CanAttack = true;
  306. CanJoke = true;
  307. NoIdl = false;
  308. Slashing = false;
  309. Slashed = false;
  310. Slapping = false;
  311. Slapped = false;
  312. ks = false;
  313. }
  314. ----------------------------------------------------
  315. function weld5(part0, part1, c0, c1)
  316. weeld=Instance.new("Weld", part0)
  317. weeld.Part0=part0
  318. weeld.Part1=part1
  319. weeld.C0=c0
  320. weeld.C1=c1
  321. return weeld
  322. end
  323. ----------------------------------------------------
  324. mod=Instance.new('Model',char)
  325.  
  326. function Burst()
  327. part=Instance.new('Part',mod)
  328. part.Anchored=true
  329. part.CanCollide=false
  330. part.FormFactor='Custom'
  331. part.Size=Vector3.new(.2,.2,.2)
  332. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  333. part.Transparency=.7
  334. part.BrickColor=BrickColor.new('Really black')
  335. mesh=Instance.new('SpecialMesh',part)
  336. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  337. mesh.Scale=Vector3.new(10,5,10)
  338. part2=part:clone()
  339. part2.Parent=mod
  340. part2.BrickColor=BrickColor.new('Bright red')
  341. mesh2=mesh:clone()
  342. mesh2.Parent=part2
  343. mesh2.Scale=Vector3.new(5,2.5,5)
  344. coroutine.resume(coroutine.create(function()
  345. for i=0,1,0.1 do
  346. wait()
  347. part.CFrame=part.CFrame
  348. part.Transparency=i
  349. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  350. part2.CFrame=part2.CFrame
  351. part2.Transparency=i
  352. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  353. end
  354. part.Parent=nil
  355. part2.Parent=nil
  356. end))
  357. end
  358. ----------------------------------------------------
  359. mod4 = Instance.new("Model",char)
  360.  
  361. ptez = {0.7, 0.8, 0.9, 1}
  362.  
  363. function FindNearestTorso(Position,Distance,SinglePlayer)
  364. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  365. local List = {}
  366. for i,v in pairs(workspace:GetChildren())do
  367. if v:IsA("Model")then
  368. if v:findFirstChild("Torso")then
  369. if v ~= char then
  370. if(v.Torso.Position -Position).magnitude <= Distance then
  371. table.insert(List,v)
  372. end
  373. end
  374. end
  375. end
  376. end
  377. return List
  378. end
  379.  
  380. function Slam()
  381. part=Instance.new('Part',mod4)
  382. part.Anchored=true
  383. part.CanCollide=false
  384. part.FormFactor='Custom'
  385. part.Size=Vector3.new(.2,.2,.2)
  386. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  387. part.Transparency=.7
  388. part.BrickColor=BrickColor.new('Really black')
  389. mesh=Instance.new('SpecialMesh',part)
  390. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  391. mesh.Scale=Vector3.new(3,3,3)
  392. part2=Instance.new('Part',mod4)
  393. part2.Anchored=true
  394. part2.CanCollide=false
  395. part2.FormFactor='Custom'
  396. part2.Size=Vector3.new(.2,.2,.2)
  397. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  398. part2.Transparency=.7
  399. part2.BrickColor=BrickColor.new('Royal purple')
  400. mesh2=Instance.new('SpecialMesh',part2)
  401. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  402. mesh2.Scale=Vector3.new(3,1.5,3)
  403. x = Instance.new("Sound",char)
  404. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  405. x.Pitch = ptez[math.random(1,#ptez)]
  406. x.Volume = 1
  407. wait(.1)
  408. x1 = Instance.new("Sound",char)
  409. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  410. x1.Pitch = ptez[math.random(1,#ptez)]
  411. x1.Volume = 1
  412. wait(.1)
  413. x:Play()
  414. x1:Play()
  415. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  416. if v:FindFirstChild('Humanoid') then
  417. v.Humanoid:TakeDamage(math.random(30,45))
  418. end
  419. end
  420. coroutine.resume(coroutine.create(function()
  421. for i=0,0.62,0.13 do
  422. wait()
  423. part.CFrame=part.CFrame
  424. part.Transparency=i
  425. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  426. part2.CFrame=part2.CFrame
  427. part2.Transparency=i
  428. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  429. end
  430. part.Parent=nil
  431. part2.Parent=nil
  432. x:Destroy()
  433. end))
  434. end
  435. ----------------------------------------------------
  436. GroundWave = function()
  437. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  438. local Colors = {"Royal purple", "Really black"}
  439. local wave = Instance.new("Part", torso)
  440. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  441. wave.Anchored = true
  442. wave.CanCollide = false
  443. wave.Locked = true
  444. wave.Size = Vector3.new(1, 1, 1)
  445. wave.TopSurface = "Smooth"
  446. wave.BottomSurface = "Smooth"
  447. wave.Transparency = 0.35
  448. wave.CFrame = HandCF
  449. wm = Instance.new("SpecialMesh", wave)
  450. wm.MeshId = "rbxassetid://3270017"
  451. coroutine.wrap(function()
  452. for i = 1, 14, 1 do
  453. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  454. wave.Size = wm.Scale
  455. wave.CFrame = HandCF
  456. wave.Transparency = i/14
  457. wait()
  458. end
  459. wait()
  460. wave:Destroy()
  461. end)()
  462. end
  463. ----------------------------------------------------
  464. Magik = function()
  465. Spawn(function()
  466. local function lerp(a,b,c)
  467. return a+(b-a)*c
  468. end
  469. local function rndRange(rng)
  470. return math.random(-rng*1000,rng*1000)/1000
  471. end
  472. local magik = Instance.new("Part", larm)
  473. local Colors = {"Royal purple", "Really black"}
  474. magik.Anchored = true
  475. magik.Locked = true
  476. magik.FormFactor = "Custom"
  477. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  478. magik.TopSurface = "Smooth"
  479. magik.BottomSurface = "Smooth"
  480. magik.Transparency = 0
  481. magik.CanCollide = false
  482. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  483. local mr = math.rad
  484. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  485. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  486. magik.CFrame = cf
  487. for i = 0, 1, .05 do
  488. local newTrans = lerp(0.5, 1, i)
  489. local ns = lerp(1,1.2,i)
  490. magik.Transparency = newTrans
  491. magik.Size = Vector3.new(ns,ns,ns)
  492. magik.CFrame = cf
  493. rs:wait()
  494. end
  495. magik:Destroy()
  496. wait()
  497. end)
  498. end
  499. ----------------------------------------------------
  500. Magik2 = function()
  501. Spawn(function()
  502. if stanceToggle == "Melee" then
  503. local function lerp(a,b,c)
  504. return a+(b-a)*c
  505. end
  506. local function rndRange(rng)
  507. return math.random(-rng*1000,rng*1000)/1000
  508. end
  509. local magik2 = Instance.new("Part", rarm)
  510. local Colors = {"Royal purple", "Really black"}
  511. magik2.Anchored = true
  512. magik2.Locked = true
  513. magik2.FormFactor = "Custom"
  514. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  515. magik2.TopSurface = "Smooth"
  516. magik2.BottomSurface = "Smooth"
  517. magik2.Transparency = 0
  518. magik2.CanCollide = false
  519. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  520. local mr = math.rad
  521. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  522. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  523. magik2.CFrame = cf
  524. for i = 0, 1, .05 do
  525. local newTrans = lerp(0.5, 1, i)
  526. local ns = lerp(1,1.2,i)
  527. magik2.Transparency = newTrans
  528. magik2.Size = Vector3.new(ns,ns,ns)
  529. magik2.CFrame = cf
  530. rs:wait()
  531. end
  532. magik2:Destroy()
  533. elseif stanceToggle ~= "Melee" then
  534. wait()
  535. end
  536. end)
  537. end
  538. ----------------------------------------------------
  539. function lerp(a, b, t) -- Linear interpolation
  540. return a + (b - a)*t
  541. end
  542.  
  543. function slerp(a, b, t) --Spherical interpolation
  544. dot = a:Dot(b)
  545. if dot > 0.99999 or dot < -0.99999 then
  546. return t <= 0.5 and a or b
  547. else
  548. r = math.acos(dot)
  549. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  550. end
  551. end
  552.  
  553. function matrixInterpolate(a, b, t)
  554. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  555. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  556. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  557. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  558. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  559. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  560. local t = v1:Dot(v2)
  561. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  562. return CFrame.new()
  563. end
  564. return CFrame.new(
  565. v0.x, v0.y, v0.z,
  566. v1.x, v1.y, v1.z,
  567. v2.x, v2.y, v2.z,
  568. v3.x, v3.y, v3.z)
  569. end
  570. ----------------------------------------------------
  571. function genWeld(a,b)
  572. local w = Instance.new("Weld",a)
  573. w.Part0 = a
  574. w.Part1 = b
  575. return w
  576. end
  577. function weld(a, b)
  578. local weld = Instance.new("Weld")
  579. weld.Name = "W"
  580. weld.Part0 = a
  581. weld.Part1 = b
  582. weld.C0 = a.CFrame:inverse() * b.CFrame
  583. weld.Parent = a
  584. return weld;
  585. end
  586. ----------------------------------------------------
  587. function Lerp(c1,c2,al)
  588. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  589. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  590. for i,v in pairs(com1) do
  591. com1[i] = v+(com2[i]-v)*al
  592. end
  593. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  594. end
  595. ----------------------------------------------------
  596. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  597. local wld = Instance.new("Weld", wp1)
  598. wld.Part0 = wp0
  599. wld.Part1 = wp1
  600. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  601. end
  602. ----------------------------------------------------
  603. newWeld(torso, larm, -1.5, 0.5, 0)
  604. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  605. newWeld(torso, rarm, 1.5, 0.5, 0)
  606. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  607. newWeld(torso, hed, 0, 1.5, 0)
  608. newWeld(torso, lleg, -0.5, -1, 0)
  609. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  610. newWeld(torso, rleg, 0.5, -1, 0)
  611. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  612. newWeld(root, torso, 0, -1, 0)
  613. torso.Weld.C1 = CFrame.new(0, -1, 0)
  614. ----------------------------------------------------
  615. --music
  616. --local SIDz = {"167985102"}--181449739, 167161785, 148274436, 167985102, 161806320
  617. z = Instance.new("Sound",char)
  618. z.SoundId = "rbxassetid://190845741"--..SIDz[math.random(1,#SIDz)]
  619. z.Looped = true
  620. z.Volume = 1
  621. z.Pitch = 1 --.72
  622. wait(1)
  623. z:Play()
  624. hum.WalkSpeed = 9
  625. lite = Instance.new("PointLight",torso)
  626. lite.Brightness = 16
  627. lite.Range = 12
  628. lite.Color = Color3.new(255/255,0,0)
  629. ----------------------------------------------------
  630. l = game.Lighting
  631. rb = Color3.new(0,0,0)
  632. nb = Color3.new(0.1,0.1,0.1)
  633. l.TimeOfDay = 0
  634. --[[l.Ambient = rb
  635. l.OutdoorAmbient = rb
  636. l.FogColor = rb
  637. l.FogEnd = 100
  638. s = Instance.new("Sky",l)
  639. s.CelestialBodiesShown = false
  640. workspace.Base.Material = "Plastic"
  641. workspace.Base.BrickColor = BrickColor.new("Really black")]]--
  642. ----------------------------------------------------
  643. local m = Instance.new("Model")
  644. m.Name = "Genkadda"
  645. p1 = Instance.new("Part", m)
  646. p1.Material = "Metal"
  647. p1.BrickColor = BrickColor.new("Really black")
  648. p1.Name = "BladePart"
  649. p1.FormFactor = Enum.FormFactor.Symmetric
  650. p1.Size = Vector3.new(1, 1, 1)
  651. 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)
  652. p1.CanCollide = false
  653. p1.Locked = true
  654. p1.Elasticity = 0
  655. p1.BottomSurface = Enum.SurfaceType.Smooth
  656. p1.TopSurface = Enum.SurfaceType.Smooth
  657. b1 = Instance.new("BlockMesh", p1)
  658. b1.Name = "Mesh"
  659. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  660. p2 = Instance.new("Part", m)
  661. p2.Material = "Metal"
  662. p2.BrickColor = BrickColor.new("Really black")
  663. p2.FormFactor = Enum.FormFactor.Symmetric
  664. p2.Size = Vector3.new(1, 1, 1)
  665. 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)
  666. p2.CanCollide = false
  667. p2.Locked = true
  668. p2.Elasticity = 0
  669. p2.BottomSurface = Enum.SurfaceType.Smooth
  670. p2.TopSurface = Enum.SurfaceType.Smooth
  671. b2 = Instance.new("BlockMesh", p2)
  672. b2.Name = "Mesh"
  673. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  674. p3 = Instance.new("Part", m)
  675. p3.Material = "Metal"
  676. p3.BrickColor = BrickColor.new("Really black")
  677. p3.FormFactor = Enum.FormFactor.Symmetric
  678. p3.Size = Vector3.new(1, 2, 1)
  679. 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)
  680. p3.CanCollide = false
  681. p3.Locked = true
  682. p3.Elasticity = 0
  683. p3.BottomSurface = Enum.SurfaceType.Smooth
  684. p3.TopSurface = Enum.SurfaceType.Smooth
  685. b3 = Instance.new("BlockMesh", p3)
  686. b3.Name = "Mesh"
  687. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  688. p4 = Instance.new("Part", m)
  689. p4.Material = "Metal"
  690. p4.BrickColor = BrickColor.new("Really black")
  691. p4.Name = "BladePart"
  692. p4.FormFactor = Enum.FormFactor.Symmetric
  693. p4.Size = Vector3.new(1, 1, 1)
  694. 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)
  695. p4.CanCollide = false
  696. p4.Locked = true
  697. p4.Elasticity = 0
  698. p4.BottomSurface = Enum.SurfaceType.Smooth
  699. p4.TopSurface = Enum.SurfaceType.Smooth
  700. b4 = Instance.new("BlockMesh", p4)
  701. b4.Name = "Mesh"
  702. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  703. p5 = Instance.new("Part", m)
  704. p5.Material = "Metal"
  705. p5.BrickColor = BrickColor.new("Really black")
  706. p5.Name = "Hilt"
  707. p5.FormFactor = Enum.FormFactor.Custom
  708. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  709. 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)
  710. p5.CanCollide = false
  711. p5.Locked = true
  712. p5.BottomSurface = Enum.SurfaceType.Smooth
  713. p5.TopSurface = Enum.SurfaceType.Smooth
  714. b5 = Instance.new("BlockMesh", p5)
  715. b5.Name = "Mesh"
  716. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  717. p6 = Instance.new("Part", m)
  718. p6.Material = "Metal"
  719. p6.BrickColor = BrickColor.new("Really black")
  720. p6.Name = "Handle"
  721. p6.FormFactor = Enum.FormFactor.Custom
  722. p6.Size = Vector3.new(1.29999995, 1, 1)
  723. 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)
  724. p6.CanCollide = false
  725. p6.Locked = true
  726. p6.BottomSurface = Enum.SurfaceType.Smooth
  727. p6.TopSurface = Enum.SurfaceType.Smooth
  728. b6 = Instance.new("SpecialMesh", p6)
  729. b6.MeshType = Enum.MeshType.Cylinder
  730. b6.Name = "Mesh"
  731. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  732. p7 = Instance.new("Part", m)
  733. p7.Material = "Metal"
  734. p7.BrickColor = BrickColor.new("Really black")
  735. p7.FormFactor = Enum.FormFactor.Symmetric
  736. p7.Size = Vector3.new(1, 1, 1)
  737. 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)
  738. p7.CanCollide = false
  739. p7.Locked = true
  740. b7 = Instance.new("SpecialMesh", p7)
  741. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  742. b7.TextureId = ""
  743. b7.MeshType = Enum.MeshType.FileMesh
  744. b7.Name = "Mesh"
  745. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  746. p8 = Instance.new("Part", m)
  747. p8.Material = "Metal"
  748. p8.BrickColor = BrickColor.new("Really black")
  749. p8.Name = "BladePart"
  750. p8.FormFactor = Enum.FormFactor.Symmetric
  751. p8.Size = Vector3.new(1, 1, 1)
  752. 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)
  753. p8.CanCollide = false
  754. p8.Locked = true
  755. p8.Elasticity = 0
  756. p8.BottomSurface = Enum.SurfaceType.Smooth
  757. p8.TopSurface = Enum.SurfaceType.Smooth
  758. b8 = Instance.new("BlockMesh", p8)
  759. b8.Name = "Mesh"
  760. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  761. p9 = Instance.new("Part", m)
  762. p9.Material = "Metal"
  763. p9.BrickColor = BrickColor.new("Really black")
  764. p9.Name = "BladePart"
  765. p9.FormFactor = Enum.FormFactor.Symmetric
  766. p9.Size = Vector3.new(1, 1, 1)
  767. 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)
  768. p9.CanCollide = false
  769. p9.Locked = true
  770. p9.Elasticity = 0
  771. p9.BottomSurface = Enum.SurfaceType.Smooth
  772. p9.TopSurface = Enum.SurfaceType.Smooth
  773. b9 = Instance.new("BlockMesh", p9)
  774. b9.Name = "Mesh"
  775. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  776. p10 = Instance.new("Part", m)
  777. p10.Material = "Metal"
  778. p10.BrickColor = BrickColor.new("Really black")
  779. p10.Name = "BladeTip"
  780. p10.FormFactor = Enum.FormFactor.Symmetric
  781. p10.Size = Vector3.new(1, 1, 2)
  782. 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)
  783. p10.CanCollide = false
  784. p10.Locked = true
  785. p10.Elasticity = 0
  786. p10.BottomSurface = Enum.SurfaceType.Smooth
  787. p10.TopSurface = Enum.SurfaceType.Smooth
  788. b10 = Instance.new("SpecialMesh", p10)
  789. b10.MeshType = Enum.MeshType.Wedge
  790. b10.Name = "Mesh"
  791. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  792. p11 = Instance.new("Part", m)
  793. p11.Material = "Metal"
  794. p11.BrickColor = BrickColor.new("Really black")
  795. p11.Name = "BladePart"
  796. p11.FormFactor = Enum.FormFactor.Symmetric
  797. p11.Size = Vector3.new(1, 1, 1)
  798. 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)
  799. p11.CanCollide = false
  800. p11.Locked = true
  801. p11.Elasticity = 0
  802. p11.BottomSurface = Enum.SurfaceType.Smooth
  803. p11.TopSurface = Enum.SurfaceType.Smooth
  804. b11 = Instance.new("BlockMesh", p11)
  805. b11.Name = "Mesh"
  806. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  807. p12 = Instance.new("Part", m)
  808. p12.Material = "Metal"
  809. p12.BrickColor = BrickColor.new("Really black")
  810. p12.Name = "BladeTip2"
  811. p12.FormFactor = Enum.FormFactor.Custom
  812. p12.Size = Vector3.new(1, 1, 2.4000001)
  813. 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)
  814. p12.CanCollide = false
  815. p12.Locked = true
  816. p12.Elasticity = 0
  817. p12.BottomSurface = Enum.SurfaceType.Smooth
  818. p12.TopSurface = Enum.SurfaceType.Smooth
  819. b12 = Instance.new("SpecialMesh", p12)
  820. b12.MeshType = Enum.MeshType.Wedge
  821. b12.Name = "Mesh"
  822. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  823. p13 = Instance.new("Part", m)
  824. p13.Material = "Metal"
  825. p13.BrickColor = BrickColor.new("Medium stone grey")
  826. p13.Transparency = 1
  827. p13.Name = "HitBox"
  828. p13.FormFactor = Enum.FormFactor.Custom
  829. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  830. 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)
  831. p13.CanCollide = false
  832. p13.Locked = true
  833. p13.BottomSurface = Enum.SurfaceType.Smooth
  834. p13.TopSurface = Enum.SurfaceType.Smooth
  835. w1 = Instance.new("Weld", p1)
  836. w1.Name = "Part_Weld"
  837. w1.Part0 = p1
  838. 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)
  839. w1.Part1 = p2
  840. 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)
  841. w2 = Instance.new("Weld", p2)
  842. w2.Name = "Part_Weld"
  843. w2.Part0 = p2
  844. 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)
  845. w2.Part1 = p3
  846. 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)
  847. w3 = Instance.new("Weld", p3)
  848. w3.Name = "BladePart_Weld"
  849. w3.Part0 = p3
  850. 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)
  851. w3.Part1 = p4
  852. 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)
  853. w4 = Instance.new("Weld", p4)
  854. w4.Name = "Hilt_Weld"
  855. w4.Part0 = p4
  856. 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)
  857. w4.Part1 = p5
  858. 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)
  859. w5 = Instance.new("Weld", p5)
  860. w5.Name = "Handle_Weld"
  861. w5.Part0 = p5
  862. 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)
  863. w5.Part1 = p6
  864. 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)
  865. w6 = Instance.new("Weld", p6)
  866. w6.Name = "Part_Weld"
  867. w6.Part0 = p6
  868. 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)
  869. w6.Part1 = p7
  870. 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)
  871. w7 = Instance.new("Weld", p7)
  872. w7.Name = "BladePart_Weld"
  873. w7.Part0 = p7
  874. 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)
  875. w7.Part1 = p8
  876. 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)
  877. w8 = Instance.new("Weld", p8)
  878. w8.Name = "BladePart_Weld"
  879. w8.Part0 = p8
  880. 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)
  881. w8.Part1 = p9
  882. 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)
  883. w9 = Instance.new("Weld", p9)
  884. w9.Name = "BladeTip_Weld"
  885. w9.Part0 = p9
  886. 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)
  887. w9.Part1 = p10
  888. 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)
  889. w10 = Instance.new("Weld", p10)
  890. w10.Name = "BladePart_Weld"
  891. w10.Part0 = p10
  892. 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)
  893. w10.Part1 = p11
  894. 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)
  895. w11 = Instance.new("Weld", p11)
  896. w11.Name = "BladeTip2_Weld"
  897. w11.Part0 = p11
  898. 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)
  899. w11.Part1 = p12
  900. 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)
  901. w12 = Instance.new("Weld", p12)
  902. w12.Name = "HitBox_Weld"
  903. w12.Part0 = p12
  904. 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)
  905. w12.Part1 = p13
  906. 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)
  907. w13 = Instance.new("Weld", p13)
  908. w13.Name = "Weld"
  909. w13.Part0 = p13
  910. 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)
  911. m.Parent = char
  912. m:MakeJoints()
  913. ----------------------------------------------------
  914. local cor = Instance.new("Part", char.Genkadda)
  915. cor.Name = "Thingy"
  916. cor.Locked = true
  917. cor.BottomSurface = 0
  918. cor.CanCollide = false
  919. cor.Size = Vector3.new(1, 9, 1)
  920. cor.Transparency = 1
  921. cor.TopSurface = 0
  922. corw = Instance.new("Weld", cor)
  923. corw.Part0 = rarm
  924. corw.Part1 = cor
  925. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  926. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  927. weld1 = Instance.new("Weld", char.Genkadda)
  928. weld1.Part0 = cor
  929. weld1.Part1 = char.Genkadda.Handle
  930. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  931. ----------------------------------------------------
  932. local m = Instance.new("Model")
  933. m.Name = "Xeno"
  934. p1 = Instance.new("Part", m)
  935. p1.Material = "Metal"
  936. p1.BrickColor = BrickColor.new("Really black")
  937. p1.Name = "BladePart"
  938. p1.FormFactor = Enum.FormFactor.Symmetric
  939. p1.Size = Vector3.new(1, 1, 1)
  940. 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)
  941. p1.CanCollide = false
  942. p1.Locked = true
  943. p1.Elasticity = 0
  944. p1.BottomSurface = Enum.SurfaceType.Smooth
  945. p1.TopSurface = Enum.SurfaceType.Smooth
  946. b1 = Instance.new("BlockMesh", p1)
  947. b1.Name = "Mesh"
  948. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  949. p2 = Instance.new("Part", m)
  950. p2.Material = "Metal"
  951. p2.BrickColor = BrickColor.new("Really black")
  952. p2.FormFactor = Enum.FormFactor.Symmetric
  953. p2.Size = Vector3.new(1, 1, 1)
  954. 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)
  955. p2.CanCollide = false
  956. p2.Locked = true
  957. p2.Elasticity = 0
  958. p2.BottomSurface = Enum.SurfaceType.Smooth
  959. p2.TopSurface = Enum.SurfaceType.Smooth
  960. b2 = Instance.new("BlockMesh", p2)
  961. b2.Name = "Mesh"
  962. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  963. p3 = Instance.new("Part", m)
  964. p3.Material = "Metal"
  965. p3.BrickColor = BrickColor.new("Really black")
  966. p3.FormFactor = Enum.FormFactor.Symmetric
  967. p3.Size = Vector3.new(1, 2, 1)
  968. 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)
  969. p3.CanCollide = false
  970. p3.Locked = true
  971. p3.Elasticity = 0
  972. p3.BottomSurface = Enum.SurfaceType.Smooth
  973. p3.TopSurface = Enum.SurfaceType.Smooth
  974. b3 = Instance.new("BlockMesh", p3)
  975. b3.Name = "Mesh"
  976. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  977. p4 = Instance.new("Part", m)
  978. p4.Material = "Metal"
  979. p4.BrickColor = BrickColor.new("Really black")
  980. p4.Name = "BladePart"
  981. p4.FormFactor = Enum.FormFactor.Symmetric
  982. p4.Size = Vector3.new(1, 1, 1)
  983. 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)
  984. p4.CanCollide = false
  985. p4.Locked = true
  986. p4.Elasticity = 0
  987. p4.BottomSurface = Enum.SurfaceType.Smooth
  988. p4.TopSurface = Enum.SurfaceType.Smooth
  989. b4 = Instance.new("BlockMesh", p4)
  990. b4.Name = "Mesh"
  991. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  992. p5 = Instance.new("Part", m)
  993. p5.Material = "Metal"
  994. p5.BrickColor = BrickColor.new("Really black")
  995. p5.Name = "Hilt"
  996. p5.FormFactor = Enum.FormFactor.Custom
  997. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  998. 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)
  999. p5.CanCollide = false
  1000. p5.Locked = true
  1001. p5.BottomSurface = Enum.SurfaceType.Smooth
  1002. p5.TopSurface = Enum.SurfaceType.Smooth
  1003. b5 = Instance.new("BlockMesh", p5)
  1004. b5.Name = "Mesh"
  1005. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  1006. p6 = Instance.new("Part", m)
  1007. p6.Material = "Metal"
  1008. p6.BrickColor = BrickColor.new("Really black")
  1009. p6.Name = "Handle"
  1010. p6.FormFactor = Enum.FormFactor.Custom
  1011. p6.Size = Vector3.new(1.29999995, 1, 1)
  1012. 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)
  1013. p6.CanCollide = false
  1014. p6.Locked = true
  1015. p6.BottomSurface = Enum.SurfaceType.Smooth
  1016. p6.TopSurface = Enum.SurfaceType.Smooth
  1017. b6 = Instance.new("SpecialMesh", p6)
  1018. b6.MeshType = Enum.MeshType.Cylinder
  1019. b6.Name = "Mesh"
  1020. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  1021. p7 = Instance.new("Part", m)
  1022. p7.Material = "Metal"
  1023. p7.BrickColor = BrickColor.new("Really black")
  1024. p7.FormFactor = Enum.FormFactor.Symmetric
  1025. p7.Size = Vector3.new(1, 1, 1)
  1026. 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)
  1027. p7.CanCollide = false
  1028. p7.Locked = true
  1029. b7 = Instance.new("SpecialMesh", p7)
  1030. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1031. b7.TextureId = ""
  1032. b7.MeshType = Enum.MeshType.FileMesh
  1033. b7.Name = "Mesh"
  1034. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1035. p8 = Instance.new("Part", m)
  1036. p8.Material = "Metal"
  1037. p8.BrickColor = BrickColor.new("Really black")
  1038. p8.Name = "BladePart"
  1039. p8.FormFactor = Enum.FormFactor.Symmetric
  1040. p8.Size = Vector3.new(1, 1, 1)
  1041. 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)
  1042. p8.CanCollide = false
  1043. p8.Locked = true
  1044. p8.Elasticity = 0
  1045. p8.BottomSurface = Enum.SurfaceType.Smooth
  1046. p8.TopSurface = Enum.SurfaceType.Smooth
  1047. b8 = Instance.new("BlockMesh", p8)
  1048. b8.Name = "Mesh"
  1049. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  1050. p9 = Instance.new("Part", m)
  1051. p9.Material = "Metal"
  1052. p9.BrickColor = BrickColor.new("Really black")
  1053. p9.Name = "BladePart"
  1054. p9.FormFactor = Enum.FormFactor.Symmetric
  1055. p9.Size = Vector3.new(1, 1, 1)
  1056. 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)
  1057. p9.CanCollide = false
  1058. p9.Locked = true
  1059. p9.Elasticity = 0
  1060. p9.BottomSurface = Enum.SurfaceType.Smooth
  1061. p9.TopSurface = Enum.SurfaceType.Smooth
  1062. b9 = Instance.new("BlockMesh", p9)
  1063. b9.Name = "Mesh"
  1064. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  1065. p10 = Instance.new("Part", m)
  1066. p10.Material = "Metal"
  1067. p10.BrickColor = BrickColor.new("Really black")
  1068. p10.Name = "BladeTip"
  1069. p10.FormFactor = Enum.FormFactor.Symmetric
  1070. p10.Size = Vector3.new(1, 1, 2)
  1071. 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)
  1072. p10.CanCollide = false
  1073. p10.Locked = true
  1074. p10.Elasticity = 0
  1075. p10.BottomSurface = Enum.SurfaceType.Smooth
  1076. p10.TopSurface = Enum.SurfaceType.Smooth
  1077. b10 = Instance.new("SpecialMesh", p10)
  1078. b10.MeshType = Enum.MeshType.Wedge
  1079. b10.Name = "Mesh"
  1080. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  1081. p11 = Instance.new("Part", m)
  1082. p11.Material = "Metal"
  1083. p11.BrickColor = BrickColor.new("Really black")
  1084. p11.Name = "BladePart"
  1085. p11.FormFactor = Enum.FormFactor.Symmetric
  1086. p11.Size = Vector3.new(1, 1, 1)
  1087. 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)
  1088. p11.CanCollide = false
  1089. p11.Locked = true
  1090. p11.Elasticity = 0
  1091. p11.BottomSurface = Enum.SurfaceType.Smooth
  1092. p11.TopSurface = Enum.SurfaceType.Smooth
  1093. b11 = Instance.new("BlockMesh", p11)
  1094. b11.Name = "Mesh"
  1095. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  1096. p12 = Instance.new("Part", m)
  1097. p12.Material = "Metal"
  1098. p12.BrickColor = BrickColor.new("Really black")
  1099. p12.Name = "BladeTip2"
  1100. p12.FormFactor = Enum.FormFactor.Custom
  1101. p12.Size = Vector3.new(1, 1, 2.4000001)
  1102. 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)
  1103. p12.CanCollide = false
  1104. p12.Locked = true
  1105. p12.Elasticity = 0
  1106. p12.BottomSurface = Enum.SurfaceType.Smooth
  1107. p12.TopSurface = Enum.SurfaceType.Smooth
  1108. b12 = Instance.new("SpecialMesh", p12)
  1109. b12.MeshType = Enum.MeshType.Wedge
  1110. b12.Name = "Mesh"
  1111. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  1112. p13 = Instance.new("Part", m)
  1113. p13.Material = "Metal"
  1114. p13.BrickColor = BrickColor.new("Medium stone grey")
  1115. p13.Transparency = 1
  1116. p13.Name = "HitBox"
  1117. p13.FormFactor = Enum.FormFactor.Custom
  1118. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  1119. 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)
  1120. p13.CanCollide = false
  1121. p13.Locked = true
  1122. p13.BottomSurface = Enum.SurfaceType.Smooth
  1123. p13.TopSurface = Enum.SurfaceType.Smooth
  1124. w1 = Instance.new("Weld", p1)
  1125. w1.Name = "Part_Weld"
  1126. w1.Part0 = p1
  1127. 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)
  1128. w1.Part1 = p2
  1129. 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)
  1130. w2 = Instance.new("Weld", p2)
  1131. w2.Name = "Part_Weld"
  1132. w2.Part0 = p2
  1133. 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)
  1134. w2.Part1 = p3
  1135. 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)
  1136. w3 = Instance.new("Weld", p3)
  1137. w3.Name = "BladePart_Weld"
  1138. w3.Part0 = p3
  1139. 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)
  1140. w3.Part1 = p4
  1141. 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)
  1142. w4 = Instance.new("Weld", p4)
  1143. w4.Name = "Hilt_Weld"
  1144. w4.Part0 = p4
  1145. 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)
  1146. w4.Part1 = p5
  1147. 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)
  1148. w5 = Instance.new("Weld", p5)
  1149. w5.Name = "Handle_Weld"
  1150. w5.Part0 = p5
  1151. 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)
  1152. w5.Part1 = p6
  1153. 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)
  1154. w6 = Instance.new("Weld", p6)
  1155. w6.Name = "Part_Weld"
  1156. w6.Part0 = p6
  1157. 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)
  1158. w6.Part1 = p7
  1159. 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)
  1160. w7 = Instance.new("Weld", p7)
  1161. w7.Name = "BladePart_Weld"
  1162. w7.Part0 = p7
  1163. 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)
  1164. w7.Part1 = p8
  1165. 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)
  1166. w8 = Instance.new("Weld", p8)
  1167. w8.Name = "BladePart_Weld"
  1168. w8.Part0 = p8
  1169. 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)
  1170. w8.Part1 = p9
  1171. 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)
  1172. w9 = Instance.new("Weld", p9)
  1173. w9.Name = "BladeTip_Weld"
  1174. w9.Part0 = p9
  1175. 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)
  1176. w9.Part1 = p10
  1177. 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)
  1178. w10 = Instance.new("Weld", p10)
  1179. w10.Name = "BladePart_Weld"
  1180. w10.Part0 = p10
  1181. 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)
  1182. w10.Part1 = p11
  1183. 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)
  1184. w11 = Instance.new("Weld", p11)
  1185. w11.Name = "BladeTip2_Weld"
  1186. w11.Part0 = p11
  1187. 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)
  1188. w11.Part1 = p12
  1189. 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)
  1190. w12 = Instance.new("Weld", p12)
  1191. w12.Name = "HitBox_Weld"
  1192. w12.Part0 = p12
  1193. 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)
  1194. w12.Part1 = p13
  1195. 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)
  1196. w13 = Instance.new("Weld", p13)
  1197. w13.Name = "Weld"
  1198. w13.Part0 = p13
  1199. 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)
  1200. m.Parent = char
  1201. m:MakeJoints()
  1202. ----------------------------------------------------
  1203. local cor2 = Instance.new("Part", char.Xeno)
  1204. cor2.Name = "Thingy12"
  1205. cor2.Locked = true
  1206. cor2.BottomSurface = 0
  1207. cor2.CanCollide = false
  1208. cor2.Size = Vector3.new(1, 9, 1)
  1209. cor2.Transparency = 1
  1210. cor2.TopSurface = 0
  1211. cor2w = Instance.new("Weld", cor2)
  1212. cor2w.Part0 = rarm
  1213. cor2w.Part1 = cor2
  1214. cor2w.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90))
  1215. cor2w.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1216. weld12 = Instance.new("Weld", char.Xeno)
  1217. weld12.Part0 = cor2
  1218. weld12.Part1 = char.Xeno.Handle
  1219. weld12.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1220. ----------------------------------------------------
  1221. function Vanish()
  1222. for i = 1, 10 do wait()
  1223. for i,v in pairs(char.Genkadda:GetChildren()) do
  1224. if v:IsA("Part") or v:IsA("WedgePart") then
  1225. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1226. v.Transparency = v.Transparency + 0.1
  1227. end
  1228. end
  1229. end
  1230. end
  1231. end
  1232. ----------------------------------------------------
  1233. function Appear()
  1234. for i = 1, 10 do wait()
  1235. for i,v in pairs(char.Genkadda:GetChildren()) do
  1236. if v:IsA("Part") or v:IsA("WedgePart") then
  1237. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1238. v.Transparency = v.Transparency - 0.1
  1239. end
  1240. end
  1241. end
  1242. end
  1243. end
  1244. ----------------------------------------------------
  1245. function Vanish1()
  1246. for i = 1, 10 do wait()
  1247. for i,v in pairs(char.Xeno:GetChildren()) do
  1248. if v:IsA("Part") or v:IsA("WedgePart") then
  1249. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1250. v.Transparency = v.Transparency + 0.1
  1251. end
  1252. end
  1253. end
  1254. end
  1255. end
  1256. ----------------------------------------------------
  1257. function Appear1()
  1258. for i = 1, 10 do wait()
  1259. for i,v in pairs(char.Xeno:GetChildren()) do
  1260. if v:IsA("Part") or v:IsA("WedgePart") then
  1261. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  1262. v.Transparency = v.Transparency - 0.1
  1263. end
  1264. end
  1265. end
  1266. end
  1267. end
  1268. ----------------------------------------------------
  1269. local player = game.Players.LocalPlayer
  1270. local pchar = player.Character
  1271. local mouse = player:GetMouse()
  1272. local cam = workspace.CurrentCamera
  1273.  
  1274. local rad = math.rad
  1275.  
  1276. local keysDown = {}
  1277. local flySpeed = 0
  1278. local MAX_FLY_SPEED = 50
  1279.  
  1280. local canFly = false
  1281. local flyToggled = false
  1282.  
  1283. local forward, side = 0, 0
  1284. local lastForward, lastSide = 0, 0
  1285.  
  1286. local floatBP = Instance.new("BodyPosition")
  1287. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1288. local flyBV = Instance.new("BodyVelocity")
  1289. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1290. local turnBG = Instance.new("BodyGyro")
  1291. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1292.  
  1293. mouse.KeyDown:connect(function(key)
  1294. keysDown[key] = true
  1295.  
  1296. if key == "f" then
  1297. flyToggled = not flyToggled
  1298.  
  1299. if not flyToggled then
  1300. stanceToggle = "Normal"
  1301. floatBP.Parent = nil
  1302. flyBV.Parent = nil
  1303. turnBG.Parent = nil
  1304. root.Velocity = Vector3.new()
  1305. pchar.Humanoid.PlatformStand = false
  1306. end
  1307. end
  1308.  
  1309. end)
  1310. mouse.KeyUp:connect(function(key)
  1311. keysDown[key] = nil
  1312. end)
  1313.  
  1314. local function updateFly()
  1315.  
  1316. if not flyToggled then return end
  1317.  
  1318. lastForward = forward
  1319. lastSide = side
  1320.  
  1321. forward = 0
  1322. side = 0
  1323.  
  1324. if keysDown.w then
  1325. forward = forward + 1
  1326. end
  1327. if keysDown.s then
  1328. forward = forward - 1
  1329. end
  1330. if keysDown.a then
  1331. side = side - 1
  1332. end
  1333. if keysDown.d then
  1334. side = side + 1
  1335. end
  1336.  
  1337. canFly = (forward ~= 0 or side ~= 0)
  1338.  
  1339. if canFly then
  1340. stanceToggle = "Floating"
  1341. turnBG.Parent = root
  1342. floatBP.Parent = nil
  1343. flyBV.Parent = root
  1344.  
  1345. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1346. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1347. else
  1348. floatBP.position = root.Position
  1349. floatBP.Parent = root
  1350.  
  1351. flySpeed = flySpeed - 1
  1352. if flySpeed < 0 then flySpeed = 0 end
  1353. end
  1354.  
  1355. local camCF = cam.CoordinateFrame
  1356. local in_forward = canFly and forward or lastForward
  1357. local in_side = canFly and side or lastSide
  1358.  
  1359. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1360. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1361.  
  1362. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1363. 0)
  1364. end
  1365.  
  1366. game:service'RunService'.RenderStepped:connect(function()
  1367. if flyToggled then
  1368. pchar.Humanoid.PlatformStand = true
  1369. end
  1370. updateFly()
  1371. end)
  1372. ----------------------------------------------------
  1373. p13.Touched:connect(function(ht)
  1374. hit = ht.Parent
  1375. if ht and hit:IsA("Model") then
  1376. if hit:FindFirstChild("Humanoid") then
  1377. if hit.Name ~= p.Name then
  1378. if Debounces.Slashing == true and Debounces.Slashed == false then
  1379. Debounces.Slashed = true
  1380. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  1381. wait(.3)
  1382. Debounces.Slashed = false
  1383. end
  1384. end
  1385. end
  1386. elseif ht and hit:IsA("Hat") then
  1387. if hit.Parent.Name ~= p.Name then
  1388. if hit.Parent:FindFirstChild("Humanoid") then
  1389. if Debounces.Slashing == true and Debounces.Slashed == false then
  1390. Debounces.Slashed = true
  1391. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  1392. wait(.3)
  1393. Debounces.Slashed = false
  1394. end
  1395. end
  1396. end
  1397. end
  1398. end)
  1399. ----------------------------------------------------
  1400. ptz = {0.7, 0.8, 0.9, 1}
  1401. idz = {"161006212", "161006195"}
  1402. mouse.KeyDown:connect(function(key)
  1403. if key == "q" then
  1404. if Debounces.CanAttack == true then
  1405. Debounces.CanAttack = false
  1406. Debounces.NoIdl = true
  1407. Debounces.on = true
  1408. for i = 1, 20 do
  1409. 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)
  1410. 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)
  1411. 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)
  1412. 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)
  1413. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  1414. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  1415. if Debounces.on == false then break end
  1416. rs:wait(2)
  1417. end
  1418. z = Instance.new("Sound", hed)
  1419. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1420. z.Pitch = ptz[math.random(1,#ptz)]
  1421. z.Volume = 1
  1422. wait(.01)
  1423. z:Play()
  1424. Debounces.Slashing = true
  1425. for i = 1, 20 do
  1426. 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)
  1427. 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)
  1428. 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)
  1429. 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)
  1430. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  1431. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  1432. if Debounces.on == false then break end
  1433. rs:wait(2)
  1434. end
  1435. z1 = Instance.new("Sound", hed)
  1436. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1437. z1.Pitch = ptz[math.random(1,#ptz)]
  1438. z1.Volume = 1
  1439. wait(.01)
  1440. z1:Play()
  1441. Debounces.Slashing = true
  1442. for i = 1, 26 do
  1443. 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)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  1448. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  1449. 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)
  1450. if Debounces.on == false then break end
  1451. rs:wait(2)
  1452. end
  1453. Debounces.Slashing = false
  1454. z:Destroy()
  1455. z1:Destroy()
  1456. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1457. if Debounces.CanAttack == false then
  1458. Debounces.CanAttack = true
  1459. Debounces.NoIdl = false
  1460. Debounces.on = false
  1461. end
  1462. end
  1463. end
  1464. end)
  1465. -------------------------------
  1466. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  1467. mouse.KeyDown:connect(function(key)
  1468. if key == "e" then
  1469. if Debounces.CanAttack == true then
  1470. Debounces.CanAttack = false
  1471. Debounces.NoIdl = true
  1472. Debounces.on = true
  1473. Debounces.ks = true
  1474. larm.Touched:connect(function(ht)
  1475. hit = ht.Parent
  1476. if ht and hit:IsA("Model") then
  1477. if hit:FindFirstChild("Humanoid") then
  1478. if hit.Name ~= p.Name then
  1479. if Debounces.Slapping == true and Debounces.Slapped == false then
  1480. Debounces.Slapped = true
  1481. if Debounces.ks==true then
  1482. z = Instance.new("Sound",hed)
  1483. z.SoundId = "rbxassetid://169380525"
  1484. z.Volume = 1
  1485. z:Play()
  1486. z1 = Instance.new("Sound",char)
  1487. z1.SoundId = "rbxassetid://261010715"
  1488. z1.Pitch = pts[math.random(1,#pts)]
  1489. z1.Volume = 100
  1490. z2 = Instance.new("Sound",char)
  1491. z2.SoundId = "rbxassetid://261010715"
  1492. z2.Pitch = z1.Pitch
  1493. z2.Volume = 100
  1494. z3 = Instance.new("Sound",char)
  1495. z3.SoundId = "rbxassetid://261010715"
  1496. z3.Pitch = z1.Pitch
  1497. z3.Volume = 100
  1498. z1:Play()
  1499. z2:Play()
  1500. z3:Play()
  1501. Debounces.ks=false
  1502. end
  1503. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1504. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  1505. wait(.5)
  1506. Debounces.Slapped = false
  1507. z:Destroy()
  1508. z1:Destroy()
  1509. z2:Destroy()
  1510. z3:Destroy()
  1511. end
  1512. end
  1513. end
  1514. elseif ht and hit:IsA("Hat") then
  1515. if hit.Parent.Name ~= p.Name then
  1516. if hit.Parent:FindFirstChild("Humanoid") then
  1517. if Debounces.Slapping == true and Debounces.Slapped == false then
  1518. Debounces.Slapped = true
  1519. if Debounces.ks==true then
  1520. z = Instance.new("Sound",hed)
  1521. z.SoundId = "rbxassetid://169380525"
  1522. z.Volume = 1
  1523. z:Play()
  1524. z1 = Instance.new("Sound",char)
  1525. z1.SoundId = "rbxassetid://261010715"
  1526. z1.Pitch = pts[math.random(1,#pts)]
  1527. z1.Volume = 1
  1528. z2 = Instance.new("Sound",char)
  1529. z2.SoundId = "rbxassetid://261010715"
  1530. z2.Pitch = z1.Pitch
  1531. z2.Volume = 1
  1532. z3 = Instance.new("Sound",char)
  1533. z3.SoundId = "rbxassetid://261010715"
  1534. z3.Pitch = z1.Pitch
  1535. z3.Volume = 1
  1536. z1:Play()
  1537. z2:Play()
  1538. z3:Play()
  1539. Debounces.ks=false
  1540. end
  1541. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1542. wait(.5)
  1543. Debounces.Slapped = false
  1544. z:Destroy()
  1545. z1:Destroy()
  1546. z2:Destroy()
  1547. z3:Destroy()
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end)
  1553. for i = 1, 14 do
  1554. 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)
  1555. 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)
  1556. 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)
  1557. 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)
  1558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1560. if Debounces.on==false then break end
  1561. rs:wait(2)
  1562. end
  1563. Debounces.Slapping = true
  1564. for i = 1, 20 do
  1565. 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)
  1566. 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)
  1567. 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)
  1568. 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)
  1569. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1570. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1571. if Debounces.on==false then break end
  1572. rs:wait(2)
  1573. end
  1574. Debounces.Slapping = false
  1575. if Debounces.CanAttack == false then
  1576. Debounces.CanAttack = true
  1577. Debounces.NoIdl = false
  1578. Debounces.on = false
  1579. end
  1580. end
  1581. end
  1582. end)
  1583. -------------------------------
  1584. mouse.KeyDown:connect(function(key)
  1585. if key == "r" then
  1586. if Debounces.CanAttack == true then
  1587. Debounces.CanAttack = false
  1588. Debounces.NoIdl = true
  1589. Debounces.on = true
  1590. for i = 1, 20 do
  1591. 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)
  1592. 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)
  1593. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  1594. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  1595. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1596. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1597. 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)
  1598. if Debounces.on==false then break end
  1599. rs:wait(2)
  1600. end
  1601. Debounces.Slashing = true
  1602. z = Instance.new("Sound",hed)
  1603. z.SoundId = "rbxassetid://206083107"
  1604. z.Pitch = .75
  1605. z.Volume = .65
  1606. wait(0.1)
  1607. z:Play()
  1608. z1 = Instance.new("Sound", hed)
  1609. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1610. z1.Pitch = ptz[math.random(1,#ptz)]
  1611. z1.Volume = 1
  1612. wait(.01)
  1613. z1:Play()
  1614. for i = 1, 20 do
  1615. 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)
  1616. 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)
  1617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1618. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1619. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1620. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  1621. 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)
  1622. if Debounces.on==false then break end
  1623. rs:wait(2)
  1624. end
  1625. Debounces.Slashing = false
  1626. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1627. if Debounces.CanAttack == false then
  1628. Debounces.CanAttack = true
  1629. Debounces.NoIdl = false
  1630. Debounces.on = false
  1631. end
  1632. end
  1633. end
  1634. end)
  1635. -------------------------------
  1636. mouse.KeyDown:connect(function(key)
  1637. if key == "t" then
  1638. if Debounces.CanAttack == true then
  1639. Debounces.CanAttack = false
  1640. Debounces.on = true
  1641. Debounces.NoIdl = true
  1642. for i = 1,20 do
  1643. 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)
  1644. 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)
  1645. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
  1646. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
  1647. 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)
  1648. 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)
  1649. if Debounces.on==false then break end
  1650. rs:wait(2)
  1651. end
  1652. for i = 1,20 do
  1653. 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)
  1654. 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)
  1655. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
  1656. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1657. 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)
  1658. 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)
  1659. if Debounces.on==false then break end
  1660. rs:wait(2)
  1661. end
  1662. if Debounces.CanAttack == false then
  1663. Debounces.CanAttack = true
  1664. Debounces.on = false
  1665. Debounces.NoIdl = false
  1666. end
  1667. end
  1668. end
  1669. end)
  1670. -------------------------------
  1671. mouse.KeyDown:connect(function(key)
  1672. if key == "g" then
  1673. if Debounces.CanAttack == true then
  1674. Debounces.CanAttack = false
  1675. Debounces.NoIdl = true
  1676. Debounces.on = true
  1677. Debounces.Slashing = true
  1678. for i = 1, 8 do
  1679. 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)
  1680. 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)
  1681. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1682. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1683. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1684. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1685. if Debounces.on==false then break end
  1686. rs:wait(2)
  1687. end
  1688. for i = 1, 1440, 48 do
  1689. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  1690. rs:wait(4)
  1691. end
  1692. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1693. Debounces.Slashing = false
  1694. if Debounces.CanAttack == false then
  1695. Debounces.CanAttack = true
  1696. Debounces.NoIdl = false
  1697. Debounces.on = false
  1698. end
  1699. end
  1700. end
  1701. end)
  1702. ----------------------------------------------------
  1703. ptsm = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  1704. mouse.KeyDown:connect(function(key)
  1705. if key == "j" then
  1706. if Debounces.CanJoke == true then
  1707. Debounces.CanJoke = false
  1708. u = Instance.new("Sound",char)
  1709. u.SoundId = "http://www.roblox.com/asset/?id=261010715"
  1710. u.Pitch = ptsm[math.random(1,#pt)]
  1711. u.Volume = 1
  1712. u2 = Instance.new("Sound",char)
  1713. u2.SoundId = "http://www.roblox.com/asset/?id=261010715"
  1714. u2.Pitch = u.Pitch
  1715. u2.Volume = 1
  1716. u3 = Instance.new("Sound",char)
  1717. u3.SoundId = "http://www.roblox.com/asset/?id=261010715"
  1718. u3.Pitch = u.Pitch
  1719. u3.Volume = 1
  1720. wait(.01)
  1721. u:Play()
  1722. u2:Play()
  1723. u3:Play()
  1724. wait(1.5)
  1725. u:Destroy()
  1726. u2:Destroy()
  1727. u3:Destroy()
  1728. if Debounces.CanJoke == false then
  1729. Debounces.CanJoke = true
  1730. end
  1731. end
  1732. end
  1733. end)
  1734. ----------------------------------------------------
  1735. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1736. mouse.KeyDown:connect(function(key)
  1737. if key == "h" then
  1738. if Debounces.CanJoke == true then
  1739. Debounces.CanJoke = false
  1740. u = Instance.new("Sound",char)
  1741. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1742. u.Pitch = pt[math.random(1,#pt)]
  1743. u.Volume = 1
  1744. u2 = Instance.new("Sound",char)
  1745. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1746. u2.Pitch = u.Pitch
  1747. u2.Volume = 1
  1748. u3 = Instance.new("Sound",char)
  1749. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1750. u3.Pitch = u.Pitch
  1751. u3.Volume = 1
  1752. wait(.01)
  1753. u:Play()
  1754. u2:Play()
  1755. u3:Play()
  1756. wait(1.5)
  1757. u:Destroy()
  1758. u2:Destroy()
  1759. u3:Destroy()
  1760. if Debounces.CanJoke == false then
  1761. Debounces.CanJoke = true
  1762. end
  1763. end
  1764. end
  1765. end)
  1766. ----------------------------------------------------
  1767. Grab = false
  1768. mouse.KeyDown:connect(function(key)
  1769. if key == "z" then
  1770. Debounces.on = true
  1771. Debounces.NoIdl = true
  1772. Debounces.ks = true
  1773. if Grab == false then
  1774. gp = nil
  1775. for i = 1, 20 do
  1776. 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)
  1777. 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)
  1778. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1779. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1780. 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)
  1781. 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)
  1782. if Debounces.on == false then break end
  1783. rs:wait(2)
  1784. end
  1785. con1=larm.Touched:connect(function(hit) -- this is grab
  1786. ht = hit.Parent
  1787. hum1=ht:FindFirstChild('Humanoid')
  1788. if hum1 ~= nil then
  1789. if Debounces.ks==true then
  1790. z = Instance.new("Sound",hed)
  1791. z.SoundId = "rbxassetid://169380525"
  1792. z.Volume = 1
  1793. z:Play()
  1794. Debounces.ks=false
  1795. end
  1796. hum1.PlatformStand=true
  1797. gp = ht
  1798. Grab = true
  1799. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1800. asd.Parent = larm
  1801. asd.Name = "asd"
  1802. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1803. stanceToggle = "Grabbed"
  1804. --[[elseif hum1 == nil then
  1805. con1:disconnect()
  1806. wait() return]]--
  1807. end
  1808. end)
  1809. for i = 1, 20 do
  1810. 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)
  1811. 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)
  1812. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1813. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1814. 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)
  1815. 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)
  1816. if Debounces.on == false then break end
  1817. rs:wait(2)
  1818. end
  1819. con1:disconnect()
  1820. Debounces.on = false
  1821. Debounces.NoIdl = false
  1822. elseif Grab == true then
  1823. Grab = false
  1824. --[[for i = 1, 16 do
  1825. 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)
  1826. 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)
  1827. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1828. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1829. 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)
  1830. 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)
  1831. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1832. if Debounces.on == false then end
  1833. rs:wait()
  1834. end]]--
  1835. for i = 1, 16 do
  1836. 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)
  1837. 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)
  1838. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1839. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1840. 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)
  1841. 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)
  1842. if Debounces.on == false then end
  1843. rs:wait()
  1844. end
  1845. Slam()
  1846. if gp ~= nil then
  1847. for i,v in pairs(larm:GetChildren()) do
  1848. if v.Name == "asd" and v:IsA("Weld") then
  1849. v:Remove()
  1850. end
  1851. end
  1852. for i = 1, 16 do
  1853. 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)
  1854. 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)
  1855. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1856. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1857. 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)
  1858. 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)
  1859. if Debounces.on == false then end
  1860. rs:wait()
  1861. end
  1862. stanceToggle = "Normal"
  1863. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1864. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1865. bv.P = 125000
  1866. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1867. ht=nil
  1868. Debounces.on = false
  1869. Debounces.NoIdl = false
  1870. elseif ht == nil then wait()
  1871. Grab = false
  1872. Debounces.on = false
  1873. Debounces.NoIdl = false
  1874. end
  1875. end
  1876. end
  1877. end)
  1878. -------------------------------
  1879. Sit = false
  1880. mouse.KeyDown:connect(function(key)
  1881. if key == "v" then
  1882. if Sit == false then
  1883. Sit = true
  1884. hum.WalkSpeed = 0.1
  1885. stanceToggle = "Sitting"
  1886. elseif Sit == true then
  1887. Sit = false
  1888. hum.WalkSpeed = 7
  1889. stanceToggle = "Normal"
  1890. end
  1891. end
  1892. end)
  1893. -------------------------------
  1894. mouse.KeyDown:connect(function(key)
  1895. if key == "b" then
  1896. hum.WalkSpeed = 0.01
  1897. if Debounces.CanAttack == true then
  1898. Debounces.CanAttack = false
  1899. Debounces.NoIdl = true
  1900. Debounces.on = true
  1901. for i = 1, 30 do
  1902. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 1.2, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.2)
  1903. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 1.2, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.2)
  1904. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.2)
  1905. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1906. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.45, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1907. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.45, -1, -0.6) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1908. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1909. if Debounces.on == false then break end
  1910. rs:wait(6)
  1911. end
  1912. v = Instance.new("Sound")
  1913. v.SoundId = "rbxassetid://181384451"
  1914. v.Parent = char
  1915. v.Looped = false
  1916. v.Pitch = .94
  1917. v.Volume = 1
  1918. wait(.01)
  1919. v:Play()
  1920.  
  1921. local Shockwave = function()
  1922. local rng1 = Instance.new("Part", char)
  1923. rng1.Anchored = true
  1924. rng1.BrickColor = BrickColor.new("Really black")
  1925. rng1.CanCollide = false
  1926. rng1.FormFactor = 3
  1927. rng1.Name = "Ring"
  1928. rng1.Size = Vector3.new(1, 1, 1)
  1929. rng1.Transparency = 0.35
  1930. rng1.TopSurface = 0
  1931. rng1.BottomSurface = 0
  1932. local rngm1 = Instance.new("SpecialMesh", rng)
  1933. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1934. rngm1.Scale = Vector3.new(10, 10, 1)
  1935. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  1936. local Wave = Instance.new("Part", game.Workspace--[[?]])
  1937. Wave.Name = "Shockwave"
  1938. Wave.BrickColor = BrickColor.new("Really black")
  1939. Wave.Size = Vector3.new(1, 1, 1)
  1940. Wave.Shape = "Ball"
  1941. Wave.CanCollide = false
  1942. Wave.Anchored = true
  1943. Wave.TopSurface = 0
  1944. Wave.BottomSurface = 0
  1945. Wave.Touched:connect(function(hit)
  1946. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  1947. local Occlude = true
  1948. local NotOccludes = {
  1949. char.Name;
  1950. "Wings";
  1951. "Scythe";
  1952. "Thingy";
  1953. "Thingy2"; -- put all of the names in a table pls
  1954. }
  1955. for i,v in pairs(NotOccludes) do
  1956. if hit.Parent.Name == v then
  1957. Occlude = false
  1958. end
  1959. end
  1960. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  1961. if Occlude then
  1962. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  1963. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  1964. end
  1965. end
  1966. end)
  1967.  
  1968. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  1969.  
  1970. coroutine.wrap(function()
  1971. for i = 1, 20, 0.2 do
  1972. rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1973. rng1.Transparency = i/20
  1974. wait()
  1975. end
  1976. wait()
  1977. rng1:Destroy()
  1978. end)()
  1979.  
  1980. Delay(0, function()
  1981.  
  1982. if Daytime == false then
  1983. for i = 1, 50, 1 do
  1984. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  1985. Wave.CFrame = char.Torso.CFrame
  1986. local t = i / 50
  1987. Wave.Transparency = t
  1988. wait()
  1989. end
  1990. else
  1991. for i = 1, 50, 1 do
  1992. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  1993. Wave.CFrame = char.Torso.CFrame
  1994. local t = i / 50
  1995. Wave.Transparency = t
  1996. wait()
  1997. end
  1998. end
  1999. Wave:Destroy()
  2000. end)
  2001. Delay(0, function()
  2002. while wait() do
  2003. if Wave ~= nil then
  2004. Wave.CFrame = char.Torso.CFrame
  2005. else
  2006. break
  2007. end
  2008. end
  2009. end)
  2010. end
  2011. Shockwave()
  2012. for i = 1, 30 do
  2013. 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.3)
  2014. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2015. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.3, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.3)
  2016. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.3, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.3)
  2017. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2018. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -0.95, .3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2019. if Debounces.on == false then break end
  2020. rs:wait()
  2021. end
  2022. wait(2.4)
  2023. Debounces.NoIdl = false
  2024. hum.WalkSpeed = 5
  2025. Debounces.on = false
  2026. wait()
  2027. if Debounces.CanAttack == false then
  2028. Debounces.CanAttack = true
  2029. v:Destroy()
  2030. end
  2031. end
  2032. end
  2033. end)
  2034. -------------------------------
  2035. Melee = false
  2036. mouse.KeyDown:connect(function(key)
  2037. if key == "m" then
  2038. if Melee == false then
  2039. Melee = true
  2040. Vanish()
  2041. Vanish1()
  2042. stanceToggle = "Melee"
  2043. elseif Melee == true then
  2044. Melee = false
  2045. Appear()
  2046. Appear1()
  2047. stanceToggle = "Normal"
  2048. end
  2049. end
  2050. end)
  2051. -------------------------------
  2052. mouse.KeyDown:connect(function(key)
  2053. if string.byte(key) == 52 then
  2054. if Debounces.CanAttack == true then
  2055. if stanceToggle ~= "Floating" then
  2056. char.Humanoid.WalkSpeed = 60
  2057. Burst()
  2058. elseif Debounces.CanAttack == false then
  2059. elseif stanceToggle == "Floating" then
  2060. wait()
  2061. end
  2062. end
  2063. end
  2064. end)
  2065. mouse.KeyUp:connect(function(key)
  2066. if string.byte(key) == 52 then
  2067. char.Humanoid.WalkSpeed = 9
  2068. end
  2069. end)
  2070. -------------------------------
  2071. local animpose = "Idle"
  2072. local lastanimpose = "Idle"
  2073. local grab = false
  2074. local sine = 0
  2075. local change = 1
  2076. local val = 0
  2077. local ffing = false
  2078. -------------------------------
  2079. --[[if stanceToggle == "Sitting" then
  2080. if wait(math.random(1,2)) == 1 then
  2081. stanceToggle = "Sitting2"
  2082. wait(8)
  2083. stanceToggle = "Sitting"
  2084. end
  2085. end]]--
  2086. -------------------------------
  2087. game:GetService("RunService").RenderStepped:connect(function()
  2088. --[[if char.Humanoid.Jump == true then
  2089. jump = true
  2090. else
  2091. jump = false
  2092. end]]
  2093. char.Humanoid.FreeFalling:connect(function(f)
  2094. if f then
  2095. ffing = true
  2096. else
  2097. ffing = false
  2098. end
  2099. end)
  2100. sine = sine + change
  2101. if jumpn == true then
  2102. animpose = "Jumping"
  2103. elseif ffing == true then
  2104. animpose = "Freefalling"
  2105. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2106. animpose = "Idle"
  2107. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2108. animpose = "Walking"
  2109. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2110. animpose = "Running"
  2111. end
  2112. if animpose ~= lastanimpose then
  2113. sine = 0
  2114. if Debounces.NoIdl == false then
  2115. if stanceToggle == "Normal" then
  2116. for i = 1, 2 do
  2117. 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)
  2118. 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)
  2119. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  2120. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2121. 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)
  2122. 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)
  2123. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  2124. end
  2125. elseif stanceToggle == "Sitting" then
  2126. 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)
  2127. 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)
  2128. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2129. 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)
  2130. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  2131. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  2132. elseif stanceToggle == "Floating" then
  2133. 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)
  2134. 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)
  2135. 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)
  2136. 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)
  2137. 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)
  2138. 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)
  2139. wait()
  2140. end
  2141. else
  2142. end
  2143. end
  2144. lastanimpose = animpose
  2145. if Debounces.NoIdl == false then
  2146. if animpose == "Idle" then
  2147. if stanceToggle == "Normal" then
  2148. change = 0.5
  2149. 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)
  2150. 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)
  2151. 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)
  2152. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2153. 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)
  2154. 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)
  2155. elseif stanceToggle == "Melee" then
  2156. 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)
  2157. 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)
  2158. 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)
  2159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2160. 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)
  2161. 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)
  2162. elseif stanceToggle == "Sitting" then
  2163. 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)
  2164. 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)
  2165. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2166. 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)
  2167. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  2168. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  2169. elseif stanceToggle == "Floating" then
  2170. 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)
  2171. 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)
  2172. 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)
  2173. 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)
  2174. 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)
  2175. 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)
  2176. elseif stanceToggle == "Grabbed" then
  2177. grab = true
  2178. 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)
  2179. 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)
  2180. 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)
  2181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2182. 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)
  2183. 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)
  2184. end
  2185. elseif animpose == "Walking" then
  2186. if stanceToggle == "Normal" then
  2187. change = 1
  2188. 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)
  2189. 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)
  2190. 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)
  2191. 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)
  2192. 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)
  2193. 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)
  2194. elseif stanceToggle == "Melee" then
  2195. 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)
  2196. 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)
  2197. 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)
  2198. 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)
  2199. 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)
  2200. 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)
  2201. elseif stanceToggle == "Floating" then
  2202. 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)
  2203. 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)
  2204. 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)
  2205. 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)
  2206. 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)
  2207. 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)
  2208. elseif stanceToggle == "Grabbed" then
  2209. 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)
  2210. 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)
  2211. 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)
  2212. 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)
  2213. 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)
  2214. 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)
  2215. end
  2216. elseif animpose == "Running" then
  2217. if stanceToggle == "Normal" then
  2218. change = 1
  2219. 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)
  2220. 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)
  2221. 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)
  2222. 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)
  2223. 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)
  2224. 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)
  2225. 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)
  2226. elseif stanceToggle == "Floating" then
  2227. 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)
  2228. 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)
  2229. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  2230. 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)
  2231. 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)
  2232. 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)
  2233. end
  2234. end
  2235. end
  2236. end)
  2237. ----------------------------------------------------
  2238. hed.face.Texture = "rbxassetid://257837512"
  2239. ----------------------------------------------------
  2240. p1 = Instance.new("Part",char)
  2241. p1.BrickColor = BrickColor.new("Really black")
  2242. p1.FormFactor = Enum.FormFactor.Custom
  2243. p1.Size = Vector3.new(2, 2, 2)
  2244. p1.CanCollide = false
  2245. p1.Locked = true
  2246. p1.BottomSurface = Enum.SurfaceType.Smooth
  2247. p1.TopSurface = Enum.SurfaceType.Smooth
  2248. SMesh = Instance.new("SpecialMesh", p1)
  2249. SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2250. SMesh.TextureId = ""
  2251. SMesh.MeshType = Enum.MeshType.FileMesh
  2252. SMesh.Name = "Mesh"
  2253. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2254. SMesh.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2255. w1 = Instance.new("Weld", hed)
  2256. w1.Part0 = hed
  2257. w1.C0 = CFrame.new(0,-1.5,0)
  2258. w1.Part1 = p1
  2259. 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)
  2260. p2 = Instance.new("Part",char)
  2261. p2.BrickColor = BrickColor.new("Really black")
  2262. p2.FormFactor = Enum.FormFactor.Custom
  2263. p2.Size = Vector3.new(1, 1, 1)
  2264. p2.CanCollide = false
  2265. p2.Locked = true
  2266. p2.BottomSurface = Enum.SurfaceType.Smooth
  2267. p2.TopSurface = Enum.SurfaceType.Smooth
  2268. SMesh = Instance.new("SpecialMesh", p2)
  2269. SMesh.MeshId = "http://www.roblox.com/asset/?id=45916884"
  2270. SMesh.TextureId = ""
  2271. SMesh.MeshType = Enum.MeshType.FileMesh
  2272. SMesh.Name = "Mesh"
  2273. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2274. SMesh.Scale = Vector3.new(1, 0.9, 1)
  2275. w1 = Instance.new("Weld", hed)
  2276. w1.Part0 = hed
  2277. w1.C0 = CFrame.new(0,-1.5,0)
  2278. w1.Part1 = p2
  2279. 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)
  2280. p3 = Instance.new("Part",char)
  2281. p3.BrickColor = BrickColor.new("Really black")
  2282. p3.FormFactor = Enum.FormFactor.Custom
  2283. p3.Size = Vector3.new(1, 1, 1)
  2284. p3.CanCollide = false
  2285. p3.Locked = true
  2286. p3.BottomSurface = Enum.SurfaceType.Smooth
  2287. p3.TopSurface = Enum.SurfaceType.Smooth
  2288. SMesh = Instance.new("SpecialMesh", p3)
  2289. SMesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  2290. SMesh.TextureId = ""
  2291. SMesh.MeshType = Enum.MeshType.FileMesh
  2292. SMesh.Name = "Mesh"
  2293. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2294. SMesh.Scale = Vector3.new(1, 1, 1)
  2295. w1 = Instance.new("Weld", hed)
  2296. w1.Part0 = hed
  2297. w1.C0 = CFrame.new(0,-1.5,0)
  2298. w1.Part1 = p3
  2299. 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)
  2300. p4 = Instance.new("Part",char)
  2301. p4.BrickColor = BrickColor.new("Really black")
  2302. p4.FormFactor = Enum.FormFactor.Custom
  2303. p4.Size = Vector3.new(1, 1, 1)
  2304. p4.CanCollide = false
  2305. p4.Locked = true
  2306. p4.BottomSurface = Enum.SurfaceType.Smooth
  2307. p4.TopSurface = Enum.SurfaceType.Smooth
  2308. SMesh = Instance.new("SpecialMesh", p4)
  2309. SMesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
  2310. SMesh.TextureId = ""
  2311. SMesh.MeshType = Enum.MeshType.FileMesh
  2312. SMesh.Name = "Mesh"
  2313. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2314. SMesh.Scale = Vector3.new(1.02, 1.05, 1.05)
  2315. w1 = Instance.new("Weld", hed)
  2316. w1.Part0 = hed
  2317. w1.C0 = CFrame.new(0,-1.5,0)
  2318. w1.Part1 = p4
  2319. 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)
  2320. p5 = Instance.new("Part",char)
  2321. p5.BrickColor = BrickColor.new("Really black")
  2322. p5.FormFactor = Enum.FormFactor.Custom
  2323. p5.Size = Vector3.new(1, 1, 1)
  2324. p5.CanCollide = false
  2325. p5.Locked = true
  2326. p5.BottomSurface = Enum.SurfaceType.Smooth
  2327. p5.TopSurface = Enum.SurfaceType.Smooth
  2328. SMesh = Instance.new("SpecialMesh", p5)
  2329. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2330. SMesh.TextureId = ""
  2331. SMesh.MeshType = Enum.MeshType.FileMesh
  2332. SMesh.Name = "Mesh"
  2333. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2334. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  2335. w1 = Instance.new("Weld", hed)
  2336. w1.Part0 = hed
  2337. w1.C0 = CFrame.new(0,-1.5,0)
  2338. w1.Part1 = p5
  2339. 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)
  2340. p6 = Instance.new("Part",char)
  2341. p6.BrickColor = BrickColor.new("Really black")
  2342. p6.FormFactor = Enum.FormFactor.Custom
  2343. p6.Size = Vector3.new(1, 1, 1)
  2344. p6.CanCollide = false
  2345. p6.Locked = true
  2346. p6.BottomSurface = Enum.SurfaceType.Smooth
  2347. p6.TopSurface = Enum.SurfaceType.Smooth
  2348. SMesh = Instance.new("SpecialMesh", p6)
  2349. SMesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
  2350. SMesh.TextureId = ""
  2351. SMesh.MeshType = Enum.MeshType.FileMesh
  2352. SMesh.Name = "Mesh"
  2353. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2354. SMesh.Scale = Vector3.new(1, 1, 1)
  2355. w1 = Instance.new("Weld", hed)
  2356. w1.Part0 = hed
  2357. w1.C0 = CFrame.new(0,-1.5,0)
  2358. w1.Part1 = p6
  2359. 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)
  2360. p7 = Instance.new("Part",char)
  2361. p7.BrickColor = BrickColor.new("Really black")
  2362. p7.FormFactor = Enum.FormFactor.Custom
  2363. p7.Size = Vector3.new(1, 1, 1)
  2364. p7.CanCollide = false
  2365. p7.Locked = true
  2366. p7.BottomSurface = Enum.SurfaceType.Smooth
  2367. p7.TopSurface = Enum.SurfaceType.Smooth
  2368. SMesh = Instance.new("SpecialMesh", p7)
  2369. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2370. SMesh.TextureId = ""
  2371. SMesh.MeshType = Enum.MeshType.FileMesh
  2372. SMesh.Name = "Mesh"
  2373. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2374. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  2375. w1 = Instance.new("Weld", hed)
  2376. w1.Part0 = hed
  2377. w1.C0 = CFrame.new(0,-1.5,0)
  2378. w1.Part1 = p7
  2379. 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)
  2380. p8 = Instance.new("Part",char)
  2381. p8.BrickColor = BrickColor.new("Really black")
  2382. p8.FormFactor = Enum.FormFactor.Custom
  2383. p8.Size = Vector3.new(1, 1, 1)
  2384. p8.CanCollide = false
  2385. p8.Locked = true
  2386. p8.BottomSurface = Enum.SurfaceType.Smooth
  2387. p8.TopSurface = Enum.SurfaceType.Smooth
  2388. SMesh = Instance.new("SpecialMesh", p8)
  2389. SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2390. SMesh.TextureId = ""
  2391. SMesh.MeshType = Enum.MeshType.FileMesh
  2392. SMesh.Name = "Mesh"
  2393. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2394. SMesh.Scale = Vector3.new(1, 1.6, 1.3)
  2395. w1 = Instance.new("Weld", hed)
  2396. w1.Part0 = hed
  2397. w1.C0 = CFrame.new(0,-1.5,0)
  2398. w1.Part1 = p8
  2399. 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)
  2400. p9 = Instance.new("Part",char)
  2401. p9.BrickColor = BrickColor.new("Really black")
  2402. p9.FormFactor = Enum.FormFactor.Custom
  2403. p9.Size = Vector3.new(1, 1, 1)
  2404. p9.CanCollide = false
  2405. p9.Locked = true
  2406. p9.BottomSurface = Enum.SurfaceType.Smooth
  2407. p9.TopSurface = Enum.SurfaceType.Smooth
  2408. SMesh = Instance.new("SpecialMesh", p9)
  2409. SMesh.MeshId = "http://www.roblox.com/asset/?id=76056263"
  2410. SMesh.TextureId = ""
  2411. SMesh.MeshType = Enum.MeshType.FileMesh
  2412. SMesh.Name = "Mesh"
  2413. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2414. SMesh.Scale = Vector3.new(1, 1, 1)
  2415. w1 = Instance.new("Weld", hed)
  2416. w1.Part0 = hed
  2417. w1.C0 = CFrame.new(0,-1.5,0)
  2418. w1.Part1 = p9
  2419. 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)
  2420. p10 = Instance.new("Part",char)
  2421. p10.BrickColor = BrickColor.new("Really black")
  2422. p10.FormFactor = Enum.FormFactor.Custom
  2423. p10.Size = Vector3.new(1, 1, 1)
  2424. p10.CanCollide = false
  2425. p10.Locked = true
  2426. p10.BottomSurface = Enum.SurfaceType.Smooth
  2427. p10.TopSurface = Enum.SurfaceType.Smooth
  2428. SMesh = Instance.new("SpecialMesh", p10)
  2429. SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2430. SMesh.TextureId = ""
  2431. SMesh.MeshType = Enum.MeshType.FileMesh
  2432. SMesh.Name = "Mesh"
  2433. SMesh.VertexColor = Vector3.new(0, 0, 0)
  2434. SMesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  2435. w1 = Instance.new("Weld", hed)
  2436. w1.Part0 = hed
  2437. w1.C0 = CFrame.new(0,-1.5,0)
  2438. w1.Part1 = p10
  2439. 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)
  2440.  
  2441. print"Absolute Initiated."
  2442.  
  2443. Spawn(function()
  2444. while wait() do
  2445. updateFly()
  2446. end
  2447. end)
  2448.  
  2449. Spawn(function()
  2450. while wait(.1) do
  2451. Magik()
  2452. end
  2453. end)
  2454.  
  2455. Spawn(function()
  2456. while wait(.1) do
  2457. Magik2()
  2458. end
  2459. end)
  2460.  
  2461. Spawn(function()
  2462. while wait(4) do
  2463. GroundWave()
  2464. end
  2465. end)
Add Comment
Please, Sign In to add comment