Advertisement
Dark_EccentricYT

Untitled

Dec 2nd, 2016
5,162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.84 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.  
  53. mouse=Player:GetMouse()
  54. --save shoulders
  55. RSH, LSH=nil, nil
  56. --welds
  57. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  58. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  59. LH=Torso["Left Hip"]
  60. RH=Torso["Right Hip"]
  61. TorsoColor=Torso.BrickColor
  62. function NoOutline(Part)
  63. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  64. end
  65. player=Player
  66. ch=Character
  67. RSH=ch.Torso["Right Shoulder"]
  68. LSH=ch.Torso["Left Shoulder"]
  69. --
  70. RSH.Parent=nil
  71. LSH.Parent=nil
  72. --
  73. RW.Name="Right Shoulder"
  74. RW.Part0=ch.Torso
  75. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  76. RW.C1=cf(0, 0.5, 0)
  77. RW.Part1=ch["Right Arm"]
  78. RW.Parent=ch.Torso
  79. --
  80. LW.Name="Left Shoulder"
  81. LW.Part0=ch.Torso
  82. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  83. LW.C1=cf(0, 0.5, 0)
  84. LW.Part1=ch["Left Arm"]
  85. LW.Parent=ch.Torso
  86.  
  87. Player=game:GetService('Players').LocalPlayer
  88. Character=Player.Character
  89. Mouse=Player:GetMouse()
  90. m=Instance.new('Model',Character)
  91.  
  92.  
  93. local function weldBetween(a, b)
  94. local weldd = Instance.new("ManualWeld")
  95. weldd.Part0 = a
  96. weldd.Part1 = b
  97. weldd.C0 = CFrame.new()
  98. weldd.C1 = b.CFrame:inverse() * a.CFrame
  99. weldd.Parent = a
  100. return weldd
  101. end
  102.  
  103. it=Instance.new
  104.  
  105. function nooutline(part)
  106. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  107. end
  108.  
  109. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  110. local fp=it("Part")
  111. fp.formFactor=formfactor
  112. fp.Parent=parent
  113. fp.Reflectance=reflectance
  114. fp.Transparency=transparency
  115. fp.CanCollide=false
  116. fp.Locked=true
  117. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  118. fp.Name=name
  119. fp.Size=size
  120. fp.Position=Character.Torso.Position
  121. nooutline(fp)
  122. fp.Material=material
  123. fp:BreakJoints()
  124. return fp
  125. end
  126.  
  127. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  128. local mesh=it(Mesh)
  129. mesh.Parent=part
  130. if Mesh=="SpecialMesh" then
  131. mesh.MeshType=meshtype
  132. mesh.MeshId=meshid
  133. end
  134. mesh.Offset=offset
  135. mesh.Scale=scale
  136. return mesh
  137. end
  138.  
  139. function weld(parent,part0,part1,c0,c1)
  140. local weld=it("Weld")
  141. weld.Parent=parent
  142. weld.Part0=part0
  143. weld.Part1=part1
  144. weld.C0=c0
  145. weld.C1=c1
  146. return weld
  147. end
  148.  
  149.  
  150. Player=game:GetService('Players').LocalPlayer
  151. Character=Player.Character
  152. Mouse=Player:GetMouse()
  153. m=Instance.new('Model',Character)
  154.  
  155.  
  156. local function weldBetween(a, b)
  157. local weldd = Instance.new("ManualWeld")
  158. weldd.Part0 = a
  159. weldd.Part1 = b
  160. weldd.C0 = CFrame.new()
  161. weldd.C1 = b.CFrame:inverse() * a.CFrame
  162. weldd.Parent = a
  163. return weldd
  164. end
  165.  
  166. it=Instance.new
  167.  
  168. function nooutline(part)
  169. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  170. end
  171.  
  172. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  173. local fp=it("Part")
  174. fp.formFactor=formfactor
  175. fp.Parent=parent
  176. fp.Reflectance=reflectance
  177. fp.Transparency=transparency
  178. fp.CanCollide=false
  179. fp.Locked=true
  180. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  181. fp.Name=name
  182. fp.Size=size
  183. fp.Position=Character.Torso.Position
  184. nooutline(fp)
  185. fp.Material=material
  186. fp:BreakJoints()
  187. return fp
  188. end
  189.  
  190. function swait(num)
  191. if num==0 or num==nil then
  192. game:service'RunService'.Stepped:wait(0)
  193. else
  194. for i=0,num do
  195. game:service'RunService'.Stepped:wait(0)
  196. end
  197. end
  198. end
  199.  
  200. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  201. local mesh=it(Mesh)
  202. mesh.Parent=part
  203. if Mesh=="SpecialMesh" then
  204. mesh.MeshType=meshtype
  205. mesh.MeshId=meshid
  206. end
  207. mesh.Offset=offset
  208. mesh.Scale=scale
  209. return mesh
  210. end
  211.  
  212. function weld(parent,part0,part1,c0,c1)
  213. local weld=it("Weld")
  214. weld.Parent=parent
  215. weld.Part0=part0
  216. weld.Part1=part1
  217. weld.C0=c0
  218. weld.C1=c1
  219. return weld
  220. end
  221.  
  222.  
  223. local function CFrameFromTopBack(at, top, back)
  224. local right = top:Cross(back)
  225. return CFrame.new(at.x, at.y, at.z,
  226. right.x, top.x, back.x,
  227. right.y, top.y, back.y,
  228. right.z, top.z, back.z)
  229. end
  230.  
  231. function Triangle(a, b, c)
  232. local edg1 = (c-a):Dot((b-a).unit)
  233. local edg2 = (a-b):Dot((c-b).unit)
  234. local edg3 = (b-c):Dot((a-c).unit)
  235. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  236. a, b, c = a, b, c
  237. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  238. a, b, c = b, c, a
  239. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  240. a, b, c = c, a, b
  241. else
  242. assert(false, "unreachable")
  243. end
  244.  
  245. local len1 = (c-a):Dot((b-a).unit)
  246. local len2 = (b-a).magnitude - len1
  247. local width = (a + (b-a).unit*len1 - c).magnitude
  248.  
  249. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  250.  
  251. local list = {}
  252.  
  253. local Color = BrickColor.new("Dark grey")
  254.  
  255. if len1 > 0.01 then
  256. local w1 = Instance.new('WedgePart', m)
  257. game:GetService("Debris"):AddItem(w1,5)
  258. w1.Material = "SmoothPlastic"
  259. w1.FormFactor = 'Custom'
  260. w1.BrickColor = BrickColor.new(Color)
  261. w1.Transparency = 0
  262. w1.Reflectance = 0
  263. w1.Material = "SmoothPlastic"
  264. w1.CanCollide = false
  265. NoOutline(w1)
  266. local sz = Vector3.new(0.2, width, len1)
  267. w1.Size = sz
  268. local sp = Instance.new("SpecialMesh",w1)
  269. sp.MeshType = "Wedge"
  270. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  271. w1:BreakJoints()
  272. w1.Anchored = true
  273. w1.Parent = workspace
  274. w1.Transparency = 0.7
  275. table.insert(Effects,{w1,"Disappear",.01})
  276. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  277. table.insert(list,w1)
  278. end
  279.  
  280. if len2 > 0.01 then
  281. local w2 = Instance.new('WedgePart', m)
  282. game:GetService("Debris"):AddItem(w2,5)
  283. w2.Material = "SmoothPlastic"
  284. w2.FormFactor = 'Custom'
  285. w2.BrickColor = BrickColor.new(Color)
  286. w2.Transparency = 0
  287. w2.Reflectance = 0
  288. w2.Material = "SmoothPlastic"
  289. w2.CanCollide = false
  290. NoOutline(w2)
  291. local sz = Vector3.new(0.2, width, len2)
  292. w2.Size = sz
  293. local sp = Instance.new("SpecialMesh",w2)
  294. sp.MeshType = "Wedge"
  295. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  296. w2:BreakJoints()
  297. w2.Anchored = true
  298. w2.Parent = workspace
  299. w2.Transparency = 0.7
  300. table.insert(Effects,{w2,"Disappear",.01})
  301. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  302. table.insert(list,w2)
  303. end
  304. return unpack(list)
  305. end
  306.  
  307.  
  308. so = function(id,par,vol,pit)
  309. coroutine.resume(coroutine.create(function()
  310. local sou = Instance.new("Sound",par or workspace)
  311. sou.Volume=vol
  312. sou.Pitch=pit or 1
  313. sou.SoundId=id
  314. swait()
  315. sou:play()
  316. game:GetService("Debris"):AddItem(sou,6)
  317. end))
  318. end
  319.  
  320. function clerp(a,b,t)
  321. local qa = {QuaternionFromCFrame(a)}
  322. local qb = {QuaternionFromCFrame(b)}
  323. local ax, ay, az = a.x, a.y, a.z
  324. local bx, by, bz = b.x, b.y, b.z
  325. local _t = 1-t
  326. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  327. end
  328.  
  329. function QuaternionFromCFrame(cf)
  330. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  331. local trace = m00 + m11 + m22
  332. if trace > 0 then
  333. local s = math.sqrt(1 + trace)
  334. local recip = 0.5/s
  335. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  336. else
  337. local i = 0
  338. if m11 > m00 then
  339. i = 1
  340. end
  341. if m22 > (i == 0 and m00 or m11) then
  342. i = 2
  343. end
  344. if i == 0 then
  345. local s = math.sqrt(m00-m11-m22+1)
  346. local recip = 0.5/s
  347. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  348. elseif i == 1 then
  349. local s = math.sqrt(m11-m22-m00+1)
  350. local recip = 0.5/s
  351. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  352. elseif i == 2 then
  353. local s = math.sqrt(m22-m00-m11+1)
  354. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  355. end
  356. end
  357. end
  358.  
  359. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  360. local xs, ys, zs = x + x, y + y, z + z
  361. local wx, wy, wz = w*xs, w*ys, w*zs
  362. local xx = x*xs
  363. local xy = x*ys
  364. local xz = x*zs
  365. local yy = y*ys
  366. local yz = y*zs
  367. local zz = z*zs
  368. 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))
  369. end
  370.  
  371. function QuaternionSlerp(a, b, t)
  372. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  373. local startInterp, finishInterp;
  374. if cosTheta >= 0.0001 then
  375. if (1 - cosTheta) > 0.0001 then
  376. local theta = math.acos(cosTheta)
  377. local invSinTheta = 1/math.sin(theta)
  378. startInterp = math.sin((1-t)*theta)*invSinTheta
  379. finishInterp = math.sin(t*theta)*invSinTheta
  380. else
  381. startInterp = 1-t
  382. finishInterp = t
  383. end
  384. else
  385. if (1+cosTheta) > 0.0001 then
  386. local theta = math.acos(-cosTheta)
  387. local invSinTheta = 1/math.sin(theta)
  388. startInterp = math.sin((t-1)*theta)*invSinTheta
  389. finishInterp = math.sin(t*theta)*invSinTheta
  390. else
  391. startInterp = t-1
  392. finishInterp = t
  393. end
  394. end
  395. 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
  396. end
  397.  
  398. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  399. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  400. end
  401.  
  402. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Handle",Vector3.new(0.399999976, 3.60000014, 0.599999964))
  403. HandleWeld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, -5.69614329e-008, 5.96046448e-008, 5.69614222e-008, 0.999999881, 6.38557296e-008, -5.96046448e-008, -6.38557367e-008, 1),CFrame.new(-0.0502281189, 0.651779175, 1.07125878, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005))
  404. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  405. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.800000012, 0.400000006, 0.200000003))
  406. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.01522827, 0.00137710571, 0.264533997, -0.000451982021, 0.707132518, -0.70708096, -0.999999702, 0.000185647325, 0.000824883173, 0.000714569353, 0.707081079, 0.707132161))
  407. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.00999999, 0.100000001))
  408. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Quill grey","Hitbox",Vector3.new(7.60000038, 0.200000003, 0.600000024))
  409. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-5.75015259, 7.62939453e-006, 1.04991317, -7.67856764e-005, 4.61829586e-005, -1, -1, 0.000196854686, 7.67947713e-005, 0.000196858236, 1, 4.61678428e-005))
  410. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Quill grey","Part",Vector3.new(0.200000003, 2.4000001, 3))
  411. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-0.000133514404, -0.149738908, 11.050415, -1, 0.000196889057, 5.97238613e-005, -0.000196891095, -1, -3.41577215e-005, 5.97171347e-005, -3.41694795e-005, 1))
  412. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  413. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Quill grey","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  414. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.95001221, 1.90734863e-005, 1.04991555, -7.67856764e-005, 4.61829586e-005, -1, -1, 0.000196854686, 7.67947713e-005, 0.000196858236, 1, 4.61678428e-005))
  415. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  416. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Quill grey","Part",Vector3.new(0.200000003, 1.80000007, 1.80000007))
  417. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.28881836e-005, -0.150063515, -2.65003967, -1, 0.000180725096, 6.73532486e-005, 0.00018072738, 1, 3.39938124e-005, -6.73471004e-005, 3.40059851e-005, -1))
  418. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  419. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Quill grey","Part",Vector3.new(6.00000048, 0.200000003, 1.80000007))
  420. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-6.55021667, -1.14440918e-005, -0.150118351, -7.67856764e-005, 4.61829586e-005, -1, -1, 0.000196854686, 7.67947713e-005, 0.000196858236, 1, 4.61678428e-005))
  421. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  422. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Medium stone grey","Part",Vector3.new(0.200000003, 2.60000014, 3.20000005))
  423. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-0.00016784668, -0.24972713, 11.1504059, -1, 0.000196889057, 5.97238613e-005, -0.000196891095, -1, -3.41577215e-005, 5.97171347e-005, -3.41694795e-005, 1))
  424. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.999000013, 1))
  425. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.40000000596046,0,"Medium stone grey","Part",Vector3.new(7.60000038, 0.200000003, 0.600000024))
  426. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-5.75015259, 2.67028809e-005, 1.24992132, -7.67856764e-005, 4.61829586e-005, -1, -1, 0.000196854686, 7.67947713e-005, 0.000196858236, 1, 4.61678428e-005))
  427. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.600000024, 1))
  428. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 2.60000014))
  429. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.77470398, 0.00217056274, 1.97377014, -0.00024946034, 0.866042256, -0.499970824, -0.999999642, 0.00018472239, 0.000818923116, 0.000801577931, 0.499970883, 0.866041958))
  430. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  431. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 2.60000014))
  432. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.11837769, 0.00190734863, 0.930618286, -0.000622972788, 0.500034273, -0.866005361, -0.999999702, 0.000187790167, 0.00082779408, 0.000576552702, 0.86600554, 0.500033975))
  433. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  434. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  435. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.27683258, 0.0033531189, -3.67700958, -0.000722885132, -0.707075536, -0.707137644, -0.999999642, 0.000203396223, 0.000818890578, -0.000435188354, 0.707138002, -0.707075417))
  436. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  437. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 2.60000014))
  438. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.85006714, 2.28881836e-005, -0.200043917, -7.67856764e-005, 4.61829586e-005, -1, -1, 0.000196854686, 7.67947713e-005, 0.000196858236, 1, 4.61678428e-005))
  439. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  440. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  441. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.26258087, 0.00119018555, -0.353546143, -0.000723078847, -0.707075536, -0.707137704, -0.999999642, 0.000203026953, 0.000819533772, -0.000435904221, 0.707138062, -0.707075357))
  442. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  443. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 2.20000005))
  444. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.75359344, 0.000621795654, -2.00830078, -0.000578910112, -0.707075, -0.707138419, -0.999999702, 0.00075430196, 6.44313113e-005, 0.000487838057, 0.707138181, -0.707075238))
  445. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1.02999997))
  446. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  447. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-0.234588623, 0.00204849243, -3.2303772, 3.10465693e-005, -0.965934575, 0.258786738, -0.999999702, 0.000186417266, 0.000815781532, -0.000836233783, -0.258786649, -0.965934157))
  448. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  449. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.400000006, 0.400000006, 0.400000125))
  450. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.10957336, 0.00124359131, -1.74000347, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  451. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  452. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  453. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.05960083, 0.0016708374, -1.69001567, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  454. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  455. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.800000012, 0.400000006, 0.800000131))
  456. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.60990906, 0.0015411377, -1.24002254, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  457. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  458. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  459. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.15953064, 0.00136947632, -0.789977908, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  460. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  461. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  462. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.20388031, 0.00231552124, -3.72085571, -0.000399932265, -0.965916216, -0.258854896, -0.999999642, 0.000196011679, 0.000813588093, -0.000735119334, 0.258855134, -0.965915918))
  463. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  464. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 2.60000014))
  465. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(1.00007033, 3.81469727e-006, -2.65005493, -0.000191164276, -1, -3.42918211e-005, -1, 0.000191162268, 5.89191986e-005, -5.89126466e-005, 3.43030842e-005, -1))
  466. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  467. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.400000006, 0.800000012, 0.800000012))
  468. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.90734863e-005, 1.39996338, 0.399903059, -1, 0.000188489998, 4.28557396e-005, 4.28470448e-005, -4.61233321e-005, 1, 0.000188491977, 1, 4.61152558e-005))
  469. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  470. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.400000006, 0.800000012, 0.800000012))
  471. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-3.43322754e-005, 1.40000916, 0.400004745, 1, -0.000188503182, -7.5131662e-005, 7.51229381e-005, -4.62872777e-005, 1, -0.000188506659, -1, -4.6273115e-005))
  472. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  473. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.800000012, 0.400000006, 0.800000131))
  474. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(1.48513794, -0.0012550354, -1.48508453, -0.000453040004, 0.707132459, -0.70708096, -0.999999642, 0.000184848264, 0.000825580209, 0.000714497233, 0.707081139, 0.707132101))
  475. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  476. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  477. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-6.13472748, 0.00688552856, -6.56424713, -0.000722542405, -0.707075357, -0.707137883, -0.999999642, 0.000202615614, 0.000819186214, -0.000435949187, 0.70713824, -0.707075238))
  478. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  479. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  480. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-6.00767517, -0.00597763062, 5.57806396, 0.000614136457, 0.707131982, -0.707081318, -0.999999821, 0.000185317942, -0.000683220045, -0.000352091884, 0.707081616, 0.707131922))
  481. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  482. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  483. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(6.01267242, 0.0069732666, -6.68621826, 0.00045250362, -0.707132578, 0.707080901, -0.999999702, 0.000184707402, 0.000824680901, -0.000713761721, -0.70708102, -0.707132161))
  484. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  485. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  486. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(4.88130188, 0.00579833984, -5.55484009, 0.00045250362, -0.707132578, 0.707080901, -0.999999702, 0.000184707402, 0.000824680901, -0.000713761721, -0.70708102, -0.707132161))
  487. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  488. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  489. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-5.00333405, 0.00572967529, -5.43283844, -0.000722542405, -0.707075357, -0.707137883, -0.999999642, 0.000202615614, 0.000819186214, -0.000435949187, 0.70713824, -0.707075238))
  490. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  491. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  492. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-3.74480438, -0.00352859497, 3.31526947, 0.000614136457, 0.707131982, -0.707081318, -0.999999821, 0.000185317942, -0.000683220045, -0.000352091884, 0.707081616, 0.707131922))
  493. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  494. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  495. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(6.12968445, -0.00601196289, 5.45607758, -0.000343874097, 0.707075536, 0.707138002, -0.999999762, 0.000202812502, -0.000689084351, -0.000630651135, -0.707138062, 0.707075238))
  496. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  497. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  498. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(3.86688232, -0.00355911255, 3.1932373, -0.000343874097, 0.707075536, 0.707138002, -0.999999762, 0.000202812502, -0.000689084351, -0.000630651135, -0.707138062, 0.707075238))
  499. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  500. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  501. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-4.87625885, -0.0047492981, 4.4466629, 0.000614136457, 0.707131982, -0.707081318, -0.999999821, 0.000185317942, -0.000683220045, -0.000352091884, 0.707081616, 0.707131922))
  502. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  503. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  504. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(3.74986267, 0.00458145142, -4.42344666, 0.00045250362, -0.707132578, 0.707080901, -0.999999702, 0.000184707402, 0.000824680901, -0.000713761721, -0.70708102, -0.707132161))
  505. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  506. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(2.20000005, 0.200000003, 0.200000003))
  507. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-3.53944397, -0.00273895264, 0.0833859444, 0.000676527619, 4.578058e-005, -0.999999762, -0.999999821, 0.000196437555, -0.000676518714, 0.000196406516, 1, 4.59134644e-005))
  508. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  509. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  510. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-3.87188721, 0.00454330444, -4.30137634, -0.000722542405, -0.707075357, -0.707137883, -0.999999642, 0.000202615614, 0.000819186214, -0.000435949187, 0.70713824, -0.707075238))
  511. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  512. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(1.20000005, 0.200000003, 0.200000003))
  513. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(4.99826813, -0.00476455688, 4.324646, -0.000343874097, 0.707075536, 0.707138002, -0.999999762, 0.000202812502, -0.000689084351, -0.000630651135, -0.707138062, 0.707075238))
  514. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.5))
  515. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  516. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-0.000591278076, 0.0833610296, -2.43943787, -1, 0.000180725096, 6.73532486e-005, 0.00018072738, 1, 3.39938124e-005, -6.73471004e-005, 3.40059851e-005, -1))
  517. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 0.5, 0.5))
  518. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.39999997615814,"Toothpaste","Part",Vector3.new(0.200000003, 1.60000002, 1.60000002))
  519. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-3.81469727e-005, 0.200072527, 2.65005493, -1, 0.000212982617, 5.06639481e-005, -0.000212984334, -1, -3.39640028e-005, 5.06567121e-005, -3.3974793e-005, 1))
  520. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  521. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.800000012, 0.400000006, 0.800000131))
  522. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.24004114, 0.00152206421, 1.60990906, 0.000191387764, 1, 3.41875239e-005, -0.999999702, 0.000191359897, 0.000813245773, 0.000813239254, -3.43431602e-005, 0.999999762))
  523. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00999999, 0.699999988))
  524. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.400000006, 0.400000006, 0.400000125))
  525. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.10957336, 0.00124359131, -1.74000347, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  526. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.00999999, 0.5))
  527. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  528. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.05931091, 0.00164413452, -1.68999982, -0.000831305981, 4.63469187e-005, -0.999999642, -0.999999642, 0.000196829147, 0.000831315119, 0.000196867608, 1, 4.61832788e-005))
  529. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.00999999, 0.5))
  530. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.800000012, 0.400000006, 0.800000131))
  531. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.01522064, 0.00154495239, 0.261528015, -0.000452429056, 0.707132459, -0.70708096, -0.999999702, 0.000185248791, 0.000825116818, 0.000714452763, 0.707081139, 0.707132101))
  532. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00999999, 0.699999988))
  533. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  534. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.26258087, 0.00119018555, -0.353546143, -0.000723078847, -0.707075536, -0.707137704, -0.999999642, 0.000203026953, 0.000819533772, -0.000435904221, 0.707138062, -0.707075357))
  535. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 0.800000012))
  536. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  537. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.15924072, 0.00138473511, -0.790001273, -0.000831305981, 4.58104769e-005, -0.999999702, -0.999999642, 0.000196836598, 0.000831314945, 0.000196874622, 1, 4.56468297e-005))
  538. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.00999999, 0.5))
  539. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  540. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-0.22233963, 0.00203704834, -3.23742676, 3.10465693e-005, -0.965934575, 0.258786738, -0.999999702, 0.000186417266, 0.000815781532, -0.000836233783, -0.258786649, -0.965934157))
  541. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 0.800000012))
  542. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  543. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-1.19681549, 0.00232696533, -3.733078, -0.000399932265, -0.965916216, -0.258854896, -0.999999642, 0.000196011679, 0.000813588093, -0.000735119334, 0.258855134, -0.965915918))
  544. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 0.800000012))
  545. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.600000024, 0.400000006, 0.600000143))
  546. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(-2.27683258, 0.0033531189, -3.67700958, -0.000722885132, -0.707075536, -0.707137644, -0.999999642, 0.000203396223, 0.000818890578, -0.000435188354, 0.707138002, -0.707075417))
  547. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 0.800000012))
  548. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.30000001192093,"Toothpaste","Part",Vector3.new(0.800000012, 0.400000006, 0.800000131))
  549. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(1.48513794, -0.0012550354, -1.48508453, -0.000453040004, 0.707132459, -0.70708096, -0.999999642, 0.000184848264, 0.000825580209, 0.000714497233, 0.707081139, 0.707132101))
  550. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 0.800000012))
  551. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.800000012, 0.400000006, 0.200000003))
  552. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -1, 0.000196857742, 5.8949001e-005, 5.89399133e-005, -4.61829695e-005, 1, 0.000196860463, 1, 4.6171368e-005),CFrame.new(0.0665817261, 0.00122451782, 2.01520538, 0.000722974539, 0.707075357, 0.707137883, -0.999999702, 0.000203784293, 0.000818628876, 0.000434728659, -0.7071383, 0.707075238))
  553. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.100000001))
  554.  
  555. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  556. if hit.Parent==nil then
  557. return
  558. end
  559. h=hit.Parent:FindFirstChild("Humanoid")
  560. for _,v in pairs(hit.Parent:children()) do
  561. if v:IsA("Humanoid") then
  562. h=v
  563. end
  564. end
  565. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  566. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  567. end
  568. if hit.Parent.className=="Hat" then
  569. hit=hit.Parent.Parent:findFirstChild("Head")
  570. end
  571. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  572. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  573. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  574. return
  575. end]]
  576. -- hs(hit,1.2)
  577. c=Instance.new("ObjectValue")
  578. c.Name="creator"
  579. c.Value=game:service("Players").LocalPlayer
  580. c.Parent=h
  581. game:GetService("Debris"):AddItem(c,.5)
  582. Damage=math.random(minim,maxim)
  583. -- h:TakeDamage(Damage)
  584. blocked=false
  585. block=hit.Parent:findFirstChild("Block")
  586. if block~=nil then
  587. print(block.className)
  588. if block.className=="NumberValue" then
  589. if block.Value>0 then
  590. blocked=true
  591. if decreaseblock==nil then
  592. block.Value=block.Value-1
  593. end
  594. end
  595. end
  596. if block.className=="IntValue" then
  597. if block.Value>0 then
  598. blocked=true
  599. if decreaseblock~=nil then
  600. block.Value=block.Value-1
  601. end
  602. end
  603. end
  604. end
  605. if blocked==false then
  606. -- h:TakeDamage(Damage)
  607. h.Health=h.Health-Damage
  608. showDamage(hit.Parent,Damage,.5,BrickColor.new("Deep orange"))
  609. else
  610. h.Health=h.Health-(Damage/2)
  611. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  612. end
  613. if Type=="Knockdown" then
  614. hum=hit.Parent.Humanoid
  615. hum.PlatformStand=true
  616. coroutine.resume(coroutine.create(function(HHumanoid)
  617. swait(1)
  618. HHumanoid.PlatformStand=false
  619. end),hum)
  620. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  621. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  622. local bodvol=Instance.new("BodyVelocity")
  623. bodvol.velocity=angle*knockback
  624. bodvol.P=5000
  625. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  626. bodvol.Parent=hit
  627. rl=Instance.new("BodyAngularVelocity")
  628. rl.P=3000
  629. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  630. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  631. rl.Parent=hit
  632. game:GetService("Debris"):AddItem(bodvol,.5)
  633. game:GetService("Debris"):AddItem(rl,.5)
  634. elseif Type=="Normal" then
  635. vp=Instance.new("BodyVelocity")
  636. vp.P=500
  637. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  638. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  639. if KnockbackType==1 then
  640. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  641. elseif KnockbackType==2 then
  642. vp.velocity=Property.CFrame.lookVector*knockback
  643. end
  644. if knockback>0 then
  645. vp.Parent=hit.Parent.Torso
  646. end
  647. game:GetService("Debris"):AddItem(vp,.5)
  648. elseif Type=="Up" then
  649. local bodyVelocity=Instance.new("BodyVelocity")
  650. bodyVelocity.velocity=vt(0,60,0)
  651. bodyVelocity.P=5000
  652. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  653. bodyVelocity.Parent=hit
  654. game:GetService("Debris"):AddItem(bodyVelocity,1)
  655. rl=Instance.new("BodyAngularVelocity")
  656. rl.P=3000
  657. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  658. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  659. rl.Parent=hit
  660. game:GetService("Debris"):AddItem(rl,.5)
  661. elseif Type=="Snare" then
  662. bp=Instance.new("BodyPosition")
  663. bp.P=2000
  664. bp.D=100
  665. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  666. bp.position=hit.Parent.Torso.Position
  667. bp.Parent=hit.Parent.Torso
  668. game:GetService("Debris"):AddItem(bp,1)
  669. elseif Type=="Target" then
  670. if Targetting==false then
  671. ZTarget=hit.Parent.Torso
  672. coroutine.resume(coroutine.create(function(Part)
  673. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  674. swait(5)
  675. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  676. end),ZTarget)
  677. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  678. targetgui=Instance.new("BillboardGui")
  679. targetgui.Parent=ZTarget
  680. targetgui.Size=UDim2.new(10,100,10,100)
  681. targ=Instance.new("ImageLabel")
  682. targ.Parent=targetgui
  683. targ.BackgroundTransparency=1
  684. targ.Image="rbxassetid://4834067"
  685. targ.Size=UDim2.new(1,0,1,0)
  686. cam.CameraType="Scriptable"
  687. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  688. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  689. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  690. Targetting=true
  691. RocketTarget=ZTarget
  692. for i=1,Property do
  693. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  694. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  695. swait()
  696. end
  697. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  698. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  699. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  700. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  701. end
  702. Targetting=false
  703. RocketTarget=nil
  704. targetgui.Parent=nil
  705. cam.CameraType="Custom"
  706. end
  707. end
  708. debounce=Instance.new("BoolValue")
  709. debounce.Name="DebounceHit"
  710. debounce.Parent=hit.Parent
  711. debounce.Value=true
  712. game:GetService("Debris"):AddItem(debounce,Delay)
  713. c=Instance.new("ObjectValue")
  714. c.Name="creator"
  715. c.Value=Player
  716. c.Parent=h
  717. game:GetService("Debris"):AddItem(c,.5)
  718. CRIT=false
  719. hitDeb=true
  720. AttackPos=6
  721. end
  722. end
  723.  
  724. showDamage=function(Char,Dealt,du,Color)
  725. m=Instance.new("Model")
  726. m.Name=tostring(Dealt)
  727. h=Instance.new("Humanoid")
  728. h.Health=0
  729. h.MaxHealth=0
  730. h.Parent=m
  731. c=Instance.new("Part")
  732. c.Transparency=0
  733. c.BrickColor=Color
  734. c.Name="Head"
  735. c.TopSurface=0
  736. c.BottomSurface=0
  737. c.formFactor="Plate"
  738. c.Size=Vector3.new(1,.4,1)
  739. ms=Instance.new("CylinderMesh")
  740. ms.Scale=Vector3.new(.8,.8,.8)
  741. if CRIT==true then
  742. ms.Scale=Vector3.new(1,1.25,1)
  743. end
  744. ms.Parent=c
  745. c.Reflectance=0
  746. Instance.new("BodyGyro").Parent=c
  747. c.Parent=m
  748. if Char:findFirstChild("Head")~=nil then
  749. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  750. elseif Char.Parent:findFirstChild("Head")~=nil then
  751. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  752. end
  753. f=Instance.new("BodyPosition")
  754. f.P=2000
  755. f.D=100
  756. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  757. f.position=c.Position+Vector3.new(0,3,0)
  758. f.Parent=c
  759. game:GetService("Debris"):AddItem(m,.5+du)
  760. c.CanCollide=false
  761. m.Parent=workspace
  762. c.CanCollide=false
  763. end
  764.  
  765.  
  766. function attackone()
  767. attack=true
  768. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  769. for i=0,1.5,0.1 do
  770. swait()
  771. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  772. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.3)
  773. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(20)),.3)
  774. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  775. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  776. end
  777. so("http://roblox.com/asset/?id=200632136",Hitbox,1,1)
  778. for i=0,1,0.1 do
  779. swait()
  780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  782. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  783. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  784. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.3)
  785. end
  786. attack=false
  787. con1:disconnect()
  788. end
  789.  
  790. function attacktwo()
  791. attack=true
  792. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  793. for i=0,1.5,0.1 do
  794. swait()
  795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.3)
  797. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-130),math.rad(-130)),.3)
  798. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  799. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  800. end
  801. so("http://roblox.com/asset/?id=200632211",Hitbox,1,1)
  802. for i=0,1.5,0.1 do
  803. swait()
  804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  806. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(-80)),.3)
  807. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  808. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  809. end
  810. attack=false
  811. con1:disconnect()
  812. end
  813.  
  814. function attackthree()
  815. attack=true
  816. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  817. for i=0,1.5,0.1 do
  818. swait()
  819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  821. RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(130),math.rad(0),math.rad(-50)),.3)
  822. LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(130),math.rad(0),math.rad(50)),.3)
  823. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  824. end
  825. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  826. for i=0,1.5,.1 do
  827. swait()
  828. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(5)),.3)
  829. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  830. RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  831. LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  832. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(20)),.3)
  833. end
  834. attack=false
  835. con1:disconnect()
  836. end
  837.  
  838. function SpinNSmash()
  839. attack=true
  840. for i=0,1.5,0.1 do
  841. swait()
  842. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  845. RW.C0=clerp(RW.C0,cf(1.5,0.9,0)*angles(math.rad(170),math.rad(0),math.rad(30)),.3)
  846. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
  847. HandleWeld.C0=cf(0,0,0)*euler(0,0+10*i,0)
  848. end
  849. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  850. for i=0,1.5,0.1 do
  851. swait()
  852. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  853. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  854. RW.C0=clerp(RW.C0,cf(1.5,0.9,0)*angles(math.rad(190),math.rad(0),math.rad(20)),.3)
  855. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  856. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  857. end
  858. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  859. for i=0,1.5,0.1 do
  860. swait()
  861. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  862. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  863. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  864. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-30)),.3)
  865. HandleWeld.C0=clerp(HandleWeld.C0,cf(.5,0,0)*angles(math.rad(-50),math.rad(10),math.rad(-20)),.3)
  866. end
  867. attack=false
  868. con1:disconnect()
  869. end
  870.  
  871.  
  872. mouse.Button1Down:connect(function()
  873. if attack==false then
  874. if attacktype==1 then
  875. attack=true
  876. attacktype=2
  877. attackone()
  878. elseif attacktype==2 then
  879. attack=true
  880. attacktype=3
  881. attacktwo()
  882. elseif attacktype==3 then
  883. attack=true
  884. attacktype=1
  885. attackthree()
  886. end
  887. end
  888. end)
  889.  
  890. mouse.KeyDown:connect(function(k)
  891. k=k:lower()
  892. if k=='q' then
  893. if attack==false then
  894. SpinNSmash()
  895. end
  896. end
  897. end)
  898.  
  899.  
  900. local sine = 0
  901. local change = 1
  902. local val = 0
  903.  
  904. while true do
  905. swait()
  906. sine = sine + change
  907. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  908. local velderp=RootPart.Velocity.y
  909. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  910. if equipped==true or equipped==false then
  911. if attack==false then
  912. idle=idle+1
  913. else
  914. idle=0
  915. end
  916. if idle>=500 then
  917. if attack==false then
  918. --Sheath()
  919. end
  920. end
  921. if RootPart.Velocity.y > 1 and hitfloor==nil then
  922. Anim="Jump"
  923. if attack==false then
  924. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  925. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  926. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  927. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  928. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  929. end
  930. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  931. Anim="Fall"
  932. if attack==false then
  933. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  934. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  935. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(20)),.3)
  936. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  937. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  938. end
  939. elseif torvel<1 and hitfloor~=nil then
  940. Anim="Idle"
  941. if attack==false then
  942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.3)
  944. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(20)),.3)
  945. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-10)),.3)
  946. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0.4)*angles(math.rad(80),math.rad(0),math.rad(20)),.3)
  947. end
  948. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  949. Anim="Walk"
  950. if attack==false then
  951. change=3
  952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-20)),.3)
  956. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  957. end
  958. elseif torvel>=22 and hitfloor~=nil then
  959. Anim="Run"
  960. if attack==false then
  961. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  962. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  963. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  964. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-20)),.3)
  965. HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  966. end
  967. end
  968. end
  969. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement