Advertisement
Soxxelz

Untitled

Nov 4th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.33 KB | None | 0 0
  1. --{{Golden God v1}}--
  2. --{{Script edited by Strazos.}}--
  3.  
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. Head=Character.Head
  10. Humanoid=Character.Humanoid
  11. m=Instance.new('Model',Character)
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. cloaked=false
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local Effects={}
  51. local gun=false
  52. local shoot=false
  53. player=nil
  54. mana=0
  55. local CurrentMode = "Unsheathed"
  56. plr = game.Players.LocalPlayer
  57. asdasd = plr.Name
  58. ws = game.Workspace[asdasd]
  59. Mouse = Player:GetMouse()
  60. for i,v in pairs(Character:children()) do
  61. if v:IsA("Hat") then
  62. v:Destroy()
  63. end
  64. end
  65. --NFSBOYLOL EDIT
  66. Player.CanLoadCharacterAppearance = true
  67. Character.Humanoid.MaxHealth = math.huge
  68. Character.Humanoid.JumpPower = 100
  69. Character.Humanoid.WalkSpeed = (90)
  70.  
  71. Character.Shirt:Destroy()
  72. Character.Pants:Destroy()
  73. --FUNCTIONS AND HUMANOID STATS
  74.  
  75. Character.Humanoid.NameDisplayDistance = 0
  76. Character.Humanoid.HealthDisplayDistance = 0
  77. Character.Head.BrickColor = BrickColor.new(255,0,0)
  78. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=259421287"
  79. Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  80. Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=64886449"
  81. Character.Head.Mesh.Scale = Vector3.new(1,1,1)
  82. Character.Head.Mesh.VertexColor = Vector3.new(0.7,0.7,0.7)
  83. Character.Head.Material = "SmoothPlastic"
  84.  
  85. shirt = Instance.new("Shirt", Character)
  86. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=58761367"
  87.  
  88. pants = Instance.new("Pants", Character)
  89. pants.PantsTemplate = "http://www.roblox.com/asset/?id=58761326"
  90. --SHIRT AND PANTS
  91. game.Workspace.Base.Material = "Granite"
  92. game.Workspace.Base.BrickColor = BrickColor.new("Cool yellow")
  93. --BASEPLATE
  94. local particleemitter = Instance.new("ParticleEmitter", ws.Torso)
  95. particleemitter.VelocitySpread = 180
  96. particleemitter.Lifetime = NumberRange.new(0.2)
  97. particleemitter.Speed = NumberRange.new(2)
  98. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 10)})
  99. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  100. particleemitter.Rate = 100
  101. particleemitter.Rotation = NumberRange.new(-45, 45)
  102. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  103. particleemitter.LightEmission = 0
  104. particleemitter.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,210,0)) --Color here
  105.  
  106. local firee = Instance.new("Fire")
  107. firee.Parent = ws.Head
  108. firee.Size = ("3")
  109. firee.Color = Color3.new(90,90,90)
  110. firee.SecondaryColor = Color3.new(90,90,0)
  111. --PARTICLES+FIRE
  112. music = Instance.new("Sound", Character)
  113. music.SoundId ="http://www.roblox.com/asset/?id=180069826"
  114. music.Volume = 1
  115. music.Looped = true
  116. wait(0.1)
  117. music:Play()
  118. --MUSIC
  119.  
  120.  
  121. print ("Script edited by Strazos. Do not leak/remove credit!")
  122.  
  123.  
  124. --NFSBOYLOL EDIT
  125. mouse=Player:GetMouse()
  126. --save shoulders
  127. RSH, LSH=nil, nil
  128. --welds
  129. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  130. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  131. LH=Torso["Left Hip"]
  132. RH=Torso["Right Hip"]
  133. TorsoColor=Torso.BrickColor
  134. function NoOutline(Part)
  135. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  136. end
  137. player=Player
  138. ch=Character
  139. RSH=ch.Torso["Right Shoulder"]
  140. LSH=ch.Torso["Left Shoulder"]
  141. --
  142. RSH.Parent=nil
  143. LSH.Parent=nil
  144. --
  145. RW.Name="Right Shoulder"
  146. RW.Part0=ch.Torso
  147. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  148. RW.C1=cf(0, 0.5, 0)
  149. RW.Part1=ch["Right Arm"]
  150. RW.Parent=ch.Torso
  151. --
  152. LW.Name="Left Shoulder"
  153. LW.Part0=ch.Torso
  154. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  155. LW.C1=cf(0, 0.5, 0)
  156. LW.Part1=ch["Left Arm"]
  157. LW.Parent=ch.Torso
  158.  
  159. local function weldBetween(a, b)
  160. local weldd = Instance.new("ManualWeld")
  161. weldd.Part0 = a
  162. weldd.Part1 = b
  163. weldd.C0 = CFrame.new()
  164. weldd.C1 = b.CFrame:inverse() * a.CFrame
  165. weldd.Parent = a
  166. return weldd
  167. end
  168.  
  169. function nooutline(part)
  170. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  171. end
  172.  
  173. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  174. local fp=it("Part")
  175. fp.formFactor=formfactor
  176. fp.Parent=parent
  177. fp.Reflectance=reflectance
  178. fp.Transparency=transparency
  179. fp.CanCollide=false
  180. fp.Locked=true
  181. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  182. fp.Name=name
  183. fp.Size=size
  184. fp.Position=Character.Torso.Position
  185. nooutline(fp)
  186. fp.Material=material
  187. fp:BreakJoints()
  188. return fp
  189. end
  190.  
  191. function swait(num)
  192. if num==0 or num==nil then
  193. game:service'RunService'.Heartbeat:wait(0)
  194. else
  195. for i=0,num do
  196. game:service'RunService'.Heartbeat:wait(0)
  197. end
  198. end
  199. end
  200.  
  201. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  202. local mesh=it(Mesh)
  203. mesh.Parent=part
  204. if Mesh=="SpecialMesh" then
  205. mesh.MeshType=meshtype
  206. mesh.MeshId=meshid
  207. end
  208. mesh.Offset=offset
  209. mesh.Scale=scale
  210. return mesh
  211. end
  212.  
  213. function weld(parent,part0,part1,c0,c1)
  214. local weld=it("Weld")
  215. weld.Parent=parent
  216. weld.Part0=part0
  217. weld.Part1=part1
  218. weld.C0=c0
  219. weld.C1=c1
  220. return weld
  221. end
  222.  
  223.  
  224. local function CFrameFromTopBack(at, top, back)
  225. local right = top:Cross(back)
  226. return CFrame.new(at.x, at.y, at.z,
  227. right.x, top.x, back.x,
  228. right.y, top.y, back.y,
  229. right.z, top.z, back.z)
  230. end
  231.  
  232. function Triangle(a, b, c)
  233. local edg1 = (c-a):Dot((b-a).unit)
  234. local edg2 = (a-b):Dot((c-b).unit)
  235. local edg3 = (b-c):Dot((a-c).unit)
  236. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  237. a, b, c = a, b, c
  238. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  239. a, b, c = b, c, a
  240. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  241. a, b, c = c, a, b
  242. else
  243. assert(false, "unreachable")
  244. end
  245.  
  246. local len1 = (c-a):Dot((b-a).unit)
  247. local len2 = (b-a).magnitude - len1
  248. local width = (a + (b-a).unit*len1 - c).magnitude
  249.  
  250. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  251.  
  252. local list = {}
  253.  
  254. if len1 > 0.01 then
  255. local w1 = Instance.new('WedgePart', m)
  256. game:GetService("Debris"):AddItem(w1,5)
  257. w1.Material = "SmoothPlastic"
  258. w1.FormFactor = 'Custom'
  259. w1.BrickColor = BrickColor.new("Gold")
  260. w1.Transparency = 0
  261. w1.Reflectance = 1
  262. w1.Material = "SmoothPlastic"
  263. w1.CanCollide = false
  264. NoOutline(w1)
  265. local sz = Vector3.new(0.2, width, len1)
  266. w1.Size = sz
  267. local sp = Instance.new("SpecialMesh",w1)
  268. sp.MeshType = "Wedge"
  269. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  270. w1:BreakJoints()
  271. w1.Anchored = true
  272. w1.Parent = workspace
  273. w1.Transparency = 0.3
  274. table.insert(Effects,{w1,"Disappear",.03})
  275. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  276. table.insert(list,w1)
  277. end
  278. if len2 > 0.01 then
  279. local w2 = Instance.new('WedgePart', m)
  280. game:GetService("Debris"):AddItem(w2,5)
  281. w2.Material = "SmoothPlastic"
  282. w2.FormFactor = 'Custom'
  283. w2.BrickColor = BrickColor.new("Gold")
  284. w2.Transparency = 0
  285. w2.Reflectance = 1
  286. w2.Material = "SmoothPlastic"
  287. w2.CanCollide = false
  288. NoOutline(w2)
  289. local sz = Vector3.new(0.2, width, len2)
  290. w2.Size = sz
  291. local sp = Instance.new("SpecialMesh",w2)
  292. sp.MeshType = "Wedge"
  293. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  294. w2:BreakJoints()
  295. w2.Anchored = true
  296. w2.Parent = workspace
  297. w2.Transparency = 0.3
  298. table.insert(Effects,{w2,"Disappear",.03})
  299. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  300. table.insert(list,w2)
  301. end
  302. return unpack(list)
  303. end
  304.  
  305.  
  306. so = function(id,par,vol,pit)
  307. coroutine.resume(coroutine.create(function()
  308. local sou = Instance.new("Sound",par or workspace)
  309. sou.Volume=vol
  310. sou.Pitch=pit or 1
  311. sou.SoundId=id
  312. swait()
  313. sou:play()
  314. game:GetService("Debris"):AddItem(sou,6)
  315. end))
  316. end
  317.  
  318. function clerp(a,b,t)
  319. local qa = {QuaternionFromCFrame(a)}
  320. local qb = {QuaternionFromCFrame(b)}
  321. local ax, ay, az = a.x, a.y, a.z
  322. local bx, by, bz = b.x, b.y, b.z
  323. local _t = 1-t
  324. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  325. end
  326.  
  327. function QuaternionFromCFrame(cf)
  328. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  329. local trace = m00 + m11 + m22
  330. if trace > 0 then
  331. local s = math.sqrt(1 + trace)
  332. local recip = 0.5/s
  333. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  334. else
  335. local i = 0
  336. if m11 > m00 then
  337. i = 1
  338. end
  339. if m22 > (i == 0 and m00 or m11) then
  340. i = 2
  341. end
  342. if i == 0 then
  343. local s = math.sqrt(m00-m11-m22+1)
  344. local recip = 0.5/s
  345. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  346. elseif i == 1 then
  347. local s = math.sqrt(m11-m22-m00+1)
  348. local recip = 0.5/s
  349. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  350. elseif i == 2 then
  351. local s = math.sqrt(m22-m00-m11+1)
  352. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  353. end
  354. end
  355. end
  356.  
  357. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  358. local xs, ys, zs = x + x, y + y, z + z
  359. local wx, wy, wz = w*xs, w*ys, w*zs
  360. local xx = x*xs
  361. local xy = x*ys
  362. local xz = x*zs
  363. local yy = y*ys
  364. local yz = y*zs
  365. local zz = z*zs
  366. 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))
  367. end
  368.  
  369. function QuaternionSlerp(a, b, t)
  370. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  371. local startInterp, finishInterp;
  372. if cosTheta >= 0.0001 then
  373. if (1 - cosTheta) > 0.0001 then
  374. local theta = math.acos(cosTheta)
  375. local invSinTheta = 1/math.sin(theta)
  376. startInterp = math.sin((1-t)*theta)*invSinTheta
  377. finishInterp = math.sin(t*theta)*invSinTheta
  378. else
  379. startInterp = 1-t
  380. finishInterp = t
  381. end
  382. else
  383. if (1+cosTheta) > 0.0001 then
  384. local theta = math.acos(-cosTheta)
  385. local invSinTheta = 1/math.sin(theta)
  386. startInterp = math.sin((t-1)*theta)*invSinTheta
  387. finishInterp = math.sin(t*theta)*invSinTheta
  388. else
  389. startInterp = t-1
  390. finishInterp = t
  391. end
  392. end
  393. 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
  394. end
  395.  
  396. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  397. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  398. end
  399.  
  400. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  401. if hit.Parent==nil then
  402. return
  403. end
  404. local h=hit.Parent:FindFirstChild("Humanoid")
  405. for _,v in pairs(hit.Parent:children()) do
  406. if v:IsA("Humanoid") then
  407. v.Parent.Torso.Neck:Remove()
  408. h=v
  409. end
  410. end
  411. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  412. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  413. end
  414. if hit.Parent.className=="Hat" then
  415. hit=hit.Parent.Parent:findFirstChild("Head")
  416. end
  417. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  418. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  419. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  420. return
  421. end]]
  422. -- hs(hit,1.2)
  423. local c=Instance.new("ObjectValue")
  424. c.Name="creator"
  425. c.Value=game:service("Players").LocalPlayer
  426. c.Parent=h
  427. game:GetService("Debris"):AddItem(c,.5)
  428. local Damage=math.huge
  429. -- h:TakeDamage(Damage)
  430. local blocked=false
  431. local block=hit.Parent:findFirstChild("Block")
  432. if block~=nil then
  433. print(block.className)
  434. if block.className=="NumberValue" then
  435. if block.Value>0 then
  436. blocked=true
  437. if decreaseblock==nil then
  438. block.Value=block.Value-1
  439. end
  440. end
  441. end
  442. if block.className=="IntValue" then
  443. if block.Value>0 then
  444. blocked=true
  445. if decreaseblock~=nil then
  446. block.Value=block.Value-1
  447. end
  448. end
  449. end
  450. end
  451. if blocked==false then
  452. -- h:TakeDamage(Damage)
  453. h.Health=h.Health-Damage
  454. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  455. else
  456. h.Health=h.Health-(Damage/2)
  457. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  458. end
  459. if Type=="Knockdown" then
  460. local hum=hit.Parent.Humanoid
  461. hum.PlatformStand=true
  462. coroutine.resume(coroutine.create(function(HHumanoid)
  463. swait(1)
  464. HHumanoid.PlatformStand=false
  465. end),hum)
  466. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  467. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  468. local bodvol=Instance.new("BodyVelocity")
  469. bodvol.velocity=angle*knockback
  470. bodvol.P=5000
  471. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  472. bodvol.Parent=hit
  473. local rl=Instance.new("BodyAngularVelocity")
  474. rl.P=3000
  475. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  476. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  477. rl.Parent=hit
  478. game:GetService("Debris"):AddItem(bodvol,.5)
  479. game:GetService("Debris"):AddItem(rl,.5)
  480. elseif Type=="Normal" then
  481. local vp=Instance.new("BodyVelocity")
  482. vp.P=500
  483. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  484. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  485. if KnockbackType==1 then
  486. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  487. elseif KnockbackType==2 then
  488. vp.velocity=Property.CFrame.lookVector*knockback
  489. end
  490. if knockback>0 then
  491. vp.Parent=hit.Parent.Torso
  492. end
  493. game:GetService("Debris"):AddItem(vp,.5)
  494. elseif Type=="Up" then
  495. local bodyVelocity=Instance.new("BodyVelocity")
  496. bodyVelocity.velocity=vt(0,60,0)
  497. bodyVelocity.P=5000
  498. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  499. bodyVelocity.Parent=hit
  500. game:GetService("Debris"):AddItem(bodyVelocity,1)
  501. local rl=Instance.new("BodyAngularVelocity")
  502. rl.P=3000
  503. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  504. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  505. rl.Parent=hit
  506. game:GetService("Debris"):AddItem(rl,.5)
  507. elseif Type=="Snare" then
  508. local bp=Instance.new("BodyPosition")
  509. bp.P=2000
  510. bp.D=100
  511. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  512. bp.position=hit.Parent.Torso.Position
  513. bp.Parent=hit.Parent.Torso
  514. game:GetService("Debris"):AddItem(bp,1)
  515. elseif Type=="Target" then
  516. local Targetting = false
  517. if Targetting==false then
  518. ZTarget=hit.Parent.Torso
  519. coroutine.resume(coroutine.create(function(Part)
  520. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  521. swait(5)
  522. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  523. end),ZTarget)
  524. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  525. local targetgui=Instance.new("BillboardGui")
  526. targetgui.Parent=ZTarget
  527. targetgui.Size=UDim2.new(10,100,10,100)
  528. local targ=Instance.new("ImageLabel")
  529. targ.Parent=targetgui
  530. targ.BackgroundTransparency=1
  531. targ.Image="rbxassetid://4834067"
  532. targ.Size=UDim2.new(1,0,1,0)
  533. cam.CameraType="Scriptable"
  534. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  535. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  536. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  537. Targetting=true
  538. RocketTarget=ZTarget
  539. for i=1,Property do
  540. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  541. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  542. swait()
  543. end
  544. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  545. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  546. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  547. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  548. end
  549. Targetting=false
  550. RocketTarget=nil
  551. targetgui.Parent=nil
  552. cam.CameraType="Custom"
  553. end
  554. end
  555. local debounce=Instance.new("BoolValue")
  556. debounce.Name="DebounceHit"
  557. debounce.Parent=hit.Parent
  558. debounce.Value=true
  559. game:GetService("Debris"):AddItem(debounce,Delay)
  560. c=Instance.new("ObjectValue")
  561. c.Name="creator"
  562. c.Value=Player
  563. c.Parent=h
  564. game:GetService("Debris"):AddItem(c,.5)
  565. end
  566. end
  567.  
  568.  
  569. function ShowDamage(Pos, Text, Time, Color)
  570. local Rate = (1 / 30)
  571. local Pos = (Pos or Vector3.new(0, 0, 0))
  572. local Text = (Text or "")
  573. local Time = (Time or 2)
  574. local Color = (Color or Color3.new(1, 0, 0))
  575. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  576. EffectPart.Anchored = true
  577. local BillboardGui = Instance.new("BillboardGui")
  578. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  579. BillboardGui.Adornee = EffectPart
  580. local TextLabel = Instance.new("TextLabel")
  581. TextLabel.BackgroundTransparency = 1
  582. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  583. TextLabel.Text = Text
  584. TextLabel.TextColor3 = Color
  585. TextLabel.TextScaled = true
  586. TextLabel.Font = Enum.Font.ArialBold
  587. TextLabel.Parent = BillboardGui
  588. BillboardGui.Parent = EffectPart
  589. game.Debris:AddItem(EffectPart, (Time + 0.1))
  590. EffectPart.Parent = game:GetService("Workspace")
  591. Delay(0, function()
  592. local Frames = (Time / Rate)
  593. for Frame = 1, Frames do
  594. wait(Rate)
  595. local Percent = (Frame / Frames)
  596. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  597. TextLabel.TextTransparency = Percent
  598. end
  599. if EffectPart and EffectPart.Parent then
  600. EffectPart:Destroy()
  601. end
  602. end)
  603. end
  604.  
  605. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  606. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  607. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  608. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Really black","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  609. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  610. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  612. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007))
  613. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  615. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  616. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  618. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007))
  619. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  621. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  622. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  624. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008))
  625. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  627. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  628. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  630. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  631. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  633. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  634. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  636. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  637. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  639. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695))
  640. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  642. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  643. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  645. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  646. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  648. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  649. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  651. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  652. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  654. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  655. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  657. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  658. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  660. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  661. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  663. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  664. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  665. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  666. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  667. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  669. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1))
  670. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  672. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  673. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  675. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  676. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  678. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  679. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  681. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  683. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  684. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  686. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  687. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  689. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  690. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  692. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  693. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  695. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  696. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  698. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  699. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  701. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  702. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  704. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  705. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  707. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  709. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159))
  710. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  712. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  713. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  715. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  716. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  718. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007))
  719. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  721. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  722. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  724. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211))
  725. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  727. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  728. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  730. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  731. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  733. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  734. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  736. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  737. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  739. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008))
  740. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  742. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  743. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  745. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1))
  746. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  748. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  749. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  751. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986))
  752. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  754. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  755. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  757. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  758. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  759. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  760. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  762. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  763. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  765. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  766. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  768. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008))
  769. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  771. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  773. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  774. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  776. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854))
  777. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  779. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  780. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  782. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1))
  783. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  784. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  785. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  786. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  787. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  788. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  789. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  790. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404))
  791. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  792. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  793. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  795. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  796. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  798. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  799. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  801. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  802. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  804. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  805. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937))
  806. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  807. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  808. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  809. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  810. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994))
  811. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  813. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  814. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  816. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  817. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  818. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007))
  819. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  821. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  822. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  824. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  825. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  827. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  828. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  830. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  831. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  833. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  834. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  836. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755))
  837. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  838. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  839. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  840. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  842. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  843. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  844. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  845. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1))
  846. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  847.  
  848. local Lite = it("PointLight",Torso)
  849. Lite.Color = Color3.new(255, 255, 0)
  850. Lite.Range = 8
  851. Lite.Brightness = 10
  852. Lite.Shadows = true
  853.  
  854. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  855. local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Gold","Effect",vt(0.5,0.5,0.5))
  856. prt.Anchored=true
  857. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  858. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  859. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  860. CF=Part.CFrame
  861. Numbb=0
  862. randnumb=math.random()-math.random()
  863. for i=0,1,0.05 do
  864. wait()
  865. CF=CF*cf(0,1,0)
  866. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  867. Part.CFrame=CF*euler(Numbb,0,0)
  868. Part.Transparency=i
  869. Numbb=Numbb+randnumb
  870. end
  871. Part.Parent=nil
  872. end),prt)
  873. end
  874. --BreakEffect(BrickColor.new("Gold"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  875.  
  876. function attackone()
  877. attack=true
  878. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  879. for i=0,1,0.1 do
  880. swait()
  881. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  882. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  883. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  884. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  885. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  886. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  887. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  888. end
  889. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  890. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  891. hitconasdf = Hitbox.Touched:connect(function(hit)
  892. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  893. if hum12 and not hum12:IsDescendantOf(Character) then
  894. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  895. for i = 1,10 do
  896. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  897. end
  898. hitconasdf:disconnect()
  899. end
  900. end)
  901. for i=0,1,0.1 do
  902. swait()
  903. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  904. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  905. local h = 5
  906. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  907. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  908. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  909. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  910. scfr = blcf
  911. elseif not scfr then
  912. scfr = blcf
  913. end
  914. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  915. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  917. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  918. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  921. end
  922. attack=false
  923. con:disconnect()
  924. scfr = nil
  925. pcall(function()
  926. hitconasdf:disconnect()
  927. end)
  928. end
  929.  
  930. function attacktwo()
  931. attack=true
  932. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  933. for i=0,1,0.1 do
  934. swait()
  935. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  936. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  937. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  938. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  939. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  942. end
  943. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  944. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  945. hitconasdf = Hitbox.Touched:connect(function(hit)
  946. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  947. if hum12 and not hum12:IsDescendantOf(Character) then
  948. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  949. for i = 1,10 do
  950. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  951. end
  952. hitconasdf:disconnect()
  953. end
  954. end)
  955. for i=0,1,0.1 do
  956. swait()
  957. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  958. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  959. local h = 5
  960. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  961. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  962. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  963. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  964. scfr = blcf
  965. elseif not scfr then
  966. scfr = blcf
  967. end
  968. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  969. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  970. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  971. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  972. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  973. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  974. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  975. end
  976. attack=false
  977. con:disconnect()
  978. scfr = nil
  979. pcall(function()
  980. hitconasdf:disconnect()
  981. end)
  982. end
  983.  
  984. function Stab()
  985. attack=true
  986. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  987. for i=0,1,0.1 do
  988. swait()
  989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  992. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  993. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  994. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  995. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  996. end
  997. hitconasdf = Hitbox.Touched:connect(function(hit)
  998. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  999. if hum12 and not hum12:IsDescendantOf(Character) then
  1000. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1001. for i = 1,10 do
  1002. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1003. end
  1004. hitconasdf:disconnect()
  1005. end
  1006. end)
  1007. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1008. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1009. for i=0,1,0.1 do
  1010. swait()
  1011. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1012. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1013. local h = 5
  1014. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1015. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1016. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1017. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1018. scfr = blcf
  1019. elseif not scfr then
  1020. scfr = blcf
  1021. end
  1022. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  1024. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1025. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  1026. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1027. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1028. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  1029. end
  1030. con:disconnect()
  1031. attack=false
  1032. scfr = nil
  1033. pcall(function()
  1034. hitconasdf:disconnect()
  1035. end)
  1036. end
  1037.  
  1038. function Spin()
  1039. attack=true
  1040. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1041. hitconasdf = Hitbox.Touched:connect(function(hit)
  1042. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1043. if hum12 and not hum12:IsDescendantOf(Character) then
  1044. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1045. for i = 1,10 do
  1046. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1047. end
  1048. hitconasdf:disconnect()
  1049. end
  1050. end)
  1051. for i=0,1,1 do
  1052. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  1053. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1054. swait()
  1055. for i=0,1,0.1 do
  1056. swait()
  1057. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1058. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1059. local h = 5
  1060. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1061. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1062. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1063. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1064. scfr = blcf
  1065. elseif not scfr then
  1066. scfr = blcf
  1067. end
  1068. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  1069. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  1070. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1071. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  1072. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  1073. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  1074. end
  1075. end
  1076. attack=false
  1077. con:disconnect()
  1078. scfr = nil
  1079. pcall(function()
  1080. hitconasdf:disconnect()
  1081. end)
  1082. end
  1083.  
  1084. function ContAttack()
  1085. attack=true
  1086. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1087. hitconasdf = Hitbox.Touched:connect(function(hit)
  1088. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1089. if hum12 and not hum12:IsDescendantOf(Character) then
  1090. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1091. for i = 1,10 do
  1092. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1093. end
  1094. hitconasdf:disconnect()
  1095. end
  1096. end)
  1097. for i=1,4 do
  1098. swait()
  1099. for i=0,1,0.2 do
  1100. swait()
  1101. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1102. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1103. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1104. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1105. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1106. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1107. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1108. end
  1109. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1110. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1111. for i=0,1,0.2 do
  1112. swait()
  1113. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1114. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1115. local h = 5
  1116. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1117. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1118. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1119. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1120. scfr = blcf
  1121. elseif not scfr then
  1122. scfr = blcf
  1123. end
  1124. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1125. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1126. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1127. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1128. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1131. end
  1132. for i=0,1,0.2 do
  1133. swait()
  1134. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1135. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1136. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1137. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1138. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1141. end
  1142. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1143. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1144. for i=0,1,0.2 do
  1145. swait()
  1146. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1147. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1148. local h = 5
  1149. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1150. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1151. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1152. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1153. scfr = blcf
  1154. elseif not scfr then
  1155. scfr = blcf
  1156. end
  1157. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1158. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1159. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1160. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1161. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1162. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1163. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1164. end
  1165. end
  1166. attack=false
  1167. con:disconnect()
  1168. scfr = nil
  1169. pcall(function()
  1170. hitconasdf:disconnect()
  1171. end)
  1172. end
  1173.  
  1174.  
  1175. function Sheathe()
  1176. attack = true
  1177. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  1178. CurrentMode = "Sheathed"
  1179. for i = 0,1,0.1 do
  1180. swait()
  1181. handleweld.Part0 = Torso
  1182. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1183. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  1184. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1185. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1186. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1187. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1188. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1189. end
  1190. attack = false
  1191. end
  1192.  
  1193. function Unsheathe()
  1194. attack = true
  1195. CurrentMode = "Unsheathed"
  1196. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  1197. for i = 0,1,0.1 do
  1198. swait()
  1199. handleweld.Part0 = RightArm
  1200. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1201. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1202. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  1203. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  1204. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1205. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1206. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1207. end
  1208. scfr = nil
  1209. attack = false
  1210. end
  1211.  
  1212. local Sit = false
  1213.  
  1214. mouse.Button1Down:connect(function()
  1215. if attack==false then
  1216. if attacktype==1 and CurrentMode == "Unsheathed" then
  1217. attack=true
  1218. attacktype=2
  1219. attackone()
  1220. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  1221. attack=true
  1222. attacktype=1
  1223. attacktwo()
  1224. end
  1225. end
  1226. end)
  1227.  
  1228.  
  1229. mouse.KeyDown:connect(function(k)
  1230. k=k:lower()
  1231. if k=='q' then
  1232. if attack==false and CurrentMode == "Unsheathed" then
  1233. Stab()
  1234. end
  1235. elseif k=='e' then
  1236. if attack==false and CurrentMode == "Unsheathed" then
  1237. Spin()
  1238. end
  1239. elseif k=='r' then
  1240. if attack==false and CurrentMode == "Unsheathed" then
  1241. ContAttack()
  1242. end
  1243. elseif k=='f' then
  1244. if attack==false and CurrentMode == "Unsheathed" then
  1245. Sheathe()
  1246. elseif k=='f' then
  1247. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1248. Unsheathe()
  1249. end
  1250. end
  1251. elseif k=='t' then
  1252. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1253. Sit = true
  1254. Humanoid.WalkSpeed = 0
  1255. elseif k=='t' then
  1256. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1257. Sit = false
  1258. Humanoid.WalkSpeed = 16
  1259. end
  1260. end
  1261.  
  1262. end
  1263. end)
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279. --cape
  1280. p = game.Players.LocalPlayer
  1281. char = p.Character
  1282. hum = char.Humanoid
  1283. root=char.HumanoidRootPart
  1284. torso = char.Torso
  1285. local player = game.Players.LocalPlayer
  1286. lig = Instance.new("PointLight",player.Character.Torso)
  1287. lig.Color=Color3.new(255,0,0)
  1288. m=player:GetMouse()
  1289. bb = Instance.new("BillboardGui",player.Character.Head)
  1290. bb.Enabled = true
  1291. function newRay(start,face,range,wat)
  1292. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1293. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1294. return rey,hit,pos
  1295. end
  1296. aa1={}
  1297. torso=game.Players.LocalPlayer.Character.Torso
  1298.  
  1299. local WorldUp = Vector3.new(0,1,0)
  1300. function look2(Vec1,Vec2)
  1301. local Orig = Vec1
  1302. Vec1 = Vec1+Vector3.new(0,1,0)
  1303. Vec2 = Vec2+Vector3.new(0,1,0)
  1304. local Forward = (Vec2-Vec1).unit
  1305. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  1306. local Right = Up:Cross(Forward).unit
  1307. Forward = -Forward
  1308. Right = -Right
  1309. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  1310. end
  1311.  
  1312. function look(CFr,Vec2)
  1313. local A = Vector3.new(0,0,0)
  1314. local B = CFr:inverse()*Vec2
  1315. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  1316. if B.Z > 0 then
  1317. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  1318. elseif B.Z == 0 then
  1319. if B.Y > 0 then
  1320. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  1321. elseif B.Y < 0 then
  1322. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  1323. else
  1324. CF = CFr
  1325. end
  1326. end
  1327. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  1328. local Up = Vector3.new(X,Y,Z)
  1329. local Forward = (Vec2-CFr.p).unit
  1330. local Right = Up:Cross(Forward)
  1331. Forward = -Forward
  1332. Right = -Right
  1333. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  1334. end
  1335.  
  1336. function simulate(j,d,m,r,t)
  1337. local joint = j
  1338. for i,v in ipairs(t) do
  1339. if v[1]:FindFirstChild("Weld") then
  1340. local stiff = m.CFrame.lookVector*0.03
  1341. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  1342. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  1343. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  1344. local pos = joint.p+(dir*(d*0.5))
  1345. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  1346. local inv = v[1].Weld.Part0.CFrame
  1347. local rel1 = inv:inverse()*pos
  1348. local rel2 = inv:inverse()*(pos-(dir*dis))
  1349. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  1350. v[1].Weld.C0 = cf
  1351. v[2] = inv*cf
  1352. --v[1].CFrame = cf
  1353. end
  1354. end
  1355. end
  1356. for i=1,8 do
  1357. local p = Instance.new("Part",char)
  1358. p.Anchored = false
  1359. p.BrickColor = BrickColor.new("Gold")
  1360. p.CanCollide = false
  1361. p.FormFactor="Custom"
  1362. p.Material = "SmoothPlastic"
  1363. p.TopSurface = "SmoothNoOutlines"
  1364. p.BottomSurface = "SmoothNoOutlines"
  1365. p.RightSurface = "SmoothNoOutlines"
  1366. p.LeftSurface = "SmoothNoOutlines"
  1367. p.FrontSurface = "SmoothNoOutlines"
  1368. p.BackSurface = "SmoothNoOutlines"
  1369.  
  1370. p.Size=Vector3.new(2,.2,0.2)
  1371. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  1372. mesh = Instance.new("BlockMesh",p)
  1373. mesh.Scale = Vector3.new(1,1,4)
  1374. local w = Instance.new("Motor6D",p)
  1375. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  1376. w.Part1 = p
  1377. w.Name = "Weld"
  1378. --table.insert(aa1,p)
  1379. aa1[i] = {p,p.CFrame}
  1380.  
  1381. end
  1382. game:service"RunService".Stepped:connect(function()
  1383. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  1384. end)
  1385.  
  1386.  
  1387.  
  1388.  
  1389. -------------------------------------------
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1397. local mesh=it(Mesh)
  1398. mesh.Parent=part
  1399. if Mesh=="SpecialMesh" then
  1400. mesh.MeshType=meshtype
  1401. mesh.MeshId=meshid
  1402. end
  1403. mesh.Offset=offset
  1404. mesh.Scale=scale
  1405. return mesh
  1406. end
  1407.  
  1408. function weld(parent,part0,part1,c0,c1)
  1409. local weld=it("Weld")
  1410. weld.Parent=parent
  1411. weld.Part0=part0
  1412. weld.Part1=part1
  1413. weld.C0=c0
  1414. weld.C1=c1
  1415. return weld
  1416. end
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1425.  
  1426. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  1427.  
  1428. prt.Anchored=true
  1429.  
  1430. prt.CFrame=cframe
  1431.  
  1432. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1433.  
  1434. game:GetService("Debris"):AddItem(prt,2)
  1435.  
  1436. coroutine.resume(coroutine.create(function(Part,Mesh)
  1437.  
  1438. for i=0,1,delay do
  1439.  
  1440. wait()
  1441.  
  1442. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1443.  
  1444. Part.Transparency=i
  1445.  
  1446. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1447.  
  1448. end
  1449.  
  1450. Part.Parent=nil
  1451.  
  1452. end),prt,msh)
  1453.  
  1454. end
  1455.  
  1456. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1457.  
  1458. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  1459.  
  1460. prt.Anchored=true
  1461.  
  1462. prt.CFrame=cframe
  1463.  
  1464. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1465.  
  1466. game:GetService("Debris"):AddItem(prt,2)
  1467.  
  1468. coroutine.resume(coroutine.create(function(Part,Mesh)
  1469.  
  1470. local wld=nil
  1471.  
  1472. for i=0,1,delay do
  1473.  
  1474. wait()
  1475.  
  1476. Part.CFrame=Part.CFrame
  1477.  
  1478. Part.Transparency=i
  1479.  
  1480. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1481.  
  1482. end
  1483.  
  1484. Part.Parent=nil
  1485.  
  1486. end),prt,msh)
  1487.  
  1488. end
  1489.  
  1490. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1491.  
  1492. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1493.  
  1494. prt.Anchored=true
  1495.  
  1496. prt.CFrame=cframe
  1497.  
  1498. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1499.  
  1500. game:GetService("Debris"):AddItem(prt,5)
  1501.  
  1502. coroutine.resume(coroutine.create(function(Part,Mesh)
  1503.  
  1504. for i=0,1,delay do
  1505.  
  1506. wait()
  1507.  
  1508. Part.CFrame=Part.CFrame
  1509.  
  1510. Part.Transparency=i
  1511.  
  1512. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1513.  
  1514. end
  1515.  
  1516. Part.Parent=nil
  1517.  
  1518. end),prt,msh)
  1519.  
  1520. end
  1521.  
  1522. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1523.  
  1524. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1525.  
  1526. prt.Anchored=true
  1527.  
  1528. prt.CFrame=cframe
  1529.  
  1530. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1531.  
  1532. game:GetService("Debris"):AddItem(prt,5)
  1533.  
  1534. coroutine.resume(coroutine.create(function(Part,Mesh)
  1535.  
  1536. for i=0,1,delay do
  1537.  
  1538. wait()
  1539.  
  1540. Part.CFrame=Part.CFrame
  1541.  
  1542. Part.Transparency=i
  1543.  
  1544. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1545.  
  1546. end
  1547.  
  1548. Part.Parent=nil
  1549.  
  1550. end),prt,msh)
  1551.  
  1552. end
  1553.  
  1554. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1555.  
  1556. local fp=it("Part")
  1557.  
  1558. fp.formFactor=formfactor
  1559.  
  1560. fp.Parent=parent
  1561.  
  1562. fp.Reflectance=reflectance
  1563.  
  1564. fp.Transparency=transparency
  1565.  
  1566. fp.CanCollide=false
  1567.  
  1568. fp.Locked=true
  1569.  
  1570. fp.BrickColor=brickcolor
  1571.  
  1572. fp.Name=name
  1573.  
  1574. fp.Size=size
  1575.  
  1576. NoOutline(fp)
  1577.  
  1578. fp.Material="SmoothPlastic"
  1579.  
  1580. fp:BreakJoints()
  1581.  
  1582. return fp
  1583.  
  1584. end
  1585.  
  1586. function weld(parent,part0,part1,c0)
  1587.  
  1588. local weld=it("Weld")
  1589.  
  1590. weld.Parent=parent
  1591.  
  1592. weld.Part0=part0
  1593.  
  1594. weld.Part1=part1
  1595.  
  1596. weld.C0=c0
  1597.  
  1598. return weld
  1599.  
  1600. end
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606. deeznuts = true
  1607. function Nocturn()
  1608. if deeznuts==true then
  1609. deeznuts=false
  1610. local n=2
  1611. --[[for i=0,1,0.1 do
  1612. wait()
  1613. Neck.C0=cf(0,1,0)*euler(-0.2+0.6*i*n,0,0)
  1614. RW.C0=cf(1.5,0.5,0)*euler(3.14*i*n,0,0.3-0.9*i*n)
  1615. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1616. LW.C0=cf(-1.5,0.5,0)*euler(3.14*i*n,0,-0.3+0.9*i*n)
  1617. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1618. n=n-0.1
  1619. end]]
  1620. local orb=part(3,Character,0,1,BrickColor.new("Gold"),"Orb",vt())
  1621. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1622. local owld=weld(orb,orb,Torso,cf(0,-10,0))
  1623. so("http://roblox.com/asset/?id=233091161",orb,1,0.6)
  1624. so("http://roblox.com/asset/?id=2233091183",orb,1,1)
  1625. for i=1,0.3,-0.01 do
  1626. wait()
  1627. orb.Transparency=i
  1628. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1629. MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  1630. local ef=part(3,workspace,0,0,BrickColor.new("Gold"),"Effect",vt())
  1631. ef.Anchored=true
  1632. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1633. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1634. ef.CFrame=orb.CFrame*ceef
  1635. game:GetService("Debris"):AddItem(ef,2)
  1636. coroutine.resume(coroutine.create(function(Part,Mesh)
  1637. for i=0,1,0.1 do
  1638. wait()
  1639. Part.Transparency=i
  1640. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1641. end
  1642. Part.Parent=nil
  1643. end),ef,emsh)
  1644. end
  1645. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1646. wait(.5)
  1647. orb.Parent=nil
  1648. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  1649. local mag=(orb.Position-pos).magnitude
  1650. MagicCircle(BrickColor.new("Gold"),cf(pos),15,15,15,8,8,8,0.02)
  1651. MagicBlock(BrickColor.new("Gold"),cf(pos),15,15,15,8,8,8,0.02)
  1652. MagicCylinder(BrickColor.new("Gold"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  1653. for i=1,2 do
  1654. MagicRing(BrickColor.new("Gold"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04)
  1655. end
  1656. for i=1,5 do
  1657. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1658. MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  1659. end
  1660. for i=0,5 do
  1661. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1662. MagicRing(BrickColor.new("Gold"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  1663. end
  1664. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  1665. ref.CFrame=cf(pos)
  1666. so("http://roblox.com/asset/?id=231917813",Torso,1,0.7)
  1667. so("http://roblox.com/asset/?id=231917813",Torso,1,0.7)
  1668. so("http://www.roblox.com/Asset?ID=231917813",Torso,1,1)
  1669. so("http://roblox.com/asset/?id=231917813",ref,1,0.7)
  1670. so("http://roblox.com/asset/?id=231917813",ref,1,0.7)
  1671. so("http://www.roblox.com/Asset?ID=231917813",ref,1,1)
  1672. coroutine.resume(coroutine.create(function(Part)
  1673. Part.Parent=nil
  1674. end),ref)
  1675. if hit~=nil then
  1676. local Damagefunc= hit.Parent:FindFirstChild("Humanoid")
  1677. for _,v in pairs(hit.Parent:children()) do
  1678. if v:IsA("Humanoid") then
  1679. v.Parent.Torso.Neck:Remove()
  1680. h=v
  1681. end
  1682. end
  1683. end
  1684. local n=2
  1685. --[[for i=0,1,0.1 do
  1686. wait()
  1687. Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  1688. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,-0.6+0.9*i*n)
  1689. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1690. LW.C0=cf(-1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.6-0.9*i*n)
  1691. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1692. n=n-0.1
  1693. end]]
  1694. deeznuts=true
  1695. end
  1696. end
  1697.  
  1698.  
  1699.  
  1700.  
  1701. mouse.KeyDown:connect(function(k)
  1702. k=k:lower()
  1703. if k=='g' then
  1704. if attack==false then
  1705. Nocturn()
  1706. end
  1707. end
  1708. end)
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714. -------------------------------------------
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727. local sine = 0
  1728. local change = 1
  1729. local val = 0
  1730.  
  1731. while true do
  1732. swait()
  1733. sine = sine + change
  1734. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1735. local velderp=RootPart.Velocity.y
  1736. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1737. if equipped==true or equipped==false then
  1738. if attack==false then
  1739. idle=idle+1
  1740. else
  1741. idle=0
  1742. end
  1743. if idle>=500 then
  1744. if attack==false then
  1745. end
  1746. end
  1747. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1748. Anim="Jump"
  1749. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1750. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1751. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1752. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  1753. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1754. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1755. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1756. end
  1757. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1758. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1759. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1760. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1761. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1762. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1763. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1764. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1765. end
  1766. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1767. Anim="Fall"
  1768. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1769. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1771. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1772. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1773. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1774. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1775. end
  1776. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1777. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1778. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1779. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1780. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1781. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1782. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1783. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1784. end
  1785. elseif torvel<1 and hitfloor~=nil then
  1786. Anim="Idle"
  1787. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1788. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1789. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1790. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1791. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1792. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1793. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1794. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1795. end
  1796. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1797. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1799. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1800. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1801. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1802. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1803. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1804. end
  1805. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1806. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1807. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1808. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1809. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1810. LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1811. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1812. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1813. end
  1814. elseif torvel>2 and hitfloor~=nil then
  1815. Anim="Walk"
  1816. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1817. change=3
  1818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1820. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1821. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  1822. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1823. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1824. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1825. end
  1826. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1827. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1828. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1829. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  1830. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  1831. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1832. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1833. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1834. end
  1835. end
  1836. end
  1837. if #Effects>0 then
  1838. for e=1,#Effects do
  1839. if Effects[e]~=nil then
  1840. local Thing=Effects[e]
  1841. if Thing~=nil then
  1842. local Part=Thing[1]
  1843. local Mode=Thing[2]
  1844. local Delay=Thing[3]
  1845. local IncX=Thing[4]
  1846. local IncY=Thing[5]
  1847. local IncZ=Thing[6]
  1848. if Thing[1].Transparency<=1 then
  1849. if Thing[2]=="Block1" then
  1850. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1851. Mesh=Thing[1].Mesh
  1852. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1853. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1854. elseif Thing[2]=="Cylinder" then
  1855. Mesh=Thing[1].Mesh
  1856. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1857. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1858. elseif Thing[2]=="Blood" then
  1859. Mesh=Thing[7]
  1860. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1861. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1862. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1863. elseif Thing[2]=="Elec" then
  1864. Mesh=Thing[1].Mesh
  1865. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1866. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1867. elseif Thing[2]=="Disappear" then
  1868. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1869. end
  1870. else
  1871. Part.Parent=nil
  1872. table.remove(Effects,e)
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement