Advertisement
memberhero

Test

May 4th, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.06 KB | None | 0 0
  1. --[Overseer V3, edit by Strazos]--
  2.  
  3. Player=game:GetService("Players").LocalPlayer
  4. Character=Player.Character
  5. PlayerGui=Player.PlayerGui
  6. Backpack=Player.Backpack
  7. Torso=Character.Torso
  8. Head=Character.Head
  9. Humanoid=Character.Humanoid
  10. m=Instance.new('Model',Character)
  11. LeftArm=Character["Left Arm"]
  12. LeftLeg=Character["Left Leg"]
  13. RightArm=Character["Right Arm"]
  14. RightLeg=Character["Right Leg"]
  15. LS=Torso["Left Shoulder"]
  16. LH=Torso["Left Hip"]
  17. RS=Torso["Right Shoulder"]
  18. RH=Torso["Right Hip"]
  19. Face = Head.face
  20. Neck=Torso.Neck
  21. it=Instance.new
  22. attacktype=1
  23. vt=Vector3.new
  24. cf=CFrame.new
  25. euler=CFrame.fromEulerAnglesXYZ
  26. angles=CFrame.Angles
  27. cloaked=false
  28. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  31. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  32. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  33. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RootPart=Character.HumanoidRootPart
  35. RootJoint=RootPart.RootJoint
  36. RootCF=euler(-1.57,0,3.14)
  37. attack = false
  38. attackdebounce = false
  39. deb=false
  40. equipped=true
  41. hand=false
  42. MMouse=nil
  43. combo=0
  44. mana=0
  45. trispeed=.2
  46. attackmode='none'
  47. local idle=0
  48. local Anim="Idle"
  49. local Effects={}
  50. local gun=false
  51. local shoot=false
  52. player=nil
  53. mana=0
  54.  
  55. mouse=Player:GetMouse()
  56. --save shoulders
  57. RSH, LSH=nil, nil
  58. --welds
  59. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  60. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  61. LH=Torso["Left Hip"]
  62. RH=Torso["Right Hip"]
  63. TorsoColor=Torso.BrickColor
  64. function NoOutline(Part)
  65. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  66. end
  67. player=Player
  68. ch=Character
  69. RSH=ch.Torso["Right Shoulder"]
  70. LSH=ch.Torso["Left Shoulder"]
  71. --
  72. RSH.Parent=nil
  73. LSH.Parent=nil
  74. --
  75. RW.Name="Right Shoulder"
  76. RW.Part0=ch.Torso
  77. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  78. RW.C1=cf(0, 0.5, 0)
  79. RW.Part1=ch["Right Arm"]
  80. RW.Parent=ch.Torso
  81. --
  82. LW.Name="Left Shoulder"
  83. LW.Part0=ch.Torso
  84. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  85. LW.C1=cf(0, 0.5, 0)
  86. LW.Part1=ch["Left Arm"]
  87. LW.Parent=ch.Torso
  88.  
  89. local fengui=it("GuiMain")
  90. fengui.Parent=Player.PlayerGui
  91. fengui.Name="WeaponGUI"
  92. local fenframe=it("Frame")
  93. fenframe.Parent=fengui
  94. fenframe.BackgroundColor3=Color3.new(255,255,255)
  95. fenframe.BackgroundTransparency=1
  96. fenframe.BorderColor3=Color3.new(17,17,17)
  97. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  98. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  99. local fenbarmana1=it("TextLabel")
  100. fenbarmana1.Parent=fenframe
  101. fenbarmana1.Text=" "
  102. fenbarmana1.BackgroundTransparency=0
  103. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  104. fenbarmana1.SizeConstraint="RelativeXY"
  105. fenbarmana1.TextXAlignment="Center"
  106. fenbarmana1.TextYAlignment="Center"
  107. fenbarmana1.Position=UDim2.new(0,0,0,0)
  108. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  109. local fenbarmana2=it("TextLabel")
  110. fenbarmana2.Parent=fenframe
  111. fenbarmana2.Text=" "
  112. fenbarmana2.BackgroundTransparency=0
  113. fenbarmana2.BackgroundColor3=Torso.Color
  114. fenbarmana2.SizeConstraint="RelativeXY"
  115. fenbarmana2.TextXAlignment="Center"
  116. fenbarmana2.TextYAlignment="Center"
  117. fenbarmana2.Position=UDim2.new(0,0,0,0)
  118. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  119. local fenbarmana3=it("TextLabel")
  120. fenbarmana3.Parent=fenframe
  121. fenbarmana3.Text=" "
  122. fenbarmana3.BackgroundTransparency=0
  123. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  124. fenbarmana3.SizeConstraint="RelativeXY"
  125. fenbarmana3.TextXAlignment="Center"
  126. fenbarmana3.TextYAlignment="Center"
  127. fenbarmana3.Position=UDim2.new(0,0,0,0)
  128. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  129. local fenbarmana4=it("TextLabel")
  130. fenbarmana4.Parent=fenframe
  131. fenbarmana4.Text="Loading interface"
  132. fenbarmana4.BackgroundTransparency=1
  133. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  134. fenbarmana4.SizeConstraint="RelativeXY"
  135. fenbarmana4.TextXAlignment="Center"
  136. fenbarmana4.TextYAlignment="Center"
  137. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  138. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  139. fenbarmana4.FontSize="Size9"
  140. fenbarmana4.TextStrokeTransparency=0
  141. fenbarmana4.TextColor=BrickColor.new("White")
  142.  
  143. Player=game:GetService('Players').LocalPlayer
  144. Character=Player.Character
  145. Mouse=Player:GetMouse()
  146. m=Instance.new('Model',Character)
  147.  
  148.  
  149. local function weldBetween(a, b)
  150. local weldd = Instance.new("ManualWeld")
  151. weldd.Part0 = a
  152. weldd.Part1 = b
  153. weldd.C0 = CFrame.new()
  154. weldd.C1 = b.CFrame:inverse() * a.CFrame
  155. weldd.Parent = a
  156. return weldd
  157. end
  158.  
  159. function swait(num)
  160. if num==0 or num==nil then
  161. game:service'RunService'.Stepped:wait(0)
  162. else
  163. for i=0,num do
  164. game:service'RunService'.Stepped:wait(0)
  165. end
  166. end
  167. end
  168.  
  169. function nooutline(part)
  170. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  171. end
  172.  
  173. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  174. local fp=it("Part")
  175. fp.formFactor=formfactor
  176. fp.Parent=parent
  177. fp.Reflectance=reflectance
  178. fp.Transparency=transparency
  179. fp.CanCollide=false
  180. fp.Locked=true
  181. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  182. fp.Name=name
  183. fp.Size=size
  184. fp.Position=Character.Torso.Position
  185. nooutline(fp)
  186. fp.Material=material
  187. fp:BreakJoints()
  188. return fp
  189. end
  190.  
  191. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  192. local mesh=it(Mesh)
  193. mesh.Parent=part
  194. if Mesh=="SpecialMesh" then
  195. mesh.MeshType=meshtype
  196. mesh.MeshId=meshid
  197. end
  198. mesh.Offset=offset
  199. mesh.Scale=scale
  200. return mesh
  201. end
  202.  
  203. function weld(parent,part0,part1,c0,c1)
  204. local weld=it("Weld")
  205. weld.Parent=parent
  206. weld.Part0=part0
  207. weld.Part1=part1
  208. weld.C0=c0
  209. weld.C1=c1
  210. return weld
  211. end
  212.  
  213.  
  214. local function CFrameFromTopBack(at, top, back)
  215. local right = top:Cross(back)
  216. return CFrame.new(at.x, at.y, at.z,
  217. right.x, top.x, back.x,
  218. right.y, top.y, back.y,
  219. right.z, top.z, back.z)
  220. end
  221.  
  222. function Triangle(a, b, c)
  223. local edg1 = (c-a):Dot((b-a).unit)
  224. local edg2 = (a-b):Dot((c-b).unit)
  225. local edg3 = (b-c):Dot((a-c).unit)
  226. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  227. a, b, c = a, b, c
  228. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  229. a, b, c = b, c, a
  230. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  231. a, b, c = c, a, b
  232. else
  233. assert(false, "unreachable")
  234. end
  235.  
  236. local len1 = (c-a):Dot((b-a).unit)
  237. local len2 = (b-a).magnitude - len1
  238. local width = (a + (b-a).unit*len1 - c).magnitude
  239.  
  240. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  241.  
  242. local list = {}
  243.  
  244. if len1 > 0.01 then
  245. local w1 = Instance.new('WedgePart', m)
  246. game:GetService("Debris"):AddItem(w1,5)
  247. w1.Material = "SmoothPlastic"
  248. w1.FormFactor = 'Custom'
  249. w1.BrickColor = TorsoColor
  250. w1.Transparency = 0
  251. w1.Reflectance = 0
  252. w1.Material = "SmoothPlastic"
  253. w1.CanCollide = false
  254. NoOutline(w1)
  255. local sz = Vector3.new(0.2, width, len1)
  256. w1.Size = sz
  257. local sp = Instance.new("SpecialMesh",w1)
  258. sp.MeshType = "Wedge"
  259. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  260. w1:BreakJoints()
  261. w1.Anchored = true
  262. w1.Parent = workspace
  263. w1.Transparency = 0.7
  264. table.insert(Effects,{w1,"Disappear",.01})
  265. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  266. table.insert(list,w1)
  267. end
  268.  
  269. if len2 > 0.01 then
  270. local w2 = Instance.new('WedgePart', m)
  271. game:GetService("Debris"):AddItem(w2,5)
  272. w2.Material = "SmoothPlastic"
  273. w2.FormFactor = 'Custom'
  274. w2.BrickColor = TorsoColor
  275. w2.Transparency = 0
  276. w2.Reflectance = 0
  277. w2.Material = "SmoothPlastic"
  278. w2.CanCollide = false
  279. NoOutline(w2)
  280. local sz = Vector3.new(0.2, width, len2)
  281. w2.Size = sz
  282. local sp = Instance.new("SpecialMesh",w2)
  283. sp.MeshType = "Wedge"
  284. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  285. w2:BreakJoints()
  286. w2.Anchored = true
  287. w2.Parent = workspace
  288. w2.Transparency = 0.7
  289. table.insert(Effects,{w2,"Disappear",.01})
  290. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  291. table.insert(list,w2)
  292. end
  293. return unpack(list)
  294. end
  295.  
  296.  
  297. so = function(id,par,vol,pit)
  298. coroutine.resume(coroutine.create(function()
  299. local sou = Instance.new("Sound",par or workspace)
  300. sou.Volume=vol
  301. sou.Pitch=pit or 1
  302. sou.SoundId=id
  303. swait()
  304. sou:play()
  305. game:GetService("Debris"):AddItem(sou,6)
  306. end))
  307. end
  308.  
  309. function clerp(a,b,t)
  310. local qa = {QuaternionFromCFrame(a)}
  311. local qb = {QuaternionFromCFrame(b)}
  312. local ax, ay, az = a.x, a.y, a.z
  313. local bx, by, bz = b.x, b.y, b.z
  314. local _t = 1-t
  315. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  316. end
  317.  
  318. function QuaternionFromCFrame(cf)
  319. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  320. local trace = m00 + m11 + m22
  321. if trace > 0 then
  322. local s = math.sqrt(1 + trace)
  323. local recip = 0.5/s
  324. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  325. else
  326. local i = 0
  327. if m11 > m00 then
  328. i = 1
  329. end
  330. if m22 > (i == 0 and m00 or m11) then
  331. i = 2
  332. end
  333. if i == 0 then
  334. local s = math.sqrt(m00-m11-m22+1)
  335. local recip = 0.5/s
  336. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  337. elseif i == 1 then
  338. local s = math.sqrt(m11-m22-m00+1)
  339. local recip = 0.5/s
  340. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  341. elseif i == 2 then
  342. local s = math.sqrt(m22-m00-m11+1)
  343. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  344. end
  345. end
  346. end
  347.  
  348. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  349. local xs, ys, zs = x + x, y + y, z + z
  350. local wx, wy, wz = w*xs, w*ys, w*zs
  351. local xx = x*xs
  352. local xy = x*ys
  353. local xz = x*zs
  354. local yy = y*ys
  355. local yz = y*zs
  356. local zz = z*zs
  357. 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))
  358. end
  359.  
  360. function QuaternionSlerp(a, b, t)
  361. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  362. local startInterp, finishInterp;
  363. if cosTheta >= 0.0001 then
  364. if (1 - cosTheta) > 0.0001 then
  365. local theta = math.acos(cosTheta)
  366. local invSinTheta = 1/math.sin(theta)
  367. startInterp = math.sin((1-t)*theta)*invSinTheta
  368. finishInterp = math.sin(t*theta)*invSinTheta
  369. else
  370. startInterp = 1-t
  371. finishInterp = t
  372. end
  373. else
  374. if (1+cosTheta) > 0.0001 then
  375. local theta = math.acos(-cosTheta)
  376. local invSinTheta = 1/math.sin(theta)
  377. startInterp = math.sin((t-1)*theta)*invSinTheta
  378. finishInterp = math.sin(t*theta)*invSinTheta
  379. else
  380. startInterp = t-1
  381. finishInterp = t
  382. end
  383. end
  384. 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
  385. end
  386.  
  387. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  388. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  389. end
  390.  
  391. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  392. if hit.Parent==nil then
  393. return
  394. end
  395. h=hit.Parent:FindFirstChild("Humanoid")
  396. for _,v in pairs(hit.Parent:children()) do
  397. if v:IsA("Humanoid") then
  398. h=v
  399. end
  400. end
  401. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  402. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  403. end
  404. if hit.Parent.className=="Hat" then
  405. hit=hit.Parent.Parent:findFirstChild("Head")
  406. end
  407. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  408. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  409. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  410. return
  411. end]]
  412. -- hs(hit,1.2)
  413. c=Instance.new("ObjectValue")
  414. c.Name="creator"
  415. c.Value=game:service("Players").LocalPlayer
  416. c.Parent=h
  417. game:GetService("Debris"):AddItem(c,.5)
  418. Damage=math.random(minim,maxim)
  419. -- h:TakeDamage(Damage)
  420. blocked=false
  421. block=hit.Parent:findFirstChild("Block")
  422. if block~=nil then
  423. print(block.className)
  424. if block.className=="NumberValue" then
  425. if block.Value>0 then
  426. blocked=true
  427. if decreaseblock==nil then
  428. block.Value=block.Value-1
  429. end
  430. end
  431. end
  432. if block.className=="IntValue" then
  433. if block.Value>0 then
  434. blocked=true
  435. if decreaseblock~=nil then
  436. block.Value=block.Value-1
  437. end
  438. end
  439. end
  440. end
  441. if blocked==false then
  442. -- h:TakeDamage(Damage)
  443. h.Health=h.Health-Damage
  444. showDamage(hit.Parent,Damage,.5,TorsoColor)
  445. else
  446. h.Health=h.Health-(Damage/2)
  447. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  448. end
  449. if Type=="Knockdown" then
  450. hum=hit.Parent.Humanoid
  451. hum.PlatformStand=true
  452. coroutine.resume(coroutine.create(function(HHumanoid)
  453. swait(1)
  454. HHumanoid.PlatformStand=false
  455. end),hum)
  456. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  457. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  458. local bodvol=Instance.new("BodyVelocity")
  459. bodvol.velocity=angle*knockback
  460. bodvol.P=5000
  461. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  462. bodvol.Parent=hit
  463. rl=Instance.new("BodyAngularVelocity")
  464. rl.P=3000
  465. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  466. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  467. rl.Parent=hit
  468. game:GetService("Debris"):AddItem(bodvol,.5)
  469. game:GetService("Debris"):AddItem(rl,.5)
  470. elseif Type=="Normal" then
  471. vp=Instance.new("BodyVelocity")
  472. vp.P=500
  473. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  474. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  475. if KnockbackType==1 then
  476. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  477. elseif KnockbackType==2 then
  478. vp.velocity=Property.CFrame.lookVector*knockback
  479. end
  480. if knockback>0 then
  481. vp.Parent=hit.Parent.Torso
  482. end
  483. game:GetService("Debris"):AddItem(vp,.5)
  484. elseif Type=="Up" then
  485. local bodyVelocity=Instance.new("BodyVelocity")
  486. bodyVelocity.velocity=vt(0,60,0)
  487. bodyVelocity.P=5000
  488. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  489. bodyVelocity.Parent=hit
  490. game:GetService("Debris"):AddItem(bodyVelocity,1)
  491. rl=Instance.new("BodyAngularVelocity")
  492. rl.P=3000
  493. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  494. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  495. rl.Parent=hit
  496. game:GetService("Debris"):AddItem(rl,.5)
  497. elseif Type=="Snare" then
  498. bp=Instance.new("BodyPosition")
  499. bp.P=2000
  500. bp.D=100
  501. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  502. bp.position=hit.Parent.Torso.Position
  503. bp.Parent=hit.Parent.Torso
  504. game:GetService("Debris"):AddItem(bp,1)
  505. elseif Type=="Target" then
  506. if Targetting==false then
  507. ZTarget=hit.Parent.Torso
  508. coroutine.resume(coroutine.create(function(Part)
  509. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  510. swait(5)
  511. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  512. end),ZTarget)
  513. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  514. targetgui=Instance.new("BillboardGui")
  515. targetgui.Parent=ZTarget
  516. targetgui.Size=UDim2.new(10,100,10,100)
  517. targ=Instance.new("ImageLabel")
  518. targ.Parent=targetgui
  519. targ.BackgroundTransparency=1
  520. targ.Image="rbxassetid://4834067"
  521. targ.Size=UDim2.new(1,0,1,0)
  522. cam.CameraType="Scriptable"
  523. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  524. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  525. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  526. Targetting=true
  527. RocketTarget=ZTarget
  528. for i=1,Property do
  529. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  530. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  531. swait()
  532. end
  533. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  534. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  535. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  536. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  537. end
  538. Targetting=false
  539. RocketTarget=nil
  540. targetgui.Parent=nil
  541. cam.CameraType="Custom"
  542. end
  543. end
  544. debounce=Instance.new("BoolValue")
  545. debounce.Name="DebounceHit"
  546. debounce.Parent=hit.Parent
  547. debounce.Value=true
  548. game:GetService("Debris"):AddItem(debounce,Delay)
  549. c=Instance.new("ObjectValue")
  550. c.Name="creator"
  551. c.Value=Player
  552. c.Parent=h
  553. game:GetService("Debris"):AddItem(c,.5)
  554. CRIT=false
  555. hitDeb=true
  556. AttackPos=6
  557. end
  558. end
  559.  
  560. showDamage=function(Char,Dealt,du,Color)
  561. m=Instance.new("Model")
  562. m.Name=tostring(Dealt)
  563. h=Instance.new("Humanoid")
  564. h.Health=0
  565. h.MaxHealth=0
  566. h.Parent=m
  567. c=Instance.new("Part")
  568. c.Transparency=0
  569. c.BrickColor=Color
  570. c.Name="Head"
  571. c.TopSurface=0
  572. c.BottomSurface=0
  573. c.formFactor="Plate"
  574. c.Size=Vector3.new(1,.4,1)
  575. ms=Instance.new("CylinderMesh")
  576. ms.Scale=Vector3.new(.8,.8,.8)
  577. if CRIT==true then
  578. ms.Scale=Vector3.new(1,1.25,1)
  579. end
  580. ms.Parent=c
  581. c.Reflectance=0
  582. Instance.new("BodyGyro").Parent=c
  583. c.Parent=m
  584. if Char:findFirstChild("Head")~=nil then
  585. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  586. elseif Char.Parent:findFirstChild("Head")~=nil then
  587. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  588. end
  589. f=Instance.new("BodyPosition")
  590. f.P=2000
  591. f.D=100
  592. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  593. f.position=c.Position+Vector3.new(0,3,0)
  594. f.Parent=c
  595. game:GetService("Debris"):AddItem(m,.5+du)
  596. c.CanCollide=false
  597. m.Parent=workspace
  598. c.CanCollide=false
  599. end
  600.  
  601. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Handle",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  602. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00026011, -0.0521850586, -0.0998001099, -5.62780248e-012, -0.999994159, 8.61053451e-011, 6.25571693e-006, -8.51336709e-011, -0.999999702, 0.999994278, -5.45101074e-012, 6.15144063e-006))
  603. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  604. Pivot=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","PivotPoint",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  605. Pivotweld=weld(m,Pivot,handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  606. mesh("CylinderMesh",Pivot,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  607. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Hitbox",Vector3.new(0.794361949, 5.42814064, 0.228264928))
  608. Hitboxweld=weld(m,Pivot,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000121355057, -3.97163391, 0.000564575195, -0.999988556, -6.44826557e-008, 7.45072555e-008, -6.44840412e-008, 0.999999404, -1.69622808e-006, -7.45068007e-008, -1.90473202e-006, -0.999988556))
  609. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  611. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.00057220459, 2.44920349, 0.999988556, 7.54901697e-012, -4.10401964e-013, 3.94173084e-014, 1.7724592e-006, 0.999988556, 9.50216988e-012, -0.999999404, 1.56395663e-006))
  612. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  614. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 3.89822388, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  615. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  616. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  617. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 2.44197083, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  618. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  620. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 6.10351563e-005, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  621. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.529574633))
  623. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.264739156, -0.992874146, -1.19210654e-007, 1.81748965e-006, 0.999988556, 0.999988556, 2.97863192e-008, 1.19210256e-007, -2.97877225e-008, 0.999999404, -1.60898662e-006))
  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,TorsoColor,"Part",Vector3.new(0.264787287, 0.291266054, 0.228264928))
  626. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.397107601, 7.62939453e-005, 1.12538147, 0.999988556, 2.44770038e-011, 2.39862232e-012, -2.73521852e-012, 4.90159709e-006, 0.999988556, 2.64299485e-011, -0.999999404, 4.69305996e-006))
  627. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.580000103))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  629. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157928467, 4.56016541, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  630. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  631. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  632. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000579833984, -0.198605895, -3.17730713, 7.45035109e-008, 4.83197618e-006, 0.999988556, 0.999988556, -1.29257643e-007, -7.4503248e-008, 1.29253934e-007, 0.999999404, -4.62343996e-006))
  633. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  634. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  635. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, 0.926803589, -7.62939453e-006, 0.999994278, -7.0863454e-012, -3.11010159e-012, 6.11415085e-012, 0.999999702, 1.56474334e-006, 2.9338307e-012, -1.46050888e-006, 0.999994278))
  636. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  638. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.661941528, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  639. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  640. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  641. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, 0.00291454792, 5.42793274, -1.4897843e-008, -5.32471859e-006, -0.999988556, 0.999988556, 1.89769338e-007, -1.48991601e-008, 1.8976931e-007, -0.999999404, 5.11617782e-006))
  642. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.619961977, 0.0788800046, 0.579999983))
  643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  644. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000655412674, -3.30970764, -0.000549316406, 0.999988556, -1.78267123e-011, -1.76189293e-012, 1.58809008e-011, 0.999999404, 1.66868676e-006, 1.41555561e-012, -1.46021921e-006, 0.999988556))
  645. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0927999765, 1, 0.643799961))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  647. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00012254715, 0.397171021, 0.000152587891, 0.999994278, 8.02827874e-011, 4.46345478e-012, -8.12544892e-011, 0.999999702, -5.63018284e-006, -4.6401741e-012, 5.73445595e-006, 0.999994278))
  648. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  650. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00057220459, 0.198636889, 3.17730713, -1.48984096e-008, -4.90732282e-006, -0.999988556, 0.999988556, 1.89766411e-007, -1.4899638e-008, 1.89766382e-007, -0.999999404, 4.69878569e-006))
  651. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.264787316, 4.10420322, 0.228264928))
  653. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -3.30970764, -0.000556945801, 0.999988556, 1.00572398e-011, 5.68523906e-013, -1.20103788e-011, 0.999999404, -5.21206857e-007, -9.05002581e-013, 7.29698513e-007, 0.999988556))
  654. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  656. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000655412674, -3.30970764, -0.000556945801, 0.999988556, -1.55080948e-011, -1.44081687e-012, 1.3569007e-011, 0.999999404, 1.46001821e-006, 1.09498456e-012, -1.25154929e-006, 0.999988556))
  657. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.638000011))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  659. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545456, -4.6335907, 0.000564575195, -0.999988556, -6.44841407e-008, 7.45042641e-008, -6.44856755e-008, 0.999999404, -3.57331942e-006, -7.45036957e-008, -3.78184404e-006, -0.999988556))
  660. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  662. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 3.10389709, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  663. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397180974))
  665. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.397184253, 1.3238678, -8.66994356e-013, 7.2984767e-007, 0.999988556, -0.999988556, 2.97975333e-008, -5.46056039e-013, -2.97952614e-008, -0.999999404, 5.21356014e-007))
  666. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  667. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  668. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -3.50830078, -0.000556945801, 0.999988556, 9.05206465e-013, -2.54105032e-013, -2.85843571e-012, 0.999999404, 3.13056717e-007, -8.23664935e-014, -1.04574156e-007, 0.999988556))
  669. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  671. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0.132415771, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  672. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  673. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  674. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.132369995, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  675. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  677. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545456, -3.50830078, 0.00057220459, -0.999988556, -6.44943157e-008, 7.45042641e-008, -6.44958789e-008, 0.999999404, -3.99032433e-006, -7.45036743e-008, -4.19885328e-006, -0.999988556))
  678. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  680. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.330823541, 1.78723145, 6.10958182e-007, -3.42968951e-006, -0.999988556, 0.999988556, -5.96426233e-008, 6.10958011e-007, -5.96421188e-008, -0.999999404, 3.22116875e-006))
  681. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  683. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000136852264, 0.794342041, 0.000152587891, 0.999994278, 7.73779651e-011, 3.83846947e-012, -7.83496809e-011, 0.999999702, -5.31696378e-006, -4.01514759e-012, 5.42123507e-006, 0.999994278))
  684. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.397180974))
  686. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, 0.00291454792, 5.56033325, -1.4897843e-008, -5.32470767e-006, -0.999988556, 0.999988556, 1.89769338e-007, -1.48991601e-008, 1.8976931e-007, -0.999999404, 5.1161669e-006))
  687. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.608999968, 0.579999983, 1))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  689. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -2.18438721, -0.000564575195, 0.999988556, 3.15054927e-012, -2.55032594e-013, -5.10375076e-012, 0.999999404, 4.17415777e-007, -8.1437671e-014, -2.0893458e-007, 0.999988556))
  690. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  692. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.794265747, 7.62939453e-006, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  693. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397181034))
  695. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 1.12527466, 0.330884576, 1.23933859e-008, -2.48817855e-006, -0.999988556, -8.93814445e-008, -0.999999404, 2.27966848e-006, -0.999988556, 8.93843222e-008, -1.23932553e-008))
  696. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.529574633, 0.926755607))
  698. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000564575195, 1.41859055e-005, 5.82516479, -1.48992925e-008, -4.07267999e-006, -0.999988556, 0.999988556, 1.89761536e-007, -1.49003663e-008, 1.89761494e-007, -0.999999404, 3.86415286e-006))
  699. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.264787316, 0.264787316))
  701. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -1.1252594, 0, 0.999988556, 4.40398412e-012, 5.13825466e-014, -6.34955977e-012, 0.999999404, -1.04301307e-007, -3.97694058e-013, 3.12787961e-007, 0.999988556))
  702. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  703. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000556945801, 0.198605895, 3.17730713, 7.45035109e-008, -6.0443972e-007, 0.999988556, -0.999988556, 1.2527542e-007, 7.45039443e-008, -1.2527218e-007, -0.999999404, -8.12916369e-007))
  704. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  706. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.926681519, 0.264770508, -2.98031857e-008, 1.01280739e-006, 0.999988556, 1.12257634e-011, -0.999999404, 8.04313459e-007, 0.999988556, 9.31174582e-012, 2.98028446e-008))
  707. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  709. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000136852264, 0.661987305, 0.000152587891, 0.999994278, 7.73779651e-011, 3.83846947e-012, -7.83496809e-011, 0.999999702, -5.31696378e-006, -4.01514759e-012, 5.42123507e-006, 0.999994278))
  710. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  712. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.926651001, 0, 0.999988556, -4.84995377e-012, -9.15214844e-013, 2.90560631e-012, 0.999999404, 5.21180482e-007, 5.75119433e-013, -3.12700649e-007, 0.999988556))
  713. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180974, 0.264787316, 0.264787316))
  715. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.19151306, 0.000122666359, 0.000152587891, -7.45914832e-008, 0.999999344, -6.14994906e-006, -0.999993742, 8.93218015e-008, -4.60346039e-010, 1.08532996e-008, 6.21200343e-006, 0.99999392))
  716. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.406448454, 0.415716171, 1.64962482))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  718. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545337, -2.18438721, 0.000579833984, -0.999988556, -6.44912532e-008, 7.45045128e-008, -6.44928022e-008, 0.999999404, -3.78169307e-006, -7.45039372e-008, -3.99021974e-006, -0.999988556))
  719. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,TorsoColor,"Part",Vector3.new(0.794361949, 4.10420322, 0.228264928))
  721. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000121355057, -3.30970764, 0.000564575195, -0.999988556, -6.44826557e-008, 7.45072555e-008, -6.44840412e-008, 0.999999404, -1.69622808e-006, -7.45068007e-008, -1.90473202e-006, -0.999988556))
  722. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.264787316, 0.228264928))
  724. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00012254715, -0.000152587891, -1.19151306, -0.999994278, -8.51336779e-011, -5.45101117e-012, 5.62780248e-012, -6.25571693e-006, -0.999994278, 8.61053451e-011, -0.999999702, 6.15144063e-006))
  725. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0820840672, 0.160196364, 0.293913841))
  726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  727. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000579833984, 0.198638082, -3.83926392, -1.4901973e-008, 5.15458805e-006, 0.999988556, 0.999988556, -1.89712992e-007, 1.49025752e-008, 1.8970907e-007, 0.999999404, -4.94604819e-006))
  728. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  730. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, -0.000465393066, 4.56745911, 0.999988556, 5.46740847e-011, 3.63929373e-012, -3.9153277e-012, 5.73503667e-006, 0.999988556, 5.66128359e-011, -0.999999404, 5.52649362e-006))
  731. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  733. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000556945801, -0.198636889, -3.17730713, 1.49022661e-008, 5.28972123e-007, -0.999988556, -0.999988556, -1.93748591e-007, -1.49020707e-008, -1.93748448e-007, 0.999999404, 7.37449682e-007))
  734. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.264787316))
  736. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -1.19145203, 0, 0.999988556, 4.56099047e-012, 2.15499859e-013, -6.51418502e-012, 0.999999404, -2.08553502e-007, -5.51973723e-013, 4.17041974e-007, 0.999988556))
  737. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  739. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.000564575195, 3.11112976, 0.999988556, 7.08313269e-012, -4.74432505e-013, 1.42207643e-013, 1.56400847e-006, 0.999988556, 9.03584846e-012, -0.999999404, 1.35550772e-006))
  740. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  742. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -4.6335907, -0.000549316406, 0.999988556, 1.10660647e-011, 2.55782618e-013, -1.30191968e-011, 0.999999404, -1.03957063e-007, -5.92255845e-013, 3.12444172e-007, 0.999988556))
  743. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  745. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.397171021, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  746. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  748. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000549316406, 0.198607206, -3.83921814, -7.45035109e-008, 8.51709956e-007, -0.999988556, -0.999988556, -2.54212353e-007, 7.45035749e-008, -2.54211557e-007, 0.999999404, 1.06018433e-006))
  749. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  751. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.198409438, 1.78721619, -5.51345352e-007, 8.14446503e-006, 0.999988556, -0.999988556, -5.97869629e-008, -5.51344556e-007, 5.97837868e-008, -0.999999404, 7.93589334e-006))
  752. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,TorsoColor,"Part",Vector3.new(0.228264928, 0.794361949, 1.32393658))
  754. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00057220459, 5.85317612e-005, 6.02371216, -1.48981627e-008, -4.80272593e-006, -0.999988556, 0.999988556, 1.89769253e-007, -1.48993715e-008, 1.89769224e-007, -0.999999404, 4.59419061e-006))
  755. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0951199755, 1, 1))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  757. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.000564575195, 3.9054718, 0.999988556, 8.04947081e-012, -3.74962919e-013, 4.27410792e-014, 1.45970671e-006, 0.999988556, 1.00015135e-011, -0.999999404, 1.25120732e-006))
  758. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  759. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.27802667, 0.264787316))
  760. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.397167683, 7.62939453e-006, 1.1252594, 0.999988556, 1.21773217e-011, 9.9635133e-013, -1.33575789e-012, 2.08566325e-006, 0.999988556, 1.41199344e-011, -0.999999404, 1.8771575e-006))
  761. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  762. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  763. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000549316406, -0.198638082, 3.83926392, 1.48984016e-008, -4.93167136e-007, 0.999988556, -0.999988556, 1.93695911e-007, 1.48988741e-008, -1.93691861e-007, -0.999999404, -7.01645149e-007))
  764. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  765. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  766. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000579833984, -0.198607206, 3.83921814, -7.45035109e-008, -4.79617029e-006, -0.999988556, 0.999988556, 2.58195314e-007, -7.45050315e-008, 2.58194859e-007, -0.999999404, 4.58763498e-006))
  767. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787. ---------------------------------------------------- Gauntlet
  788.  
  789.  
  790.  
  791. local p = game.Players.LocalPlayer
  792. local char = p.Character
  793.  
  794. m=Instance.new('Model',char)
  795.  
  796.  
  797. local function weldBetween(a, b)
  798. local weldd = Instance.new("ManualWeld")
  799. weldd.Part0 = a
  800. weldd.Part1 = b
  801. weldd.C0 = CFrame.new()
  802. weldd.C1 = b.CFrame:inverse() * a.CFrame
  803. weldd.Parent = a
  804. return weldd
  805. end
  806.  
  807. it=Instance.new
  808.  
  809. function nooutline(part)
  810. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  811. end
  812.  
  813. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  814. local fp=it("Part")
  815. fp.formFactor=formfactor
  816. fp.Parent=parent
  817. fp.Reflectance=reflectance
  818. fp.Transparency=transparency
  819. fp.CanCollide=false
  820. fp.Locked=true
  821. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  822. fp.Name=name
  823. fp.Size=size
  824. fp.Position=char.Torso.Position
  825. nooutline(fp)
  826. fp.Material=material
  827. fp:BreakJoints()
  828. return fp
  829. end
  830.  
  831. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  832. local mesh=it(Mesh)
  833. mesh.Parent=part
  834. if Mesh=="SpecialMesh" then
  835. mesh.MeshType=meshtype
  836. mesh.MeshId=meshid
  837. end
  838. mesh.Offset=offset
  839. mesh.Scale=scale
  840. return mesh
  841. end
  842.  
  843. function weld(parent,part0,part1,c0,c1)
  844. local weld=it("Weld")
  845. weld.Parent=parent
  846. weld.Part0=part0
  847. weld.Part1=part1
  848. weld.C0=c0
  849. weld.C1=c1
  850. return weld
  851. end
  852.  
  853. MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Royal purple","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  854. MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
  855. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  856. TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  857. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  858. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  859. MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
  860. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  861. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  862. MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  863. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  864. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  865. MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  866. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  867. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  868. MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  869. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  870. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  871. MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  872. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  873. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  874. MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  875. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  876. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  877. MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  878. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  879. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  880. MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
  881. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  882. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  883. MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  884. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  885. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  886. MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  887. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  888. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  889. MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  890. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  891. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  892. MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  893. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  894. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  895. MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  896. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  897. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  898. MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  899. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  900. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  901. MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  902. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  903. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  904. MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  905. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  906. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  907. MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  908. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  909. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  910. MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  911. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  912. TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  913. TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594))
  914. mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
  915. TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  916. TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277))
  917. mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  918. TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  919. TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
  920. mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  921. TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  922. TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
  923. mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  924. TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  925. TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  926. mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  927. TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  928. TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  929. mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  930. MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  931. MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847))
  932. mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
  933.  
  934. --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  935. TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367))
  936. mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
  937.  
  938.  
  939. local edit = function(name,mat,col)
  940. name.Material = mat
  941. name.BrickColor = BrickColor.new(col)
  942. end
  943.  
  944. local dark = function()
  945. edit(TR1,"SmoothPlastic","Light stone grey")
  946. edit(TR2,"SmoothPlastic","Light stone grey")
  947. edit(TR3,"SmoothPlastic","Light stone grey")
  948. edit(TR4,"SmoothPlastic","Light stone grey")
  949. edit(TR5,"SmoothPlastic","Light stone grey")
  950. edit(TR6,"SmoothPlastic","Light stone grey")
  951. edit(TR7,"SmoothPlastic","Light stone grey")
  952. edit(MN,"SmoothPlastic","Light stone grey")
  953. --
  954.  
  955.  
  956. end
  957. local light = function()
  958. edit(TR1,"Neon","Cyan")
  959. edit(TR2,"Neon","Cyan")
  960. edit(TR3,"Neon","Cyan")
  961. edit(TR4,"Neon","Cyan")
  962. edit(TR5,"Neon","Cyan")
  963. edit(TR6,"Neon","Cyan")
  964. edit(TR7,"Neon","Cyan")
  965. edit(MN,"Neon","Cyan")
  966. --
  967.  
  968. end
  969.  
  970.  
  971. dark()
  972.  
  973. --Messy
  974.  
  975. ----------------------------------------------------
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004. function atktype(s, e)
  1005. coroutine.resume(coroutine.create(function()
  1006. attacktype = e
  1007. swait(80)
  1008. attacktype = s
  1009. end))
  1010. end
  1011.  
  1012. function attackone()
  1013. attack=true
  1014. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1015. for i=0,1,0.08 do
  1016. swait()
  1017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1019. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1020. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1021. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1022. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1023. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1024. end
  1025. so("http://roblox.com/asset/?id=199146359",Hitbox,1,1)
  1026. for i=0,1,0.06 do
  1027. swait()
  1028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1030. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1031. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1032. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1033. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1034. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1035. end
  1036. attack=false
  1037. atktype(1, 2)
  1038. con1:disconnect()
  1039. end
  1040.  
  1041. function attacktwo()
  1042. attack=true
  1043. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1044. for i=0,1,0.5 do
  1045. swait()
  1046. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1048. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1049. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1050. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1051. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1052. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1053. end
  1054. for i=0,1,0.08 do
  1055. swait()
  1056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1057. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1058. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1059. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1060. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1061. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1062. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1063. end
  1064. so("http://roblox.com/asset/?id=199150686",Hitbox,1,1)
  1065. for i=0,1,0.06 do
  1066. swait()
  1067. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1068. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1069. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1070. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1071. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1072. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1073. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1074. end
  1075. attack=false
  1076. atktype(1, 3)
  1077. con1:disconnect()
  1078. end
  1079.  
  1080. function attackthree()
  1081. attack=true
  1082. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1083. for i=0,1,0.08 do
  1084. swait()
  1085. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1086. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(30)),.3)
  1087. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(15),math.rad(60)),.3)
  1088. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.25)*angles(math.rad(75),math.rad(0),math.rad(20)),.3)
  1089. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1090. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1091. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1092. end
  1093. so("http://roblox.com/asset/?id=199150686",Hitbox,1,0.9)
  1094. for i=0,1,0.06 do
  1095. swait()
  1096. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1097. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-30)),.3)
  1098. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(45),math.rad(-45),math.rad(-30)),.3)
  1099. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1100. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1101. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1102. handleweld.C0=clerp(handleweld.C0,cf(0,0,-0.5)*angles(math.rad(-75),math.rad(0),math.rad(0)),.3)
  1103. end
  1104. attack=false
  1105. atktype(1, 4)
  1106. con1:disconnect()
  1107. end
  1108.  
  1109. function attackfour()
  1110. attack=true
  1111. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1112. for i=0,1,0.08 do
  1113. swait()
  1114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1115. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1116. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1117. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1118. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1119. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1120. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1121. end
  1122. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.9)
  1123. for i=0,1,0.06 do
  1124. swait()
  1125. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30-360*i)),.3)
  1126. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1127. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1128. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1129. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1130. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1131. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1132. end
  1133. attack=false
  1134. atktype(1, 1)
  1135. con1:disconnect()
  1136. end
  1137.  
  1138. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1139. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1140. prt.Anchored=true
  1141. prt.CFrame=cframe
  1142. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1143. game:GetService("Debris"):AddItem(prt,2)
  1144. coroutine.resume(coroutine.create(function(Part,Mesh)
  1145. for i=0,1,delay do
  1146. wait()
  1147. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1148. Part.Transparency=i
  1149. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1150. end
  1151. Part.Parent=nil
  1152. end),prt,msh)
  1153. end
  1154.  
  1155. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1156. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1157. prt.Anchored=true
  1158. prt.CFrame=cframe
  1159. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1160. game:GetService("Debris"):AddItem(prt,2)
  1161. coroutine.resume(coroutine.create(function(Part,Mesh)
  1162. local wld=nil
  1163. for i=0,1,delay do
  1164. wait()
  1165. Part.CFrame=Part.CFrame
  1166. Part.Transparency=i
  1167. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1168. end
  1169. Part.Parent=nil
  1170. end),prt,msh)
  1171. end
  1172.  
  1173. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1174. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1175. prt.Anchored=true
  1176. prt.CFrame=cframe
  1177. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1178. game:GetService("Debris"):AddItem(prt,5)
  1179. coroutine.resume(coroutine.create(function(Part,Mesh)
  1180. for i=0,1,delay do
  1181. wait()
  1182. Part.CFrame=Part.CFrame
  1183. Part.Transparency=i
  1184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1185. end
  1186. Part.Parent=nil
  1187. end),prt,msh)
  1188. end
  1189.  
  1190. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1191. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1192. prt.Anchored=true
  1193. prt.CFrame=cframe
  1194. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1195. game:GetService("Debris"):AddItem(prt,5)
  1196. coroutine.resume(coroutine.create(function(Part,Mesh)
  1197. for i=0,1,delay do
  1198. wait()
  1199. Part.CFrame=Part.CFrame
  1200. Part.Transparency=i
  1201. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1202. end
  1203. Part.Parent=nil
  1204. end),prt,msh)
  1205. end
  1206.  
  1207. function Twirl()
  1208. mana=mana-50
  1209. attack=true
  1210. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1211. for i=0,1,0.2 do
  1212. swait()
  1213. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1214. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1215. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1216. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1217. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1218. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1219. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1220. end
  1221. for i=0,1,0.2 do
  1222. so("http://roblox.com/asset/?id=199146359",Torso,1,1.2)
  1223. swait()
  1224. for i=0,1,0.05 do
  1225. swait()
  1226. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0-720*i)),.3)
  1227. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1228. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1229. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1230. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1231. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1232. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1233. end
  1234. end
  1235. attack=false
  1236. con1:disconnect()
  1237. end
  1238.  
  1239. function Spin()
  1240. mana=mana-30
  1241. attack=true
  1242. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1243. so("http://roblox.com/asset/?id=199145327",Torso,1,1)
  1244. for i=0,1,0.075 do
  1245. swait()
  1246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.1)
  1247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.1)
  1248. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(20)),.1)
  1249. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  1250. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1251. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1252. Pivotweld.C0=cf(0,0,0)*euler(0,0,0+20*i)
  1253. end
  1254. for i=0,1,0.075 do
  1255. swait()
  1256. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1257. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  1258. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(20)),.3)
  1259. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-30)),.3)
  1260. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1261. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1262. Pivotweld.C0=cf(0,0,0)*euler(0,0,0)
  1263. end
  1264. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.8)
  1265. for i=0,1,0.075 do
  1266. swait()
  1267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  1268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1269. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1270. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1271. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1272. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1273. Pivotweld.C0=cf(0,0,0)*euler(0,0,0)
  1274. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1275. end
  1276. attack=false
  1277. con1:disconnect()
  1278. end
  1279.  
  1280. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1281. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1282. prt.Anchored = true
  1283. prt.CFrame = cframe
  1284. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1285. coroutine.resume(coroutine.create(function()
  1286. for i = 0, 1, delay do
  1287. swait()
  1288. prt.Transparency = i
  1289. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1290. end
  1291. prt.Parent = nil
  1292. end))
  1293. end
  1294.  
  1295. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  1296. for _,c in pairs(workspace:children()) do
  1297. local hum=c:findFirstChild("Humanoid")
  1298. if hum~=nil then
  1299. local head=c:findFirstChild("Torso")
  1300. if head~=nil then
  1301. local targ=head.Position-Part.Position
  1302. local mag=targ.magnitude
  1303. if mag<=magni and c.Name~=Player.Name then
  1304. Damagefunc(head,mindam,maxdam,knock,Type,Part,.2,1,nil,1)
  1305. end
  1306. end
  1307. end
  1308. end
  1309. end
  1310.  
  1311. function GetDownOnIt()
  1312. mana=mana-100
  1313. Humanoid.WalkSpeed = 0
  1314. Humanoid.Jump=true
  1315. wait(0.15)
  1316. attack=true
  1317. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1318. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1319. for i=0,1,0.05 do
  1320. swait()
  1321. Torso.Velocity=RootPart.CFrame.lookVector*50
  1322. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1324. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1325. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1326. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1327. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1328. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1329. end
  1330. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1331. for i=0,1,0.05 do
  1332. swait()
  1333. Torso.Velocity=RootPart.CFrame.lookVector*50
  1334. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1335. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1336. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1337. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1338. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1339. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1340. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1341. end
  1342. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1343. for i=0,1,0.05 do
  1344. swait()
  1345. Torso.Velocity=RootPart.CFrame.lookVector*50
  1346. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1347. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1348. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1349. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1350. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1351. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1352. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1353. end
  1354. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.75)
  1355. Torso.Velocity=RootPart.CFrame.lookVector*0
  1356. for i=0,1,0.075 do
  1357. swait()
  1358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1360. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1361. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1362. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1363. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1364. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1365. end
  1366. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1367. if hit~=nil then
  1368. swait(5)
  1369. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1370. ref.Anchored=true
  1371. ref.CFrame=cf(pos)
  1372. game:GetService("Debris"):AddItem(ref,3)
  1373. end
  1374. Shockwave2(BrickColor.new("Institutional white"),cf(pos),1,1,1,.7,.7,.7,0.05)
  1375. MagniDamage(Hitbox,10,10,20,math.random(10,20),"Knockdown")
  1376. so("http://roblox.com/asset/?id=199145477",Torso,1,1)
  1377. wait(0.1)
  1378. attack=false
  1379. con1:disconnect()
  1380. end
  1381. function PlaySound(id, pitch, parent, volume)
  1382. if volume == nil then volume=tonumber(1) end
  1383. local epicsound = Instance.new("Sound")
  1384. epicsound.Name = "Epicosound"
  1385. epicsound.SoundId = "rbxassetid://"..id
  1386. epicsound.Volume = volume
  1387. epicsound.Pitch = pitch
  1388. epicsound.Looped = false
  1389. epicsound.Parent = parent
  1390. wait()
  1391. epicsound:Play()
  1392. game:service'Debris':AddItem(epicsound, 8)
  1393. end
  1394. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  1395.  
  1396. Shot = function(part)
  1397. local shot=math.random(1, #Shots)
  1398. PlaySound(Shots[shot], 1, part)
  1399. end
  1400.  
  1401. function CelestialStorm()
  1402. mana=mana-40
  1403. local n=2
  1404. attack = true
  1405. for i=0,1,0.1 do
  1406. swait()
  1407. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1408. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3)
  1409. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1410. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3)
  1411. 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)
  1412. 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)
  1413. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  1414. end
  1415. for i=1,math.random(5,10) do
  1416. wait(.05)
  1417. MagicBlock(BrickColor.new("New Yeller"),LeftArm.CFrame*cf(0,-1,0),5,5,5,2,2,2,0.1)
  1418. local orb=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("New Yeller"),"Orb",vt())
  1419. orb.Anchored=true
  1420. Shot(orb)
  1421. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  1422. orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10)))
  1423. MagicCircle(BrickColor.new("New Yeller"),orb.CFrame,10,10,10,1,1,1,0.1)
  1424. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1425. wait(1)
  1426. Part.Parent=nil
  1427. 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
  1428. local TheHit=Part.Position+vt(0,-1,0)
  1429. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  1430. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  1431. local mag=(Part.Position-pos).magnitude
  1432. 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)
  1433. MagicBlock(BrickColor.new("New Yeller"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  1434. MagicBlock(BrickColor.new("New Yeller"),cf(pos),15,15,15,6,6,6,0.1)
  1435. 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)
  1436. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Effect",vt())
  1437. ref.CFrame=cf(pos)
  1438. so("http://roblox.com/asset/?id=231917788",ref,1,1.4)
  1439. coroutine.resume(coroutine.create(function(Part)
  1440. wait(1)
  1441. Part.Parent=nil
  1442. end),ref)
  1443. MagniDamage(ref,ref,15,5,10,0,"Normal",RootPart)
  1444. if hit~=nil then
  1445. Damagefunc(ref,hit,20,40,1,"Knockdown",RootPart,0)
  1446. end
  1447. end),orb,omsh)
  1448. end
  1449. wait(0.5)
  1450. local n=2
  1451. for i=0,1,0.1 do
  1452. wait()
  1453. --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  1454. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n)
  1455. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1456. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  1457. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  1458. n=n-0.1
  1459. end
  1460. attack = false
  1461. end
  1462. mouse.Button1Down:connect(function()
  1463. if attack==false then
  1464. if attacktype==1 then
  1465. attack=true
  1466. attacktype=2
  1467. attackone()
  1468. elseif attacktype==2 then
  1469. attack=true
  1470. attacktype=3
  1471. attacktwo()
  1472. elseif attacktype==3 then
  1473. attack=true
  1474. attacktype=4
  1475. attackthree()
  1476. elseif attacktype==4 then
  1477. attack=true
  1478. attacktype=1
  1479. attackfour()
  1480. end
  1481. end
  1482. end)
  1483.  
  1484. mouse.KeyDown:connect(function(k)
  1485. k=k:lower()
  1486. if k=='q' then
  1487. if attack==false and mana>=30 then
  1488. Spin()
  1489. end
  1490. elseif k=='e' then
  1491. if attack==false and mana>=100 then
  1492. GetDownOnIt()
  1493. end
  1494. elseif k=='r' then
  1495. if attack==false and mana>=50 then
  1496. Twirl()
  1497. elseif k=='t' then
  1498.  
  1499. CelestialStorm()
  1500. end
  1501. elseif k=='0' then
  1502. if attack==false then
  1503. Humanoid.WalkSpeed=32
  1504. end
  1505. end
  1506. ---end
  1507. end)
  1508.  
  1509. local sine = 0
  1510. local change = 1
  1511. local val = 0
  1512.  
  1513. local mananum=0
  1514. while true do
  1515. swait()
  1516. sine = sine + change
  1517. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1518. local velderp=RootPart.Velocity.y
  1519. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1520. if equipped==true or equipped==false then
  1521. if attack==false then
  1522. idle=idle+1
  1523. else
  1524. idle=0
  1525. end
  1526. if idle>=500 then
  1527. if attack==false then
  1528. --Sheath()
  1529. end
  1530. end
  1531. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1532. Anim="Jump"
  1533. if attack==false then
  1534. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1535. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1536. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1537. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1538. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1539. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1540. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1541. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  1542. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  1543. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1544. end
  1545. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1546. Anim="Fall"
  1547. if attack==false then
  1548. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1549. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1550. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1551. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1552. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1553. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1554. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1555. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  1556. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  1557. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1558. end
  1559. elseif torvel<1 and hitfloor~=nil then
  1560. Anim="Idle"
  1561. Humanoid.WalkSpeed = 16
  1562. if attack==false then
  1563. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.25)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1564. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10+2.5*math.cos(sine/40)),math.rad(0),math.rad(-30)),.3)
  1565. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40-2.5*math.cos(sine/40)),math.rad(35),math.rad(5-2.5*math.cos(sine/40))),.3)
  1566. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10+5*math.cos(sine/40)),math.rad(0),math.rad(-10+5*math.cos(sine/40))),.3)
  1567. LH.C0=clerp(LH.C0,cf(-1,-0.75,0.1)*angles(math.rad(-20),math.rad(-110),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1568. RH.C0=clerp(RH.C0,cf(1.25,-0.75,-0.1)*angles(math.rad(5),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1569. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1570. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1571. end
  1572. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1573. Anim="Walk"
  1574. if attack==false then
  1575. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(25-2.5*math.cos(sine/30)),math.rad(-15),math.rad(20-2.5*math.cos(sine/30))),.3)
  1578. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20+5*math.cos(sine/30)),math.rad(0),math.rad(-30+5*math.cos(sine/30))),.3)
  1579. 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)
  1580. 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)
  1581. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1582. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1583. end
  1584. elseif torvel>=22 and hitfloor~=nil then
  1585. Anim="Run"
  1586. if attack==false then
  1587. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(25),math.rad(0),math.rad(-30)),.3)
  1588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-2.5),math.rad(30)),.3)
  1589. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50-2.5*math.cos(sine/20)),math.rad(-25),math.rad(30-2.5*math.cos(sine/20))),.3)
  1590. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.25)*angles(math.rad(80+5*math.cos(sine/20)),math.rad(0),math.rad(50+5*math.cos(sine/20))),.3)
  1591. 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)
  1592. 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)
  1593. handleweld.C0=clerp(handleweld.C0,cf(0,-0.2,-0.35)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1594. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1595. end
  1596. end
  1597. end
  1598. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  1599. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  1600. if mana>=100 then
  1601. mana=100
  1602. else
  1603. if mananum<=8 then
  1604. mananum=mananum+1
  1605. else
  1606. mananum=0
  1607. mana=mana+1
  1608. end
  1609. end
  1610. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement