proff001

Overseer V3

Sep 30th, 2016
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52.  
  53. mouse=Player:GetMouse()
  54. --save shoulders
  55. RSH, LSH=nil, nil
  56. --welds
  57. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  58. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  59. LH=Torso["Left Hip"]
  60. RH=Torso["Right Hip"]
  61. TorsoColor=Torso.BrickColor
  62. function NoOutline(Part)
  63. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  64. end
  65. player=Player
  66. ch=Character
  67. RSH=ch.Torso["Right Shoulder"]
  68. LSH=ch.Torso["Left Shoulder"]
  69. --
  70. RSH.Parent=nil
  71. LSH.Parent=nil
  72. --
  73. RW.Name="Right Shoulder"
  74. RW.Part0=ch.Torso
  75. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  76. RW.C1=cf(0, 0.5, 0)
  77. RW.Part1=ch["Right Arm"]
  78. RW.Parent=ch.Torso
  79. --
  80. LW.Name="Left Shoulder"
  81. LW.Part0=ch.Torso
  82. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  83. LW.C1=cf(0, 0.5, 0)
  84. LW.Part1=ch["Left Arm"]
  85. LW.Parent=ch.Torso
  86.  
  87. local fengui=it("GuiMain")
  88. fengui.Parent=Player.PlayerGui
  89. fengui.Name="WeaponGUI"
  90. local fenframe=it("Frame")
  91. fenframe.Parent=fengui
  92. fenframe.BackgroundColor3=Color3.new(255,255,255)
  93. fenframe.BackgroundTransparency=1
  94. fenframe.BorderColor3=Color3.new(17,17,17)
  95. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  96. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  97. local fenbarmana1=it("TextLabel")
  98. fenbarmana1.Parent=fenframe
  99. fenbarmana1.Text=" "
  100. fenbarmana1.BackgroundTransparency=0
  101. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  102. fenbarmana1.SizeConstraint="RelativeXY"
  103. fenbarmana1.TextXAlignment="Center"
  104. fenbarmana1.TextYAlignment="Center"
  105. fenbarmana1.Position=UDim2.new(0,0,0,0)
  106. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  107. local fenbarmana2=it("TextLabel")
  108. fenbarmana2.Parent=fenframe
  109. fenbarmana2.Text=" "
  110. fenbarmana2.BackgroundTransparency=0
  111. fenbarmana2.BackgroundColor3=Torso.Color
  112. fenbarmana2.SizeConstraint="RelativeXY"
  113. fenbarmana2.TextXAlignment="Center"
  114. fenbarmana2.TextYAlignment="Center"
  115. fenbarmana2.Position=UDim2.new(0,0,0,0)
  116. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  117. local fenbarmana3=it("TextLabel")
  118. fenbarmana3.Parent=fenframe
  119. fenbarmana3.Text=" "
  120. fenbarmana3.BackgroundTransparency=0
  121. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  122. fenbarmana3.SizeConstraint="RelativeXY"
  123. fenbarmana3.TextXAlignment="Center"
  124. fenbarmana3.TextYAlignment="Center"
  125. fenbarmana3.Position=UDim2.new(0,0,0,0)
  126. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  127. local fenbarmana4=it("TextLabel")
  128. fenbarmana4.Parent=fenframe
  129. fenbarmana4.Text="Loading interface"
  130. fenbarmana4.BackgroundTransparency=1
  131. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  132. fenbarmana4.SizeConstraint="RelativeXY"
  133. fenbarmana4.TextXAlignment="Center"
  134. fenbarmana4.TextYAlignment="Center"
  135. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  136. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  137. fenbarmana4.FontSize="Size9"
  138. fenbarmana4.TextStrokeTransparency=0
  139. fenbarmana4.TextColor=BrickColor.new("White")
  140.  
  141. Player=game:GetService('Players').LocalPlayer
  142. Character=Player.Character
  143. Mouse=Player:GetMouse()
  144. m=Instance.new('Model',Character)
  145.  
  146.  
  147. local function weldBetween(a, b)
  148. local weldd = Instance.new("ManualWeld")
  149. weldd.Part0 = a
  150. weldd.Part1 = b
  151. weldd.C0 = CFrame.new()
  152. weldd.C1 = b.CFrame:inverse() * a.CFrame
  153. weldd.Parent = a
  154. return weldd
  155. end
  156.  
  157. function swait(num)
  158. if num==0 or num==nil then
  159. game:service'RunService'.Stepped:wait(0)
  160. else
  161. for i=0,num do
  162. game:service'RunService'.Stepped:wait(0)
  163. end
  164. end
  165. end
  166.  
  167. function nooutline(part)
  168. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  169. end
  170.  
  171. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  172. local fp=it("Part")
  173. fp.formFactor=formfactor
  174. fp.Parent=parent
  175. fp.Reflectance=reflectance
  176. fp.Transparency=transparency
  177. fp.CanCollide=false
  178. fp.Locked=true
  179. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  180. fp.Name=name
  181. fp.Size=size
  182. fp.Position=Character.Torso.Position
  183. nooutline(fp)
  184. fp.Material=material
  185. fp:BreakJoints()
  186. return fp
  187. end
  188.  
  189. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  190. local mesh=it(Mesh)
  191. mesh.Parent=part
  192. if Mesh=="SpecialMesh" then
  193. mesh.MeshType=meshtype
  194. mesh.MeshId=meshid
  195. end
  196. mesh.Offset=offset
  197. mesh.Scale=scale
  198. return mesh
  199. end
  200.  
  201. function weld(parent,part0,part1,c0,c1)
  202. local weld=it("Weld")
  203. weld.Parent=parent
  204. weld.Part0=part0
  205. weld.Part1=part1
  206. weld.C0=c0
  207. weld.C1=c1
  208. return weld
  209. end
  210.  
  211.  
  212. local function CFrameFromTopBack(at, top, back)
  213. local right = top:Cross(back)
  214. return CFrame.new(at.x, at.y, at.z,
  215. right.x, top.x, back.x,
  216. right.y, top.y, back.y,
  217. right.z, top.z, back.z)
  218. end
  219.  
  220. function Triangle(a, b, c)
  221. local edg1 = (c-a):Dot((b-a).unit)
  222. local edg2 = (a-b):Dot((c-b).unit)
  223. local edg3 = (b-c):Dot((a-c).unit)
  224. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  225. a, b, c = a, b, c
  226. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  227. a, b, c = b, c, a
  228. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  229. a, b, c = c, a, b
  230. else
  231. assert(false, "unreachable")
  232. end
  233.  
  234. local len1 = (c-a):Dot((b-a).unit)
  235. local len2 = (b-a).magnitude - len1
  236. local width = (a + (b-a).unit*len1 - c).magnitude
  237.  
  238. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  239.  
  240. local list = {}
  241.  
  242. if len1 > 0.01 then
  243. local w1 = Instance.new('WedgePart', m)
  244. game:GetService("Debris"):AddItem(w1,5)
  245. w1.Material = "SmoothPlastic"
  246. w1.FormFactor = 'Custom'
  247. w1.BrickColor = TorsoColor
  248. w1.Transparency = 0
  249. w1.Reflectance = 0
  250. w1.Material = "SmoothPlastic"
  251. w1.CanCollide = false
  252. NoOutline(w1)
  253. local sz = Vector3.new(0.2, width, len1)
  254. w1.Size = sz
  255. local sp = Instance.new("SpecialMesh",w1)
  256. sp.MeshType = "Wedge"
  257. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  258. w1:BreakJoints()
  259. w1.Anchored = true
  260. w1.Parent = workspace
  261. w1.Transparency = 0.7
  262. table.insert(Effects,{w1,"Disappear",.01})
  263. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  264. table.insert(list,w1)
  265. end
  266.  
  267. if len2 > 0.01 then
  268. local w2 = Instance.new('WedgePart', m)
  269. game:GetService("Debris"):AddItem(w2,5)
  270. w2.Material = "SmoothPlastic"
  271. w2.FormFactor = 'Custom'
  272. w2.BrickColor = TorsoColor
  273. w2.Transparency = 0
  274. w2.Reflectance = 0
  275. w2.Material = "SmoothPlastic"
  276. w2.CanCollide = false
  277. NoOutline(w2)
  278. local sz = Vector3.new(0.2, width, len2)
  279. w2.Size = sz
  280. local sp = Instance.new("SpecialMesh",w2)
  281. sp.MeshType = "Wedge"
  282. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  283. w2:BreakJoints()
  284. w2.Anchored = true
  285. w2.Parent = workspace
  286. w2.Transparency = 0.7
  287. table.insert(Effects,{w2,"Disappear",.01})
  288. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  289. table.insert(list,w2)
  290. end
  291. return unpack(list)
  292. end
  293.  
  294.  
  295. so = function(id,par,vol,pit)
  296. coroutine.resume(coroutine.create(function()
  297. local sou = Instance.new("Sound",par or workspace)
  298. sou.Volume=vol
  299. sou.Pitch=pit or 1
  300. sou.SoundId=id
  301. swait()
  302. sou:play()
  303. game:GetService("Debris"):AddItem(sou,6)
  304. end))
  305. end
  306.  
  307. function clerp(a,b,t)
  308. local qa = {QuaternionFromCFrame(a)}
  309. local qb = {QuaternionFromCFrame(b)}
  310. local ax, ay, az = a.x, a.y, a.z
  311. local bx, by, bz = b.x, b.y, b.z
  312. local _t = 1-t
  313. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  314. end
  315.  
  316. function QuaternionFromCFrame(cf)
  317. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  318. local trace = m00 + m11 + m22
  319. if trace > 0 then
  320. local s = math.sqrt(1 + trace)
  321. local recip = 0.5/s
  322. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  323. else
  324. local i = 0
  325. if m11 > m00 then
  326. i = 1
  327. end
  328. if m22 > (i == 0 and m00 or m11) then
  329. i = 2
  330. end
  331. if i == 0 then
  332. local s = math.sqrt(m00-m11-m22+1)
  333. local recip = 0.5/s
  334. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  335. elseif i == 1 then
  336. local s = math.sqrt(m11-m22-m00+1)
  337. local recip = 0.5/s
  338. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  339. elseif i == 2 then
  340. local s = math.sqrt(m22-m00-m11+1)
  341. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  342. end
  343. end
  344. end
  345.  
  346. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  347. local xs, ys, zs = x + x, y + y, z + z
  348. local wx, wy, wz = w*xs, w*ys, w*zs
  349. local xx = x*xs
  350. local xy = x*ys
  351. local xz = x*zs
  352. local yy = y*ys
  353. local yz = y*zs
  354. local zz = z*zs
  355. 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))
  356. end
  357.  
  358. function QuaternionSlerp(a, b, t)
  359. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  360. local startInterp, finishInterp;
  361. if cosTheta >= 0.0001 then
  362. if (1 - cosTheta) > 0.0001 then
  363. local theta = math.acos(cosTheta)
  364. local invSinTheta = 1/math.sin(theta)
  365. startInterp = math.sin((1-t)*theta)*invSinTheta
  366. finishInterp = math.sin(t*theta)*invSinTheta
  367. else
  368. startInterp = 1-t
  369. finishInterp = t
  370. end
  371. else
  372. if (1+cosTheta) > 0.0001 then
  373. local theta = math.acos(-cosTheta)
  374. local invSinTheta = 1/math.sin(theta)
  375. startInterp = math.sin((t-1)*theta)*invSinTheta
  376. finishInterp = math.sin(t*theta)*invSinTheta
  377. else
  378. startInterp = t-1
  379. finishInterp = t
  380. end
  381. end
  382. 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
  383. end
  384.  
  385. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  386. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  387. end
  388.  
  389. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  390. if hit.Parent==nil then
  391. return
  392. end
  393. h=hit.Parent:FindFirstChild("Humanoid")
  394. for _,v in pairs(hit.Parent:children()) do
  395. if v:IsA("Humanoid") then
  396. h=v
  397. end
  398. end
  399. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  400. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  401. end
  402. if hit.Parent.className=="Hat" then
  403. hit=hit.Parent.Parent:findFirstChild("Head")
  404. end
  405. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  406. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  407. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  408. return
  409. end]]
  410. -- hs(hit,1.2)
  411. c=Instance.new("ObjectValue")
  412. c.Name="creator"
  413. c.Value=game:service("Players").LocalPlayer
  414. c.Parent=h
  415. game:GetService("Debris"):AddItem(c,.5)
  416. Damage=math.random(minim,maxim)
  417. -- h:TakeDamage(Damage)
  418. blocked=false
  419. block=hit.Parent:findFirstChild("Block")
  420. if block~=nil then
  421. print(block.className)
  422. if block.className=="NumberValue" then
  423. if block.Value>0 then
  424. blocked=true
  425. if decreaseblock==nil then
  426. block.Value=block.Value-1
  427. end
  428. end
  429. end
  430. if block.className=="IntValue" then
  431. if block.Value>0 then
  432. blocked=true
  433. if decreaseblock~=nil then
  434. block.Value=block.Value-1
  435. end
  436. end
  437. end
  438. end
  439. if blocked==false then
  440. -- h:TakeDamage(Damage)
  441. h.Health=h.Health-Damage
  442. showDamage(hit.Parent,Damage,.5,TorsoColor)
  443. else
  444. h.Health=h.Health-(Damage/2)
  445. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  446. end
  447. if Type=="Knockdown" then
  448. hum=hit.Parent.Humanoid
  449. hum.PlatformStand=true
  450. coroutine.resume(coroutine.create(function(HHumanoid)
  451. swait(1)
  452. HHumanoid.PlatformStand=false
  453. end),hum)
  454. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  455. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  456. local bodvol=Instance.new("BodyVelocity")
  457. bodvol.velocity=angle*knockback
  458. bodvol.P=5000
  459. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  460. bodvol.Parent=hit
  461. rl=Instance.new("BodyAngularVelocity")
  462. rl.P=3000
  463. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  464. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  465. rl.Parent=hit
  466. game:GetService("Debris"):AddItem(bodvol,.5)
  467. game:GetService("Debris"):AddItem(rl,.5)
  468. elseif Type=="Normal" then
  469. vp=Instance.new("BodyVelocity")
  470. vp.P=500
  471. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  472. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  473. if KnockbackType==1 then
  474. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  475. elseif KnockbackType==2 then
  476. vp.velocity=Property.CFrame.lookVector*knockback
  477. end
  478. if knockback>0 then
  479. vp.Parent=hit.Parent.Torso
  480. end
  481. game:GetService("Debris"):AddItem(vp,.5)
  482. elseif Type=="Up" then
  483. local bodyVelocity=Instance.new("BodyVelocity")
  484. bodyVelocity.velocity=vt(0,60,0)
  485. bodyVelocity.P=5000
  486. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  487. bodyVelocity.Parent=hit
  488. game:GetService("Debris"):AddItem(bodyVelocity,1)
  489. rl=Instance.new("BodyAngularVelocity")
  490. rl.P=3000
  491. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  492. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  493. rl.Parent=hit
  494. game:GetService("Debris"):AddItem(rl,.5)
  495. elseif Type=="Snare" then
  496. bp=Instance.new("BodyPosition")
  497. bp.P=2000
  498. bp.D=100
  499. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  500. bp.position=hit.Parent.Torso.Position
  501. bp.Parent=hit.Parent.Torso
  502. game:GetService("Debris"):AddItem(bp,1)
  503. elseif Type=="Target" then
  504. if Targetting==false then
  505. ZTarget=hit.Parent.Torso
  506. coroutine.resume(coroutine.create(function(Part)
  507. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  508. swait(5)
  509. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  510. end),ZTarget)
  511. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  512. targetgui=Instance.new("BillboardGui")
  513. targetgui.Parent=ZTarget
  514. targetgui.Size=UDim2.new(10,100,10,100)
  515. targ=Instance.new("ImageLabel")
  516. targ.Parent=targetgui
  517. targ.BackgroundTransparency=1
  518. targ.Image="rbxassetid://4834067"
  519. targ.Size=UDim2.new(1,0,1,0)
  520. cam.CameraType="Scriptable"
  521. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  522. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  523. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  524. Targetting=true
  525. RocketTarget=ZTarget
  526. for i=1,Property do
  527. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  528. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  529. swait()
  530. end
  531. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  532. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  533. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  534. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  535. end
  536. Targetting=false
  537. RocketTarget=nil
  538. targetgui.Parent=nil
  539. cam.CameraType="Custom"
  540. end
  541. end
  542. debounce=Instance.new("BoolValue")
  543. debounce.Name="DebounceHit"
  544. debounce.Parent=hit.Parent
  545. debounce.Value=true
  546. game:GetService("Debris"):AddItem(debounce,Delay)
  547. c=Instance.new("ObjectValue")
  548. c.Name="creator"
  549. c.Value=Player
  550. c.Parent=h
  551. game:GetService("Debris"):AddItem(c,.5)
  552. CRIT=false
  553. hitDeb=true
  554. AttackPos=6
  555. end
  556. end
  557.  
  558. showDamage=function(Char,Dealt,du,Color)
  559. m=Instance.new("Model")
  560. m.Name=tostring(Dealt)
  561. h=Instance.new("Humanoid")
  562. h.Health=0
  563. h.MaxHealth=0
  564. h.Parent=m
  565. c=Instance.new("Part")
  566. c.Transparency=0
  567. c.BrickColor=Color
  568. c.Name="Head"
  569. c.TopSurface=0
  570. c.BottomSurface=0
  571. c.formFactor="Plate"
  572. c.Size=Vector3.new(1,.4,1)
  573. ms=Instance.new("CylinderMesh")
  574. ms.Scale=Vector3.new(.8,.8,.8)
  575. if CRIT==true then
  576. ms.Scale=Vector3.new(1,1.25,1)
  577. end
  578. ms.Parent=c
  579. c.Reflectance=0
  580. Instance.new("BodyGyro").Parent=c
  581. c.Parent=m
  582. if Char:findFirstChild("Head")~=nil then
  583. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  584. elseif Char.Parent:findFirstChild("Head")~=nil then
  585. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  586. end
  587. f=Instance.new("BodyPosition")
  588. f.P=2000
  589. f.D=100
  590. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  591. f.position=c.Position+Vector3.new(0,3,0)
  592. f.Parent=c
  593. game:GetService("Debris"):AddItem(m,.5+du)
  594. c.CanCollide=false
  595. m.Parent=workspace
  596. c.CanCollide=false
  597. end
  598.  
  599. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Handle",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  600. 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))
  601. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  602. Pivot=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","PivotPoint",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  603. 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))
  604. mesh("CylinderMesh",Pivot,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  605. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Hitbox",Vector3.new(0.794361949, 5.42814064, 0.228264928))
  606. 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))
  607. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  609. 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))
  610. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  612. 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))
  613. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  615. 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))
  616. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  618. 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))
  619. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.529574633))
  621. 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))
  622. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787287, 0.291266054, 0.228264928))
  624. 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))
  625. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.580000103))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  627. 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))
  628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  630. 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))
  631. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  633. 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))
  634. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  636. 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))
  637. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  639. 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))
  640. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.619961977, 0.0788800046, 0.579999983))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  642. 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))
  643. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0927999765, 1, 0.643799961))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  645. 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))
  646. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  648. 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))
  649. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.264787316, 4.10420322, 0.228264928))
  651. 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))
  652. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  654. 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))
  655. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.638000011))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  657. 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))
  658. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  660. 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))
  661. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397180974))
  663. 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))
  664. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  665. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  666. 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))
  667. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  669. 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))
  670. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  672. 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))
  673. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  675. 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))
  676. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  678. 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))
  679. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  681. 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))
  682. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.397180974))
  684. 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))
  685. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.608999968, 0.579999983, 1))
  686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  687. 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))
  688. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  690. 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))
  691. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397181034))
  693. 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))
  694. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.529574633, 0.926755607))
  696. 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))
  697. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.264787316, 0.264787316))
  699. 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))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  701. 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))
  702. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  704. 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))
  705. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  707. 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))
  708. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  710. 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))
  711. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180974, 0.264787316, 0.264787316))
  713. 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))
  714. 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))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  716. 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))
  717. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  718. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,TorsoColor,"Part",Vector3.new(0.794361949, 4.10420322, 0.228264928))
  719. 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))
  720. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  721. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.264787316, 0.228264928))
  722. 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))
  723. 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))
  724. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  725. 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))
  726. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  728. 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))
  729. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  730. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  731. 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))
  732. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  733. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.264787316))
  734. 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))
  735. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 1))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  737. 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))
  738. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  740. 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))
  741. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  743. 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))
  744. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Light stone grey","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  746. 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))
  747. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  749. 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))
  750. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,TorsoColor,"Part",Vector3.new(0.228264928, 0.794361949, 1.32393658))
  752. 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))
  753. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0951199755, 1, 1))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  755. 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))
  756. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  757. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.27802667, 0.264787316))
  758. 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))
  759. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  761. 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))
  762. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  764. 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))
  765. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785. ---------------------------------------------------- Gauntlet
  786.  
  787.  
  788.  
  789. local p = game.Players.LocalPlayer
  790. local char = p.Character
  791.  
  792. m=Instance.new('Model',char)
  793.  
  794.  
  795. local function weldBetween(a, b)
  796. local weldd = Instance.new("ManualWeld")
  797. weldd.Part0 = a
  798. weldd.Part1 = b
  799. weldd.C0 = CFrame.new()
  800. weldd.C1 = b.CFrame:inverse() * a.CFrame
  801. weldd.Parent = a
  802. return weldd
  803. end
  804.  
  805. it=Instance.new
  806.  
  807. function nooutline(part)
  808. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  809. end
  810.  
  811. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  812. local fp=it("Part")
  813. fp.formFactor=formfactor
  814. fp.Parent=parent
  815. fp.Reflectance=reflectance
  816. fp.Transparency=transparency
  817. fp.CanCollide=false
  818. fp.Locked=true
  819. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  820. fp.Name=name
  821. fp.Size=size
  822. fp.Position=char.Torso.Position
  823. nooutline(fp)
  824. fp.Material=material
  825. fp:BreakJoints()
  826. return fp
  827. end
  828.  
  829. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  830. local mesh=it(Mesh)
  831. mesh.Parent=part
  832. if Mesh=="SpecialMesh" then
  833. mesh.MeshType=meshtype
  834. mesh.MeshId=meshid
  835. end
  836. mesh.Offset=offset
  837. mesh.Scale=scale
  838. return mesh
  839. end
  840.  
  841. function weld(parent,part0,part1,c0,c1)
  842. local weld=it("Weld")
  843. weld.Parent=parent
  844. weld.Part0=part0
  845. weld.Part1=part1
  846. weld.C0=c0
  847. weld.C1=c1
  848. return weld
  849. end
  850.  
  851. MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Royal purple","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  852. 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))
  853. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  854. 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))
  855. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  856. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  857. 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))
  858. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  859. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  860. 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))
  861. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  862. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  863. 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))
  864. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  865. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  866. 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))
  867. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  868. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  869. 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))
  870. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  871. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  872. 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))
  873. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  874. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  875. 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))
  876. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  877. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  878. 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))
  879. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  880. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  881. 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))
  882. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  883. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  884. 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))
  885. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  886. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  887. 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))
  888. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  889. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  890. 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))
  891. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  892. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  893. 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))
  894. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  895. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  896. 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))
  897. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  898. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  899. 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))
  900. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  901. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  902. 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))
  903. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  904. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  905. 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))
  906. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  907. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  908. 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))
  909. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  910. TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  911. 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))
  912. mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
  913. TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  914. 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))
  915. mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  916. TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  917. 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))
  918. mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  919. TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  920. 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))
  921. mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  922. TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  923. 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))
  924. mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  925. TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  926. 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))
  927. mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  928. MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  929. 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))
  930. mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
  931.  
  932. --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  933. 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))
  934. mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
  935.  
  936.  
  937. local edit = function(name,mat,col)
  938. name.Material = mat
  939. name.BrickColor = BrickColor.new(col)
  940. end
  941.  
  942. local dark = function()
  943. edit(TR1,"SmoothPlastic","Light stone grey")
  944. edit(TR2,"SmoothPlastic","Light stone grey")
  945. edit(TR3,"SmoothPlastic","Light stone grey")
  946. edit(TR4,"SmoothPlastic","Light stone grey")
  947. edit(TR5,"SmoothPlastic","Light stone grey")
  948. edit(TR6,"SmoothPlastic","Light stone grey")
  949. edit(TR7,"SmoothPlastic","Light stone grey")
  950. edit(MN,"SmoothPlastic","Light stone grey")
  951. --
  952.  
  953.  
  954. end
  955. local light = function()
  956. edit(TR1,"Neon","Cyan")
  957. edit(TR2,"Neon","Cyan")
  958. edit(TR3,"Neon","Cyan")
  959. edit(TR4,"Neon","Cyan")
  960. edit(TR5,"Neon","Cyan")
  961. edit(TR6,"Neon","Cyan")
  962. edit(TR7,"Neon","Cyan")
  963. edit(MN,"Neon","Cyan")
  964. --
  965.  
  966. end
  967.  
  968.  
  969. dark()
  970.  
  971. --Messy
  972.  
  973. ----------------------------------------------------
  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. function atktype(s, e)
  1003. coroutine.resume(coroutine.create(function()
  1004. attacktype = e
  1005. swait(80)
  1006. attacktype = s
  1007. end))
  1008. end
  1009.  
  1010. function attackone()
  1011. attack=true
  1012. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1013. for i=0,1,0.08 do
  1014. swait()
  1015. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1016. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1017. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1018. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1019. 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)
  1020. 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)
  1021. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1022. end
  1023. so("http://roblox.com/asset/?id=199146359",Hitbox,1,1)
  1024. for i=0,1,0.06 do
  1025. swait()
  1026. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1027. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1028. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1029. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1030. 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)
  1031. 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)
  1032. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1033. end
  1034. attack=false
  1035. atktype(1, 2)
  1036. con1:disconnect()
  1037. end
  1038.  
  1039. function attacktwo()
  1040. attack=true
  1041. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1042. for i=0,1,0.5 do
  1043. swait()
  1044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1046. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1047. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1048. 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)
  1049. 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)
  1050. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1051. end
  1052. for i=0,1,0.08 do
  1053. swait()
  1054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1056. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1057. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1058. 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)
  1059. 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)
  1060. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1061. end
  1062. so("http://roblox.com/asset/?id=199150686",Hitbox,1,1)
  1063. for i=0,1,0.06 do
  1064. swait()
  1065. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1067. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1068. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1069. 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)
  1070. 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)
  1071. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1072. end
  1073. attack=false
  1074. atktype(1, 3)
  1075. con1:disconnect()
  1076. end
  1077.  
  1078. function attackthree()
  1079. attack=true
  1080. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1081. for i=0,1,0.08 do
  1082. swait()
  1083. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1084. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(30)),.3)
  1085. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(15),math.rad(60)),.3)
  1086. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.25)*angles(math.rad(75),math.rad(0),math.rad(20)),.3)
  1087. 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)
  1088. 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)
  1089. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1090. end
  1091. so("http://roblox.com/asset/?id=199150686",Hitbox,1,0.9)
  1092. for i=0,1,0.06 do
  1093. swait()
  1094. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-30)),.3)
  1096. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(45),math.rad(-45),math.rad(-30)),.3)
  1097. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1098. 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)
  1099. 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)
  1100. handleweld.C0=clerp(handleweld.C0,cf(0,0,-0.5)*angles(math.rad(-75),math.rad(0),math.rad(0)),.3)
  1101. end
  1102. attack=false
  1103. atktype(1, 4)
  1104. con1:disconnect()
  1105. end
  1106.  
  1107. function attackfour()
  1108. attack=true
  1109. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1110. for i=0,1,0.08 do
  1111. swait()
  1112. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1113. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1114. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1115. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1116. 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)
  1117. 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)
  1118. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1119. end
  1120. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.9)
  1121. for i=0,1,0.06 do
  1122. swait()
  1123. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30-360*i)),.3)
  1124. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1125. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1126. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1127. 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)
  1128. 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)
  1129. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1130. end
  1131. attack=false
  1132. atktype(1, 1)
  1133. con1:disconnect()
  1134. end
  1135.  
  1136. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1137. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1138. prt.Anchored=true
  1139. prt.CFrame=cframe
  1140. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1141. game:GetService("Debris"):AddItem(prt,2)
  1142. coroutine.resume(coroutine.create(function(Part,Mesh)
  1143. for i=0,1,delay do
  1144. wait()
  1145. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1146. Part.Transparency=i
  1147. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1148. end
  1149. Part.Parent=nil
  1150. end),prt,msh)
  1151. end
  1152.  
  1153. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1154. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1155. prt.Anchored=true
  1156. prt.CFrame=cframe
  1157. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1158. game:GetService("Debris"):AddItem(prt,2)
  1159. coroutine.resume(coroutine.create(function(Part,Mesh)
  1160. local wld=nil
  1161. for i=0,1,delay do
  1162. wait()
  1163. Part.CFrame=Part.CFrame
  1164. Part.Transparency=i
  1165. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1166. end
  1167. Part.Parent=nil
  1168. end),prt,msh)
  1169. end
  1170.  
  1171. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1172. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1173. prt.Anchored=true
  1174. prt.CFrame=cframe
  1175. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1176. game:GetService("Debris"):AddItem(prt,5)
  1177. coroutine.resume(coroutine.create(function(Part,Mesh)
  1178. for i=0,1,delay do
  1179. wait()
  1180. Part.CFrame=Part.CFrame
  1181. Part.Transparency=i
  1182. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1183. end
  1184. Part.Parent=nil
  1185. end),prt,msh)
  1186. end
  1187.  
  1188. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1189. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1190. prt.Anchored=true
  1191. prt.CFrame=cframe
  1192. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1193. game:GetService("Debris"):AddItem(prt,5)
  1194. coroutine.resume(coroutine.create(function(Part,Mesh)
  1195. for i=0,1,delay do
  1196. wait()
  1197. Part.CFrame=Part.CFrame
  1198. Part.Transparency=i
  1199. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1200. end
  1201. Part.Parent=nil
  1202. end),prt,msh)
  1203. end
  1204.  
  1205. function Twirl()
  1206. mana=mana-50
  1207. attack=true
  1208. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1209. for i=0,1,0.2 do
  1210. swait()
  1211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1212. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1213. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1214. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-45)),.3)
  1215. 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)
  1216. 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)
  1217. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1218. end
  1219. for i=0,1,0.2 do
  1220. so("http://roblox.com/asset/?id=199146359",Torso,1,1.2)
  1221. swait()
  1222. for i=0,1,0.05 do
  1223. swait()
  1224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0-720*i)),.3)
  1225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  1226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.3)
  1227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1228. 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)
  1229. 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)
  1230. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1231. end
  1232. end
  1233. attack=false
  1234. con1:disconnect()
  1235. end
  1236.  
  1237. function Spin()
  1238. mana=mana-30
  1239. attack=true
  1240. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1241. so("http://roblox.com/asset/?id=199145327",Torso,1,1)
  1242. for i=0,1,0.075 do
  1243. swait()
  1244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.1)
  1245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.1)
  1246. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(20)),.1)
  1247. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  1248. 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)
  1249. 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)
  1250. Pivotweld.C0=cf(0,0,0)*euler(0,0,0+20*i)
  1251. end
  1252. for i=0,1,0.075 do
  1253. swait()
  1254. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1255. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  1256. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(20)),.3)
  1257. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-30)),.3)
  1258. 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)
  1259. 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)
  1260. Pivotweld.C0=cf(0,0,0)*euler(0,0,0)
  1261. end
  1262. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.8)
  1263. for i=0,1,0.075 do
  1264. swait()
  1265. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  1266. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1267. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1268. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1269. 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)
  1270. 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)
  1271. Pivotweld.C0=cf(0,0,0)*euler(0,0,0)
  1272. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1273. end
  1274. attack=false
  1275. con1:disconnect()
  1276. end
  1277.  
  1278. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1279. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1280. prt.Anchored = true
  1281. prt.CFrame = cframe
  1282. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1283. coroutine.resume(coroutine.create(function()
  1284. for i = 0, 1, delay do
  1285. swait()
  1286. prt.Transparency = i
  1287. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1288. end
  1289. prt.Parent = nil
  1290. end))
  1291. end
  1292.  
  1293. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  1294. for _,c in pairs(workspace:children()) do
  1295. local hum=c:findFirstChild("Humanoid")
  1296. if hum~=nil then
  1297. local head=c:findFirstChild("Torso")
  1298. if head~=nil then
  1299. local targ=head.Position-Part.Position
  1300. local mag=targ.magnitude
  1301. if mag<=magni and c.Name~=Player.Name then
  1302. Damagefunc(head,mindam,maxdam,knock,Type,Part,.2,1,nil,1)
  1303. end
  1304. end
  1305. end
  1306. end
  1307. end
  1308.  
  1309. function GetDownOnIt()
  1310. mana=mana-100
  1311. Humanoid.WalkSpeed = 0
  1312. Humanoid.Jump=true
  1313. wait(0.15)
  1314. attack=true
  1315. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1316. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1317. for i=0,1,0.05 do
  1318. swait()
  1319. Torso.Velocity=RootPart.CFrame.lookVector*50
  1320. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1321. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1322. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1323. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1324. 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)
  1325. 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)
  1326. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1327. end
  1328. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1329. for i=0,1,0.05 do
  1330. swait()
  1331. Torso.Velocity=RootPart.CFrame.lookVector*50
  1332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1334. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1335. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1336. 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)
  1337. 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)
  1338. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1339. end
  1340. so("http://roblox.com/asset/?id=199145327",Torso,1,0.9)
  1341. for i=0,1,0.05 do
  1342. swait()
  1343. Torso.Velocity=RootPart.CFrame.lookVector*50
  1344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0+360*i),math.rad(0),math.rad(0)),.3)
  1345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1346. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(120),math.rad(0),math.rad(-30)),.3)
  1347. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  1348. 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)
  1349. 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)
  1350. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1351. end
  1352. so("http://roblox.com/asset/?id=199146359",Hitbox,1,0.75)
  1353. Torso.Velocity=RootPart.CFrame.lookVector*0
  1354. for i=0,1,0.075 do
  1355. swait()
  1356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1357. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1358. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(math.rad(30),math.rad(0),math.rad(-30)),.3)
  1359. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(30),math.rad(0),math.rad(30)),.3)
  1360. 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)
  1361. 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)
  1362. handleweld.C0=clerp(handleweld.C0,cf(-0.75,-0.25,-0.25)*euler(-0.75,-0.25,0.5),.3)
  1363. end
  1364. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1365. if hit~=nil then
  1366. swait(5)
  1367. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1368. ref.Anchored=true
  1369. ref.CFrame=cf(pos)
  1370. game:GetService("Debris"):AddItem(ref,3)
  1371. end
  1372. Shockwave2(BrickColor.new("Institutional white"),cf(pos),1,1,1,.7,.7,.7,0.05)
  1373. MagniDamage(Hitbox,10,10,20,math.random(10,20),"Knockdown")
  1374. so("http://roblox.com/asset/?id=199145477",Torso,1,1)
  1375. wait(0.1)
  1376. attack=false
  1377. con1:disconnect()
  1378. end
  1379. function PlaySound(id, pitch, parent, volume)
  1380. if volume == nil then volume=tonumber(1) end
  1381. local epicsound = Instance.new("Sound")
  1382. epicsound.Name = "Epicosound"
  1383. epicsound.SoundId = "rbxassetid://"..id
  1384. epicsound.Volume = volume
  1385. epicsound.Pitch = pitch
  1386. epicsound.Looped = false
  1387. epicsound.Parent = parent
  1388. wait()
  1389. epicsound:Play()
  1390. game:service'Debris':AddItem(epicsound, 8)
  1391. end
  1392. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  1393.  
  1394. Shot = function(part)
  1395. local shot=math.random(1, #Shots)
  1396. PlaySound(Shots[shot], 1, part)
  1397. end
  1398.  
  1399. function CelestialStorm()
  1400. mana=mana-40
  1401. local n=2
  1402. attack = true
  1403. for i=0,1,0.1 do
  1404. swait()
  1405. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1406. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3)
  1407. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1408. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3)
  1409. 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)
  1410. 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)
  1411. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  1412. end
  1413. for i=1,math.random(5,10) do
  1414. wait(.05)
  1415. MagicBlock(BrickColor.new("New Yeller"),LeftArm.CFrame*cf(0,-1,0),5,5,5,2,2,2,0.1)
  1416. local orb=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("New Yeller"),"Orb",vt())
  1417. orb.Anchored=true
  1418. Shot(orb)
  1419. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  1420. orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10)))
  1421. MagicCircle(BrickColor.new("New Yeller"),orb.CFrame,10,10,10,1,1,1,0.1)
  1422. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1423. wait(1)
  1424. Part.Parent=nil
  1425. 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
  1426. local TheHit=Part.Position+vt(0,-1,0)
  1427. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  1428. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  1429. local mag=(Part.Position-pos).magnitude
  1430. 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)
  1431. MagicBlock(BrickColor.new("New Yeller"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  1432. MagicBlock(BrickColor.new("New Yeller"),cf(pos),15,15,15,6,6,6,0.1)
  1433. 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)
  1434. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Effect",vt())
  1435. ref.CFrame=cf(pos)
  1436. so("http://roblox.com/asset/?id=231917788",ref,1,1.4)
  1437. coroutine.resume(coroutine.create(function(Part)
  1438. wait(1)
  1439. Part.Parent=nil
  1440. end),ref)
  1441. MagniDamage(ref,ref,15,5,10,0,"Normal",RootPart)
  1442. if hit~=nil then
  1443. Damagefunc(ref,hit,20,40,1,"Knockdown",RootPart,0)
  1444. end
  1445. end),orb,omsh)
  1446. end
  1447. wait(0.5)
  1448. local n=2
  1449. for i=0,1,0.1 do
  1450. wait()
  1451. --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  1452. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n)
  1453. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1454. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  1455. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  1456. n=n-0.1
  1457. end
  1458. attack = false
  1459. end
  1460. mouse.Button1Down:connect(function()
  1461. if attack==false then
  1462. if attacktype==1 then
  1463. attack=true
  1464. attacktype=2
  1465. attackone()
  1466. elseif attacktype==2 then
  1467. attack=true
  1468. attacktype=3
  1469. attacktwo()
  1470. elseif attacktype==3 then
  1471. attack=true
  1472. attacktype=4
  1473. attackthree()
  1474. elseif attacktype==4 then
  1475. attack=true
  1476. attacktype=1
  1477. attackfour()
  1478. end
  1479. end
  1480. end)
  1481.  
  1482. mouse.KeyDown:connect(function(k)
  1483. k=k:lower()
  1484. if k=='q' then
  1485. if attack==false and mana>=30 then
  1486. Spin()
  1487. end
  1488. elseif k=='e' then
  1489. if attack==false and mana>=100 then
  1490. GetDownOnIt()
  1491. end
  1492. elseif k=='r' then
  1493. if attack==false and mana>=50 then
  1494. Twirl()
  1495. elseif k=='t' then
  1496. if attack==false and mana>=40 then
  1497. CelestialStorm()
  1498. end
  1499. elseif k=='0' then
  1500. if attack==false then
  1501. Humanoid.WalkSpeed=32
  1502. end
  1503. end
  1504. end
  1505. end)
  1506.  
  1507. local sine = 0
  1508. local change = 1
  1509. local val = 0
  1510.  
  1511. local mananum=0
  1512. while true do
  1513. swait()
  1514. sine = sine + change
  1515. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1516. local velderp=RootPart.Velocity.y
  1517. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1518. if equipped==true or equipped==false then
  1519. if attack==false then
  1520. idle=idle+1
  1521. else
  1522. idle=0
  1523. end
  1524. if idle>=500 then
  1525. if attack==false then
  1526. --Sheath()
  1527. end
  1528. end
  1529. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1530. Anim="Jump"
  1531. if attack==false then
  1532. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1533. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1534. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1535. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1536. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1537. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1538. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1539. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  1540. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  1541. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1542. end
  1543. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1544. Anim="Fall"
  1545. if attack==false then
  1546. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1547. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1548. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1549. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1550. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1551. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1552. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1553. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  1554. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  1555. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1556. end
  1557. elseif torvel<1 and hitfloor~=nil then
  1558. Anim="Idle"
  1559. Humanoid.WalkSpeed = 16
  1560. if attack==false then
  1561. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.25)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1562. 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)
  1563. 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)
  1564. 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)
  1565. 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)
  1566. 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)
  1567. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1568. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1569. end
  1570. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1571. Anim="Walk"
  1572. if attack==false then
  1573. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1574. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1575. 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)
  1576. 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)
  1577. 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)
  1578. 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)
  1579. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1580. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1581. end
  1582. elseif torvel>=22 and hitfloor~=nil then
  1583. Anim="Run"
  1584. if attack==false then
  1585. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(25),math.rad(0),math.rad(-30)),.3)
  1586. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-2.5),math.rad(30)),.3)
  1587. 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)
  1588. 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)
  1589. 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)
  1590. 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)
  1591. handleweld.C0=clerp(handleweld.C0,cf(0,-0.2,-0.35)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1592. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1593. end
  1594. end
  1595. end
  1596. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  1597. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  1598. if mana>=100 then
  1599. mana=100
  1600. else
  1601. if mananum<=8 then
  1602. mananum=mananum+1
  1603. else
  1604. mananum=0
  1605. mana=mana+1
  1606. end
  1607. end
  1608. end
RAW Paste Data