Advertisement
Godofadmin1337

saw blade

Sep 25th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.61 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. LeftArm=Character["Left Arm"]
  9. LeftLeg=Character["Left Leg"]
  10. rarm=Character["Right Arm"]
  11. RightLeg=Character["Right Leg"]
  12. cam=game.Workspace.CurrentCamera
  13. LS=Torso["Left Shoulder"]
  14. RS=Torso["Right Shoulder"]
  15. RH=Torso["Right Hip"]
  16. Face = Head.face
  17. Neck=Torso.Neck
  18. it=Instance.new
  19. attacktype=1
  20. vt=Vector3.new
  21. cf=CFrame.new
  22. euler=CFrame.fromEulerAnglesXYZ
  23. angles=CFrame.Angles
  24. cloaked=false
  25. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  28. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  29. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  30. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RootPart=Character.HumanoidRootPart
  32. RootJoint=RootPart.RootJoint
  33. RootCF=euler(-1.57,0,3.14)
  34. attack = false
  35. bounce=false
  36. cooldown=false
  37. deeznuts=false
  38. attackdebounce = false
  39. deb=false
  40. equipped=true
  41. hand=false
  42. MMouse=nil
  43. combo=0
  44. mana=0
  45. trispeed=.5
  46. attackmode='none'
  47. local idle=0
  48. local Anim="Idle"
  49. local Effects={}
  50. local gun=false
  51. local shoot=false
  52. player=nil
  53. mana=0
  54. cam = workspace.CurrentCamera
  55. ZTarget = nil
  56. RocketTarget = nil
  57. local m = Instance.new("Model",Character)
  58. m.Name = "WeaponModel"
  59.  
  60. local m2 = Instance.new("Model",Character)
  61. m2.Name = "MetalMan"
  62.  
  63. for i,v in pairs(Character.Head:children())do
  64. if v:IsA('Decal')then v:Destroy()end
  65. end
  66.  
  67. mouse=Player:GetMouse()
  68. --save shoulders
  69. RSH, LSH=nil, nil
  70. --welds
  71. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  72. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  73. LH=Torso["Left Hip"]
  74. RH=Torso["Right Hip"]
  75. TorsoColor=Torso.BrickColor
  76. function NoOutline(Part)
  77. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  78. end
  79. player=Player
  80. ch=Character
  81. RSH=ch.Torso["Right Shoulder"]
  82. LSH=ch.Torso["Left Shoulder"]
  83. --
  84. RSH.Parent=nil
  85. LSH.Parent=nil
  86. --
  87. RW.Name="Right Shoulder"
  88. RW.Part0=ch.Torso
  89. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  90. RW.C1=cf(0, 0.5, 0)
  91. RW.Part1=ch["Right Arm"]
  92. RW.Parent=ch.Torso
  93. --
  94. LW.Name="Left Shoulder"
  95. LW.Part0=ch.Torso
  96. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  97. LW.C1=cf(0, 0.5, 0)
  98. LW.Part1=ch["Left Arm"]
  99. LW.Parent=ch.Torso
  100.  
  101. function swait(num)
  102. if num==0 or num==nil then
  103. game:service'RunService'.Heartbeat:wait(0)
  104. else
  105. for i=0,num do
  106. game:service'RunService'.Heartbeat:wait(0)
  107. end
  108. end
  109. end
  110.  
  111. function nooutline(part)
  112. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  113. end
  114.  
  115. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  116. local fp=it("Part")
  117. fp.formFactor=formfactor
  118. fp.Parent=parent
  119. fp.Reflectance=reflectance
  120. fp.Transparency=transparency
  121. fp.CanCollide=false
  122. fp.Locked=true
  123. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  124. fp.Name=name
  125. fp.Size=size
  126. fp.Position=Character.Torso.Position
  127. nooutline(fp)
  128. fp.Material=material
  129. fp:BreakJoints()
  130. return fp
  131. end
  132.  
  133. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  134. local fp = it("Part")
  135. fp.formFactor = formfactor
  136. fp.Parent = parent
  137. fp.Reflectance = reflectance
  138. fp.Transparency = transparency
  139. fp.CanCollide = false
  140. fp.Locked=true
  141. fp.BrickColor = brickcolor
  142. fp.Name = name
  143. fp.Size = size
  144. fp.Position = EffectPart.Position
  145. NoOutline(fp)
  146. fp.Material="Neon"
  147. fp:BreakJoints()
  148. return fp
  149. end
  150.  
  151. function wweld(parent,part0,part1,c0)
  152. local weld=it("Weld")
  153. weld.Parent=parent
  154. weld.Part0=part0
  155. weld.Part1=part1
  156. weld.C0=c0
  157. return weld
  158. end
  159.  
  160. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  161. local mesh=it(Mesh)
  162. mesh.Parent=part
  163. if Mesh=="SpecialMesh" then
  164. mesh.MeshType=meshtype
  165. mesh.MeshId=meshid
  166. end
  167. mesh.Offset=offset
  168. mesh.Scale=scale
  169. return mesh
  170. end
  171.  
  172. function decal(part,face,texture,transparency,shiny,specular,name)
  173. local d=it("Decal",part)
  174. d.Shiny=shiny
  175. d.Face=face
  176. d.Specular=specular
  177. d.Transparency=transparency
  178. d.Texture=texture
  179. d.Name=name
  180. return d
  181. end
  182.  
  183. function weld(parent,part0,part1,c0,c1)
  184. local weld=it("Weld")
  185. weld.Parent=parent
  186. weld.Part0=part0
  187. weld.Part1=part1
  188. weld.C0=c0
  189. weld.C1=c1
  190. return weld
  191. end
  192.  
  193. so = function(id,par,vol,pit)
  194. coroutine.resume(coroutine.create(function()
  195. local sou = Instance.new("Sound",par or workspace)
  196. sou.Volume=vol
  197. sou.Pitch=pit or 1
  198. sou.SoundId=id
  199. swait()
  200. sou:play()
  201. game:GetService("Debris"):AddItem(sou,6)
  202. end))
  203. end
  204.  
  205. function clerp(a,b,t)
  206. local qa = {QuaternionFromCFrame(a)}
  207. local qb = {QuaternionFromCFrame(b)}
  208. local ax, ay, az = a.x, a.y, a.z
  209. local bx, by, bz = b.x, b.y, b.z
  210. local _t = 1-t
  211. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  212. end
  213.  
  214. function QuaternionFromCFrame(cf)
  215. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  216. local trace = m00 + m11 + m22
  217. if trace > 0 then
  218. local s = math.sqrt(1 + trace)
  219. local recip = 0.5/s
  220. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  221. else
  222. local i = 0
  223. if m11 > m00 then
  224. i = 1
  225. end
  226. if m22 > (i == 0 and m00 or m11) then
  227. i = 2
  228. end
  229. if i == 0 then
  230. local s = math.sqrt(m00-m11-m22+1)
  231. local recip = 0.5/s
  232. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  233. elseif i == 1 then
  234. local s = math.sqrt(m11-m22-m00+1)
  235. local recip = 0.5/s
  236. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  237. elseif i == 2 then
  238. local s = math.sqrt(m22-m00-m11+1)
  239. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  240. end
  241. end
  242. end
  243.  
  244. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  245. local xs, ys, zs = x + x, y + y, z + z
  246. local wx, wy, wz = w*xs, w*ys, w*zs
  247. local xx = x*xs
  248. local xy = x*ys
  249. local xz = x*zs
  250. local yy = y*ys
  251. local yz = y*zs
  252. local zz = z*zs
  253. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  254. end
  255.  
  256. function QuaternionSlerp(a, b, t)
  257. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  258. local startInterp, finishInterp;
  259. if cosTheta >= 0.0001 then
  260. if (1 - cosTheta) > 0.0001 then
  261. local theta = math.acos(cosTheta)
  262. local invSinTheta = 1/math.sin(theta)
  263. startInterp = math.sin((1-t)*theta)*invSinTheta
  264. finishInterp = math.sin(t*theta)*invSinTheta
  265. else
  266. startInterp = 1-t
  267. finishInterp = t
  268. end
  269. else
  270. if (1+cosTheta) > 0.0001 then
  271. local theta = math.acos(-cosTheta)
  272. local invSinTheta = 1/math.sin(theta)
  273. startInterp = math.sin((t-1)*theta)*invSinTheta
  274. finishInterp = math.sin(t*theta)*invSinTheta
  275. else
  276. startInterp = t-1
  277. finishInterp = t
  278. end
  279. end
  280. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  281. end
  282.  
  283. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  284. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  285. end
  286.  
  287.  
  288. local RbxUtility = LoadLibrary("RbxUtility")
  289. local Create = RbxUtility.Create
  290. local co1 = 9
  291. local co2 = 20
  292. local co3 = 12
  293. local co4 = 45
  294. local cooldown1 = 0
  295. local cooldown2 = 0
  296. local cooldown3 = 0
  297. local cooldown4 = 0
  298. local skillcolorscheme = BrickColor.new("Pastel Blue").Color
  299. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  300. makeframe = function(par, trans, pos, size, color)
  301. local frame = Instance.new("Frame", par)
  302. frame.BackgroundTransparency = trans
  303. frame.BorderSizePixel = 0
  304. frame.Position = pos
  305. frame.Size = size
  306. frame.BackgroundColor3 = color
  307. return frame
  308. end
  309.  
  310.  
  311.  
  312.  
  313. CreatePart = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size, MeshId)
  314.  
  315. if PartType == "Part" then
  316. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  317. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  318. return Part
  319. else
  320. do
  321. if PartType == "WedgePart" then
  322. local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  323. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  324. return Part
  325. end
  326. end
  327. end
  328. end
  329.  
  330. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  331.  
  332. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  333. if Mesh == "SpecialMesh" then
  334. Msh.MeshType = MeshType
  335. Msh.MeshId = MeshId
  336. end
  337. return Msh
  338. end
  339.  
  340. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  341.  
  342. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  343. return Weld
  344. end
  345.  
  346. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  347.  
  348. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  349. return Weld
  350. end
  351. }
  352.  
  353. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Ghost grey","Handle",Vector3.new(0.2, .4, 0.12))
  354. handle.Transparency = 1
  355. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.Angles(math.rad(0),math.rad(0),math.rad(270))*CFrame.new(-1.35, -0.0401109691, 0.0168789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  356. WedgeSpot = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Bright red", "Wedge", Vector3.new(0.10, 0.4, 0.2))
  357. WedgeSpot.Transparency = 1
  358. WedgeWeld = CreateWeld(m, handle, WedgeSpot, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))*CFrame.new(-2.84, -0.00691109691, 0.0418789339, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  359. mesh("SpecialMesh",WedgeSpot,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1.65,1.8,3.5))
  360. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Really black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  361. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.107657909, -3.55914412, 0.00325751305, 0.999999821, -0.00011339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  362. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,1,"Really black","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  363. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  364. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(0.1,0.2,1))
  365. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,1,"Really black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  366. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  367.  
  368. local rarmc1 = RW.C1
  369. local larmc1 = LW.C1
  370. local rlegc1 = RH.C1
  371. local llegc1 = LH.C1
  372. function PlayAnimationFromTable(table, speed, bool)
  373. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  374. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  375. RW.C0 = clerp(RW.C0, table[3], speed)
  376. LW.C0 = clerp(LW.C0, table[4], speed)
  377. RH.C0 = clerp(RH.C0, table[5], speed)
  378. LH.C0 = clerp(LH.C0, table[6], speed)
  379. if bool == true then
  380. if resetc1 == false then
  381. resetc1 = true
  382. RootJoint.C1 = RootJoint.C1
  383. Torso.Neck.C1 = Torso.Neck.C1
  384. RW.C1 = rarmc1
  385. LW.C1 = larmc1
  386. RH.C1 = rlegc1
  387. LH.C1 = llegc1
  388. end
  389. end
  390. end
  391. function BladeSaw()
  392. attack=true
  393. local chargecounter = 0
  394. Reaper3 = Instance.new("Model",Character)
  395. Reaper3.Name = "Reaper3"
  396. rh = Instance.new("Part")
  397. rh.Name = "rh"
  398. rh.Parent = Reaper3
  399. rh.Locked = true
  400. rh.CanCollide = false
  401. mesh = Instance.new("SpecialMesh")
  402. rh.formFactor = "Symmetric"
  403. mesh.MeshType = "FileMesh"
  404. mesh.MeshId = "rbxassetid://74322089"
  405. mesh.Scale = Vector3.new(2.51, 2.51, 1.65)
  406. mesh.Parent = rh
  407. local weld = Instance.new("Weld")
  408. weld.Parent = rh
  409. weld.Part0 = rh
  410. weld.Part1 = Player.Character['Right Arm']
  411. weld.C0 = CFrame.new(0,1.8,0)*CFrame.Angles(math.rad(0),math.rad (90),math.rad(0))
  412. game:GetService("Debris"):AddItem(Reaper3,.55)
  413. for i=0,1,.09 do
  414. swait()
  415. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(-30)),0.3)
  416. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  417. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.3)
  418. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.3)
  419. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.3)
  420. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.3)
  421. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  422. end
  423. wait(0.3)
  424. local Part = Instance.new("Part",Character)
  425. Part.Size = Vector3.new(1,5,1)
  426. Part.BrickColor = BrickColor.Gray()
  427. Part.Material = "Neon"
  428. Part.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  429. Part.CanCollide = false
  430. Part.Touched:connect(function(hit)
  431. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent ~= Character then
  432. if not D then D = true
  433. hit.Parent.Humanoid:TakeDamage(30)
  434. wait(1)
  435. D = false
  436. end
  437. end
  438. end)
  439. local sm = Instance.new("SpecialMesh",Part)
  440. sm.MeshId = "rbxassetid://74322089"
  441. sm.Scale = Vector3.new(2.9, 2.9, 1.65)
  442. local AS = Instance.new("BodyVelocity",Part)
  443. AS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  444. AS.velocity = Character.HumanoidRootPart.CFrame.lookVector*70
  445. coroutine.resume(coroutine.create(function()
  446. for i = 1,320 do
  447. Part.CFrame = Part.CFrame*CFrame.Angles(0,0,2.5)
  448. game:GetService"RunService".RenderStepped:wait()
  449. end
  450. Part:remove()
  451. end))
  452.  
  453.  
  454. for i = 0,1,0.09 do
  455. swait()
  456. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(50)),0.3)
  457. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  458. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.3)
  459. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.3)
  460. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.3)
  461. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.3)
  462. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  463. end
  464. attack=false
  465. bounce=false
  466. scfr=nil
  467. end
  468.  
  469.  
  470. function FastBladeSaw()
  471. attack=true
  472. local chargecounter = 0
  473. Reaper3 = Instance.new("Model",Character)
  474. Reaper3.Name = "Reaper3"
  475. rh = Instance.new("Part")
  476. rh.Name = "rh"
  477. rh.Parent = Reaper3
  478. rh.Locked = true
  479. rh.CanCollide = false
  480. mesh = Instance.new("SpecialMesh")
  481. rh.formFactor = "Symmetric"
  482. mesh.MeshType = "FileMesh"
  483. mesh.MeshId = "rbxassetid://74322089"
  484. mesh.Scale = Vector3.new(0.75,0.75,1)
  485. mesh.Parent = rh
  486. local weld = Instance.new("Weld")
  487. weld.Parent = rh
  488. weld.Part0 = rh
  489. weld.Part1 = Player.Character['Right Arm']
  490. weld.C0 = CFrame.new(0,1.35,0)*CFrame.Angles(math.rad(0),math.rad (90),math.rad(0))
  491. game:GetService("Debris"):AddItem(Reaper3,.55)
  492. for i=0,1,.14 do
  493. swait()
  494. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  495. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.4)
  496. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  497. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  498. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  499. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  500. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  501. end
  502. wait(0.3)
  503. local Part = Instance.new("Part",Character)
  504. Part.Size = Vector3.new(1,5,1)
  505. Part.BrickColor = BrickColor.Gray()
  506. Part.Material = "Neon"
  507. Part.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  508. Part.CanCollide = false
  509. Part.Touched:connect(function(hit)
  510. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent ~= Character then
  511. if not D then D = true
  512. hit.Parent.Humanoid:TakeDamage(10)
  513. wait(.5)
  514. D = false
  515. end
  516. end
  517. end)
  518. local sm = Instance.new("SpecialMesh",Part)
  519. sm.MeshId = "rbxassetid://74322089"
  520. sm.Scale = Vector3.new(0.856,0.856,1.2)
  521. local AS = Instance.new("BodyVelocity",Part)
  522. AS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  523. AS.velocity = Character.HumanoidRootPart.CFrame.lookVector*170
  524. coroutine.resume(coroutine.create(function()
  525. for i = 1,250 do
  526. Part.CFrame = Part.CFrame*CFrame.Angles(0,0,2.5)
  527. game:GetService"RunService".RenderStepped:wait()
  528. end
  529. Part:remove()
  530. end))
  531.  
  532. for i = 0,1,0.14 do
  533. swait()
  534. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  535. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.4)
  536. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.4)
  537. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  538. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  539. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  540. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  541. end
  542. attack=false
  543. bounce=false
  544. scfr=nil
  545. end
  546.  
  547.  
  548. function BigBladeSaw()
  549. attack=true
  550. local chargecounter = 0
  551. Reaper3 = Instance.new("Model",Character)
  552. Reaper3.Name = "Reaper3"
  553. rh = Instance.new("Part")
  554. rh.Name = "rh"
  555. rh.Parent = Reaper3
  556. rh.Locked = true
  557. rh.CanCollide = false
  558. mesh = Instance.new("SpecialMesh")
  559. rh.formFactor = "Symmetric"
  560. mesh.MeshType = "FileMesh"
  561. mesh.MeshId = "rbxassetid://74322089"
  562. mesh.Scale = Vector3.new(30,30,10)
  563. mesh.Parent = rh
  564. local weld = Instance.new("Weld")
  565. weld.Parent = rh
  566. weld.Part0 = rh
  567. weld.Part1 = Player.Character.Torso
  568. weld.C0 = CFrame.new(0,-24,0)*CFrame.Angles(math.rad(0),math.rad (90),math.rad(0))
  569. game:GetService("Debris"):AddItem(Reaper3,1.814)
  570. for i=0,1,.09 do
  571. swait()
  572. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  573. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  574. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  575. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  576. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  577. end
  578. for i=0,1,.09 do
  579. swait()
  580. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  581. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  582. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  583. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  584. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  585. end
  586. for i=0,1,.09 do
  587. swait()
  588. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  589. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  590. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  591. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  592. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  593. end
  594. for i=0,1,.09 do
  595. swait()
  596. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  597. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  598. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  599. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  600. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  601. end
  602. for i=0,1,.09 do
  603. swait()
  604. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  605. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  606. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  607. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  608. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  609. end
  610. for i=0,1,.09 do
  611. swait()
  612. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  613. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  614. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  616. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  617. end
  618. for i=0,1,.14 do
  619. swait()
  620. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  621. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  622. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  623. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  624. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  625. end
  626. for i=0,1,.14 do
  627. swait()
  628. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  629. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  630. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  631. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-20)),0.4)
  632. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  633. end
  634. wait(0.3)
  635. local Part = Instance.new("Part",Character)
  636. Part.Size = Vector3.new(1,5,1)
  637. Part.BrickColor = BrickColor.Gray()
  638. Part.Material = "Neon"
  639. Part.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(0,-3.3,-24)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  640. Part.CanCollide = false
  641. Part.Touched:connect(function(hit)
  642. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent ~= Character then
  643. if not D then D = true
  644. hit.Parent.Humanoid:TakeDamage(75)
  645. wait(.5)
  646. D = false
  647. end
  648. end
  649. end)
  650. local sm = Instance.new("SpecialMesh",Part)
  651. sm.MeshId = "rbxassetid://74322089"
  652. sm.Scale = Vector3.new(35,35,10)
  653. local AS = Instance.new("BodyVelocity",Part)
  654. AS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  655. AS.velocity = Character.HumanoidRootPart.CFrame.lookVector*40
  656. coroutine.resume(coroutine.create(function()
  657. for i = 1,250 do
  658. Part.CFrame = Part.CFrame*CFrame.Angles(0,0,2.5)
  659. game:GetService"RunService".RenderStepped:wait()
  660. end
  661. Part:remove()
  662. end))
  663.  
  664.  
  665. for i = 0,1,0.09 do
  666. swait()
  667. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(70),math.rad(0),math.rad(0)),0.3)
  668. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  669. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.3)
  670. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.3)
  671. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.3)
  672. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.3)
  673. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  674. end
  675. attack=false
  676. bounce=false
  677. scfr=nil
  678. end
  679.  
  680.  
  681. function IceBladeSaw()
  682. attack=true
  683. local chargecounter = 0
  684. Reaper3 = Instance.new("Model",Character)
  685. Reaper3.Name = "Reaper3"
  686. rh = Instance.new("Part")
  687. rh.Name = "rh"
  688. rh.Parent = Reaper3
  689. rh.Transparency = 0.4
  690. rh.Locked = true
  691. rh.CanCollide = false
  692. mesh = Instance.new("SpecialMesh")
  693. rh.formFactor = "Symmetric"
  694. mesh.MeshType = "FileMesh"
  695. mesh.MeshId = "rbxassetid://74322089"
  696. mesh.TextureId = "rbxassetid://106388578"
  697. mesh.Scale = Vector3.new(2.51, 2.51, 1.65)
  698. mesh.Parent = rh
  699. local weld = Instance.new("Weld")
  700. weld.Parent = rh
  701. weld.Part0 = rh
  702. weld.Part1 = Player.Character['Right Arm']
  703. weld.C0 = CFrame.new(0,1.8,0)*CFrame.Angles(math.rad(0),math.rad (90),math.rad(0))
  704. game:GetService("Debris"):AddItem(Reaper3,.55)
  705.  
  706. for i=0,1,.09 do
  707. swait()
  708. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(-30)),0.3)
  709. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  710. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.3)
  711. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.3)
  712. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.3)
  713. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.3)
  714. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  715. end
  716. wait(0.3)
  717. local Part = Instance.new("Part",Character)
  718. Part.Size = Vector3.new(1,5,1)
  719. Part.Transparency = 0.4
  720. Part.BrickColor = BrickColor.Gray()
  721. Part.Material = "Neon"
  722. Part.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  723. Part.CanCollide = false
  724. Part.Touched:connect(function(hit)
  725. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent ~= Character then
  726. if not D then D = true
  727. hit.Parent.Humanoid:TakeDamage(30)
  728. wait(1)
  729. D = false
  730. end
  731. end
  732. end)
  733.  
  734. Part.Touched:connect(function(hit)
  735. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent ~= Character then
  736. hit.Parent.Torso.Anchored = true
  737. wait(6)
  738. hit.Parent.Torso.Anchored = false
  739. end
  740. end)
  741.  
  742.  
  743.  
  744. local sm = Instance.new("SpecialMesh",Part)
  745. sm.MeshId = "rbxassetid://74322089"
  746. sm.TextureId = "rbxassetid://106388578"
  747. sm.Scale = Vector3.new(2.9, 2.9, 1.65)
  748. local AS = Instance.new("BodyVelocity",Part)
  749. AS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  750. AS.velocity = Character.HumanoidRootPart.CFrame.lookVector*70
  751. coroutine.resume(coroutine.create(function()
  752. for i = 1,320 do
  753. Part.CFrame = Part.CFrame*CFrame.Angles(0,0,2.5)
  754. game:GetService"RunService".RenderStepped:wait()
  755. end
  756. Part:remove()
  757. end))
  758.  
  759. for i = 0,1,0.09 do
  760. swait()
  761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0) *angles(math.rad(0),math.rad(0),math.rad(50)),0.3)
  762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  763. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.3)
  764. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.3)
  765. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.3)
  766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.3)
  767. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  768. end
  769. attack=false
  770. bounce=false
  771. scfr=nil
  772. end
  773.  
  774.  
  775.  
  776.  
  777. mouse.KeyDown:connect(function(k)
  778. k=k:lower()
  779. if attack == false and k == 'e' then
  780. FastBladeSaw()
  781. end
  782. if attack == false and k == 'q' then
  783. BladeSaw()
  784. end
  785. if attack == false and k == 'f' then
  786. IceBladeSaw()
  787. end
  788. if attack == false and k == 'r' then
  789. BigBladeSaw()
  790. end
  791. if attack == false and k == 'l' and deeznuts==false then
  792. cooldown=true
  793. Nothing()
  794. deeznuts=false
  795. end
  796. end)
  797.  
  798.  
  799. local sine = 0
  800. local change = 1
  801. local val = 0
  802.  
  803. while true do
  804. swait()
  805. sine = sine + change
  806. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  807. local velderp=RootPart.Velocity.y
  808. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  809. if equipped==true or equipped==false then
  810. if attack==false then
  811. idle=idle+1
  812. else
  813. idle=0
  814. end
  815. if idle>=500 then
  816. if attack==false then
  817. end
  818. end
  819.  
  820. if RootPart.Velocity.y > 1 and hitfloor==nil then
  821. Anim="Jump"
  822. if attack==false then
  823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  824. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  825. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  826. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  827. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  829. end
  830. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  831. Anim="Fall"
  832. if attack==false then
  833. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  834. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  835. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  836. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  837. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  839. end
  840. elseif torvel<1 and hitfloor~=nil then
  841. Anim="Idle"
  842. if attack==false then
  843. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  844. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  845. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3)
  846. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  847. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  848. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  849. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  850. end
  851. elseif torvel>2 and hitfloor~=nil then
  852. Anim="Walk"
  853. if attack==false then
  854. change=3
  855. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  856. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  857. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70)*math.cos(sine/16.5), math.rad(6), math.rad(5)), 0.2)
  858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-70)*math.cos(sine/-16.5), math.rad(-6), math.rad(-5)), 0.2)
  859. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2)*math.cos(sine/16),math.rad(90),math.rad(0)),.3)
  860. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4*math.cos(sine/-16)),math.rad(-90),math.rad(0)),.3)
  861. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  862. end
  863. end
  864. end
  865. if #Effects>0 then
  866. for e=1,#Effects do
  867. if Effects[e]~=nil then
  868. local Thing=Effects[e]
  869. if Thing~=nil then
  870. local Part=Thing[1]
  871. local Mode=Thing[2]
  872. local Delay=Thing[3]
  873. local IncX=Thing[4]
  874. local IncY=Thing[5]
  875. local IncZ=Thing[6]
  876. if Thing[1].Transparency<=1 then
  877. if Thing[2]=="Block1" then
  878. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  879. Mesh=Thing[1].Mesh
  880. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  881. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  882. elseif Thing[2]=="Cylinder" then
  883. Mesh=Thing[1].Mesh
  884. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  885. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  886. elseif Thing[2]=="Blood" then
  887. Mesh=Thing[7]
  888. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  889. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  890. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  891. elseif Thing[2]=="Elec" then
  892. Mesh=Thing[1].Mesh
  893. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  894. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  895. elseif Thing[2]=="Disappear" then
  896. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  897. end
  898. else
  899. Part.Parent=nil
  900. table.remove(Effects,e)
  901. end
  902. end
  903. end
  904. end
  905. end
  906. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement