saba1517

donimus thing ;-;

Jun 8th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.67 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52. local CurrentMode = "Unsheathed"
  53. plr = game.Players.LocalPlayer
  54. asdasd = plr.Name
  55. ws = game.Workspace[asdasd]
  56. Mouse = Player:GetMouse()
  57. --NFSBOYLOL EDIT
  58. Player.CanLoadCharacterAppearance = false
  59. Character.Humanoid.MaxHealth = math.huge
  60. Character.Humanoid.JumpPower = 100
  61. Character.Humanoid.WalkSpeed = (90)
  62. function clearshirt() for i,v in pairs(Player:GetChildren()) do
  63. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then v:remove()
  64. end
  65. end
  66. end
  67. --FUNCTIONS AND HUMANOID STATS
  68. Lighting = game.Lighting
  69. skybox = Instance.new("Sky", Lighting)
  70.  
  71. skybox.SkyboxBk = "rbxassetid://83166908"
  72. skybox.SkyboxDn = "rbxassetid://83166908"
  73. skybox.SkyboxFt = "rbxassetid://83166908"
  74. skybox.SkyboxLf = "rbxassetid://83166908"
  75. skybox.SkyboxRt = "rbxassetid://83166908"
  76. skybox.SkyboxUp = "rbxassetid://83166908"
  77. --SKYBOX
  78.  
  79. Character.Humanoid.NameDisplayDistance = 0
  80. Character.Humanoid.HealthDisplayDistance = 0
  81. Character.Head.BrickColor = BrickColor.new(255,0,0)
  82. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=259421287"
  83. Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  84. Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=64886449"
  85. Character.Head.Mesh.Scale = Vector3.new(1,1,1)
  86. Character.Head.Mesh.VertexColor = Vector3.new(0.7,0.7,0.7)
  87. Character.Head.Material = "Neon"
  88.  
  89. shirt = Instance.new("Shirt", Character)
  90. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=359403460"
  91.  
  92. pants = Instance.new("Pants", Character)
  93. pants.PantsTemplate = "http://www.roblox.com/asset/?id=359404229"
  94. --SHIRT AND PANTS
  95. game.Workspace.Base.Material = "Marble"
  96. game.Workspace.Base.BrickColor = BrickColor.new("Gold")
  97. --BASEPLATE
  98. local particleemitter = Instance.new("ParticleEmitter", ws.Torso)
  99. particleemitter.VelocitySpread = 180
  100. particleemitter.Lifetime = NumberRange.new(0.2)
  101. particleemitter.Speed = NumberRange.new(2)
  102. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 10)})
  103. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  104. particleemitter.Rate = 100
  105. particleemitter.Rotation = NumberRange.new(-45, 45)
  106. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  107. particleemitter.LightEmission = 0
  108. particleemitter.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,210,0)) --Color here
  109.  
  110. local firee = Instance.new("Fire")
  111. firee.Parent = ws.Head
  112. firee.Size = ("3")
  113. firee.Color = Color3.new(90,90,90)
  114. firee.SecondaryColor = Color3.new(90,90,0)
  115. --PARTICLES+FIRE
  116. music = Instance.new("Sound", Character)
  117. music.SoundId ="http://www.roblox.com/asset/?id=182202730"
  118. music.Volume = 0.6
  119. music.Looped = true
  120. wait(0.1)
  121. music:Play()
  122. --MUSIC
  123.  
  124.  
  125.  
  126.  
  127.  
  128. --NFSBOYLOL EDIT
  129. mouse=Player:GetMouse()
  130. --save shoulders
  131. RSH, LSH=nil, nil
  132. --welds
  133. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  134. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  135. LH=Torso["Left Hip"]
  136. RH=Torso["Right Hip"]
  137. TorsoColor=Torso.BrickColor
  138. function NoOutline(Part)
  139. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  140. end
  141. player=Player
  142. ch=Character
  143. RSH=ch.Torso["Right Shoulder"]
  144. LSH=ch.Torso["Left Shoulder"]
  145. --
  146. RSH.Parent=nil
  147. LSH.Parent=nil
  148. --
  149. RW.Name="Right Shoulder"
  150. RW.Part0=ch.Torso
  151. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  152. RW.C1=cf(0, 0.5, 0)
  153. RW.Part1=ch["Right Arm"]
  154. RW.Parent=ch.Torso
  155. --
  156. LW.Name="Left Shoulder"
  157. LW.Part0=ch.Torso
  158. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  159. LW.C1=cf(0, 0.5, 0)
  160. LW.Part1=ch["Left Arm"]
  161. LW.Parent=ch.Torso
  162.  
  163. local function weldBetween(a, b)
  164. local weldd = Instance.new("ManualWeld")
  165. weldd.Part0 = a
  166. weldd.Part1 = b
  167. weldd.C0 = CFrame.new()
  168. weldd.C1 = b.CFrame:inverse() * a.CFrame
  169. weldd.Parent = a
  170. return weldd
  171. end
  172.  
  173. function nooutline(part)
  174. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  175. end
  176.  
  177. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  178. local fp=it("Part")
  179. fp.formFactor=formfactor
  180. fp.Parent=parent
  181. fp.Reflectance=reflectance
  182. fp.Transparency=transparency
  183. fp.CanCollide=false
  184. fp.Locked=true
  185. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  186. fp.Name=name
  187. fp.Size=size
  188. fp.Position=Character.Torso.Position
  189. nooutline(fp)
  190. fp.Material=material
  191. fp:BreakJoints()
  192. return fp
  193. end
  194.  
  195. function swait(num)
  196. if num==0 or num==nil then
  197. game:service'RunService'.Heartbeat:wait(0)
  198. else
  199. for i=0,num do
  200. game:service'RunService'.Heartbeat:wait(0)
  201. end
  202. end
  203. end
  204.  
  205. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  206. local mesh=it(Mesh)
  207. mesh.Parent=part
  208. if Mesh=="SpecialMesh" then
  209. mesh.MeshType=meshtype
  210. mesh.MeshId=meshid
  211. end
  212. mesh.Offset=offset
  213. mesh.Scale=scale
  214. return mesh
  215. end
  216.  
  217. function weld(parent,part0,part1,c0,c1)
  218. local weld=it("Weld")
  219. weld.Parent=parent
  220. weld.Part0=part0
  221. weld.Part1=part1
  222. weld.C0=c0
  223. weld.C1=c1
  224. return weld
  225. end
  226.  
  227.  
  228. local function CFrameFromTopBack(at, top, back)
  229. local right = top:Cross(back)
  230. return CFrame.new(at.x, at.y, at.z,
  231. right.x, top.x, back.x,
  232. right.y, top.y, back.y,
  233. right.z, top.z, back.z)
  234. end
  235.  
  236. function Triangle(a, b, c)
  237. local edg1 = (c-a):Dot((b-a).unit)
  238. local edg2 = (a-b):Dot((c-b).unit)
  239. local edg3 = (b-c):Dot((a-c).unit)
  240. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  241. a, b, c = a, b, c
  242. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  243. a, b, c = b, c, a
  244. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  245. a, b, c = c, a, b
  246. else
  247. assert(false, "unreachable")
  248. end
  249.  
  250. local len1 = (c-a):Dot((b-a).unit)
  251. local len2 = (b-a).magnitude - len1
  252. local width = (a + (b-a).unit*len1 - c).magnitude
  253.  
  254. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  255.  
  256. local list = {}
  257.  
  258. if len1 > 0.01 then
  259. local w1 = Instance.new('WedgePart', m)
  260. game:GetService("Debris"):AddItem(w1,5)
  261. w1.Material = "SmoothPlastic"
  262. w1.FormFactor = 'Custom'
  263. w1.BrickColor = BrickColor.new("Gold")
  264. w1.Transparency = 0
  265. w1.Reflectance = 0
  266. w1.Material = "Neon"
  267. w1.CanCollide = false
  268. NoOutline(w1)
  269. local sz = Vector3.new(0.2, width, len1)
  270. w1.Size = sz
  271. local sp = Instance.new("SpecialMesh",w1)
  272. sp.MeshType = "Wedge"
  273. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  274. w1:BreakJoints()
  275. w1.Anchored = true
  276. w1.Parent = workspace
  277. w1.Transparency = 0.3
  278. table.insert(Effects,{w1,"Disappear",.03})
  279. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  280. table.insert(list,w1)
  281. end
  282. if len2 > 0.01 then
  283. local w2 = Instance.new('WedgePart', m)
  284. game:GetService("Debris"):AddItem(w2,5)
  285. w2.Material = "SmoothPlastic"
  286. w2.FormFactor = 'Custom'
  287. w2.BrickColor = BrickColor.new("Gold")
  288. w2.Transparency = 0
  289. w2.Reflectance = 0
  290. w2.Material = "Neon"
  291. w2.CanCollide = false
  292. NoOutline(w2)
  293. local sz = Vector3.new(0.2, width, len2)
  294. w2.Size = sz
  295. local sp = Instance.new("SpecialMesh",w2)
  296. sp.MeshType = "Wedge"
  297. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  298. w2:BreakJoints()
  299. w2.Anchored = true
  300. w2.Parent = workspace
  301. w2.Transparency = 0.3
  302. table.insert(Effects,{w2,"Disappear",.03})
  303. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  304. table.insert(list,w2)
  305. end
  306. return unpack(list)
  307. end
  308.  
  309.  
  310. so = function(id,par,vol,pit)
  311. coroutine.resume(coroutine.create(function()
  312. local sou = Instance.new("Sound",par or workspace)
  313. sou.Volume=vol
  314. sou.Pitch=pit or 1
  315. sou.SoundId=id
  316. swait()
  317. sou:play()
  318. game:GetService("Debris"):AddItem(sou,6)
  319. end))
  320. end
  321.  
  322. function clerp(a,b,t)
  323. local qa = {QuaternionFromCFrame(a)}
  324. local qb = {QuaternionFromCFrame(b)}
  325. local ax, ay, az = a.x, a.y, a.z
  326. local bx, by, bz = b.x, b.y, b.z
  327. local _t = 1-t
  328. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  329. end
  330.  
  331. function QuaternionFromCFrame(cf)
  332. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  333. local trace = m00 + m11 + m22
  334. if trace > 0 then
  335. local s = math.sqrt(1 + trace)
  336. local recip = 0.5/s
  337. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  338. else
  339. local i = 0
  340. if m11 > m00 then
  341. i = 1
  342. end
  343. if m22 > (i == 0 and m00 or m11) then
  344. i = 2
  345. end
  346. if i == 0 then
  347. local s = math.sqrt(m00-m11-m22+1)
  348. local recip = 0.5/s
  349. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  350. elseif i == 1 then
  351. local s = math.sqrt(m11-m22-m00+1)
  352. local recip = 0.5/s
  353. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  354. elseif i == 2 then
  355. local s = math.sqrt(m22-m00-m11+1)
  356. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  357. end
  358. end
  359. end
  360.  
  361. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  362. local xs, ys, zs = x + x, y + y, z + z
  363. local wx, wy, wz = w*xs, w*ys, w*zs
  364. local xx = x*xs
  365. local xy = x*ys
  366. local xz = x*zs
  367. local yy = y*ys
  368. local yz = y*zs
  369. local zz = z*zs
  370. 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))
  371. end
  372.  
  373. function QuaternionSlerp(a, b, t)
  374. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  375. local startInterp, finishInterp;
  376. if cosTheta >= 0.0001 then
  377. if (1 - cosTheta) > 0.0001 then
  378. local theta = math.acos(cosTheta)
  379. local invSinTheta = 1/math.sin(theta)
  380. startInterp = math.sin((1-t)*theta)*invSinTheta
  381. finishInterp = math.sin(t*theta)*invSinTheta
  382. else
  383. startInterp = 1-t
  384. finishInterp = t
  385. end
  386. else
  387. if (1+cosTheta) > 0.0001 then
  388. local theta = math.acos(-cosTheta)
  389. local invSinTheta = 1/math.sin(theta)
  390. startInterp = math.sin((t-1)*theta)*invSinTheta
  391. finishInterp = math.sin(t*theta)*invSinTheta
  392. else
  393. startInterp = t-1
  394. finishInterp = t
  395. end
  396. end
  397. 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
  398. end
  399.  
  400. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  401. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  402. end
  403.  
  404. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  405. if hit.Parent==nil then
  406. return
  407. end
  408. local h=hit.Parent:FindFirstChild("Humanoid")
  409. for _,v in pairs(hit.Parent:children()) do
  410. if v:IsA("Humanoid") then
  411. h=v
  412. end
  413. end
  414. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  415. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  416. end
  417. if hit.Parent.className=="Hat" then
  418. hit=hit.Parent.Parent:findFirstChild("Head")
  419. end
  420. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  421. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  422. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  423. return
  424. end]]
  425. -- hs(hit,1.2)
  426. local c=Instance.new("ObjectValue")
  427. c.Name="creator"
  428. c.Value=game:service("Players").LocalPlayer
  429. c.Parent=h
  430. game:GetService("Debris"):AddItem(c,.5)
  431. local Damage=math.huge
  432. -- h:TakeDamage(Damage)
  433. local blocked=false
  434. local block=hit.Parent:findFirstChild("Block")
  435. if block~=nil then
  436. print(block.className)
  437. if block.className=="NumberValue" then
  438. if block.Value>0 then
  439. blocked=true
  440. if decreaseblock==nil then
  441. block.Value=block.Value-1
  442. end
  443. end
  444. end
  445. if block.className=="IntValue" then
  446. if block.Value>0 then
  447. blocked=true
  448. if decreaseblock~=nil then
  449. block.Value=block.Value-1
  450. end
  451. end
  452. end
  453. end
  454. if blocked==false then
  455. -- h:TakeDamage(Damage)
  456. h.Health=h.Health-Damage
  457. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  458. else
  459. h.Health=h.Health-(Damage/2)
  460. 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)
  461. end
  462. if Type=="Knockdown" then
  463. local hum=hit.Parent.Humanoid
  464. hum.PlatformStand=true
  465. coroutine.resume(coroutine.create(function(HHumanoid)
  466. swait(1)
  467. HHumanoid.PlatformStand=false
  468. end),hum)
  469. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  470. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  471. local bodvol=Instance.new("BodyVelocity")
  472. bodvol.velocity=angle*knockback
  473. bodvol.P=5000
  474. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  475. bodvol.Parent=hit
  476. local rl=Instance.new("BodyAngularVelocity")
  477. rl.P=3000
  478. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  479. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  480. rl.Parent=hit
  481. game:GetService("Debris"):AddItem(bodvol,.5)
  482. game:GetService("Debris"):AddItem(rl,.5)
  483. elseif Type=="Normal" then
  484. local vp=Instance.new("BodyVelocity")
  485. vp.P=500
  486. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  487. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  488. if KnockbackType==1 then
  489. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  490. elseif KnockbackType==2 then
  491. vp.velocity=Property.CFrame.lookVector*knockback
  492. end
  493. if knockback>0 then
  494. vp.Parent=hit.Parent.Torso
  495. end
  496. game:GetService("Debris"):AddItem(vp,.5)
  497. elseif Type=="Up" then
  498. local bodyVelocity=Instance.new("BodyVelocity")
  499. bodyVelocity.velocity=vt(0,60,0)
  500. bodyVelocity.P=5000
  501. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  502. bodyVelocity.Parent=hit
  503. game:GetService("Debris"):AddItem(bodyVelocity,1)
  504. local rl=Instance.new("BodyAngularVelocity")
  505. rl.P=3000
  506. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  507. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  508. rl.Parent=hit
  509. game:GetService("Debris"):AddItem(rl,.5)
  510. elseif Type=="Snare" then
  511. local bp=Instance.new("BodyPosition")
  512. bp.P=2000
  513. bp.D=100
  514. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  515. bp.position=hit.Parent.Torso.Position
  516. bp.Parent=hit.Parent.Torso
  517. game:GetService("Debris"):AddItem(bp,1)
  518. elseif Type=="Target" then
  519. local Targetting = false
  520. if Targetting==false then
  521. ZTarget=hit.Parent.Torso
  522. coroutine.resume(coroutine.create(function(Part)
  523. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  524. swait(5)
  525. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  526. end),ZTarget)
  527. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  528. local targetgui=Instance.new("BillboardGui")
  529. targetgui.Parent=ZTarget
  530. targetgui.Size=UDim2.new(10,100,10,100)
  531. local targ=Instance.new("ImageLabel")
  532. targ.Parent=targetgui
  533. targ.BackgroundTransparency=1
  534. targ.Image="rbxassetid://4834067"
  535. targ.Size=UDim2.new(1,0,1,0)
  536. cam.CameraType="Scriptable"
  537. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  538. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  539. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  540. Targetting=true
  541. RocketTarget=ZTarget
  542. for i=1,Property do
  543. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  544. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  545. swait()
  546. end
  547. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  548. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  549. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  550. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  551. end
  552. Targetting=false
  553. RocketTarget=nil
  554. targetgui.Parent=nil
  555. cam.CameraType="Custom"
  556. end
  557. end
  558. local debounce=Instance.new("BoolValue")
  559. debounce.Name="DebounceHit"
  560. debounce.Parent=hit.Parent
  561. debounce.Value=true
  562. game:GetService("Debris"):AddItem(debounce,Delay)
  563. c=Instance.new("ObjectValue")
  564. c.Name="creator"
  565. c.Value=Player
  566. c.Parent=h
  567. game:GetService("Debris"):AddItem(c,.5)
  568. end
  569. end
  570.  
  571.  
  572. function ShowDamage(Pos, Text, Time, Color)
  573. local Rate = (1 / 30)
  574. local Pos = (Pos or Vector3.new(0, 0, 0))
  575. local Text = (Text or "")
  576. local Time = (Time or 2)
  577. local Color = (Color or Color3.new(1, 0, 0))
  578. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  579. EffectPart.Anchored = true
  580. local BillboardGui = Instance.new("BillboardGui")
  581. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  582. BillboardGui.Adornee = EffectPart
  583. local TextLabel = Instance.new("TextLabel")
  584. TextLabel.BackgroundTransparency = 1
  585. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  586. TextLabel.Text = Text
  587. TextLabel.TextColor3 = Color
  588. TextLabel.TextScaled = true
  589. TextLabel.Font = Enum.Font.ArialBold
  590. TextLabel.Parent = BillboardGui
  591. BillboardGui.Parent = EffectPart
  592. game.Debris:AddItem(EffectPart, (Time + 0.1))
  593. EffectPart.Parent = game:GetService("Workspace")
  594. Delay(0, function()
  595. local Frames = (Time / Rate)
  596. for Frame = 1, Frames do
  597. wait(Rate)
  598. local Percent = (Frame / Frames)
  599. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  600. TextLabel.TextTransparency = Percent
  601. end
  602. if EffectPart and EffectPart.Parent then
  603. EffectPart:Destroy()
  604. end
  605. end)
  606. end
  607.  
  608. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  609. 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))
  610. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  611. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Gold","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  612. 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))
  613. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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, -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))
  616. 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))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  618. 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))
  619. 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))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  621. 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))
  622. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  624. 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))
  625. 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))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  627. 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))
  628. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 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.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))
  631. 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))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  634. 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))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 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.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))
  637. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  639. 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))
  640. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  642. 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))
  643. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  645. 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))
  646. 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))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  648. 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))
  649. 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))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  652. 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))
  653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  655. 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))
  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.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-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.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  660. 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))
  661. 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))
  662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  663. 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))
  664. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  665. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  666. 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))
  667. 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))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  669. 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))
  670. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 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.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))
  673. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  676. 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))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 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.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))
  679. 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))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 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(-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))
  682. 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))
  683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  684. 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))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,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.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  687. 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))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,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, 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))
  690. 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))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,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.187919989, 0.477920026, 1.68895996))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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, -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))
  696. 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))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  699. 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))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.200000003, 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.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))
  702. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  705. 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))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 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.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))
  708. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  710. 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))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 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(-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))
  713. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  715. 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))
  716. 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))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  718. 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))
  719. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  722. 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))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  724. 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))
  725. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  727. 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))
  728. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 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.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))
  731. 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))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 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.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))
  734. 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))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","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.226199999, 0.379320025, 1.68895996))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  739. 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))
  740. 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))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  742. 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))
  743. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 1.15999997, 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.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))
  746. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  748. 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))
  749. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  752. 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))
  753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.579999983, 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.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))
  755. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 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.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))
  758. 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))
  759. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 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.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))
  761. 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))
  762. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  763. 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))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","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, 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))
  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,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  768. 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))
  769. 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))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  771. 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))
  772. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  773. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  774. 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))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  777. 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))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 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.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))
  780. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  783. 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))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  785. 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))
  786. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  788. 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))
  789. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  790. 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))
  791. 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))
  792. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  793. 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))
  794. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  795. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  796. 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))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 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.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))
  799. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  801. 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))
  802. 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))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  804. 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))
  805. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  806. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  807. 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))
  808. 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))
  809. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 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.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))
  811. 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))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 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.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))
  814. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  817. 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))
  818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  819. 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))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  821. 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))
  822. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  824. 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))
  825. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  827. 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))
  828. 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))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  830. 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))
  831. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  833. 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))
  834. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  836. 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))
  837. 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))
  838. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  839. 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))
  840. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 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.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))
  843. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  844. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 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.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))
  846. 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))
  847. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  848. 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))
  849. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  850.  
  851. local Lite = it("PointLight",Torso)
  852. Lite.Color = Color3.new(255, 255, 0)
  853. Lite.Range = 8
  854. Lite.Brightness = 10
  855. Lite.Shadows = true
  856.  
  857. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  858. local prt=part("Custom",workspace,"Neon",0,0,"Gold","Effect",vt(0.5,0.5,0.5))
  859. prt.Anchored=true
  860. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  861. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  862. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  863. CF=Part.CFrame
  864. Numbb=0
  865. randnumb=math.random()-math.random()
  866. for i=0,1,0.05 do
  867. wait()
  868. CF=CF*cf(0,1,0)
  869. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  870. Part.CFrame=CF*euler(Numbb,0,0)
  871. Part.Transparency=i
  872. Numbb=Numbb+randnumb
  873. end
  874. Part.Parent=nil
  875. end),prt)
  876. end
  877. --BreakEffect(BrickColor.new("Gold"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  878.  
  879. function attackone()
  880. attack=true
  881. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  882. for i=0,1,0.1 do
  883. swait()
  884. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  885. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  886. 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)
  887. 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)
  888. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  889. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  891. end
  892. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  893. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  894. hitconasdf = Hitbox.Touched:connect(function(hit)
  895. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  896. if hum12 and not hum12:IsDescendantOf(Character) then
  897. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  898. for i = 1,10 do
  899. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  900. end
  901. hitconasdf:disconnect()
  902. end
  903. end)
  904. for i=0,1,0.1 do
  905. swait()
  906. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  907. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  908. local h = 5
  909. 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)
  910. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  911. 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)
  912. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  913. scfr = blcf
  914. elseif not scfr then
  915. scfr = blcf
  916. end
  917. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  918. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  919. 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)
  920. 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)
  921. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  922. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  923. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  924. end
  925. attack=false
  926. con:disconnect()
  927. scfr = nil
  928. pcall(function()
  929. hitconasdf:disconnect()
  930. end)
  931. end
  932.  
  933. function attacktwo()
  934. attack=true
  935. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  936. for i=0,1,0.1 do
  937. swait()
  938. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  939. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  940. 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)
  941. 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)
  942. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  945. end
  946. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  947. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  948. hitconasdf = Hitbox.Touched:connect(function(hit)
  949. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  950. if hum12 and not hum12:IsDescendantOf(Character) then
  951. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  952. for i = 1,10 do
  953. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  954. end
  955. hitconasdf:disconnect()
  956. end
  957. end)
  958. for i=0,1,0.1 do
  959. swait()
  960. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  961. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  962. local h = 5
  963. 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)
  964. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  965. 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)
  966. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  967. scfr = blcf
  968. elseif not scfr then
  969. scfr = blcf
  970. end
  971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  972. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  973. 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)
  974. 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)
  975. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  978. end
  979. attack=false
  980. con:disconnect()
  981. scfr = nil
  982. pcall(function()
  983. hitconasdf:disconnect()
  984. end)
  985. end
  986.  
  987. function Stab()
  988. attack=true
  989. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  990. for i=0,1,0.1 do
  991. swait()
  992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  994. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  995. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  996. 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)
  997. 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)
  998. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  999. end
  1000. hitconasdf = Hitbox.Touched:connect(function(hit)
  1001. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1002. if hum12 and not hum12:IsDescendantOf(Character) then
  1003. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1004. for i = 1,10 do
  1005. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1006. end
  1007. hitconasdf:disconnect()
  1008. end
  1009. end)
  1010. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1011. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1012. for i=0,1,0.1 do
  1013. swait()
  1014. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1015. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1016. local h = 5
  1017. 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)
  1018. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1019. 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)
  1020. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1021. scfr = blcf
  1022. elseif not scfr then
  1023. scfr = blcf
  1024. end
  1025. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1026. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  1027. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1028. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  1029. 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)
  1030. 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)
  1031. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  1032. end
  1033. con:disconnect()
  1034. attack=false
  1035. scfr = nil
  1036. pcall(function()
  1037. hitconasdf:disconnect()
  1038. end)
  1039. end
  1040.  
  1041. function Spin()
  1042. attack=true
  1043. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1044. hitconasdf = Hitbox.Touched:connect(function(hit)
  1045. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1046. if hum12 and not hum12:IsDescendantOf(Character) then
  1047. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1048. for i = 1,10 do
  1049. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1050. end
  1051. hitconasdf:disconnect()
  1052. end
  1053. end)
  1054. for i=0,1,1 do
  1055. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  1056. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1057. swait()
  1058. for i=0,1,0.1 do
  1059. swait()
  1060. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1061. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1062. local h = 5
  1063. 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)
  1064. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1065. 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)
  1066. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1067. scfr = blcf
  1068. elseif not scfr then
  1069. scfr = blcf
  1070. end
  1071. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  1072. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  1073. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1074. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  1075. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  1076. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  1077. end
  1078. end
  1079. attack=false
  1080. con:disconnect()
  1081. scfr = nil
  1082. pcall(function()
  1083. hitconasdf:disconnect()
  1084. end)
  1085. end
  1086.  
  1087. function ContAttack()
  1088. attack=true
  1089. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1090. hitconasdf = Hitbox.Touched:connect(function(hit)
  1091. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1092. if hum12 and not hum12:IsDescendantOf(Character) then
  1093. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1094. for i = 1,10 do
  1095. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1096. end
  1097. hitconasdf:disconnect()
  1098. end
  1099. end)
  1100. for i=1,4 do
  1101. swait()
  1102. for i=0,1,0.2 do
  1103. swait()
  1104. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1105. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1106. 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)
  1107. 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)
  1108. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1111. end
  1112. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1113. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1114. for i=0,1,0.2 do
  1115. swait()
  1116. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1117. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1118. local h = 5
  1119. 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)
  1120. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1121. 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)
  1122. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1123. scfr = blcf
  1124. elseif not scfr then
  1125. scfr = blcf
  1126. end
  1127. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1128. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1129. 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)
  1130. 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)
  1131. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1132. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1134. end
  1135. for i=0,1,0.2 do
  1136. swait()
  1137. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1138. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1139. 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)
  1140. 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)
  1141. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1142. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1143. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1144. end
  1145. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1146. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1147. for i=0,1,0.2 do
  1148. swait()
  1149. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1150. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1151. local h = 5
  1152. 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)
  1153. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1154. 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)
  1155. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1156. scfr = blcf
  1157. elseif not scfr then
  1158. scfr = blcf
  1159. end
  1160. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1161. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1162. 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)
  1163. 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)
  1164. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1167. end
  1168. end
  1169. attack=false
  1170. con:disconnect()
  1171. scfr = nil
  1172. pcall(function()
  1173. hitconasdf:disconnect()
  1174. end)
  1175. end
  1176.  
  1177.  
  1178. function Sheathe()
  1179. attack = true
  1180. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  1181. CurrentMode = "Sheathed"
  1182. for i = 0,1,0.1 do
  1183. swait()
  1184. handleweld.Part0 = Torso
  1185. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1186. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  1187. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1188. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1189. 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)
  1190. 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)
  1191. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1192. end
  1193. attack = false
  1194. end
  1195.  
  1196. function Unsheathe()
  1197. attack = true
  1198. CurrentMode = "Unsheathed"
  1199. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  1200. for i = 0,1,0.1 do
  1201. swait()
  1202. handleweld.Part0 = RightArm
  1203. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1204. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1205. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  1206. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  1207. 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)
  1208. 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)
  1209. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1210. end
  1211. scfr = nil
  1212. attack = false
  1213. end
  1214.  
  1215. local Sit = false
  1216.  
  1217. mouse.Button1Down:connect(function()
  1218. if attack==false then
  1219. if attacktype==1 and CurrentMode == "Unsheathed" then
  1220. attack=true
  1221. attacktype=2
  1222. attackone()
  1223. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  1224. attack=true
  1225. attacktype=1
  1226. attacktwo()
  1227. end
  1228. end
  1229. end)
  1230.  
  1231.  
  1232. mouse.KeyDown:connect(function(k)
  1233. k=k:lower()
  1234. if k=='q' then
  1235. if attack==false and CurrentMode == "Unsheathed" then
  1236. Stab()
  1237. end
  1238. elseif k=='e' then
  1239. if attack==false and CurrentMode == "Unsheathed" then
  1240. Spin()
  1241. end
  1242. elseif k=='r' then
  1243. if attack==false and CurrentMode == "Unsheathed" then
  1244. ContAttack()
  1245. end
  1246. elseif k=='f' then
  1247. if attack==false and CurrentMode == "Unsheathed" then
  1248. Sheathe()
  1249. elseif k=='f' then
  1250. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1251. Unsheathe()
  1252. end
  1253. end
  1254. elseif k=='t' then
  1255. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1256. Sit = true
  1257. Humanoid.WalkSpeed = 0
  1258. elseif k=='t' then
  1259. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1260. Sit = false
  1261. Humanoid.WalkSpeed = 16
  1262. end
  1263. end
  1264.  
  1265. end
  1266. end)
  1267.  
  1268.  
  1269. local sine = 0
  1270. local change = 1
  1271. local val = 0
  1272.  
  1273. while true do
  1274. swait()
  1275. sine = sine + change
  1276. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1277. local velderp=RootPart.Velocity.y
  1278. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1279. if equipped==true or equipped==false then
  1280. if attack==false then
  1281. idle=idle+1
  1282. else
  1283. idle=0
  1284. end
  1285. if idle>=500 then
  1286. if attack==false then
  1287. end
  1288. end
  1289. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1290. Anim="Jump"
  1291. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1292. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1293. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1294. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  1295. 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)
  1296. 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)
  1297. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1298. end
  1299. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1302. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1303. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1304. 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)
  1305. 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)
  1306. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1307. end
  1308. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1309. Anim="Fall"
  1310. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1311. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1312. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1313. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1314. 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)
  1315. 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)
  1316. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1317. end
  1318. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1319. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1320. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1321. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1322. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1323. 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)
  1324. 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)
  1325. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1326. end
  1327. elseif torvel<1 and hitfloor~=nil then
  1328. Anim="Idle"
  1329. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1330. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1331. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1332. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1333. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1334. 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)
  1335. 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)
  1336. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1337. end
  1338. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1341. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1342. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1343. 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)
  1344. 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)
  1345. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1346. end
  1347. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1350. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1351. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1352. 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)
  1353. 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)
  1354. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1355. end
  1356. elseif torvel>2 and hitfloor~=nil then
  1357. Anim="Walk"
  1358. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1359. change=3
  1360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1363. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  1364. 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)
  1365. 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)
  1366. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1367. end
  1368. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1369. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1371. 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)
  1372. 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)
  1373. 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)
  1374. 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)
  1375. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1376. end
  1377. end
  1378. end
  1379. if #Effects>0 then
  1380. for e=1,#Effects do
  1381. if Effects[e]~=nil then
  1382. local Thing=Effects[e]
  1383. if Thing~=nil then
  1384. local Part=Thing[1]
  1385. local Mode=Thing[2]
  1386. local Delay=Thing[3]
  1387. local IncX=Thing[4]
  1388. local IncY=Thing[5]
  1389. local IncZ=Thing[6]
  1390. if Thing[1].Transparency<=1 then
  1391. if Thing[2]=="Block1" then
  1392. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1393. Mesh=Thing[1].Mesh
  1394. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1395. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1396. elseif Thing[2]=="Cylinder" then
  1397. Mesh=Thing[1].Mesh
  1398. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1399. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1400. elseif Thing[2]=="Blood" then
  1401. Mesh=Thing[7]
  1402. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1403. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1404. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1405. elseif Thing[2]=="Elec" then
  1406. Mesh=Thing[1].Mesh
  1407. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1408. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1409. elseif Thing[2]=="Disappear" then
  1410. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1411. end
  1412. else
  1413. Part.Parent=nil
  1414. table.remove(Effects,e)
  1415. end
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
Add Comment
Please, Sign In to add comment