nicholasXPG

Untitled

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