Darkemperor101

Untitled

Sep 28th, 2016
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.36 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 = ("New Yeller")
  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.  
  493. function ShowDamage(Pos, Text, Time, Color)
  494. local Rate = (1 / 30)
  495. local Pos = (Pos or Vector3.new(0, 0, 0))
  496. local Text = (Text or "")
  497. local Time = (Time or 2)
  498. local Color = (Color or Color3.new(1, 0, 0))
  499. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  500. EffectPart.Anchored = true
  501. local BillboardGui = Instance.new("BillboardGui")
  502. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  503. BillboardGui.Adornee = EffectPart
  504. local TextLabel = Instance.new("TextLabel")
  505. TextLabel.BackgroundTransparency = 1
  506. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  507. TextLabel.Text = Text
  508. TextLabel.TextColor3 = Color
  509. TextLabel.TextScaled = true
  510. TextLabel.Font = Enum.Font.ArialBold
  511. TextLabel.Parent = BillboardGui
  512. BillboardGui.Parent = EffectPart
  513. game.Debris:AddItem(EffectPart, (Time + 0.1))
  514. EffectPart.Parent = game:GetService("Workspace")
  515. Delay(0, function()
  516. local Frames = (Time / Rate)
  517. for Frame = 1, Frames do
  518. wait(Rate)
  519. local Percent = (Frame / Frames)
  520. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  521. TextLabel.TextTransparency = Percent
  522. end
  523. if EffectPart and EffectPart.Parent then
  524. EffectPart:Destroy()
  525. end
  526. end)
  527. end
  528.  
  529. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  530.  
  531. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","Handle",Vector3.new(0.420000046, 0.600000024, 0.420000017))
  532. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.989872932, 5.14984131e-005, -0.0971298218, 0.00113562564, 0.999999046, 6.29979866e-007, 1.55007165e-005, 6.12376937e-007, -1, -0.999999344, 0.00113562518, -1.55000125e-005))
  533. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  534. FakeHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","FakeHandle",Vector3.new(0.420000046, 0.600000024, 0.420000017))
  535. FakeHandleweld=weld(m,Handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000012, -5.68434189e-014, -1.26180011e-010, -5.68434189e-014, 1, 1.8189894e-012, -1.26180011e-010, 1.8189894e-012, 1))
  536. mesh("CylinderMesh",FakeHandle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  537. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Hitbox",Vector3.new(1.39999998, 3.4000001, 0.240000024))
  538. Hitboxweld=weld(m,FakeHandle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100381494, -2.80010986, -0.00157928467, 0.999999344, -2.54890438e-008, 0.00119039777, 8.09688459e-008, 0.999997854, -4.66147467e-005, -0.00119039032, 4.64357872e-005, 0.999992192))
  539. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  540. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09976006, 8.48770142e-005, 0.000831604004, -7.60900548e-007, 0.999995708, -4.03491904e-005, 0.999999464, 8.04859837e-007, 0.00108918699, 0.00108917046, -3.99902237e-005, -0.999985218))
  541. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.472000003, 0.480000019, 2.5))
  542. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.410000026, 0.340000004, 0.460000038))
  543. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.80533433, 0.00127029419, 0.910181046, -1.00000894, 5.18384013e-006, -0.00113239943, 0.00113235961, -3.96182295e-005, -0.999973297, -5.2299888e-006, -0.999989271, 4.05051287e-005))
  544. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  545. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.79999995, 0.240000024))
  546. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.20038569, -2.00016212, -0.0015296936, 0.999999821, -2.57094825e-008, 0.00119039929, 8.05204081e-008, 0.999989271, -4.60809752e-005, -0.0011903618, 4.51860324e-005, 0.999964178))
  547. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  548. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199680805, 0.00106811523, 2.40017509, -1, 5.18667184e-006, -0.00103750592, 0.00103746285, -3.96308315e-005, -0.999964356, -5.22886558e-006, -0.999989271, 4.05205683e-005))
  549. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  550. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.240000024, 0.599999964, 0.400000006))
  551. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00107192993, -3.20015526, 0.200377941, 0.000704608741, -4.04538441e-005, -0.999975443, -5.49704419e-006, 0.999989271, -4.13497473e-005, 1.00001109, 5.52666734e-006, 0.000704663049))
  552. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  553. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  554. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199655533, 0.00110244751, 2.0001812, -1, 5.18713296e-006, -0.0010436594, 0.00104361644, -3.96242322e-005, -0.999964356, -5.22956361e-006, -0.999989271, 4.05139326e-005))
  555. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.800000012, 0.220000014, 0.600000024))
  557. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000421524048, -1.00017357, -0.00126647949, 0.999999404, -2.32401476e-008, 0.00125581096, 8.10034635e-008, 0.999989271, -4.60837255e-005, -0.00125577603, 4.51886735e-005, 0.99996388))
  558. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  560. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199651003, 0.00107192993, 2.80016708, -1.00000989, 5.18701017e-006, -0.00102521118, 0.00102516753, -3.96361102e-005, -0.999974251, -5.2289688e-006, -0.999989271, 4.0522682e-005))
  561. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 1.4000001, 0.400000036))
  563. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000336647034, -0.000192642212, -0.0012512207, 0.999999523, -2.84964585e-008, 0.00112658145, 8.0789448e-008, 0.999989271, -4.64118202e-005, -0.00112654176, 4.55167828e-005, 0.999963939))
  564. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  565. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  566. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339269638, 0.799800873, -0.00124359131, 0.999999404, -2.84293833e-008, 0.00112658448, 7.97619464e-008, 0.999995708, -4.55628397e-005, -0.00112656842, 4.52048407e-005, 0.999985158))
  567. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  568. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  569. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000335931778, -0.800178528, -0.0012512207, 0.999999523, -2.84964585e-008, 0.00112658145, 8.08229856e-008, 0.999989271, -4.64416225e-005, -0.00112654176, 4.55465852e-005, 0.999963939))
  570. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  571. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.410000026, 0.349999994, 0.460000038))
  572. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.614673376, 0.00531768799, 0.910186768, -1.00000215, 5.18241313e-006, -0.00116930669, 0.00116926827, -3.96170908e-005, -0.999966443, -5.22986102e-006, -0.999989271, 4.05056271e-005))
  573. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  574. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.419999987, 0.200000003))
  575. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599623919, 0.0012550354, 0.91018486, -0.999999464, 5.18242632e-006, -0.00116929796, 0.00116925966, -3.96166361e-005, -0.99996388, -5.22981782e-006, -0.999989271, 4.05057945e-005))
  576. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  577. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.419999987, 0.200000003))
  578. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800379038, 0.00220489502, 0.910179138, -0.999999464, 5.18217212e-006, -0.00117546378, 0.00117542536, -3.96167197e-005, -0.99996388, -5.22980736e-006, -0.999989271, 4.05058418e-005))
  579. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  581. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199681044, 0.00104141235, 1.6001873, -1.00000989, 5.18672232e-006, -0.00103751617, 0.00103747286, -3.96312353e-005, -0.999974251, -5.22916343e-006, -0.999989271, 4.05177416e-005))
  582. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  583. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  584. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199656725, 0.000995635986, 1.20018578, -1.00000989, 5.18580509e-006, -0.00102521083, 0.00102516718, -3.96470459e-005, -0.999974251, -5.22777509e-006, -0.999989271, 4.05336141e-005))
  585. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.240000024, 0.200000003))
  587. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199640751, 0.00107192993, 3.20015907, -1.00000942, 5.18610477e-006, -0.00102521037, 0.00102516694, -3.96441901e-005, -0.999973834, -5.22807204e-006, -0.999989271, 4.05311803e-005))
  588. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  590. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599658728, 0.00120544434, 0.9003582, -0.999999642, 5.18851675e-006, -0.00103381893, 0.00103377562, -3.90799905e-005, -0.999963999, -5.22998425e-006, -0.999989271, 3.99698911e-005))
  591. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.400000006))
  593. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800349474, 0.00127410889, 0.900146484, -0.999999523, 5.1841489e-006, -0.00112616573, 0.00112612569, -3.96158393e-005, -0.99996388, -5.22982964e-006, -0.999989271, 4.05052488e-005))
  594. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.599999964, 0.400000036))
  596. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00119018555, -3.20015144, 0.600331545, 0.000926091801, -4.04512866e-005, -0.999964178, -5.49746846e-006, 0.999989271, -4.13516136e-005, 0.999999762, 5.53588961e-006, 0.000926138251))
  597. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000185, 0.200000003, 0.400000036))
  599. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.6003474, -0.800163269, -0.0012512207, 0.999999523, -2.74498575e-008, 0.00115119305, 8.06901994e-008, 0.999989271, -4.62624594e-005, -0.00115115393, 4.53673929e-005, 0.99996388))
  600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000185, 0.200000003, 0.400000036))
  601. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400344014, -0.800178528, -0.0012512207, 0.999999523, -2.84964017e-008, 0.00112658169, 8.04200795e-008, 0.999989271, -4.60840165e-005, -0.00112654164, 4.51889646e-005, 0.999963939))
  602. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  603. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000215, 1.79999995, 0.200000003))
  604. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.60033536, -2.00016785, -0.00122833252, 0.99999994, -3.0568458e-008, 0.00107571227, 8.02099294e-008, 0.999989271, -4.60840602e-005, -0.00107567071, 4.51891974e-005, 0.999964356))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.20000005))
  606. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0996439457, 0.00126266479, 3.90008736, -0.999999762, 5.18900879e-006, -0.00102513155, 0.00102508825, -3.96170508e-005, -0.999964178, -5.23069548e-006, -0.999989271, 4.0506904e-005))
  607. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000024, 2.80000019, 0.200000003))
  609. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996809006, -2.50017929, -0.00126647949, 0.999999702, -3.56251917e-008, 0.000981151359, 8.79856543e-008, 0.999989271, -5.32280465e-005, -0.000981106539, 5.23331619e-005, 0.999964118))
  610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  611. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09976006, 8.48770142e-005, 0.000831604004, -7.60900548e-007, 0.999995708, -4.03491904e-005, 0.999999464, 8.04859837e-007, 0.00108918699, 0.00108917046, -3.99902237e-005, -0.999985218))
  612. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.400000036, 0.440000027, 2.5))
  613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.80000019, 0.240000024))
  614. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996136665, -2.50016022, -0.00128936768, 1.00000763, -2.69230327e-008, 0.00116579793, 8.07831952e-008, 0.999989271, -4.60829178e-005, -0.0011657594, 4.51905071e-005, 0.999971926))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.800000012))
  616. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339031219, -1.00017548, -0.0012512207, 0.999999523, -2.84964017e-008, 0.00112658145, 8.04200795e-008, 0.999989271, -4.60840165e-005, -0.00112654176, 4.51889646e-005, 0.999963939))
  617. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000262, 2.80000019, 0.220000014))
  619. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996589661, -2.50015831, -0.00131988525, 1.00000072, -2.99469889e-008, 0.00109194557, 8.03250373e-008, 0.999989271, -4.60841256e-005, -0.00109190459, 4.51893393e-005, 0.999965131))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000021, 0.200000003, 0.400000036))
  621. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100340962, -1.00016212, -0.0012512207, 0.999999523, -2.74498575e-008, 0.00115119293, 8.06901994e-008, 0.999989271, -4.62624594e-005, -0.00115115405, 4.53673929e-005, 0.99996388))
  622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.220000014, 1.20000005))
  623. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0996358395, 0.00131225586, 3.9001503, -1.0000093, 5.18394791e-006, -0.00112979568, 0.00112975598, -3.9619059e-005, -0.999973714, -5.230032e-006, -0.999989271, 4.05055071e-005))
  624. mesh("CylinderMesh",Part,"","",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.240000024, 0.400000095))
  626. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0997056961, 0.000782012939, 3.89823914, -0.999999523, 5.1841339e-006, -0.00104994467, 0.00104992767, -3.77789547e-006, -0.999985278, -5.1885263e-006, -0.999995708, 4.13091766e-006))
  627. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000274, 1.80000007, 0.220000014))
  629. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400346875, -2.00016785, -0.0013961792, 1.00000453, -2.93714493e-008, 0.00110425532, 8.03784133e-008, 0.999989271, -4.60836527e-005, -0.00110421469, 4.51898959e-005, 0.999968946))
  630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.220000014, 0.599999964, 0.400000036))
  631. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00121307373, -3.20014572, 0.400348663, 0.000950718299, -4.04520761e-005, -0.999968886, -5.49733295e-006, 0.999989271, -4.1351148e-005, 1.00000453, 5.53682366e-006, 0.00095076405))
  632. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.40000021, 0.219999999, 0.340000033))
  634. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10036993, -1.00017548, -0.00131988525, 0.999999404, -2.29883881e-008, 0.00126199343, 8.10301231e-008, 0.999989271, -4.60837182e-005, -0.0012619585, 4.51886444e-005, 0.99996376))
  635.  
  636. function attackone()
  637. attack = true
  638. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end)
  639. for i = 0,1,0.1 do
  640. swait()
  641. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  642. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(80)),.3)
  643. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
  644. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-30)), 0.3)
  645. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  646. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  647. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  648. end
  649. so("rbxassetid://199145887",Hitbox,1,1)
  650. for i = 0,1,0.1 do
  651. swait()
  652. local blcf = Hitbox.CFrame*cf(0,0,0)
  653. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  654. local h = 5
  655. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  656. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  657. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  658. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  659. scfr = blcf
  660. elseif not scfr then
  661. scfr = blcf
  662. end
  663. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  664. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  665. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
  666. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  667. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  668. 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)),.3)
  669. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(100)),.3)
  670. end
  671. attack = false
  672. con:disconnect()
  673. scfr = nil
  674. end
  675.  
  676. function attacktwo()
  677. attack = true
  678. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end)
  679. for i = 0,1,0.1 do
  680. swait()
  681. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  682. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-2),math.rad(-50)),.3)
  683. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  684. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
  685. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  686. 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)),.3)
  687. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(20)),.3)
  688. end
  689. so("rbxassetid://199145913",Hitbox,1,1)
  690. for i = 0,1,0.1 do
  691. swait()
  692. local blcf = Hitbox.CFrame*cf(0,0,0)
  693. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  694. local h = 5
  695. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  696. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  697. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  698. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  699. scfr = blcf
  700. elseif not scfr then
  701. scfr = blcf
  702. end
  703. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  704. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(60)),.3)
  705. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, .3) * angles(math.rad(0), math.rad(-10), math.rad(70)), 0.3)
  706. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  707. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  708. LH.C0=clerp(LH.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)),.3)
  709. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(60)),.3)
  710. end
  711. attack = false
  712. con:disconnect()
  713. scfr = nil
  714. end
  715.  
  716. function attackthree()
  717. attack = true
  718. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end)
  719. so("http://roblox.com/asset/?id=153092348",Torso,1,.8)
  720. for i = 0,1,0.1 do
  721. swait()
  722. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  723. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(-80)),.3)
  724. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(130), math.rad(80)), 0.3)
  725. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(-20)), 0.3)
  726. 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)
  727. 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)
  728. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  729. Torso.Velocity=Head.CFrame.lookVector*100
  730. end
  731. so("http://roblox.com/asset/?id=199145327",Torso,1,.9)
  732. for i = 0,1,0.1 do
  733. swait()
  734. local blcf = Hitbox.CFrame*cf(0,0,0)
  735. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  736. local h = 5
  737. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  738. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  739. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  740. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  741. scfr = blcf
  742. elseif not scfr then
  743. scfr = blcf
  744. end
  745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),-7*i),.3)
  746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  747. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.3) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-40)), 0.3)
  749. 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)
  750. 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)
  751. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  752. end
  753. attack = false
  754. con:disconnect()
  755. scfr = nil
  756. end
  757.  
  758. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  759. for _,c in pairs(workspace:children()) do
  760. local hum=c:findFirstChild("Humanoid")
  761. if hum~=nil then
  762. local head=c:findFirstChild("Torso")
  763. if head~=nil then
  764. local targ=head.Position-Part.Position
  765. local mag=targ.magnitude
  766. if mag<=magni and c.Name~=Player.Name then
  767. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  768. end
  769. end
  770. end
  771. end
  772. end
  773.  
  774. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  775. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  776. prt.Anchored=true
  777. prt.CFrame=cframe
  778. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  779. game:GetService("Debris"):AddItem(prt,5)
  780. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  781. end
  782.  
  783. function attackfour()
  784. attack = true
  785. Humanoid.WalkSpeed = 0
  786. for i = 0,1,0.1 do
  787. swait()
  788. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  789. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  790. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  791. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  792. 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)
  793. LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  794. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  795. end
  796. MagniDamage(Hitbox,LeftLeg,20,30,50,math.random(30,40),"Knockdown",true)
  797. so("http://roblox.com/asset/?id=199145264",LeftLeg,1,1.1)
  798. so("http://roblox.com/asset/?id=200632561",LeftLeg,1,1)
  799. MagicWave(BrickColor.new("New Yeller"),cf(LeftLeg.Position),.7,.7,.7,.7,.7,.7,.05)
  800. MagicWave(BrickColor.new("Really black"),cf(LeftLeg.Position),.6,.6,.6,.6,.6,.6,.05)
  801. for i = 0,1,0.1 do
  802. swait()
  803. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  804. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  805. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  806. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  807. 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)),.3)
  808. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  809. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-10)),.3)
  810. end
  811. attack = false
  812. Humanoid.WalkSpeed = 16
  813. end
  814.  
  815. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  816. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  817. prt.Anchored=true
  818. prt.CFrame=cframe
  819. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  820. game:GetService("Debris"):AddItem(prt,2)
  821. coroutine.resume(coroutine.create(function(Part,Mesh)
  822. for i=0,1,delay do
  823. wait()
  824. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  825. Part.Transparency=i
  826. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  827. end
  828. Part.Parent=nil
  829. end),prt,msh)
  830. end
  831.  
  832. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  833. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  834. prt.Anchored=true
  835. prt.CFrame=cframe
  836. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  837. game:GetService("Debris"):AddItem(prt,2)
  838. coroutine.resume(coroutine.create(function(Part,Mesh)
  839. local wld=nil
  840. for i=0,1,delay do
  841. wait()
  842. Part.CFrame=Part.CFrame
  843. Part.Transparency=i
  844. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  845. end
  846. Part.Parent=nil
  847. end),prt,msh)
  848. end
  849.  
  850. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  851. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  852. prt.Anchored=true
  853. prt.CFrame=cframe
  854. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  855. game:GetService("Debris"):AddItem(prt,5)
  856. coroutine.resume(coroutine.create(function(Part,Mesh)
  857. for i=0,1,delay do
  858. wait()
  859. Part.CFrame=Part.CFrame
  860. Part.Transparency=i
  861. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  862. end
  863. Part.Parent=nil
  864. end),prt,msh)
  865. end
  866.  
  867. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  868. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  869. prt.Anchored=true
  870. prt.CFrame=cframe
  871. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  872. game:GetService("Debris"):AddItem(prt,5)
  873. coroutine.resume(coroutine.create(function(Part,Mesh)
  874. for i=0,1,delay do
  875. wait()
  876. Part.CFrame=Part.CFrame
  877. Part.Transparency=i
  878. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  879. end
  880. Part.Parent=nil
  881. end),prt,msh)
  882. end
  883.  
  884. local n = 0
  885.  
  886. function Blast()
  887. n=2
  888. attack = true
  889. for i=0,1,0.1 do
  890. swait()
  891. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  892. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3)
  893. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  894. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  895. 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)
  896. 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)),.3)
  897. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  898. end
  899. so("http://roblox.com/asset/?id=160772554",Torso,1,0.6)
  900. so("http://roblox.com/asset/?id=161006069",Torso,1,0.6)
  901. local charging=true
  902. for _,c in pairs(workspace:children()) do
  903. if c.className=="Model" then
  904. if c:findFirstChild("Torso")~=nil and c:findFirstChild("Humanoid")~=nil and c.Name~="Vanta" then
  905. print(c)
  906. local Tors=c:findFirstChild("Torso")
  907. coroutine.resume(coroutine.create(function(Part)
  908. local ef=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("Really black"),"Laser",vt(0.2,0.2,0.2))
  909. ef.Anchored=true
  910. local emsh=mesh("SpecialMesh",ef,"Head","",vt(0,0,0),vt(1,1,1))
  911. game:GetService("Debris"):AddItem(ef,5)
  912. while charging==true do
  913. wait()
  914. local TheHit=Part.Position
  915. local MouseLook=cf((LeftArm.Position+TheHit)/2,TheHit)
  916. local hit,pos = rayCast(LeftArm.Position,MouseLook.lookVector,999,Character)
  917. local mag=(LeftArm.Position-pos).magnitude
  918. ef.CFrame=CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0)
  919. emsh.Scale=vt(1,mag*5,1)
  920. end
  921. ef.Parent=nil
  922. local TheHit=Part.Position
  923. local MouseLook=cf((Torso.Position+TheHit)/2,TheHit)
  924. wait()
  925. local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character)
  926. local mag=(Torso.Position-pos).magnitude
  927. if hit~=nil then
  928. Damagefunc(hit,hit,20,40,50,"Knockdown",RootPart,0)
  929. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,6,6,6,0.02)
  930. MagicBlock(BrickColor.new("Really black"),cf(pos),5,5,5,7,7,7,0.02)
  931. MagicCylinder(BrickColor.new("Really black"),CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0),5,mag*5,5,0.5,0,0.5,0.01)
  932. so("http://roblox.com/asset/?id=183763515",hit,1,1)
  933. so("http://roblox.com/asset/?id=183763512",hit,1,1)
  934. end
  935. end),Tors)
  936. end
  937. end
  938. end
  939. wait(1)
  940. n=2
  941. --[[for i=0,1,0.2 do
  942. wait()
  943. Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0)
  944. RW.C0=cf(1+0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.4+0.17*i*n,0,-1.2+2.77*i*n)
  945. LW.C0=cf(-1-0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.6-0.03*i*n,0,1.4-2.97*i*n)
  946. n=n-0.2
  947. end]]--
  948. charging=false
  949. wait(1)
  950. n=2
  951. --[[for i=0,1,0.1 do
  952. wait()
  953. Neck.C0=cf(0,1,0)*euler(-0.2,0,0)
  954. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i*n,0,1.57-1.37*i*n)
  955. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i*n,0,-1.57+1.37*i*n)
  956. n=n-0.1
  957. end]]--
  958. attack = false
  959. end
  960.  
  961. function PlaySound(id, pitch, parent, volume)
  962. if volume == nil then volume=tonumber(1) end
  963. local epicsound = Instance.new("Sound")
  964. epicsound.Name = "Epicosound"
  965. epicsound.SoundId = "rbxassetid://"..id
  966. epicsound.Volume = volume
  967. epicsound.Pitch = pitch
  968. epicsound.Looped = false
  969. epicsound.Parent = parent
  970. wait()
  971. epicsound:Play()
  972. game:service'Debris':AddItem(epicsound, 8)
  973. end
  974.  
  975. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  976.  
  977. Shot = function(part)
  978. local shot=math.random(1, #Shots)
  979. PlaySound(Shots[shot], 1, part)
  980. end
  981.  
  982. function CelestialStorm()
  983. local n=2
  984. attack = true
  985. for i=0,1,0.1 do
  986. swait()
  987. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  988. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  990. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3)
  991. 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)
  992. 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)
  993. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  994. end
  995. for i=1,math.random(5,10) do
  996. wait(.05)
  997. MagicBlock(BrickColor.new("New Yeller"),LeftArm.CFrame*cf(0,-1,0),5,5,5,2,2,2,0.1)
  998. local orb=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("New Yeller"),"Orb",vt())
  999. orb.Anchored=true
  1000. Shot(orb)
  1001. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  1002. orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10)))
  1003. MagicCircle(BrickColor.new("New Yeller"),orb.CFrame,10,10,10,1,1,1,0.1)
  1004. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1005. wait(1)
  1006. Part.Parent=nil
  1007. local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100
  1008. local TheHit=Part.Position+vt(0,-1,0)
  1009. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  1010. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  1011. local mag=(Part.Position-pos).magnitude
  1012. MagicCylinder(BrickColor.new("New Yeller"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
  1013. MagicBlock(BrickColor.new("New Yeller"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  1014. MagicBlock(BrickColor.new("New Yeller"),cf(pos),15,15,15,6,6,6,0.1)
  1015. MagicRing(BrickColor.new("New Yeller"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
  1016. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Effect",vt())
  1017. ref.CFrame=cf(pos)
  1018. so("http://roblox.com/asset/?id=231917788",ref,1,1.4)
  1019. coroutine.resume(coroutine.create(function(Part)
  1020. wait(1)
  1021. Part.Parent=nil
  1022. end),ref)
  1023. MagniDamage(ref,ref,15,5,10,0,"Normal",RootPart)
  1024. if hit~=nil then
  1025. Damagefunc(ref,hit,20,40,1,"Knockdown",RootPart,0)
  1026. end
  1027. end),orb,omsh)
  1028. end
  1029. wait(0.5)
  1030. local n=2
  1031. for i=0,1,0.1 do
  1032. wait()
  1033. --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  1034. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n)
  1035. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1036. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  1037. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  1038. n=n-0.1
  1039. end
  1040. attack = false
  1041. end
  1042.  
  1043.  
  1044.  
  1045. mouse.Button1Down:connect(function()
  1046. if attack == false and attacktype == 1 then
  1047. attacktype = 2
  1048. attackone()
  1049. elseif attack == false and attacktype == 2 then
  1050. attacktype = 3
  1051. attacktwo()
  1052. elseif attack == false and attacktype == 3 then
  1053. attacktype = 4
  1054. attackthree()
  1055. elseif attack == false and attacktype == 4 then
  1056. attacktype = 1
  1057. attackfour()
  1058. end
  1059. end)
  1060.  
  1061. mouse.KeyDown:connect(function(k)
  1062. k=k:lower()
  1063. if attack == false and k == 'q' then
  1064. CelestialStorm()
  1065. elseif attack == false and k == 'e' then
  1066. Blast()
  1067. end
  1068. end)
  1069.  
  1070.  
  1071. local sine = 0
  1072. local change = 1
  1073. local val = 0
  1074. local donum=0
  1075.  
  1076. while true do
  1077. swait()
  1078. sine = sine + change
  1079. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1080. local velderp=RootPart.Velocity.y
  1081. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1082. if equipped==true or equipped==false then
  1083. if attack==false then
  1084. idle=idle+1
  1085. else
  1086. idle=0
  1087. end
  1088. if idle>=500 then
  1089. if attack==false then
  1090. end
  1091. end
  1092. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1093. Anim="Jump"
  1094. if attack==false then
  1095. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1096. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1097. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  1098. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  1099. 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)),.3)
  1100. 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)),.3)
  1101. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1102. end
  1103. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1104. Anim="Fall"
  1105. if attack==false then
  1106. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1107. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1108. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3)
  1109. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3)
  1110. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1111. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1112. end
  1113. elseif torvel<1 and hitfloor~=nil then
  1114. Anim="Idle"
  1115. if attack==false then
  1116. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1117. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3)
  1118. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1119. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-20)), 0.3)
  1120. 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)
  1121. LH.C0=clerp(LH.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)),.3)
  1122. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  1123. end
  1124. elseif torvel>2 and hitfloor~=nil then
  1125. Anim="Walk"
  1126. if attack==false then
  1127. change=3
  1128. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1129. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1130. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3)
  1131. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3)
  1132. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1133. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1134. FakeHandleweld.C0=clerp(FakeHandleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1135. end
  1136. end
  1137. end
  1138. if #Effects>0 then
  1139. for e=1,#Effects do
  1140. if Effects[e]~=nil then
  1141. local Thing=Effects[e]
  1142. if Thing~=nil then
  1143. local Part=Thing[1]
  1144. local Mode=Thing[2]
  1145. local Delay=Thing[3]
  1146. local IncX=Thing[4]
  1147. local IncY=Thing[5]
  1148. local IncZ=Thing[6]
  1149. if Thing[1].Transparency<=1 then
  1150. if Thing[2]=="Block1" then
  1151. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1152. Mesh=Thing[1].Mesh
  1153. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1154. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1155. elseif Thing[2]=="Cylinder" then
  1156. Mesh=Thing[1].Mesh
  1157. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1158. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1159. elseif Thing[2]=="Blood" then
  1160. Mesh=Thing[7]
  1161. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1162. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1163. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1164. elseif Thing[2]=="Elec" then
  1165. Mesh=Thing[1].Mesh
  1166. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1167. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1168. elseif Thing[2]=="Disappear" then
  1169. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1170. end
  1171. else
  1172. Part.Parent=nil
  1173. table.remove(Effects,e)
  1174. end
  1175. end
  1176. end
  1177. end
  1178. end
  1179. end
Add Comment
Please, Sign In to add comment