Advertisement
astronaut32

sans claw

Oct 28th, 2016
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.67 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. LeftArm=Character["Left Arm"]
  9. LeftLeg=Character["Left Leg"]
  10. RightArm=Character["Right Arm"]
  11. RightLeg=Character["Right Leg"]
  12. LS=Torso["Left Shoulder"]
  13. LH=Torso["Left Hip"]
  14. RS=Torso["Right Shoulder"]
  15. RH=Torso["Right Hip"]
  16. Face = Head.face
  17. Neck=Torso.Neck
  18. it=Instance.new
  19. attacktype=1
  20. vt=Vector3.new
  21. cf=CFrame.new
  22. euler=CFrame.fromEulerAnglesXYZ
  23. angles=CFrame.Angles
  24. cloaked=false
  25. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  28. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  29. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  30. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RootPart=Character.HumanoidRootPart
  32. RootJoint=RootPart.RootJoint
  33. RootCF=euler(-1.57,0,3.14)
  34. attack = false
  35. attackdebounce = false
  36. deb=false
  37. equipped=true
  38. hand=false
  39. MMouse=nil
  40. combo=0
  41. mana=0
  42. trispeed=.2
  43. attackmode='none'
  44. local idle=0
  45. local Anim="Idle"
  46. local Effects={}
  47. local gun=false
  48. local shoot=false
  49. player=nil
  50. mana=0
  51. cam = workspace.CurrentCamera
  52. ZTarget = nil
  53. RocketTarget = nil
  54. local m = Instance.new("Model",Character)
  55. m.Name = "WeaponModel"
  56.  
  57. mouse=Player:GetMouse()
  58. --save shoulders
  59. RSH, LSH=nil, nil
  60. --welds
  61. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  62. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  63. LH=Torso["Left Hip"]
  64. RH=Torso["Right Hip"]
  65. TorsoColor=Torso.BrickColor
  66. function NoOutline(Part)
  67. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  68. end
  69. player=Player
  70. ch=Character
  71. RSH=ch.Torso["Right Shoulder"]
  72. LSH=ch.Torso["Left Shoulder"]
  73. --
  74. RSH.Parent=nil
  75. LSH.Parent=nil
  76. --
  77. RW.Name="Right Shoulder"
  78. RW.Part0=ch.Torso
  79. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  80. RW.C1=cf(0, 0.5, 0)
  81. RW.Part1=ch["Right Arm"]
  82. RW.Parent=ch.Torso
  83. --
  84. LW.Name="Left Shoulder"
  85. LW.Part0=ch.Torso
  86. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  87. LW.C1=cf(0, 0.5, 0)
  88. LW.Part1=ch["Left Arm"]
  89. LW.Parent=ch.Torso
  90.  
  91. function swait(num)
  92. if num==0 or num==nil then
  93. game:service'RunService'.Heartbeat:wait(0)
  94. else
  95. for i=0,num do
  96. game:service'RunService'.Heartbeat:wait(0)
  97. end
  98. end
  99. end
  100.  
  101. function nooutline(part)
  102. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  103. end
  104.  
  105. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  106. local fp=it("Part")
  107. fp.formFactor=formfactor
  108. fp.Parent=parent
  109. fp.Reflectance=reflectance
  110. fp.Transparency=transparency
  111. fp.CanCollide=false
  112. fp.Locked=true
  113. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  114. fp.Name=name
  115. fp.Size=size
  116. fp.Position=Character.Torso.Position
  117. nooutline(fp)
  118. fp.Material=material
  119. fp:BreakJoints()
  120. return fp
  121. end
  122.  
  123. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  124. local mesh=it(Mesh)
  125. mesh.Parent=part
  126. if Mesh=="SpecialMesh" then
  127. mesh.MeshType=meshtype
  128. mesh.MeshId=meshid
  129. end
  130. mesh.Offset=offset
  131. mesh.Scale=scale
  132. return mesh
  133. end
  134.  
  135. function weld(parent,part0,part1,c0,c1)
  136. local weld=it("Weld")
  137. weld.Parent=parent
  138. weld.Part0=part0
  139. weld.Part1=part1
  140. weld.C0=c0
  141. weld.C1=c1
  142. return weld
  143. end
  144.  
  145.  
  146. local function CFrameFromTopBack(at, top, back)
  147. local right = top:Cross(back)
  148. return CFrame.new(at.x, at.y, at.z,
  149. right.x, top.x, back.x,
  150. right.y, top.y, back.y,
  151. right.z, top.z, back.z)
  152. end
  153.  
  154. function Triangle(a, b, c)
  155. local edg1 = (c-a):Dot((b-a).unit)
  156. local edg2 = (a-b):Dot((c-b).unit)
  157. local edg3 = (b-c):Dot((a-c).unit)
  158. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  159. a, b, c = a, b, c
  160. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  161. a, b, c = b, c, a
  162. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  163. a, b, c = c, a, b
  164. else
  165. assert(false, "unreachable")
  166. end
  167.  
  168. local len1 = (c-a):Dot((b-a).unit)
  169. local len2 = (b-a).magnitude - len1
  170. local width = (a + (b-a).unit*len1 - c).magnitude
  171.  
  172. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  173.  
  174. local list = {}
  175.  
  176. local TrailColor = ("Dark grey")
  177.  
  178. if len1 > 0.01 then
  179. local w1 = Instance.new('WedgePart', m)
  180. game:GetService("Debris"):AddItem(w1,5)
  181. w1.Material = "SmoothPlastic"
  182. w1.FormFactor = 'Custom'
  183. w1.BrickColor = BrickColor.new(TrailColor)
  184. w1.Transparency = 0
  185. w1.Reflectance = 0
  186. w1.Material = "SmoothPlastic"
  187. w1.CanCollide = false
  188. NoOutline(w1)
  189. local sz = Vector3.new(0.2, width, len1)
  190. w1.Size = sz
  191. local sp = Instance.new("SpecialMesh",w1)
  192. sp.MeshType = "Wedge"
  193. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  194. w1:BreakJoints()
  195. w1.Anchored = true
  196. w1.Parent = workspace
  197. w1.Transparency = 0.7
  198. table.insert(Effects,{w1,"Disappear",.01})
  199. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  200. table.insert(list,w1)
  201. end
  202.  
  203. if len2 > 0.01 then
  204. local w2 = Instance.new('WedgePart', m)
  205. game:GetService("Debris"):AddItem(w2,5)
  206. w2.Material = "SmoothPlastic"
  207. w2.FormFactor = 'Custom'
  208. w2.BrickColor = BrickColor.new(TrailColor)
  209. w2.Transparency = 0
  210. w2.Reflectance = 0
  211. w2.Material = "SmoothPlastic"
  212. w2.CanCollide = false
  213. NoOutline(w2)
  214. local sz = Vector3.new(0.2, width, len2)
  215. w2.Size = sz
  216. local sp = Instance.new("SpecialMesh",w2)
  217. sp.MeshType = "Wedge"
  218. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  219. w2:BreakJoints()
  220. w2.Anchored = true
  221. w2.Parent = workspace
  222. w2.Transparency = 0.7
  223. table.insert(Effects,{w2,"Disappear",.01})
  224. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  225. table.insert(list,w2)
  226. end
  227. return unpack(list)
  228. end
  229.  
  230.  
  231. so = function(id,par,vol,pit)
  232. coroutine.resume(coroutine.create(function()
  233. local sou = Instance.new("Sound",par or workspace)
  234. sou.Volume=vol
  235. sou.Pitch=pit or 1
  236. sou.SoundId=id
  237. swait()
  238. sou:play()
  239. game:GetService("Debris"):AddItem(sou,6)
  240. end))
  241. end
  242.  
  243. function clerp(a,b,t)
  244. local qa = {QuaternionFromCFrame(a)}
  245. local qb = {QuaternionFromCFrame(b)}
  246. local ax, ay, az = a.x, a.y, a.z
  247. local bx, by, bz = b.x, b.y, b.z
  248. local _t = 1-t
  249. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  250. end
  251.  
  252. function QuaternionFromCFrame(cf)
  253. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  254. local trace = m00 + m11 + m22
  255. if trace > 0 then
  256. local s = math.sqrt(1 + trace)
  257. local recip = 0.5/s
  258. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  259. else
  260. local i = 0
  261. if m11 > m00 then
  262. i = 1
  263. end
  264. if m22 > (i == 0 and m00 or m11) then
  265. i = 2
  266. end
  267. if i == 0 then
  268. local s = math.sqrt(m00-m11-m22+1)
  269. local recip = 0.5/s
  270. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  271. elseif i == 1 then
  272. local s = math.sqrt(m11-m22-m00+1)
  273. local recip = 0.5/s
  274. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  275. elseif i == 2 then
  276. local s = math.sqrt(m22-m00-m11+1)
  277. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  278. end
  279. end
  280. end
  281.  
  282. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  283. local xs, ys, zs = x + x, y + y, z + z
  284. local wx, wy, wz = w*xs, w*ys, w*zs
  285. local xx = x*xs
  286. local xy = x*ys
  287. local xz = x*zs
  288. local yy = y*ys
  289. local yz = y*zs
  290. local zz = z*zs
  291. 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))
  292. end
  293.  
  294. function QuaternionSlerp(a, b, t)
  295. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  296. local startInterp, finishInterp;
  297. if cosTheta >= 0.0001 then
  298. if (1 - cosTheta) > 0.0001 then
  299. local theta = math.acos(cosTheta)
  300. local invSinTheta = 1/math.sin(theta)
  301. startInterp = math.sin((1-t)*theta)*invSinTheta
  302. finishInterp = math.sin(t*theta)*invSinTheta
  303. else
  304. startInterp = 1-t
  305. finishInterp = t
  306. end
  307. else
  308. if (1+cosTheta) > 0.0001 then
  309. local theta = math.acos(-cosTheta)
  310. local invSinTheta = 1/math.sin(theta)
  311. startInterp = math.sin((t-1)*theta)*invSinTheta
  312. finishInterp = math.sin(t*theta)*invSinTheta
  313. else
  314. startInterp = t-1
  315. finishInterp = t
  316. end
  317. end
  318. 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
  319. end
  320.  
  321. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  322. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  323. end
  324.  
  325. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  326. if hit.Parent==nil then
  327. return
  328. end
  329. local h=hit.Parent:FindFirstChild("Humanoid")
  330. for _,v in pairs(hit.Parent:children()) do
  331. if v:IsA("Humanoid") then
  332. h=v
  333. end
  334. end
  335. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  336. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  337. end
  338. if hit.Parent.className=="Hat" then
  339. hit=hit.Parent.Parent:findFirstChild("Head")
  340. end
  341. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  342. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  343. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  344. return
  345. end]]
  346. -- hs(hit,1.2)
  347. local c=Instance.new("ObjectValue")
  348. c.Name="creator"
  349. c.Value=game:service("Players").LocalPlayer
  350. c.Parent=h
  351. game:GetService("Debris"):AddItem(c,.5)
  352. local Damage=math.random(minim,maxim)
  353. -- h:TakeDamage(Damage)
  354. local blocked=false
  355. local block=hit.Parent:findFirstChild("Block")
  356. if block~=nil then
  357. print(block.className)
  358. if block.className=="NumberValue" then
  359. if block.Value>0 then
  360. blocked=true
  361. if decreaseblock==nil then
  362. block.Value=block.Value-1
  363. end
  364. end
  365. end
  366. if block.className=="IntValue" then
  367. if block.Value>0 then
  368. blocked=true
  369. if decreaseblock~=nil then
  370. block.Value=block.Value-1
  371. end
  372. end
  373. end
  374. end
  375. if blocked==false then
  376. -- h:TakeDamage(Damage)
  377. h.Health=h.Health-Damage
  378. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  379. else
  380. h.Health=h.Health-(Damage/2)
  381. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  382. end
  383. if Type=="Knockdown" then
  384. local hum=hit.Parent.Humanoid
  385. hum.PlatformStand=true
  386. coroutine.resume(coroutine.create(function(HHumanoid)
  387. swait(1)
  388. HHumanoid.PlatformStand=false
  389. end),hum)
  390. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  391. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  392. local bodvol=Instance.new("BodyVelocity")
  393. bodvol.velocity=angle*knockback
  394. bodvol.P=5000
  395. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  396. bodvol.Parent=hit
  397. local rl=Instance.new("BodyAngularVelocity")
  398. rl.P=3000
  399. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  400. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  401. rl.Parent=hit
  402. game:GetService("Debris"):AddItem(bodvol,.5)
  403. game:GetService("Debris"):AddItem(rl,.5)
  404. elseif Type=="Normal" then
  405. local vp=Instance.new("BodyVelocity")
  406. vp.P=500
  407. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  408. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  409. if KnockbackType==1 then
  410. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  411. elseif KnockbackType==2 then
  412. vp.velocity=Property.CFrame.lookVector*knockback
  413. end
  414. if knockback>0 then
  415. vp.Parent=hit.Parent.Torso
  416. end
  417. game:GetService("Debris"):AddItem(vp,.5)
  418. elseif Type=="Up" then
  419. local bodyVelocity=Instance.new("BodyVelocity")
  420. bodyVelocity.velocity=vt(0,60,0)
  421. bodyVelocity.P=5000
  422. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  423. bodyVelocity.Parent=hit
  424. game:GetService("Debris"):AddItem(bodyVelocity,1)
  425. local rl=Instance.new("BodyAngularVelocity")
  426. rl.P=3000
  427. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  428. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  429. rl.Parent=hit
  430. game:GetService("Debris"):AddItem(rl,.5)
  431. elseif Type=="Snare" then
  432. local bp=Instance.new("BodyPosition")
  433. bp.P=2000
  434. bp.D=100
  435. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  436. bp.position=hit.Parent.Torso.Position
  437. bp.Parent=hit.Parent.Torso
  438. game:GetService("Debris"):AddItem(bp,1)
  439. elseif Type=="Target" then
  440. local Targetting = false
  441. if Targetting==false then
  442. ZTarget=hit.Parent.Torso
  443. coroutine.resume(coroutine.create(function(Part)
  444. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  445. swait(5)
  446. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  447. end),ZTarget)
  448. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  449. local targetgui=Instance.new("BillboardGui")
  450. targetgui.Parent=ZTarget
  451. targetgui.Size=UDim2.new(10,100,10,100)
  452. local targ=Instance.new("ImageLabel")
  453. targ.Parent=targetgui
  454. targ.BackgroundTransparency=1
  455. targ.Image="rbxassetid://4834067"
  456. targ.Size=UDim2.new(1,0,1,0)
  457. cam.CameraType="Scriptable"
  458. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  459. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  460. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  461. Targetting=true
  462. RocketTarget=ZTarget
  463. for i=1,Property do
  464. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  465. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  466. swait()
  467. end
  468. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  469. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  470. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  471. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  472. end
  473. Targetting=false
  474. RocketTarget=nil
  475. targetgui.Parent=nil
  476. cam.CameraType="Custom"
  477. end
  478. end
  479. local debounce=Instance.new("BoolValue")
  480. debounce.Name="DebounceHit"
  481. debounce.Parent=hit.Parent
  482. debounce.Value=true
  483. game:GetService("Debris"):AddItem(debounce,Delay)
  484. c=Instance.new("ObjectValue")
  485. c.Name="creator"
  486. c.Value=Player
  487. c.Parent=h
  488. game:GetService("Debris"):AddItem(c,.5)
  489. end
  490. end
  491.  
  492. function ShowDamage(Pos, Text, Time, Color)
  493. local Rate = (1 / 30)
  494. local Pos = (Pos or Vector3.new(0, 0, 0))
  495. local Text = (Text or "")
  496. local Time = (Time or 2)
  497. local Color = (Color or Color3.new(1, 0, 0))
  498. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  499. EffectPart.Anchored = true
  500. local BillboardGui = Instance.new("BillboardGui")
  501. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  502. BillboardGui.Adornee = EffectPart
  503. local TextLabel = Instance.new("TextLabel")
  504. TextLabel.BackgroundTransparency = 1
  505. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  506. TextLabel.Text = Text
  507. TextLabel.TextColor3 = Color
  508. TextLabel.TextScaled = true
  509. TextLabel.Font = Enum.Font.ArialBold
  510. TextLabel.Parent = BillboardGui
  511. BillboardGui.Parent = EffectPart
  512. game.Debris:AddItem(EffectPart, (Time + 0.1))
  513. EffectPart.Parent = game:GetService("Workspace")
  514. Delay(0, function()
  515. local Frames = (Time / Rate)
  516. for Frame = 1, Frames do
  517. wait(Rate)
  518. local Percent = (Frame / Frames)
  519. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  520. TextLabel.TextTransparency = Percent
  521. end
  522. if EffectPart and EffectPart.Parent then
  523. EffectPart:Destroy()
  524. end
  525. end)
  526. end
  527.  
  528. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  529.  
  530. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Handle",Vector3.new(1, 0.800000012, 1))
  531. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
  532. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  533. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
  534. Part1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
  535. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
  536. Part2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  537. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  538. Part3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  539. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  540. Part4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  541. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  542. Part5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  543. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  544. Part6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  545. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  546. Part7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  547. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  548. Part8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  549. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  550. Part9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  551. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  552. Part10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  553. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  554. Part11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  555. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
  556. Part12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  557. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  558. Part13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
  559. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  560. Part14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
  561. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
  562. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  563. Part15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
  564. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
  565. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  566. Part16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  567. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
  568. Part17=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  569. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  570. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  571. Part18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  572. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  573. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
  574. Part19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  575. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  576. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  577. Part20=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  578. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  579. Part21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  580. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
  581. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  582. Part22=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
  583. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
  584. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  585. Part23=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  586. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
  587. Part24=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  588. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  589. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
  590. Part25=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  591. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
  592. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  593. Part26=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
  594. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  595. Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  596. Finger1Connectorweld=weld(m,Handle,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
  597. Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  598. Finger2Connectorweld=weld(m,Handle,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
  599. Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  600. Finger3Connectorweld=weld(m,Handle,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
  601. Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  602. Finger4Connectorweld=weld(m,Handle,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
  603. Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  604. Finger5Connectorweld=weld(m,Handle,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
  605. Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Black","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  606. Finger1weld=weld(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
  607. Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Black","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  608. Finger2weld=weld(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
  609. Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Black","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  610. Finger3weld=weld(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
  611. Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Black","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  612. Finger4weld=weld(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
  613. Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Black","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  614. Finger5weld=weld(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
  615. ------------------------------------------------
  616. Handle.Transparency=1
  617. Part1.Transparency=1 --1
  618. Part2.Transparency=1 --2
  619. Part3.Transparency=1 --3
  620. Part4.Transparency=1 --4
  621. Part5.Transparency=1 --5
  622. Part6.Transparency=1 --6
  623. Part7.Transparency=1
  624. Part8.Transparency=1
  625. Part9.Transparency=1
  626. Part10.Transparency=1
  627. Part11.Transparency=1 --11
  628. Part12.Transparency=1
  629. Part13.Transparency=1
  630. Part14.Transparency=1
  631. Part15.Transparency=1
  632. Part16.Transparency=1
  633. Part17.Transparency=1
  634. Part18.Transparency=1
  635. Part19.Transparency=1
  636. Part20.Transparency=1
  637. Part21.Transparency=1
  638. Part22.Transparency=1
  639. Part23.Transparency=1
  640. Part24.Transparency=1
  641. Part25.Transparency=1
  642. Part26.Transparency=1 --25
  643. Finger1Connector.Transparency=1
  644. Finger2Connector.Transparency=1
  645. Finger3Connector.Transparency=1
  646. Finger4Connector.Transparency=1
  647. Finger5Connector.Transparency=1
  648. Hitbox.Transparency=1
  649. --25
  650.  
  651. function FuckYou()
  652. attack = true
  653. for i = 0,1,0.1 do
  654. swait()
  655. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  656. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  657. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  658. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  659. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  660. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  661. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  662. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  663. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  664. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  665. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  666. end
  667. for i = 0,1,0.01 do
  668. swait()
  669. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  670. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  671. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  672. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  673. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  674. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  675. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  676. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  677. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  678. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  679. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  680. end
  681. attack = false
  682. end
  683.  
  684. function attackone()
  685. attack = true
  686. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  687. for i = 0,1,0.1 do
  688. swait()
  689. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  690. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  691. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  692. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  693. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  694. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  695. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  696. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  697. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  698. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  699. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  700. end
  701. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  702. for i = 0,1,0.1 do
  703. swait()
  704. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.4)
  705. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.4)
  706. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.5) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.4)
  707. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  708. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  709. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  710. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  711. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
  712. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  713. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  714. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
  715. end
  716. attack = false
  717. con:disconnect()
  718. end
  719.  
  720. function attacktwo()
  721. attack = true
  722. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  723. for i = 0,1,0.1 do
  724. swait()
  725. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  726. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  727. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  728. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  729. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  730. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  731. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  732. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  733. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  734. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  735. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  736. end
  737. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  738. for i = 0,1,0.1 do
  739. swait()
  740. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.4)
  741. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  742. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  743. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  744. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  745. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  746. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  747. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  748. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  749. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  750. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  751. end
  752. attack = false
  753. con:disconnect()
  754. end
  755.  
  756. function attackthree()
  757. attack = true
  758. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  759. for i = 0,1,0.1 do
  760. swait()
  761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  763. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  764. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  765. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  767. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  768. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  769. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  770. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  771. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  772. end
  773. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
  774. for i = 0,1,0.1 do
  775. swait()
  776. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(90)),.4)
  777. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.4)
  778. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-40*i)), 0.4)
  779. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  780. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  781. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  782. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  783. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  784. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  785. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  786. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  787. end
  788. attack = false
  789. con:disconnect()
  790. end
  791.  
  792. function weld5(part0, part1, c0, c1)
  793. local weeld=Instance.new("Weld", part0)
  794. weeld.Part0=part0
  795. weeld.Part1=part1
  796.  
  797. weeld.C0=c0
  798. weeld.C1=c1
  799. return weeld
  800. end
  801.  
  802. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  803. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt())
  804. prt.Anchored=true
  805. prt.CFrame=cframe
  806. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  807. game:GetService("Debris"):AddItem(prt,2)
  808. coroutine.resume(coroutine.create(function(Part,Mesh)
  809. local wld=nil
  810. for i=0,1,delay do
  811. wait()
  812. Part.CFrame=Part.CFrame
  813. Part.Transparency=i
  814. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  815. end
  816. Part.Parent=nil
  817. end),prt,msh)
  818. end
  819.  
  820. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  821. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  822. prt.Anchored=true
  823. prt.CFrame=cframe
  824. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  825. game:GetService("Debris"):AddItem(prt,5)
  826. coroutine.resume(coroutine.create(function(Part,Mesh)
  827. for i=0,1,delay do
  828. wait()
  829. Part.CFrame=Part.CFrame
  830. Part.Transparency=i
  831. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  832. end
  833. Part.Parent=nil
  834. end),prt,msh)
  835. end
  836.  
  837. local Grab = false
  838.  
  839. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  840. for _,c in pairs(workspace:children()) do
  841. local hum=c:findFirstChild("Humanoid")
  842. if hum~=nil then
  843. local head=c:findFirstChild("Torso")
  844. if head~=nil then
  845. local targ=head.Position-Part.Position
  846. local mag=targ.magnitude
  847. if mag<=magni and c.Name~=Player.Name then
  848. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  849. end
  850. end
  851. end
  852. end
  853. end
  854.  
  855. function MagniDamage2(Hit,Part,magni,mindam,maxdam,knock,Type)
  856. for _,c in pairs(workspace:children()) do
  857. local hum=c:findFirstChild("Humanoid")
  858. if hum~=nil then
  859. local head=c:findFirstChild("Torso")
  860. if head~=nil then
  861. local targ=head.Position-Part.Position
  862. local mag=targ.magnitude
  863. if mag<=magni and c.Name~=Player.Name then
  864. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  865. for i,v in pairs (hum.Parent:GetChildren()) do
  866. if v:IsA("Humanoid") then
  867. v:remove()
  868. end
  869. if v:IsA("Part") then
  870. v.BrickColor = BrickColor.new("New Yeller")
  871. v.Reflectance = 0.5
  872. v.Material = "SmoothPlastic"
  873. v.CanCollide = true
  874. end
  875. end
  876. end
  877. end
  878. end
  879. end
  880. end
  881.  
  882.  
  883. function GrabNSlam()
  884. attack = true
  885. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  886. if Grab == false then
  887. gp = nil
  888. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  889. local ht = hit.Parent
  890. local hum1=ht:FindFirstChild('Humanoid')
  891. if hum1 ~= nil then
  892. hum1.PlatformStand=true
  893. gp = ht
  894. Grab = true
  895. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  896. asd.Parent = RightArm
  897. asd.Name = "asd"
  898. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  899. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  900. for i,v in pairs (gp:GetChildren()) do
  901. if v:IsA("Part") then
  902. v.BrickColor = BrickColor.new("New Yeller")
  903. v.Reflectance = 0.5
  904. v.Material = "SmoothPlastic"
  905. end
  906. end
  907. elseif hum1 == nil then
  908. con1:disconnect()
  909. wait() return
  910. end
  911. end)
  912. end
  913. for i = 0,1,0.1 do
  914. swait()
  915. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.4)
  916. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  917. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  918. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  919. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  920. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  921. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  922. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  923. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  924. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  925. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  926. end
  927. if Grab == true then
  928. for i = 0,1,0.1 do
  929. swait()
  930. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.4)
  931. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  932. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  933. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  934. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  936. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  937. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  938. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  939. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  940. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  941. end
  942. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  943. MagicCircle(BrickColor.new("New Yeller"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  944. MagicRing(BrickColor.new("New Yeller"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  945. MagniDamage(Hitbox,Hitbox,10,30,50,0,"Normal")
  946. for i = 0,1,0.1 do
  947. swait()
  948. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(70)),.4)
  949. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  950. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  951. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
  952. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  953. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
  954. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  955. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  956. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  957. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  958. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  959. end
  960. end
  961. con1:disconnect()
  962. for i,v in pairs(RightArm:GetChildren()) do
  963. if v.Name == "asd" and v:IsA("Weld") then
  964. v:Remove()
  965.  
  966. end
  967. end
  968. Grab = false
  969. attack = false
  970. end
  971.  
  972. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  973. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  974. prt.Anchored=true
  975. prt.CFrame = cframe
  976. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  977. coroutine.resume(coroutine.create(function()
  978. for i=0,1,0.05 do
  979. wait()
  980. prt.Transparency=i
  981. msh.Scale=msh.Scale+vt(x2,y2,z2)
  982. end
  983. prt.Parent=nil
  984. end))
  985. end
  986.  
  987. function HammerFist()
  988. attack = true
  989. Humanoid.WalkSpeed = 0
  990. for i = 0,1,0.1 do
  991. swait()
  992. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  993. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  994. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  995. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  996. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(-5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  997. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  998. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  999. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1000. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1001. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1002. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1003. end
  1004. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  1005. so("http://roblox.com/asset/?id=263610131",Torso,1,1)
  1006. so("http://roblox.com/asset/?id=263610111",Torso,1,1)
  1007. MagniDamage(Hitbox,Hitbox,20,20,30,0,"Knockdown")
  1008. local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1009. if hit~=nil then
  1010. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt())
  1011. ref.Anchored=true
  1012. ref.CFrame=cf(pos)
  1013. game:GetService("Debris"):AddItem(ref,3)
  1014. for i=1,10 do
  1015. local Col=BrickColor.new("New Yeller")
  1016. local groundpart=part(3,workspace,"SmoothPlastic",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1017. groundpart.Anchored=true
  1018. groundpart.CanCollide=false
  1019. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1020. game:GetService("Debris"):AddItem(groundpart,5)
  1021. end
  1022. BlastEffect(BrickColor.new("New Yeller"),cf(pos),1,1,1,.7,.7,.7)
  1023. MagicCircle(BrickColor.new("New Yeller"),cf(pos),3,3,3,5,5,5,0.05)
  1024. MagniDamage(ref,ref,10,10,20,math.random(10,20),"Knockdown")
  1025. end
  1026. for i = 0,1,0.1 do
  1027. swait()
  1028. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(40),math.rad(0),math.rad(0)),.5)
  1029. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  1031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  1032. RH.C0=clerp(RH.C0,cf(1,.5,-.2)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(2),math.rad(0),math.rad(0)),.3)
  1033. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-80),math.rad(40))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1034. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1035. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1036. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1037. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1038. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1039. end
  1040. attack = false
  1041. Humanoid.WalkSpeed = 16
  1042. end
  1043.  
  1044. function TurnIntoGold()
  1045. attack = true
  1046. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  1047. if Grab == false then
  1048. gp = nil
  1049. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  1050. local ht = hit.Parent
  1051. local hum1=ht:FindFirstChild('Humanoid')
  1052. if hum1 ~= nil then
  1053. hum1.PlatformStand=true
  1054. gp = ht
  1055. Grab = true
  1056. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  1057. asd.Parent = RightArm
  1058. asd.Name = "asd"
  1059. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  1060. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  1061. --[[for i,v in pairs (gp:GetChildren()) do
  1062. if v:IsA("Part") then
  1063. v.BrickColor = BrickColor.new("New Yeller")
  1064. v.Reflectance = 0.5
  1065. v.Material = "SmoothPlastic"
  1066. end
  1067. end]]--
  1068. elseif hum1 == nil then
  1069. con1:disconnect()
  1070. wait() return
  1071. end
  1072. end)
  1073. end
  1074. for i = 0,1,0.1 do
  1075. swait()
  1076. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  1077. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  1078. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.4)
  1079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1080. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1081. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1082. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1083. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1084. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1085. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1086. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1087. end
  1088. if Grab == true then
  1089. for i = 0,1,0.1 do
  1090. swait()
  1091. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1092. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  1093. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
  1094. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1095. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1096. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1097. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1098. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1099. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1100. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1101. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1102. end
  1103. so("http://roblox.com/asset/?id=248572927",Torso,1,1)
  1104. MagniDamage2(Hitbox,Hitbox,5,30,50,0,"Normal")
  1105. MagicCircle(BrickColor.new("New Yeller"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  1106. BlastEffect(BrickColor.new("New Yeller"),Torso.CFrame,1,1,1,.7,.7,.7)
  1107. for i = 0,1,0.1 do
  1108. swait()
  1109. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  1111. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
  1112. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1113. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1114. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1115. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1116. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1117. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1118. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1119. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1120. end
  1121. end
  1122. con1:disconnect()
  1123. Grab = false
  1124. attack = false
  1125. for i,v in pairs(RightArm:GetChildren()) do
  1126. if v.Name == "asd" and v:IsA("Weld") then
  1127. v:Remove()
  1128.  
  1129. end
  1130. end
  1131. end
  1132.  
  1133. mouse.Button1Down:connect(function()
  1134. if attack == false and attacktype == 1 then
  1135. attacktype = 2
  1136. attackone()
  1137. elseif attack == false and attacktype == 2 then
  1138. attacktype = 3
  1139. attacktwo()
  1140. elseif attack == false and attacktype == 3 then
  1141. attacktype = 1
  1142. attackthree()
  1143. end
  1144. end)
  1145.  
  1146. mouse.KeyDown:connect(function(k)
  1147. k=k:lower()
  1148. if attack == false and k == 'q' then
  1149. GrabNSlam()
  1150. elseif attack == false and k == 'e' then
  1151. HammerFist()
  1152. elseif attack == false and k == 'r' then
  1153. TurnIntoGold()
  1154. elseif attack == false and k == 'f' then
  1155. FuckYou()
  1156. end
  1157. end)
  1158.  
  1159.  
  1160. local sine = 0
  1161. local change = 1
  1162. local val = 0
  1163. local donum = .5
  1164.  
  1165. while true do
  1166. swait()
  1167. sine = sine + change
  1168. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1169. local velderp=RootPart.Velocity.y
  1170. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1171. if equipped==true or equipped==false then
  1172. if attack==false then
  1173. idle=idle+1
  1174. else
  1175. idle=0
  1176. end
  1177. if idle>=500 then
  1178. if attack==false then
  1179. end
  1180. end
  1181. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1182. Anim="Jump"
  1183. if attack==false then
  1184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1188. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1189. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1190. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1191. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1192. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1193. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1194. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1195. end
  1196. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1197. Anim="Fall"
  1198. if attack==false then
  1199. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1200. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1201. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(60)), 0.3)
  1202. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
  1203. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1204. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1205. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1206. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1207. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1208. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1209. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1210. end
  1211. elseif torvel<1 and hitfloor~=nil then
  1212. Anim="Idle"
  1213. if attack==false then
  1214. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1215. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1216. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1217. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)), 0.3)
  1218. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1219. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1220. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1221. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1222. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1223. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1224. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1225. end
  1226. elseif torvel>2 and hitfloor~=nil then
  1227. Anim="Walk"
  1228. if attack==false then
  1229. change=3
  1230. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1231. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1232. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3)
  1233. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3)
  1234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5)),.3)
  1235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-5)),.3)
  1236. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1237. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1238. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1239. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1240. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1241. end
  1242. end
  1243. end
  1244. if #Effects>0 then
  1245. for e=1,#Effects do
  1246. if Effects[e]~=nil then
  1247. local Thing=Effects[e]
  1248. if Thing~=nil then
  1249. local Part=Thing[1]
  1250. local Mode=Thing[2]
  1251. local Delay=Thing[3]
  1252. local IncX=Thing[4]
  1253. local IncY=Thing[5]
  1254. local IncZ=Thing[6]
  1255. if Thing[1].Transparency<=1 then
  1256. if Thing[2]=="Block1" then
  1257. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1258. Mesh=Thing[1].Mesh
  1259. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1260. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1261. elseif Thing[2]=="Cylinder" then
  1262. Mesh=Thing[1].Mesh
  1263. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1264. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1265. elseif Thing[2]=="Blood" then
  1266. Mesh=Thing[7]
  1267. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1268. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1269. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1270. elseif Thing[2]=="Elec" then
  1271. Mesh=Thing[1].Mesh
  1272. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1273. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1274. elseif Thing[2]=="Disappear" then
  1275. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1276. end
  1277. else
  1278. Part.Parent=nil
  1279. table.remove(Effects,e)
  1280. end
  1281. end
  1282. end
  1283. end
  1284. end
  1285. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement