Drewiscool123

???

Jul 26th, 2018
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.01 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. Humanoid.WalkSpeed = 999
  9. m=Instance.new('Model',Character)
  10. LeftArm=Character["Left Arm"]
  11. LeftLeg=Character["Left Leg"]
  12. RightArm=Character["Right Arm"]
  13. RightLeg=Character["Right Leg"]
  14. LS=Torso["Left Shoulder"]
  15. LH=Torso["Left Hip"]
  16. RS=Torso["Right Shoulder"]
  17. RH=Torso["Right Hip"]
  18. Face = Head.face
  19. Neck=Torso.Neck
  20. it=Instance.new
  21. attacktype=1
  22. vt=Vector3.new
  23. cf=CFrame.new
  24. euler=CFrame.fromEulerAnglesXYZ
  25. angles=CFrame.Angles
  26. cloaked=false
  27. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  30. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  31. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  33. RootPart=Character.HumanoidRootPart
  34. RootJoint=RootPart.RootJoint
  35. RootCF=euler(-1.57,0,3.14)
  36. attack = false
  37. attackdebounce = false
  38. deb=false
  39. equipped=true
  40. hand=false
  41. MMouse=nil
  42. combo=0
  43. mana=0
  44. trispeed=.2
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. mana=0
  53.  
  54. mouse=Player:GetMouse()
  55. --save shoulders
  56. RSH, LSH=nil, nil
  57. --welds
  58. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  59. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  60. LH=Torso["Left Hip"]
  61. RH=Torso["Right Hip"]
  62. TorsoColor=Torso.BrickColor
  63. function NoOutline(Part)
  64. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  65. end
  66. player=Player
  67. ch=Character
  68. RSH=ch.Torso["Right Shoulder"]
  69. LSH=ch.Torso["Left Shoulder"]
  70. --
  71. RSH.Parent=nil
  72. LSH.Parent=nil
  73. --
  74. RW.Name="Right Shoulder"
  75. RW.Part0=ch.Torso
  76. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  77. RW.C1=cf(0, 0.5, 0)
  78. RW.Part1=ch["Right Arm"]
  79. RW.Parent=ch.Torso
  80. --
  81. LW.Name="Left Shoulder"
  82. LW.Part0=ch.Torso
  83. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  84. LW.C1=cf(0, 0.5, 0)
  85. LW.Part1=ch["Left Arm"]
  86. LW.Parent=ch.Torso
  87.  
  88. Player=game:GetService('Players').LocalPlayer
  89. Character=Player.Character
  90. Mouse=Player:GetMouse()
  91. m=Instance.new('Model',Character)
  92.  
  93.  
  94. local function weldBetween(a, b)
  95. local weldd = Instance.new("ManualWeld")
  96. weldd.Part0 = a
  97. weldd.Part1 = b
  98. weldd.C0 = CFrame.new()
  99. weldd.C1 = b.CFrame:inverse() * a.CFrame
  100. weldd.Parent = a
  101. return weldd
  102. end
  103.  
  104. function swait(num)
  105. if num==0 or num==nil then
  106. game:service'RunService'.Stepped:wait(0)
  107. else
  108. for i=0,num do
  109. game:service'RunService'.Stepped:wait(0)
  110. end
  111. end
  112. end
  113.  
  114. function nooutline(part)
  115. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  116. end
  117.  
  118. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  119. local fp=it("Part")
  120. fp.formFactor=formfactor
  121. fp.Parent=parent
  122. fp.Reflectance=reflectance
  123. fp.Transparency=transparency
  124. fp.CanCollide=false
  125. fp.Locked=true
  126. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  127. fp.Name=name
  128. fp.Size=size
  129. fp.Position=Character.Torso.Position
  130. nooutline(fp)
  131. fp.Material=material
  132. fp:BreakJoints()
  133. return fp
  134. end
  135.  
  136. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  137. local mesh=it(Mesh)
  138. mesh.Parent=part
  139. if Mesh=="SpecialMesh" then
  140. mesh.MeshType=meshtype
  141. mesh.MeshId=meshid
  142. end
  143. mesh.Offset=offset
  144. mesh.Scale=scale
  145. return mesh
  146. end
  147.  
  148. function weld(parent,part0,part1,c0,c1)
  149. local weld=it("Weld")
  150. weld.Parent=parent
  151. weld.Part0=part0
  152. weld.Part1=part1
  153. weld.C0=c0
  154. weld.C1=c1
  155. return weld
  156. end
  157.  
  158.  
  159. local function CFrameFromTopBack(at, top, back)
  160. local right = top:Cross(back)
  161. return CFrame.new(at.x, at.y, at.z,
  162. right.x, top.x, back.x,
  163. right.y, top.y, back.y,
  164. right.z, top.z, back.z)
  165. end
  166.  
  167. function Triangle(a, b, c)
  168. local edg1 = (c-a):Dot((b-a).unit)
  169. local edg2 = (a-b):Dot((c-b).unit)
  170. local edg3 = (b-c):Dot((a-c).unit)
  171. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  172. a, b, c = a, b, c
  173. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  174. a, b, c = b, c, a
  175. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  176. a, b, c = c, a, b
  177. else
  178. assert(false, "unreachable")
  179. end
  180.  
  181. local len1 = (c-a):Dot((b-a).unit)
  182. local len2 = (b-a).magnitude - len1
  183. local width = (a + (b-a).unit*len1 - c).magnitude
  184.  
  185. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  186.  
  187. local list = {}
  188.  
  189. local TrailColor = ("Dark grey")
  190.  
  191. if len1 > 0.01 then
  192. local w1 = Instance.new('WedgePart', m)
  193. game:GetService("Debris"):AddItem(w1,5)
  194. w1.Material = "SmoothPlastic"
  195. w1.FormFactor = 'Custom'
  196. w1.BrickColor = BrickColor.new(TrailColor)
  197. w1.Transparency = 0
  198. w1.Reflectance = 0
  199. w1.Material = "SmoothPlastic"
  200. w1.CanCollide = false
  201. NoOutline(w1)
  202. local sz = Vector3.new(0.2, width, len1)
  203. w1.Size = sz
  204. local sp = Instance.new("SpecialMesh",w1)
  205. sp.MeshType = "Wedge"
  206. sp.Scale = Vector3.new(0,1,2) * sz/w1.Size
  207. w1:BreakJoints()
  208. w1.Anchored = true
  209. w1.Parent = workspace
  210. w1.Transparency = 0.7
  211. table.insert(Effects,{w1,"Disappear",.01})
  212. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  213. table.insert(list,w1)
  214. end
  215.  
  216. if len2 > 0.01 then
  217. local w2 = Instance.new('WedgePart', m)
  218. game:GetService("Debris"):AddItem(w2,5)
  219. w2.Material = "SmoothPlastic"
  220. w2.FormFactor = 'Custom'
  221. w2.BrickColor = BrickColor.new(TrailColor)
  222. w2.Transparency = 0
  223. w2.Reflectance = 0
  224. w2.Material = "SmoothPlastic"
  225. w2.CanCollide = false
  226. NoOutline(w2)
  227. local sz = Vector3.new(0.2, width, len2)
  228. w2.Size = sz
  229. local sp = Instance.new("SpecialMesh",w2)
  230. sp.MeshType = "Wedge"
  231. sp.Scale = Vector3.new(0,1,2) * sz/w2.Size
  232. w2:BreakJoints()
  233. w2.Anchored = true
  234. w2.Parent = workspace
  235. w2.Transparency = 0.7
  236. table.insert(Effects,{w2,"Disappear",.01})
  237. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  238. table.insert(list,w2)
  239. end
  240. return unpack(list)
  241. end
  242.  
  243.  
  244. so = function(id,par,vol,pit)
  245. coroutine.resume(coroutine.create(function()
  246. local sou = Instance.new("Sound",par or workspace)
  247. sou.Volume=vol
  248. sou.Pitch=pit or 999
  249. sou.SoundId=id
  250. swait()
  251. sou:play()
  252. game:GetService("Debris"):AddItem(sou,999)
  253. end))
  254. end
  255.  
  256. function clerp(a,b,t)
  257. local qa = {QuaternionFromCFrame(a)}
  258. local qb = {QuaternionFromCFrame(b)}
  259. local ax, ay, az = a.x, a.y, a.z
  260. local bx, by, bz = b.x, b.y, b.z
  261. local _t = 1-t
  262. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  263. end
  264.  
  265. function QuaternionFromCFrame(cf)
  266. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  267. local trace = m00 + m11 + m22
  268. if trace > 0 then
  269. local s = math.sqrt(1 + trace)
  270. local recip = 0.5/s
  271. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  272. else
  273. local i = 0
  274. if m11 > m00 then
  275. i = 1
  276. end
  277. if m22 > (i == 0 and m00 or m11) then
  278. i = 2
  279. end
  280. if i == 0 then
  281. local s = math.sqrt(m00-m11-m22+1)
  282. local recip = 0.5/s
  283. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  284. elseif i == 1 then
  285. local s = math.sqrt(m11-m22-m00+1)
  286. local recip = 0.5/s
  287. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  288. elseif i == 2 then
  289. local s = math.sqrt(m22-m00-m11+1)
  290. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  291. end
  292. end
  293. end
  294.  
  295. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  296. local xs, ys, zs = x + x, y + y, z + z
  297. local wx, wy, wz = w*xs, w*ys, w*zs
  298. local xx = x*xs
  299. local xy = x*ys
  300. local xz = x*zs
  301. local yy = y*ys
  302. local yz = y*zs
  303. local zz = z*zs
  304. 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))
  305. end
  306.  
  307. function QuaternionSlerp(a, b, t)
  308. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  309. local startInterp, finishInterp;
  310. if cosTheta >= 0.0001 then
  311. if (1 - cosTheta) > 0.0001 then
  312. local theta = math.acos(cosTheta)
  313. local invSinTheta = 1/math.sin(theta)
  314. startInterp = math.sin((1-t)*theta)*invSinTheta
  315. finishInterp = math.sin(t*theta)*invSinTheta
  316. else
  317. startInterp = 1-t
  318. finishInterp = t
  319. end
  320. else
  321. if (1+cosTheta) > 0.0001 then
  322. local theta = math.acos(-cosTheta)
  323. local invSinTheta = 1/math.sin(theta)
  324. startInterp = math.sin((t-1)*theta)*invSinTheta
  325. finishInterp = math.sin(t*theta)*invSinTheta
  326. else
  327. startInterp = t-1
  328. finishInterp = t
  329. end
  330. end
  331. 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
  332. end
  333.  
  334. --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)
  335.  
  336.  
  337. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  338. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  339. end
  340.  
  341. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  342. if hit.Parent==nil then
  343. return
  344. end
  345. h=hit.Parent:FindFirstChild("Humanoid")
  346. for _,v in pairs(hit.Parent:children()) do
  347. if v:IsA("Humanoid") then
  348. h=v
  349. end
  350. end
  351. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  352. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  353. end
  354. if hit.Parent.className=="Hat" then
  355. hit=hit.Parent.Parent:findFirstChild("Head")
  356. end
  357. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  358. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  359. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  360. return
  361. end]]
  362. -- hs(hit,1.2)
  363. c=Instance.new("ObjectValue")
  364. c.Name="creator"
  365. c.Value=game:service("Players").LocalPlayer
  366. c.Parent=h
  367. game:GetService("Debris"):AddItem(c,.5)
  368. Damage=math.random(minim,maxim)
  369. -- h:TakeDamage(Damage)
  370. blocked=false
  371. block=hit.Parent:findFirstChild("Block")
  372. if block~=nil then
  373. print(block.className)
  374. if block.className=="NumberValue" then
  375. if block.Value>0 then
  376. blocked=true
  377. if decreaseblock==nil then
  378. block.Value=block.Value-1
  379. end
  380. end
  381. end
  382. if block.className=="IntValue" then
  383. if block.Value>0 then
  384. blocked=true
  385. if decreaseblock~=nil then
  386. block.Value=block.Value-1
  387. end
  388. end
  389. end
  390. end
  391. if blocked==false then
  392. -- h:TakeDamage(Damage)
  393. h.Health=h.Health-Damage
  394. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  395. else
  396. h.Health=h.Health-(Damage/2)
  397. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  398. end
  399. if Type=="Knockdown" then
  400. hum=hit.Parent.Humanoid
  401. hum.PlatformStand=true
  402. coroutine.resume(coroutine.create(function(HHumanoid)
  403. swait(1)
  404. HHumanoid.PlatformStand=false
  405. end),hum)
  406. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  407. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  408. local bodvol=Instance.new("BodyVelocity")
  409. bodvol.velocity=angle*knockback
  410. bodvol.P=5000
  411. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  412. bodvol.Parent=hit
  413. rl=Instance.new("BodyAngularVelocity")
  414. rl.P=3000
  415. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  416. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  417. rl.Parent=hit
  418. game:GetService("Debris"):AddItem(bodvol,.5)
  419. game:GetService("Debris"):AddItem(rl,.5)
  420. elseif Type=="Normal" then
  421. vp=Instance.new("BodyVelocity")
  422. vp.P=500
  423. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  424. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  425. if KnockbackType==1 then
  426. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  427. elseif KnockbackType==2 then
  428. vp.velocity=Property.CFrame.lookVector*knockback
  429. end
  430. if knockback>0 then
  431. vp.Parent=hit.Parent.Torso
  432. end
  433. game:GetService("Debris"):AddItem(vp,.5)
  434. elseif Type=="Up" then
  435. local bodyVelocity=Instance.new("BodyVelocity")
  436. bodyVelocity.velocity=vt(0,60,0)
  437. bodyVelocity.P=5000
  438. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  439. bodyVelocity.Parent=hit
  440. game:GetService("Debris"):AddItem(bodyVelocity,2)
  441. rl=Instance.new("BodyAngularVelocity")
  442. rl.P=3000
  443. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  444. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  445. rl.Parent=hit
  446. game:GetService("Debris"):AddItem(rl,.5)
  447. elseif Type=="Snare" then
  448. bp=Instance.new("BodyPosition")
  449. bp.P=2000
  450. bp.D=100
  451. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  452. bp.position=hit.Parent.Torso.Position
  453. bp.Parent=hit.Parent.Torso
  454. game:GetService("Debris"):AddItem(bp,2)
  455. elseif Type=="Target" then
  456. if Targetting==false then
  457. ZTarget=hit.Parent.Torso
  458. coroutine.resume(coroutine.create(function(Part)
  459. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  460. swait(5)
  461. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  462. end),ZTarget)
  463. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  464. targetgui=Instance.new("BillboardGui")
  465. targetgui.Parent=ZTarget
  466. targetgui.Size=UDim2.new(10,100,10,100)
  467. targ=Instance.new("ImageLabel")
  468. targ.Parent=targetgui
  469. targ.BackgroundTransparency=1
  470. targ.Image="rbxassetid://4834067"
  471. targ.Size=UDim2.new(1,0,1,0)
  472. cam.CameraType="Scriptable"
  473. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  474. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  475. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  476. Targetting=true
  477. RocketTarget=ZTarget
  478. for i=1,Property do
  479. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  480. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  481. swait()
  482. end
  483. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  484. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  485. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  486. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  487. end
  488. Targetting=false
  489. RocketTarget=nil
  490. targetgui.Parent=nil
  491. cam.CameraType="Custom"
  492. end
  493. end
  494. debounce=Instance.new("BoolValue")
  495. debounce.Name="DebounceHit"
  496. debounce.Parent=hit.Parent
  497. debounce.Value=true
  498. game:GetService("Debris"):AddItem(debounce,Delay)
  499. c=Instance.new("ObjectValue")
  500. c.Name="creator"
  501. c.Value=Player
  502. c.Parent=h
  503. game:GetService("Debris"):AddItem(c,.5)
  504. CRIT=false
  505. hitDeb=true
  506. AttackPos=6
  507. end
  508. end
  509.  
  510. showDamage=function(Char,Dealt,du,Color)
  511. m=Instance.new("Model")
  512. m.Name=tostring(Dealt)
  513. h=Instance.new("Humanoid")
  514. h.Health=0
  515. h.MaxHealth=0
  516. h.Parent=m
  517. c=Instance.new("Part")
  518. c.Transparency=0
  519. c.BrickColor=Color
  520. c.Name="Head"
  521. c.TopSurface=0
  522. c.BottomSurface=0
  523. c.formFactor="Plate"
  524. c.Size=Vector3.new(1,.4,2)
  525. ms=Instance.new("CylinderMesh")
  526. ms.Scale=Vector3.new(.8,.8,.8)
  527. if CRIT==true then
  528. ms.Scale=Vector3.new(1,1.25,2)
  529. end
  530. ms.Parent=c
  531. c.Reflectance=0
  532. Instance.new("BodyGyro").Parent=c
  533. c.Parent=m
  534. if Char:findFirstChild("Head")~=nil then
  535. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  536. elseif Char.Parent:findFirstChild("Head")~=nil then
  537. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  538. end
  539. f=Instance.new("BodyPosition")
  540. f.P=2000
  541. f.D=100
  542. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  543. f.position=c.Position+Vector3.new(0,3,0)
  544. f.Parent=c
  545. game:GetService("Debris"):AddItem(m,.5+du)
  546. c.CanCollide=false
  547. m.Parent=workspace
  548. c.CanCollide=false
  549. end
  550.  
  551. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleA",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  552. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14440918e-005, 0, 0.800000191, -0.999999821, -2.98023188e-008, 0, 0, 0, 1, -2.98023224e-008, 0.999999702, 0))
  553. mesh("SpecialMesh",HandleA,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.22000003, 1.11999989, 1.48000002))
  554. MagicPrtA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","MagicPrtA",Vector3.new(0.400000066, 0.200000003, 0.400000006))
  555. MagicPrtAweld=weld(m,HandleA,MagicPrtA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.100000858, 3.81469727e-006, 0.999999642, -2.98023064e-008, 2.98023188e-008, 2.98023064e-008, -4.47034836e-008, -0.999999285, 2.98023188e-008, 0.999999404, -2.98023153e-008))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  557. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599983215, -1.0995748, 0.200019836, 0.999999821, -5.43913802e-006, 3.44865896e-008, -3.44864155e-008, 3.01454435e-008, 0.999999344, -5.43913711e-006, -1, 3.01452339e-008))
  558. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  560. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998951, 0, -0.600002289, -2.98023224e-008, 0, 0.999999821, 0, 1, 0, -0.999999821, 0, -2.98023224e-008))
  561. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.539999962, 0.539999962, 1.48000002))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.20000005, 1))
  563. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600006104, -0.599998951, 0, -0.999999821, 0, -2.98023224e-008, -2.98023188e-008, 0, 0.999999702, 0, 1, 0))
  564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  565. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599983215, -1.29950213, 0.400028229, 0.999999523, -6.69091787e-006, 3.448665e-008, -3.44863018e-008, 3.01455501e-008, 0.999993145, -6.69091651e-006, -0.999999702, 3.0145106e-008))
  566. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  567. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  568. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599973679, 0.100389957, -2.67028809e-005, -0.999999821, 7.28699251e-006, -2.98029086e-008, -2.98028944e-008, 7.16782753e-013, 0.999999344, 7.28699115e-006, 1, -4.99611745e-013))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  570. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599981308, 0.0995743275, 0.19997406, 0.999999344, 5.36441803e-006, -3.42694264e-008, -4.46758364e-009, 5.93965268e-008, -0.999999225, -5.54323105e-006, 0.999999881, 5.9397351e-008))
  571. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  573. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599973679, -0.100358725, 0.399974823, 0.999999464, -7.28698978e-006, -2.98017078e-008, -2.98017504e-008, -2.82443882e-013, -0.999998987, 7.28699115e-006, 1, -4.99611745e-013))
  574. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  576. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599981308, 0.0995743275, 0.200027466, -0.999999523, -5.43913802e-006, -8.94069458e-008, 5.96046235e-008, 3.01454435e-008, -0.999999225, 5.4391362e-006, -1, -3.01443492e-008))
  577. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  579. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599994659, -1.29949927, 0.399971008, -0.999999821, 6.75052434e-006, -2.98028091e-008, -2.98025888e-008, 1.03027981e-012, 0.99999243, 6.75052297e-006, 1, -8.29105447e-013))
  580. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  582. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599975586, -0.100389719, 0.400028229, -0.999999225, 7.25718564e-006, -8.9407493e-008, 8.9407493e-008, -1.14667997e-012, -0.999998987, -7.21248216e-006, -0.999999583, 5.01831974e-013))
  583. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.799999952, 0.200000003))
  585. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599983215, -0.599738359, -0.200023651, -0.999999821, 6.83996359e-006, -2.98027985e-008, -2.98027842e-008, 7.42544481e-013, 0.999999344, 6.83996223e-006, 1, -5.38696854e-013))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  587. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599979401, -1.0995748, 0.199981689, -0.999999642, 5.46872616e-006, -2.51180481e-008, -2.51182009e-008, -3.01454435e-008, 0.999999344, 5.46872525e-006, 0.999999821, 3.01455607e-008))
  588. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.799999952, 0.200000003))
  590. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599994659, -0.599813223, 0.199977875, -0.999999821, 4.69404995e-006, -2.98026279e-008, -2.98026137e-008, 5.29311675e-013, 0.999999344, 4.69404904e-006, 1, -3.89419237e-013))
  591. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.400000006, 0.220000014, 0.200000003))
  592. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599994659, 0.600000381, 0, 2.98012424e-008, -4.69401448e-006, -0.999994099, 0.999996483, -4.54851326e-013, 2.98017682e-008, 2.14393451e-011, -0.999997139, 4.69402175e-006))
  593. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  595. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599973679, -1.29961014, -2.67028809e-005, -0.999999821, 7.28699251e-006, -2.98029086e-008, -2.98028944e-008, 7.16782753e-013, 0.999999344, 7.28699115e-006, 1, -4.99611745e-013))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  597. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599990845, -0.0995154381, -3.05175781e-005, -0.999999821, 6.75052434e-006, -2.9802866e-008, -2.98028517e-008, 6.63480122e-013, 0.999999344, 6.75052297e-006, 1, -4.62297626e-013))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  599. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, -1.20000076, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  600. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.22000003, 1.11999989, 1.48000002))
  601. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  602. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599990845, -1.09951615, -3.05175781e-005, -0.999999821, 6.75052434e-006, -2.9802866e-008, -2.98028517e-008, 6.63480122e-013, 0.999999344, 6.75052297e-006, 1, -4.62297626e-013))
  603.  
  604. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleB",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  605. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00098991394, 3.05175781e-005, 0.800000191, 0.999999464, 8.36810372e-008, -4.47034836e-008, -5.96046448e-008, 1.96981595e-008, -0.999999702, -8.36810443e-008, 0.999999702, 1.96981613e-008))
  606. mesh("SpecialMesh",HandleB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.22000003, 1.11999989, 1.48000002))
  607. MagicPrtB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","MagicPrtB",Vector3.new(0.400000066, 0.200000003, 0.400000006))
  608. MagicPrtBweld=weld(m,HandleB,MagicPrtB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00100708008, -0.100000858, 3.43322754e-005, -0.999999285, 8.94069316e-008, 8.36810301e-008, -8.36810017e-008, 2.50053187e-008, -0.999999285, -7.45057633e-008, -0.999999106, -1.01041664e-008))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  610. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, -1.20000029, 0.999998927, -1.49011434e-008, 2.75411323e-014, -1.49011434e-008, 0.999999404, 7.10542736e-015, 2.75411323e-014, 7.10542736e-015, 0.999999642))
  611. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.22000003, 1.11999989, 1.48000002))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  613. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599981308, -1.09957433, 0.199989319, -0.999999285, 5.52832898e-006, -2.51180712e-008, -2.51181635e-008, -3.01454222e-008, 0.999999344, 5.51342691e-006, 0.999999523, 3.01455501e-008))
  614. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.20000005, 1))
  616. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600004196, -0.599998713, 0, -0.999999166, -3.55271368e-015, -2.98023508e-008, -2.98022798e-008, 8.8817842e-015, 0.999999702, -1.49011434e-008, 0.999999404, 7.10542736e-015))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.799999952, 0.200000003))
  618. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600004196, -0.599812984, 0.199977875, -0.999999344, 4.69386441e-006, -2.9802635e-008, -2.98025782e-008, 5.54223334e-013, 0.999999344, 4.67896234e-006, 0.999999583, -3.92574862e-013))
  619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  620. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599975586, 0.0995745659, 0.19997406, 0.999998689, 5.24520738e-006, -3.42694086e-008, -4.46761206e-009, 5.93964842e-008, -0.999999225, -5.52832762e-006, 0.999999523, 5.9397351e-008))
  621. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  623. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599988937, -1.29949903, 0.399974823, -0.999999166, 6.76512536e-006, -2.98028446e-008, -2.98025498e-008, 1.02673425e-012, 0.99999243, 6.75022238e-006, 0.999999404, -8.2600593e-013))
  624. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  626. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599973679, -0.100358725, 0.399974823, 0.999998868, -7.40587484e-006, -2.98016953e-008, -2.98017575e-008, -2.93098879e-013, -0.999998987, 7.28666373e-006, 0.999999344, -4.92050845e-013))
  627. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  629. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599992752, -0.0995156765, -3.43322754e-005, -0.999999166, 6.76512536e-006, -2.98029015e-008, -2.98027913e-008, 6.73239242e-013, 0.999999344, 6.75022238e-006, 0.999999404, -4.56523708e-013))
  630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  631. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599983215, -1.2996099, -2.67028809e-005, -0.999999106, 7.30156671e-006, -2.98029335e-008, -2.98028553e-008, 7.35411732e-013, 0.999999344, 7.28666373e-006, 0.999999344, -4.92050845e-013))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  633. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599988937, -1.09957433, 0.200023651, 0.999999285, -5.52832898e-006, 3.44866038e-008, -3.44863622e-008, 3.01454222e-008, 0.999999344, -5.51342691e-006, -0.999999523, 3.0145241e-008))
  634. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  636. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998713, 0, -0.600000381, -2.98022726e-008, 1.77635684e-014, 0.999999821, -1.49011434e-008, 0.999999404, 7.10542736e-015, -0.999999166, -3.55271368e-015, -2.98023508e-008))
  637. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.539999962, 0.539999962, 1.48000002))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  639. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599985123, -1.29950166, 0.400032043, 0.999998868, -6.85453233e-006, 3.44866748e-008, -3.44862556e-008, 3.01455572e-008, 0.999993145, -6.83962935e-006, -0.999999106, 3.01451237e-008))
  640. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  642. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599977493, -0.100389481, 0.400024414, -0.999998808, 7.33136903e-006, -8.94075214e-008, 8.94074077e-008, -1.15818466e-012, -0.999998987, -7.28666373e-006, -0.999999046, 5.22248911e-013))
  643. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.799999952, 0.200000003))
  645. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599985123, -0.599738121, -0.200023651, -0.999999106, 6.95884e-006, -2.98028127e-008, -2.98027487e-008, 7.47846229e-013, 0.999999344, 6.94393748e-006, 0.999999344, -5.43565193e-013))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  647. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599985123, 0.0995743275, 0.200031281, -0.999998987, -5.30481157e-006, -8.94069601e-008, 5.9604556e-008, 3.01454079e-008, -0.999999225, 5.4985253e-006, -0.999999583, -3.01443599e-008))
  648. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.400000006, 0.220000014, 0.200000003))
  650. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599994421, 0.599998474, -3.81469727e-006, 2.98012459e-008, -4.69401175e-006, -0.999994099, 0.999996006, -1.19209062e-007, 2.98017913e-008, -2.98018108e-008, -0.999996841, 4.69402084e-006))
  651. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003))
  653. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599990845, -1.09951591, -3.43322754e-005, -0.999999166, 6.76512536e-006, -2.98029015e-008, -2.98027913e-008, 6.73239242e-013, 0.999999344, 6.75022238e-006, 0.999999404, -4.56523708e-013))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  655. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599983215, 0.100389719, -2.67028809e-005, -0.999999106, 7.30156671e-006, -2.98029335e-008, -2.98028553e-008, 7.35411732e-013, 0.999999344, 7.28666373e-006, 0.999999344, -4.92050845e-013))
  656.  
  657. local PE1 = Instance.new("ParticleEmitter",MagicPrtA)
  658. PE1.Color = ColorSequence.new(Color3.new (255, 0, 127))
  659. PE1.LightEmission = NumberSequence.new(0.2)
  660. PE1.Size = NumberSequence.new(1.1)
  661. PE1.Texture = "http://www.roblox.com/asset/?id=258908759"
  662. PE1.Lifetime = NumberRange.new(.5)
  663. PE1.Rate = 10
  664. PE1.Transparency = NumberSequence.new(0.2)
  665. PE1.LightEmission = NumberSequence.new(0.2)
  666. PE1.Rotation = NumberRange.new(100)
  667. PE1.Speed = NumberRange.new(0)
  668. PE1.RotSpeed = NumberRange.new(100)
  669.  
  670. local PE2 = Instance.new("ParticleEmitter",MagicPrtB)
  671. PE2.Color = ColorSequence.new(Color3.new (255, 0, 127))
  672. PE2.LightEmission = NumberSequence.new(0.2)
  673. PE2.Size = NumberSequence.new(1.1)
  674. PE2.Texture = "http://www.roblox.com/asset/?id=258908759"
  675. PE2.Lifetime = NumberRange.new(.5)
  676. PE2.Rate = 10
  677. PE2.Transparency = NumberSequence.new(0.2)
  678. PE2.LightEmission = NumberSequence.new(0.2)
  679. PE2.Rotation = NumberRange.new(100)
  680. PE2.Speed = NumberRange.new(0)
  681. PE2.RotSpeed = NumberRange.new(100)
  682.  
  683. so("http://www.roblox.com/asset/?id=159257147",workspace,1,1)
  684.  
  685. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  686. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  687. prt.Anchored=true
  688. prt.CFrame=cframe
  689. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  690. game:GetService("Debris"):AddItem(prt,2)
  691. coroutine.resume(coroutine.create(function(Part,Mesh)
  692. for i=0,1,delay do
  693. swait()
  694. Part.CFrame=Part.CFrame
  695. Part.Transparency=i
  696. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  697. end
  698. Part.Parent=nil
  699. end),prt,msh)
  700. end
  701. --example: MagicCircle(BrickColor.new(""),ExamplePart.CFrame,0,0,0,0,0,0,0.01)
  702.  
  703. MagicCircle(BrickColor.new("Hot pink"),Torso.CFrame,1,1,1,5,5,5,0.01)
  704.  
  705. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  706. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  707. prt.Anchored=true
  708. prt.CFrame=cframe
  709. local PE1 = Instance.new("ParticleEmitter",prt)
  710. PE1.Color = ColorSequence.new(Color3.new (255, 0, 127))
  711. PE1.LightEmission = NumberSequence.new(0.2)
  712. PE1.Size = NumberSequence.new(2)
  713. PE1.Texture = "http://www.roblox.com/asset/?id=258908759"
  714. PE1.Lifetime = NumberRange.new(5)
  715. PE1.Rate = 10
  716. PE1.Transparency = NumberSequence.new(0.2)
  717. PE1.LightEmission = NumberSequence.new(0.2)
  718. PE1.Speed = NumberRange.new(0)
  719. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  720. game:GetService("Debris"):AddItem(prt,2)
  721. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  722. for i=0,1,delay do
  723. swait()
  724. Part.Transparency=i
  725. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  726. end
  727. Part.Parent=nil
  728. end),prt,msh,(math.random(0,2)+math.random())/5)
  729. end
  730. --example: MagicRing(BrickColor.new(""),ExamplePart.CFrame,0,0,0,0,0,0,0.01)
  731.  
  732. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  733. local msh1 = it("BlockMesh")
  734. msh1.Scale = vt(0.5,0.5,0.5)
  735. local S=it("Part")
  736. S.Material = "SmoothPlastic"
  737. S.Name="Effect"
  738. S.formFactor=0
  739. S.Size=vt(x1,y1,z1)
  740. S.BrickColor=color
  741. S.Reflectance = 0
  742. S.TopSurface=0
  743. S.BottomSurface=0
  744. S.Transparency=0
  745. S.Anchored=true
  746. S.CanCollide=false
  747. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  748. S.Parent=workspace
  749. msh1.Parent = S
  750. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  751. end
  752.  
  753. function attackone()
  754. attack = true
  755. for i = 0,1,0.1 do
  756. swait()
  757. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.8)
  758. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(50)),.8)
  759. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)),.8)
  760. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.5) * angles(math.rad(70), math.rad(0), math.rad(50)),.8)
  761. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(100),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  762. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  763. end
  764. for i = 0,1,0.1 do
  765. swait()
  766. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),.8)
  767. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  768. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)),.8)
  769. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)),.8)
  770. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  771. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  772. end
  773. for i = 0,1,1 do
  774. so("http://www.roblox.com/asset/?id=185295584",workspace,1,1)
  775. MagicCircle(BrickColor.new("Hot pink"),MagicPrtA.CFrame,0.1,0.1,0.1,0.8,0.8,0.8,0.06)
  776. MagicRing(BrickColor.new("Hot pink"),MagicPrtA.CFrame,0.1,0.1,0.1,1,1,1,0.06)
  777. MMMAGIC(MagicPrtA,2,2,2,0,0,0,BrickColor.new("Hot pink"))
  778. end
  779. for i = 0,1,0.2 do
  780. swait()
  781. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),.8)
  782. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  783. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)),.8)
  784. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)),.8)
  785. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  786. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  787. end
  788. attack = false
  789. end
  790.  
  791. function attacktwo()
  792. attack = true
  793. for i = 0,1,0.1 do
  794. swait()
  795. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),.8)
  796. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-80)),.8)
  797. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)),.8)
  798. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-30)),.8)
  799. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  800. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  801. end
  802. for i = 0,1,0.1 do
  803. swait()
  804. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.8)
  805. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(50)),.8)
  806. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.8)
  807. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)),.8)
  808. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(100),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  809. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  810. end
  811. for i = 0,1,1 do
  812. so("http://www.roblox.com/asset/?id=185295584",workspace,1,1)
  813. MagicCircle(BrickColor.new("Hot pink"),MagicPrtB.CFrame,0.1,0.1,0.1,0.8,0.8,0.8,0.06)
  814. MagicRing(BrickColor.new("Hot pink"),MagicPrtB.CFrame,0.1,0.1,0.1,1,1,1,0.06)
  815. MMMAGIC(MagicPrtB,2,2,2,0,0,0,BrickColor.new("Hot pink"))
  816. end
  817. for i = 0,1,0.2 do
  818. swait()
  819. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.8)
  820. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(50)),.8)
  821. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.8)
  822. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)),.8)
  823. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(100),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  824. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  825. end
  826. attack = false
  827. end
  828.  
  829. function attackthree()
  830. attack = true
  831. for i = 0,1,0.1 do
  832. swait()
  833. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  834. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.8)
  835. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)),.8)
  836. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)),.8)
  837. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  839. end
  840. for i = 0,1,0.1 do
  841. swait()
  842. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  843. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  844. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-70)),.8)
  845. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(70)),.8)
  846. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  847. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  848. end
  849. for i = 0,1,1 do
  850. so("http://www.roblox.com/asset/?id=185302814",workspace,1,1)
  851. MagicCircle(BrickColor.new("Hot pink"),Torso.CFrame*cf(0,0,-5),0.5,0.5,0.5,2,2,2,0.06)
  852. MagicRing(BrickColor.new("Hot pink"),Torso.CFrame*cf(0,0,-5),0.5,0.5,0.5,2,2,2,0.06)
  853. end
  854. for i = 0,1,0.2 do
  855. swait()
  856. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  857. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  858. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-70)),.8)
  859. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(70)),.8)
  860. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  861. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  862. end
  863. attack = false
  864. end
  865.  
  866. mouse.Button1Down:connect(function()
  867. if attacktype == 1 then
  868. attacktype = 2
  869. attackone()
  870. elseif attacktype == 2 then
  871. attacktype = 3
  872. attacktwo()
  873. elseif attacktype == 3 then
  874. attacktype = 1
  875. attackthree()
  876. end
  877. end)
  878.  
  879. mouse.KeyDown:connect(function(k)
  880. k=k:lower()
  881.  
  882. end)
  883.  
  884.  
  885. local sine = 0
  886. local change = 1
  887. local val = 0
  888.  
  889. while true do
  890. swait()
  891. sine = sine + change
  892. local torvel=(RootPart.Velocity*Vector3.new(1,0,2)).magnitude
  893. local velderp=RootPart.Velocity.y
  894. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  895. if equipped==true or equipped==false then
  896. if attack==false then
  897. idle=idle+1
  898. else
  899. idle=0
  900. end
  901. if idle>=500 then
  902. if attack==false then
  903. --Sheath()
  904. end
  905. end
  906. if RootPart.Velocity.y > 1 and hitfloor==nil then
  907. Anim="Jump"
  908. if attack==false then
  909. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  910. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.8)
  911. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(40)),.8)
  912. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-40)),.8)
  913. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  914. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  915. end
  916. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  917. Anim="Fall"
  918. if attack==false then
  919. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  920. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.8)
  921. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(70)),.8)
  922. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-70)),.8)
  923. 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)),.8)
  924. 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)),.8)
  925. end
  926. elseif torvel<1 and hitfloor~=nil then
  927. Anim="Idle"
  928. if attack==false then
  929. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.8)
  930. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(30)),.8)
  931. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)),.8)
  932. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)),.8)
  933. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(100),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  934. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  935. end
  936. elseif torvel>2 and hitfloor~=nil then
  937. Anim="Walk"
  938. if attack==false then
  939. change=3
  940. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.8)
  941. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  942. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90*math.cos(sine/1)), math.rad(0), math.rad(15)),.8)
  943. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90*math.cos(sine/1)), math.rad(0), math.rad(-15)),.8)
  944. RH.C0=clerp(RH.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)),.8)
  945. 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)),.8)
  946. end
  947. end
  948. end
  949. if #Effects>0 then
  950. --table.insert(Effects,{prt,"Block1",delay})
  951. for e=1,#Effects do
  952. if Effects[e]~=nil then
  953. --for j=1,#Effects[e] do
  954. local Thing=Effects[e]
  955. if Thing~=nil then
  956. local Part=Thing[1]
  957. local Mode=Thing[2]
  958. local Delay=Thing[3]
  959. local IncX=Thing[4]
  960. local IncY=Thing[5]
  961. local IncZ=Thing[6]
  962. if Thing[1].Transparency<=1 then
  963. if Thing[2]=="Block1" then
  964. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  965. Mesh=Thing[1].Mesh
  966. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  967. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  968. elseif Thing[2]=="Cylinder" then
  969. Mesh=Thing[1].Mesh
  970. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  971. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  972. elseif Thing[2]=="Blood" then
  973. Mesh=Thing[7]
  974. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  975. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  976. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  977. elseif Thing[2]=="Elec" then
  978. Mesh=Thing[1].Mesh
  979. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  980. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  981. elseif Thing[2]=="Disappear" then
  982. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  983. end
  984. else
  985. Part.Parent=nil
  986. table.remove(Effects,e)
  987. end
  988. end
  989. --end
  990. end
  991. end
  992. end
  993. end
Add Comment
Please, Sign In to add comment