Gmodmoney2

Genrioth

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