Advertisement
naser2345

sero sword

Aug 8th, 2016
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.40 KB | None | 0 0
  1. --- made by naser2018 ----
  2. Player=game:GetService("Players").LocalPlayer
  3. Character=Player.Character
  4. PlayerGui=Player.PlayerGui
  5. Backpack=Player.Backpack
  6. Torso=Character.Torso
  7. Head=Character.Head
  8. Humanoid=Character.Humanoid
  9. m=Instance.new('Model',Character)
  10. LeftArm=Character["Left Arm"]
  11. LeftLeg=Character["Left Leg"]
  12. RightArm=Character["Right Arm"]
  13. RightLeg=Character["Right Leg"]
  14. LS=Torso["Left Shoulder"]
  15. LH=Torso["Left Hip"]
  16. RS=Torso["Right Shoulder"]
  17. RH=Torso["Right Hip"]
  18. Face = Head.face
  19. Neck=Torso.Neck
  20. it=Instance.new
  21. attacktype=1
  22. vt=Vector3.new
  23. cf=CFrame.new
  24. euler=CFrame.fromEulerAnglesXYZ
  25. angles=CFrame.Angles
  26. cloaked=false
  27. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  30. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  31. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  33. RootPart=Character.HumanoidRootPart
  34. RootJoint=RootPart.RootJoint
  35. RootCF=euler(-1.57,0,3.14)
  36. attack = false
  37. attackdebounce = false
  38. deb=false
  39. equipped=true
  40. hand=false
  41. MMouse=nil
  42. combo=0
  43. mana=0
  44. trispeed=.2
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. mana=0
  53.  
  54. mouse=Player:GetMouse()
  55. --save shoulders
  56. RSH, LSH=nil, nil
  57. --welds
  58. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  59. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  60. LH=Torso["Left Hip"]
  61. RH=Torso["Right Hip"]
  62. TorsoColor=Torso.BrickColor
  63. function NoOutline(Part)
  64. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  65. end
  66. player=Player
  67. ch=Character
  68. RSH=ch.Torso["Right Shoulder"]
  69. LSH=ch.Torso["Left Shoulder"]
  70. --
  71. RSH.Parent=nil
  72. LSH.Parent=nil
  73. --
  74. RW.Name="Right Shoulder"
  75. RW.Part0=ch.Torso
  76. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  77. RW.C1=cf(0, 0.5, 0)
  78. RW.Part1=ch["Right Arm"]
  79. RW.Parent=ch.Torso
  80. --
  81. LW.Name="Left Shoulder"
  82. LW.Part0=ch.Torso
  83. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  84. LW.C1=cf(0, 0.5, 0)
  85. LW.Part1=ch["Left Arm"]
  86. LW.Parent=ch.Torso
  87.  
  88. Player=game:GetService('Players').LocalPlayer
  89. Character=Player.Character
  90. Mouse=Player:GetMouse()
  91. m=Instance.new('Model',Character)
  92.  
  93.  
  94. local function weldBetween(a, b)
  95. local weldd = Instance.new("ManualWeld")
  96. weldd.Part0 = a
  97. weldd.Part1 = b
  98. weldd.C0 = CFrame.new()
  99. weldd.C1 = b.CFrame:inverse() * a.CFrame
  100. weldd.Parent = a
  101. return weldd
  102. end
  103.  
  104. function swait(num)
  105. if num==0 or num==nil then
  106. game:service'RunService'.Stepped:wait(0)
  107. else
  108. for i=0,num do
  109. game:service'RunService'.Stepped:wait(0)
  110. end
  111. end
  112. end
  113.  
  114. function nooutline(part)
  115. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  116. end
  117.  
  118. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  119. local fp=it("Part")
  120. fp.formFactor=formfactor
  121. fp.Parent=parent
  122. fp.Reflectance=reflectance
  123. fp.Transparency=transparency
  124. fp.CanCollide=false
  125. fp.Locked=true
  126. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  127. fp.Name=name
  128. fp.Size=size
  129. fp.Position=Character.Torso.Position
  130. nooutline(fp)
  131. fp.Material=material
  132. fp:BreakJoints()
  133. return fp
  134. end
  135.  
  136. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  137. local mesh=it(Mesh)
  138. mesh.Parent=part
  139. if Mesh=="SpecialMesh" then
  140. mesh.MeshType=meshtype
  141. mesh.MeshId=meshid
  142. end
  143. mesh.Offset=offset
  144. mesh.Scale=scale
  145. return mesh
  146. end
  147.  
  148. function weld(parent,part0,part1,c0,c1)
  149. local weld=it("Weld")
  150. weld.Parent=parent
  151. weld.Part0=part0
  152. weld.Part1=part1
  153. weld.C0=c0
  154. weld.C1=c1
  155. return weld
  156. end
  157.  
  158.  
  159. local function CFrameFromTopBack(at, top, back)
  160. local right = top:Cross(back)
  161. return CFrame.new(at.x, at.y, at.z,
  162. right.x, top.x, back.x,
  163. right.y, top.y, back.y,
  164. right.z, top.z, back.z)
  165. end
  166.  
  167. function Triangle(a, b, c)
  168. local edg1 = (c-a):Dot((b-a).unit)
  169. local edg2 = (a-b):Dot((c-b).unit)
  170. local edg3 = (b-c):Dot((a-c).unit)
  171. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  172. a, b, c = a, b, c
  173. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  174. a, b, c = b, c, a
  175. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  176. a, b, c = c, a, b
  177. else
  178. assert(false, "unreachable")
  179. end
  180.  
  181. local len1 = (c-a):Dot((b-a).unit)
  182. local len2 = (b-a).magnitude - len1
  183. local width = (a + (b-a).unit*len1 - c).magnitude
  184.  
  185. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  186.  
  187. local list = {}
  188.  
  189. if len1 > 0.01 then
  190. local w1 = Instance.new('WedgePart', m)
  191. game:GetService("Debris"):AddItem(w1,5)
  192. w1.Material = "SmoothPlastic"
  193. w1.FormFactor = 'Custom'
  194. w1.BrickColor = BrickColor.new("Really red")
  195. w1.Transparency = 0
  196. w1.Reflectance = 0
  197. w1.Material = "SmoothPlastic"
  198. w1.CanCollide = false
  199. NoOutline(w1)
  200. local sz = Vector3.new(0.2, width, len1)
  201. w1.Size = sz
  202. local sp = Instance.new("SpecialMesh",w1)
  203. sp.MeshType = "Wedge"
  204. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  205. w1:BreakJoints()
  206. w1.Anchored = true
  207. w1.Parent = workspace
  208. w1.Transparency = 0.7
  209. table.insert(Effects,{w1,"Disappear",.01})
  210. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  211. table.insert(list,w1)
  212. end
  213.  
  214. if len2 > 0.01 then
  215. local w2 = Instance.new('WedgePart', m)
  216. game:GetService("Debris"):AddItem(w2,5)
  217. w2.Material = "SmoothPlastic"
  218. w2.FormFactor = 'Custom'
  219. w2.BrickColor = BrickColor.new("Really red")
  220. w2.Transparency = 0
  221. w2.Reflectance = 0
  222. w2.Material = "SmoothPlastic"
  223. w2.CanCollide = false
  224. NoOutline(w2)
  225. local sz = Vector3.new(0.2, width, len2)
  226. w2.Size = sz
  227. local sp = Instance.new("SpecialMesh",w2)
  228. sp.MeshType = "Wedge"
  229. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  230. w2:BreakJoints()
  231. w2.Anchored = true
  232. w2.Parent = workspace
  233. w2.Transparency = 0.7
  234. table.insert(Effects,{w2,"Disappear",.01})
  235. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  236. table.insert(list,w2)
  237. end
  238. return unpack(list)
  239. end
  240.  
  241.  
  242. so = function(id,par,vol,pit)
  243. coroutine.resume(coroutine.create(function()
  244. local sou = Instance.new("Sound",par or workspace)
  245. sou.Volume=vol
  246. sou.Pitch=pit or 1
  247. sou.SoundId=id
  248. swait()
  249. sou:play()
  250. game:GetService("Debris"):AddItem(sou,6)
  251. end))
  252. end
  253.  
  254. function clerp(a,b,t)
  255. local qa = {QuaternionFromCFrame(a)}
  256. local qb = {QuaternionFromCFrame(b)}
  257. local ax, ay, az = a.x, a.y, a.z
  258. local bx, by, bz = b.x, b.y, b.z
  259. local _t = 1-t
  260. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  261. end
  262.  
  263. function QuaternionFromCFrame(cf)
  264. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  265. local trace = m00 + m11 + m22
  266. if trace > 0 then
  267. local s = math.sqrt(1 + trace)
  268. local recip = 0.5/s
  269. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  270. else
  271. local i = 0
  272. if m11 > m00 then
  273. i = 1
  274. end
  275. if m22 > (i == 0 and m00 or m11) then
  276. i = 2
  277. end
  278. if i == 0 then
  279. local s = math.sqrt(m00-m11-m22+1)
  280. local recip = 0.5/s
  281. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  282. elseif i == 1 then
  283. local s = math.sqrt(m11-m22-m00+1)
  284. local recip = 0.5/s
  285. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  286. elseif i == 2 then
  287. local s = math.sqrt(m22-m00-m11+1)
  288. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  289. end
  290. end
  291. end
  292.  
  293. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  294. local xs, ys, zs = x + x, y + y, z + z
  295. local wx, wy, wz = w*xs, w*ys, w*zs
  296. local xx = x*xs
  297. local xy = x*ys
  298. local xz = x*zs
  299. local yy = y*ys
  300. local yz = y*zs
  301. local zz = z*zs
  302. 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))
  303. end
  304.  
  305. function QuaternionSlerp(a, b, t)
  306. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  307. local startInterp, finishInterp;
  308. if cosTheta >= 0.0001 then
  309. if (1 - cosTheta) > 0.0001 then
  310. local theta = math.acos(cosTheta)
  311. local invSinTheta = 1/math.sin(theta)
  312. startInterp = math.sin((1-t)*theta)*invSinTheta
  313. finishInterp = math.sin(t*theta)*invSinTheta
  314. else
  315. startInterp = 1-t
  316. finishInterp = t
  317. end
  318. else
  319. if (1+cosTheta) > 0.0001 then
  320. local theta = math.acos(-cosTheta)
  321. local invSinTheta = 1/math.sin(theta)
  322. startInterp = math.sin((t-1)*theta)*invSinTheta
  323. finishInterp = math.sin(t*theta)*invSinTheta
  324. else
  325. startInterp = t-1
  326. finishInterp = t
  327. end
  328. end
  329. 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
  330. end
  331.  
  332. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  333. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  334. end
  335.  
  336. local function CFrameFromTopBack(at, top, back)
  337. local right = top:Cross(back)
  338. return CFrame.new(at.x, at.y, at.z,
  339. right.x, top.x, back.x,
  340. right.y, top.y, back.y,
  341. right.z, top.z, back.z)
  342. end
  343.  
  344. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  345.  
  346.  
  347. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  348. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  349. end
  350.  
  351. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  352. if hit.Parent==nil then
  353. return
  354. end
  355. h=hit.Parent:FindFirstChild("Humanoid")
  356. for _,v in pairs(hit.Parent:children()) do
  357. if v:IsA("Humanoid") then
  358. h=v
  359. end
  360. end
  361. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  362. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  363. end
  364. if hit.Parent.className=="Hat" then
  365. hit=hit.Parent.Parent:findFirstChild("Head")
  366. end
  367. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  368. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  369. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  370. return
  371. end]]
  372. -- hs(hit,1.2)
  373. c=Instance.new("ObjectValue")
  374. c.Name="creator"
  375. c.Value=game:service("Players").LocalPlayer
  376. c.Parent=h
  377. game:GetService("Debris"):AddItem(c,.5)
  378. Damage=math.random(minim,maxim)
  379. -- h:TakeDamage(Damage)
  380. blocked=false
  381. block=hit.Parent:findFirstChild("Block")
  382. if block~=nil then
  383. print(block.className)
  384. if block.className=="NumberValue" then
  385. if block.Value>0 then
  386. blocked=true
  387. if decreaseblock==nil then
  388. block.Value=block.Value-1
  389. end
  390. end
  391. end
  392. if block.className=="IntValue" then
  393. if block.Value>0 then
  394. blocked=true
  395. if decreaseblock~=nil then
  396. block.Value=block.Value-1
  397. end
  398. end
  399. end
  400. end
  401. if blocked==false then
  402. -- h:TakeDamage(Damage)
  403. h.Health=h.Health-Damage
  404. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  405. else
  406. h.Health=h.Health-(Damage/2)
  407. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  408. end
  409. if Type=="Knockdown" then
  410. hum=hit.Parent.Humanoid
  411. hum.PlatformStand=true
  412. coroutine.resume(coroutine.create(function(HHumanoid)
  413. swait(1)
  414. HHumanoid.PlatformStand=false
  415. end),hum)
  416. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  417. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  418. local bodvol=Instance.new("BodyVelocity")
  419. bodvol.velocity=angle*knockback
  420. bodvol.P=5000
  421. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  422. bodvol.Parent=hit
  423. rl=Instance.new("BodyAngularVelocity")
  424. rl.P=3000
  425. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  426. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  427. rl.Parent=hit
  428. game:GetService("Debris"):AddItem(bodvol,.5)
  429. game:GetService("Debris"):AddItem(rl,.5)
  430. elseif Type=="Normal" then
  431. vp=Instance.new("BodyVelocity")
  432. vp.P=500
  433. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  434. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  435. if KnockbackType==1 then
  436. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  437. elseif KnockbackType==2 then
  438. vp.velocity=Property.CFrame.lookVector*knockback
  439. end
  440. if knockback>0 then
  441. vp.Parent=hit.Parent.Torso
  442. end
  443. game:GetService("Debris"):AddItem(vp,.5)
  444. elseif Type=="Up" then
  445. local bodyVelocity=Instance.new("BodyVelocity")
  446. bodyVelocity.velocity=vt(0,60,0)
  447. bodyVelocity.P=5000
  448. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  449. bodyVelocity.Parent=hit
  450. game:GetService("Debris"):AddItem(bodyVelocity,1)
  451. rl=Instance.new("BodyAngularVelocity")
  452. rl.P=3000
  453. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  454. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  455. rl.Parent=hit
  456. game:GetService("Debris"):AddItem(rl,.5)
  457. elseif Type=="Snare" then
  458. bp=Instance.new("BodyPosition")
  459. bp.P=2000
  460. bp.D=100
  461. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  462. bp.position=hit.Parent.Torso.Position
  463. bp.Parent=hit.Parent.Torso
  464. game:GetService("Debris"):AddItem(bp,1)
  465. elseif Type=="Target" then
  466. if Targetting==false then
  467. ZTarget=hit.Parent.Torso
  468. coroutine.resume(coroutine.create(function(Part)
  469. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  470. swait(5)
  471. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  472. end),ZTarget)
  473. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  474. targetgui=Instance.new("BillboardGui")
  475. targetgui.Parent=ZTarget
  476. targetgui.Size=UDim2.new(10,100,10,100)
  477. targ=Instance.new("ImageLabel")
  478. targ.Parent=targetgui
  479. targ.BackgroundTransparency=1
  480. targ.Image="rbxassetid://4834067"
  481. targ.Size=UDim2.new(1,0,1,0)
  482. cam.CameraType="Scriptable"
  483. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  484. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  485. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  486. Targetting=true
  487. RocketTarget=ZTarget
  488. for i=1,Property do
  489. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  490. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  491. swait()
  492. end
  493. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  494. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  495. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  496. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  497. end
  498. Targetting=false
  499. RocketTarget=nil
  500. targetgui.Parent=nil
  501. cam.CameraType="Custom"
  502. end
  503. end
  504. debounce=Instance.new("BoolValue")
  505. debounce.Name="DebounceHit"
  506. debounce.Parent=hit.Parent
  507. debounce.Value=true
  508. game:GetService("Debris"):AddItem(debounce,Delay)
  509. c=Instance.new("ObjectValue")
  510. c.Name="creator"
  511. c.Value=Player
  512. c.Parent=h
  513. game:GetService("Debris"):AddItem(c,.5)
  514. CRIT=false
  515. hitDeb=true
  516. AttackPos=6
  517. end
  518. end
  519.  
  520. showDamage=function(Char,Dealt,du,Color)
  521. m=Instance.new("Model")
  522. m.Name=tostring(Dealt)
  523. h=Instance.new("Humanoid")
  524. h.Health=0
  525. h.MaxHealth=0
  526. h.Parent=m
  527. c=Instance.new("Part")
  528. c.Transparency=0
  529. c.BrickColor=Color
  530. c.Name="Head"
  531. c.TopSurface=0
  532. c.BottomSurface=0
  533. c.formFactor="Plate"
  534. c.Size=Vector3.new(1,.4,1)
  535. ms=Instance.new("CylinderMesh")
  536. ms.Scale=Vector3.new(.8,.8,.8)
  537. if CRIT==true then
  538. ms.Scale=Vector3.new(1,1.25,1)
  539. end
  540. ms.Parent=c
  541. c.Reflectance=0
  542. Instance.new("BodyGyro").Parent=c
  543. c.Parent=m
  544. if Char:findFirstChild("Head")~=nil then
  545. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  546. elseif Char.Parent:findFirstChild("Head")~=nil then
  547. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  548. end
  549. f=Instance.new("BodyPosition")
  550. f.P=2000
  551. f.D=100
  552. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  553. f.position=c.Position+Vector3.new(0,3,0)
  554. f.Parent=c
  555. game:GetService("Debris"):AddItem(m,.5+du)
  556. c.CanCollide=false
  557. m.Parent=workspace
  558. c.CanCollide=false
  559. end
  560.  
  561. Player=game:GetService('Players').LocalPlayer
  562. Character=Player.Character
  563. Mouse=Player:GetMouse()
  564. m=Instance.new('Model',Character)
  565. it=Instance.new
  566. function nooutline(part)
  567. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  568. end
  569. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  570. local fp=it("Part")
  571. fp.formFactor=formfactor
  572. fp.Parent=parent
  573. fp.Reflectance=reflectance
  574. fp.Transparency=transparency
  575. fp.CanCollide=false
  576. fp.Locked=true
  577. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  578. fp.Name=name
  579. fp.Size=size
  580. fp.Position=Character.Torso.Position
  581. nooutline(fp)
  582. fp.Material=material
  583. fp:BreakJoints()
  584. return fp
  585. end
  586. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  587. local mesh=it(Mesh)
  588. mesh.Parent=part
  589. if Mesh=="SpecialMesh" then
  590. mesh.MeshType=meshtype
  591. mesh.MeshId=meshid
  592. end
  593. mesh.Offset=offset
  594. mesh.Scale=scale
  595. return mesh
  596. end
  597. function weld(parent,part0,part1,c0,c1)
  598. local weld=it("Weld")
  599. weld.Parent=parent
  600. weld.Part0=part0
  601. weld.Part1=part1
  602. weld.C0=c0
  603. weld.C1=c1
  604. return weld
  605. end
  606.  
  607. Player=game:GetService('Players').LocalPlayer
  608. Character=Player.Character
  609. Mouse=Player:GetMouse()
  610. m=Instance.new('Model',Character)
  611. it=Instance.new
  612. function nooutline(part)
  613. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  614. end
  615. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  616. local fp=it("Part")
  617. fp.formFactor=formfactor
  618. fp.Parent=parent
  619. fp.Reflectance=reflectance
  620. fp.Transparency=transparency
  621. fp.CanCollide=false
  622. fp.Locked=true
  623. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  624. fp.Name=name
  625. fp.Size=size
  626. fp.Position=Character.Torso.Position
  627. nooutline(fp)
  628. fp.Material=material
  629. fp:BreakJoints()
  630. return fp
  631. end
  632. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  633. local mesh=it(Mesh)
  634. mesh.Parent=part
  635. if Mesh=="SpecialMesh" then
  636. mesh.MeshType=meshtype
  637. mesh.MeshId=meshid
  638. end
  639. mesh.Offset=offset
  640. mesh.Scale=scale
  641. return mesh
  642. end
  643. function weld(parent,part0,part1,c0,c1)
  644. local weld=it("Weld")
  645. weld.Parent=parent
  646. weld.Part0=part0
  647. weld.Part1=part1
  648. weld.C0=c0
  649. weld.C1=c1
  650. return weld
  651. end
  652.  
  653. Player=game:GetService('Players').LocalPlayer
  654. Character=Player.Character
  655. Mouse=Player:GetMouse()
  656. m=Instance.new('Model',Character)
  657. it=Instance.new
  658. function nooutline(part)
  659. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  660. end
  661. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  662. local fp=it("Part")
  663. fp.formFactor=formfactor
  664. fp.Parent=parent
  665. fp.Reflectance=reflectance
  666. fp.Transparency=transparency
  667. fp.CanCollide=false
  668. fp.Locked=true
  669. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  670. fp.Name=name
  671. fp.Size=size
  672. fp.Position=Character.Torso.Position
  673. nooutline(fp)
  674. fp.Material=material
  675. fp:BreakJoints()
  676. return fp
  677. end
  678. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  679. local mesh=it(Mesh)
  680. mesh.Parent=part
  681. if Mesh=="SpecialMesh" then
  682. mesh.MeshType=meshtype
  683. mesh.MeshId=meshid
  684. end
  685. mesh.Offset=offset
  686. mesh.Scale=scale
  687. return mesh
  688. end
  689. function weld(parent,part0,part1,c0,c1)
  690. local weld=it("Weld")
  691. weld.Parent=parent
  692. weld.Part0=part0
  693. weld.Part1=part1
  694. weld.C0=c0
  695. weld.C1=c1
  696. return weld
  697. end
  698.  
  699. Player=game:GetService('Players').LocalPlayer
  700. Character=Player.Character
  701. Mouse=Player:GetMouse()
  702. m=Instance.new('Model',Character)
  703. it=Instance.new
  704. function nooutline(part)
  705. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  706. end
  707. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  708. local fp=it("Part")
  709. fp.formFactor=formfactor
  710. fp.Parent=parent
  711. fp.Reflectance=reflectance
  712. fp.Transparency=transparency
  713. fp.CanCollide=false
  714. fp.Locked=true
  715. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  716. fp.Name=name
  717. fp.Size=size
  718. fp.Position=Character.Torso.Position
  719. nooutline(fp)
  720. fp.Material=material
  721. fp:BreakJoints()
  722. return fp
  723. end
  724. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  725. local mesh=it(Mesh)
  726. mesh.Parent=part
  727. if Mesh=="SpecialMesh" then
  728. mesh.MeshType=meshtype
  729. mesh.MeshId=meshid
  730. end
  731. mesh.Offset=offset
  732. mesh.Scale=scale
  733. return mesh
  734. end
  735. function weld(parent,part0,part1,c0,c1)
  736. local weld=it("Weld")
  737. weld.Parent=parent
  738. weld.Part0=part0
  739. weld.Part1=part1
  740. weld.C0=c0
  741. weld.C1=c1
  742. return weld
  743. end
  744.  
  745. Player=game:GetService('Players').LocalPlayer
  746. Character=Player.Character
  747. Mouse=Player:GetMouse()
  748. m=Instance.new('Model',Character)
  749. it=Instance.new
  750. function nooutline(part)
  751. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  752. end
  753. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  754. local fp=it("Part")
  755. fp.formFactor=formfactor
  756. fp.Parent=parent
  757. fp.Reflectance=reflectance
  758. fp.Transparency=transparency
  759. fp.CanCollide=false
  760. fp.Locked=true
  761. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  762. fp.Name=name
  763. fp.Size=size
  764. fp.Position=Character.Torso.Position
  765. nooutline(fp)
  766. fp.Material=material
  767. fp:BreakJoints()
  768. return fp
  769. end
  770. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  771. local mesh=it(Mesh)
  772. mesh.Parent=part
  773. if Mesh=="SpecialMesh" then
  774. mesh.MeshType=meshtype
  775. mesh.MeshId=meshid
  776. end
  777. mesh.Offset=offset
  778. mesh.Scale=scale
  779. return mesh
  780. end
  781. function weld(parent,part0,part1,c0,c1)
  782. local weld=it("Weld")
  783. weld.Parent=parent
  784. weld.Part0=part0
  785. weld.Part1=part1
  786. weld.C0=c0
  787. weld.C1=c1
  788. return weld
  789. end
  790.  
  791. Player=game:GetService('Players').LocalPlayer
  792. Character=Player.Character
  793. Mouse=Player:GetMouse()
  794. m=Instance.new('Model',Character)
  795. it=Instance.new
  796. function nooutline(part)
  797. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  798. end
  799. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  800. local fp=it("Part")
  801. fp.formFactor=formfactor
  802. fp.Parent=parent
  803. fp.Reflectance=reflectance
  804. fp.Transparency=transparency
  805. fp.CanCollide=false
  806. fp.Locked=true
  807. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  808. fp.Name=name
  809. fp.Size=size
  810. fp.Position=Character.Torso.Position
  811. nooutline(fp)
  812. fp.Material=material
  813. fp:BreakJoints()
  814. return fp
  815. end
  816. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  817. local mesh=it(Mesh)
  818. mesh.Parent=part
  819. if Mesh=="SpecialMesh" then
  820. mesh.MeshType=meshtype
  821. mesh.MeshId=meshid
  822. end
  823. mesh.Offset=offset
  824. mesh.Scale=scale
  825. return mesh
  826. end
  827. function weld(parent,part0,part1,c0,c1)
  828. local weld=it("Weld")
  829. weld.Parent=parent
  830. weld.Part0=part0
  831. weld.Part1=part1
  832. weld.C0=c0
  833. weld.C1=c1
  834. return weld
  835. end
  836.  
  837. Player=game:GetService('Players').LocalPlayer
  838. Character=Player.Character
  839. Mouse=Player:GetMouse()
  840. m=Instance.new('Model',Character)
  841. it=Instance.new
  842. function nooutline(part)
  843. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  844. end
  845. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  846. local fp=it("Part")
  847. fp.formFactor=formfactor
  848. fp.Parent=parent
  849. fp.Reflectance=reflectance
  850. fp.Transparency=transparency
  851. fp.CanCollide=false
  852. fp.Locked=true
  853. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  854. fp.Name=name
  855. fp.Size=size
  856. fp.Position=Character.Torso.Position
  857. nooutline(fp)
  858. fp.Material=material
  859. fp:BreakJoints()
  860. return fp
  861. end
  862. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  863. local mesh=it(Mesh)
  864. mesh.Parent=part
  865. if Mesh=="SpecialMesh" then
  866. mesh.MeshType=meshtype
  867. mesh.MeshId=meshid
  868. end
  869. mesh.Offset=offset
  870. mesh.Scale=scale
  871. return mesh
  872. end
  873. function weld(parent,part0,part1,c0,c1)
  874. local weld=it("Weld")
  875. weld.Parent=parent
  876. weld.Part0=part0
  877. weld.Part1=part1
  878. weld.C0=c0
  879. weld.C1=c1
  880. return weld
  881. end
  882.  
  883. Handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Crimson","Handle",Vector3.new(0.261776477, 12.5652685, 0.523552835))
  884. handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(0.817402363, -3.59265137, 0.0630874634, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  885. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  886. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.261776417, 3.14131689, 2.35598755))
  887. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0.0130882263, -6.80607605, 5.15883684, 1, -5.96046377e-008, 0, 0, 0, -1, 5.96046377e-008, 1, 0))
  888. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  889. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.261776417, 1.308882, 1.04710603))
  890. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.0131072998, 3.32646585, -5.75898743, -1, -4.69481904e-007, -9.94509492e-007, -4.69482956e-007, 1, 1.05798244e-006, 9.94509037e-007, 1.0579829e-006, -1))
  891. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  892. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.261776417, 4.4501996, 1.83243525))
  893. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.0130958557, 0.323550701, -9.15474701, -1, 5.08741067e-008, -4.93110804e-007, 5.08737088e-008, 1, 8.04662704e-007, 4.93110861e-007, 8.04662704e-007, -1))
  894. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  895. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.261776417, 2.0942111, 1.83243525))
  896. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0.0130882263, 7.3296051, 1.64708042, 1, 2.08616228e-007, 2.53058744e-007, -2.53058687e-007, -3.20445139e-007, 1, 2.08616314e-007, -1, -3.20445082e-007))
  897. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  898. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.261776417, 4.71197557, 1.83243525))
  899. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.0130996704, -1.62498808, 9.29294586, -1, -3.12924385e-007, -8.27390295e-007, 3.12925209e-007, -1, -1.00048999e-006, -8.27389954e-007, -1.00049022e-006, 1))
  900. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  901. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(4.71197653, 2.0942111, 0.261776417))
  902. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(1.62497854, -7.32965469, -0.0130882263, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  903. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  904. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.261776417, 4.9737525, 1.30888176))
  905. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.013092041, 2.74859238, 5.68237734, -1, -8.04662704e-007, 1.24098236e-007, 1.24098193e-007, 4.88052194e-008, 1, -8.04662704e-007, 1, -4.88051199e-008))
  906. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  907. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.785329938, 0.261776447, 0.785329282))
  908. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0, -1.17788696, 0.0130882263, 0, 1, 0, -5.96046377e-008, 0, 1, 1, 0, 5.96046377e-008))
  909. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  910. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.261776417, 2.09421134, 1.04710507))
  911. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0.0130958557, 4.1883812, -4.50440216, 1, 8.82309621e-007, -2.50366497e-007, 2.50366554e-007, -5.96046377e-008, 1, 8.82309621e-007, -1, -5.96048579e-008))
  912. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  913. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Black","Part",Vector3.new(0.785329938, 0.261776447, 0.785329282))
  914. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0, -4.19219589, 0.0130882263, 0, 1, 0, -5.96046377e-008, 0, 1, 1, 0, 5.96046377e-008))
  915. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  916. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.261776417, 4.4501996, 1.83243525))
  917. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.013092041, -2.73811722, -8.55303574, -1, 8.66080541e-008, -3.85452267e-007, 3.33796919e-007, 0.707107365, -0.707106292, 2.11315054e-007, -0.707106292, -0.707107365))
  918. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  919. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.261776417, 1.83243465, 5.75908184))
  920. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(-0.013092041, -9.29292679, 3.61028624, -1, -3.87221348e-007, -6.04577735e-007, 6.04577565e-007, 3.87430191e-007, -1, 3.87221576e-007, -1, -3.87429964e-007))
  921. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  922. Hitbox=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,1,"Medium stone grey","Hitbox",Vector3.new(9.65538502, 3.46649742, 0.200000003))
  923. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0),CFrame.new(0.157496929, -8.21406555, -0.00602340698, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  924.  
  925. function attackone()
  926. attack=true
  927. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,9999,9999,math.random(10,20),"Knockdown",RootPart,.2,1) end)
  928. for i=0,1,0.1 do
  929. swait()
  930. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(80)),.3)
  931. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(10),math.rad(-70)),.3)
  932. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  933. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3)
  934. RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3)
  935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  936. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3)
  937. end
  938. so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.6)
  939. so("http://roblox.com/asset/?id=231917871",Hitbox,1,0.8)
  940. for i=0,1,0.1 do
  941. swait()
  942. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  943. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  944. local h = 5
  945. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  946. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  947. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  948. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  949. scfr = blcf
  950. elseif not scfr then
  951. scfr = blcf
  952. end
  953. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-80)),.3)
  954. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(70)),.3)
  955. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3)
  956. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3)
  957. RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3)
  958. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  959. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3)
  960. end
  961. attack=false
  962. con1:disconnect()
  963. end
  964.  
  965. function attacktwo()
  966. attack=true
  967. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,9999,9999,math.random(10,20),"Knockdown",RootPart,.2,1) end)
  968. for i=0,1,0.1 do
  969. swait()
  970. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(90)),.2)
  971. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-80)),.3)
  972. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.1)
  973. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3)
  974.  
  975. end
  976.  
  977. for i=0,1,1 do
  978. swait()
  979. so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.7)
  980. so("http://www.roblox.com/asset/?id=234365573",Hitbox,1,0.7)
  981. for i=0,1,0.1 do
  982. swait()
  983. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  984. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  985. local h = 5
  986. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  987. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  988. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  989. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  990. scfr = blcf
  991. elseif not scfr then
  992. scfr = blcf
  993. end
  994. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-50)),.3)
  995. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-10),math.rad(110)),.1)
  996. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  997. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-6*i),.3)
  999. end
  1000. end
  1001. con1:disconnect()
  1002. attack=false
  1003. end
  1004.  
  1005. function attackthree()
  1006. attack=true
  1007. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,9999,9999,math.random(10,20),"Knockdown",RootPart,.2,1) end)
  1008. for i=0,1,0.1 do
  1009. swait()
  1010. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3)
  1011. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(00)),.3)
  1012. RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(-50)),.3)
  1013. LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(50)),.3)
  1014. RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1015. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1016. handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3)
  1017. end
  1018. so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.4)
  1019. so("http://www.roblox.com/asset/?id=234365549",Hitbox,1,0.6)
  1020. for i=0,1,.1 do
  1021. swait()
  1022. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1023. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1024. local h = 5
  1025. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1026. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1027. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1028. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1029. scfr = blcf
  1030. elseif not scfr then
  1031. scfr = blcf
  1032. end
  1033. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1034. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(00)),.3)
  1035. RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1036. LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1037. RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1038. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1039. handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3)
  1040. end
  1041. attack=false
  1042. con1:disconnect()
  1043. end
  1044.  
  1045. function CrimsonMoon()
  1046. attack=true
  1047. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,9999,9999,math.random(10,20),"Knockdown",RootPart,.2,1) end)
  1048. for i=0,1,0.1 do
  1049. swait()
  1050. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(120),math.rad(80)),.3)
  1051. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.3)
  1052. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3)
  1053. end
  1054. for i=0,1,0.15 do
  1055. so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
  1056. so("http://roblox.com/asset/?id=28144425",Torso,1,0.8)
  1057. swait()
  1058. for i=0,1,0.1 do
  1059. swait()
  1060. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1061. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1062. local h = 5
  1063. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1064. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1065. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1066. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1067. scfr = blcf
  1068. elseif not scfr then
  1069. scfr = blcf
  1070. end
  1071. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(90)),.3)
  1072. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-60)),.3)
  1073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,-6*i),.3)
  1074. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3)
  1075. end
  1076. end
  1077. attack=false
  1078. con1:disconnect()
  1079. end
  1080.  
  1081. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1082. local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Really red","Effect",vt(0.5,0.5,0.5))
  1083. prt.Anchored=true
  1084. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1085. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1086. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1087. CF=Part.CFrame
  1088. Numbb=0
  1089. randnumb=math.random()-math.random()
  1090. for i=0,1,0.05 do
  1091. wait()
  1092. CF=CF*cf(0,1,0)
  1093. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1094. Part.CFrame=CF*euler(Numbb,0,0)
  1095. Part.Transparency=i
  1096. Numbb=Numbb+randnumb
  1097. end
  1098. Part.Parent=nil
  1099. end),prt,CF,Numbb,randnumb)
  1100. end
  1101.  
  1102. function Execution() --HEUAHUEHAUEHAUHUEAHUAEHUAHEUAHEUH
  1103. attack=true
  1104. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,999999999,999999999,math.random(10,20),"Knockdown",RootPart,.2,1) end)
  1105. Humanoid.WalkSpeed = 0
  1106. for i=0,1,0.03 do
  1107. swait()
  1108. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.1)
  1109. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.1)
  1110. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(120)),.1)
  1111. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1)
  1112. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.1)
  1113. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2)
  1114. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.1)
  1115. end
  1116. so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
  1117. so("http://roblox.com/asset/?id=28144425",Torso,1,0.5)
  1118. hitconasdf = Hitbox.Touched:connect(function(hit)
  1119. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1120. if hum12 and not hum12:IsDescendantOf(Character) then
  1121. so('http://roblox.com/asset/?id=154965973',Hitbox,1,0.8)
  1122. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1123. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1124. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1125. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1126. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1127. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1128. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1129. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1130. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1131. BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1132. hitconasdf:disconnect()
  1133. end
  1134. end)
  1135. for i=0,1,0.03 do
  1136. swait()
  1137. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1138. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1139. local h = 5
  1140. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1141. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1142. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1143. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1144. scfr = blcf
  1145. elseif not scfr then
  1146. scfr = blcf
  1147. end
  1148. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1149. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(60)),.2)
  1150. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(70)),.2)
  1151. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1152. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2)
  1153. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2)
  1154. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.2)
  1155. end
  1156. attack=false
  1157. con1:disconnect()
  1158. Humanoid.WalkSpeed= 16
  1159. pcall(function()
  1160. hitconasdf:disconnect()
  1161. end)
  1162. end
  1163.  
  1164. mouse.Button1Down:connect(function()
  1165. if attack==false then
  1166. if attacktype==1 then
  1167. attack=true
  1168. attacktype=2
  1169. attackone()
  1170. elseif attacktype==2 then
  1171. attack=true
  1172. attacktype=3
  1173. attacktwo()
  1174. elseif attacktype==3 then
  1175. attack=true
  1176. attacktype=1
  1177. attackthree()
  1178. end
  1179. end
  1180. end)
  1181.  
  1182. mouse.KeyDown:connect(function(k)
  1183. k=k:lower()
  1184. if k=='q' then
  1185. if attack==false then
  1186. CrimsonMoon()
  1187. end
  1188. elseif k=='e' then
  1189. if attack==false then
  1190. Execution()
  1191. end
  1192. end
  1193. end)
  1194.  
  1195.  
  1196. local sine = 0
  1197. local change = 1
  1198. local val = 0
  1199.  
  1200. while true do
  1201. swait()
  1202. sine = sine + change
  1203. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1204. local velderp=RootPart.Velocity.y
  1205. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1206. if equipped==true or equipped==false then
  1207. if attack==false then
  1208. idle=idle+1
  1209. else
  1210. idle=0
  1211. end
  1212. if idle>=500 then
  1213. if attack==false then
  1214. --Sheath()
  1215. end
  1216. end
  1217. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1218. Anim="Jump"
  1219. if attack==false then
  1220. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1221. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1222. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3)
  1223. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1224. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1225. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1226. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3)
  1227. end
  1228. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1229. Anim="Fall"
  1230. if attack==false then
  1231. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1232. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1233. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1234. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  1235. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1236. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1237. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3)
  1238. end
  1239. elseif torvel<1 and hitfloor~=nil then
  1240. Anim="Idle"
  1241. if attack==false then
  1242. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1243. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(-50)),.3)
  1244. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3)
  1245. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3)
  1246. RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3)
  1247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1248. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3)
  1249. end
  1250. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1251. Anim="Walk"
  1252. if attack==false then
  1253. change=3
  1254. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3)
  1255. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3)
  1256. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3)
  1257. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3)
  1258. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1259. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3)
  1260. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3)
  1261. end
  1262. elseif torvel>=22 and hitfloor~=nil then
  1263. Anim="Run"
  1264. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3)
  1268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3)
  1270. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3)
  1271. end
  1272. end
  1273. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement