astronaut32

cytoplasma

Oct 13th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.52 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. so = function(id,par,vol,pit)
  224. coroutine.resume(coroutine.create(function()
  225. local sou = Instance.new("Sound",par or workspace)
  226. sou.Volume=vol
  227. sou.Pitch=pit or 1
  228. sou.SoundId=id
  229. swait()
  230. sou:play()
  231. game:GetService("Debris"):AddItem(sou,6)
  232. end))
  233. end
  234.  
  235. function clerp(a,b,t)
  236. local qa = {QuaternionFromCFrame(a)}
  237. local qb = {QuaternionFromCFrame(b)}
  238. local ax, ay, az = a.x, a.y, a.z
  239. local bx, by, bz = b.x, b.y, b.z
  240. local _t = 1-t
  241. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  242. end
  243.  
  244. function QuaternionFromCFrame(cf)
  245. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  246. local trace = m00 + m11 + m22
  247. if trace > 0 then
  248. local s = math.sqrt(1 + trace)
  249. local recip = 0.5/s
  250. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  251. else
  252. local i = 0
  253. if m11 > m00 then
  254. i = 1
  255. end
  256. if m22 > (i == 0 and m00 or m11) then
  257. i = 2
  258. end
  259. if i == 0 then
  260. local s = math.sqrt(m00-m11-m22+1)
  261. local recip = 0.5/s
  262. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  263. elseif i == 1 then
  264. local s = math.sqrt(m11-m22-m00+1)
  265. local recip = 0.5/s
  266. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  267. elseif i == 2 then
  268. local s = math.sqrt(m22-m00-m11+1)
  269. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  270. end
  271. end
  272. end
  273.  
  274. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  275. local xs, ys, zs = x + x, y + y, z + z
  276. local wx, wy, wz = w*xs, w*ys, w*zs
  277. local xx = x*xs
  278. local xy = x*ys
  279. local xz = x*zs
  280. local yy = y*ys
  281. local yz = y*zs
  282. local zz = z*zs
  283. 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))
  284. end
  285.  
  286. function QuaternionSlerp(a, b, t)
  287. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  288. local startInterp, finishInterp;
  289. if cosTheta >= 0.0001 then
  290. if (1 - cosTheta) > 0.0001 then
  291. local theta = math.acos(cosTheta)
  292. local invSinTheta = 1/math.sin(theta)
  293. startInterp = math.sin((1-t)*theta)*invSinTheta
  294. finishInterp = math.sin(t*theta)*invSinTheta
  295. else
  296. startInterp = 1-t
  297. finishInterp = t
  298. end
  299. else
  300. if (1+cosTheta) > 0.0001 then
  301. local theta = math.acos(-cosTheta)
  302. local invSinTheta = 1/math.sin(theta)
  303. startInterp = math.sin((t-1)*theta)*invSinTheta
  304. finishInterp = math.sin(t*theta)*invSinTheta
  305. else
  306. startInterp = t-1
  307. finishInterp = t
  308. end
  309. end
  310. 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
  311. end
  312.  
  313. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.583199859, 1.12899995, 0.291599989))
  314. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.939432144, -0.0800132751, 0.07417202, 3.88524768e-011, -0.999999642, -3.21874995e-006, -4.39547563e-008, 3.21874859e-006, -0.999999762, 1, 3.88524733e-011, -4.39579679e-008))
  315. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  316. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.437399983))
  317. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.67403841, -1.36581421, -0.000153541565, 0.999998808, -9.49777586e-006, 5.19875016e-007, 9.49777677e-006, 0.999999285, 9.36602362e-007, -5.19882917e-007, -9.36585764e-007, 1))
  318. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  319. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.882089853, 0.444689989))
  320. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800296545, -0.712223053, -0.00235366821, 0.999998808, -3.21874109e-006, 1.5134595e-011, 3.21874541e-006, 0.999999285, -5.05944158e-008, -1.4545953e-011, 5.06054008e-008, 1))
  321. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  322. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.882089734, 0.444689989))
  323. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09152389, -0.712356567, -0.00235652924, 0.999998808, -3.21873927e-006, 1.6579807e-010, 3.21874381e-006, 0.999999285, -5.04028108e-008, -1.65181549e-010, 5.04137958e-008, 1))
  324. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  325. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  326. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.30937195, -1.51124191, -0.000161170959, 0.999998808, -8.8703855e-006, 1.47351429e-007, 8.87038732e-006, 0.999999285, 5.79529001e-007, -1.47355948e-007, -5.79516268e-007, 1))
  327. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  328. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.437399924, 0.320760012, 0.200000003))
  329. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.364955187, -0.00199317932, -0.852100372, 0.999999523, -3.21874813e-006, -3.88364896e-011, -4.44827578e-011, -2.5929543e-005, 1, -3.21874995e-006, -0.999999762, -2.59295521e-005))
  330. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  331. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  332. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.31080449, -0.092010498, 0.145636559, -0.999998808, 4.36551236e-005, -5.04220998e-006, -4.36550872e-005, -0.999999285, -5.39209395e-006, -5.04243917e-006, -5.39185885e-006, 1))
  333. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  334. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.437399983, 0.200000003, 0.200000003))
  335. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000127792358, -0.364368677, 0.928386688, -3.33928938e-007, -1.45202073e-008, 1, -0.999998212, 8.56905217e-007, -3.33930245e-007, -8.56913175e-007, -0.999998689, -1.45370116e-008))
  336. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  337. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  338. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.30979168, 0.0916519165, -0.000160217285, 0.999998808, -5.46405536e-005, 6.34407297e-006, 5.46404881e-005, 0.999999285, 7.63192747e-006, -6.34448179e-006, -7.63156459e-006, 1))
  339. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  340. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02060008, 0.200000003, 0.437399983))
  341. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09181273, -0.0534973145, -0.000155448914, 0.999998808, -4.4839212e-006, 1.47765633e-007, 4.4839253e-006, 0.999999285, 1.29804931e-007, -1.4776559e-007, -1.2979315e-007, 1))
  342. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  343. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.444689989))
  344. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0914371, -1.22605515, -0.00235652924, 0.999998808, -3.21873904e-006, 1.65712805e-010, 3.21874336e-006, 0.999999285, -5.03972259e-008, -1.65110522e-010, 5.04082109e-008, 1))
  345. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  346. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599959, 0.200000003, 0.291599989))
  347. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.16585624, 0.191926956, 0.709686279, 0.999999464, -3.21874791e-006, -3.88365659e-011, -4.41632321e-011, -2.58302971e-005, 1, -3.21874973e-006, -0.999999702, -2.58303062e-005))
  348. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.364499956, 0.5))
  349. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.451979935, 0.291599959, 0.291599989))
  350. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000159263611, -0.710388184, -1.16607833, -3.81471243e-011, 3.15851821e-007, -1, 3.21874904e-006, 0.999999225, 3.15858699e-007, 0.99999851, -3.21874404e-006, -3.87393208e-011))
  351. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  352. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.31019568, -1.51132965, 0.145642281, 0.999998808, -4.18915306e-006, -3.00069217e-007, 4.18915715e-006, 0.999999285, 5.48566788e-007, 3.00067001e-007, -5.4855667e-007, 1))
  353. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  354. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.451979935, 0.200000003, 0.291599989))
  355. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000157356262, -0.929039001, -1.1660713, -3.82887853e-011, 3.15786281e-007, -1, 3.21874836e-006, 0.999998689, 3.15800435e-007, 0.999997497, -3.21873972e-006, -3.8597802e-011))
  356. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999972, 1))
  357. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599959, 0.200000003, 0.291599989))
  358. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.16569793, -0.191437721, 0.709644318, 0.999997556, -3.21873995e-006, -3.85535423e-011, -4.39490319e-011, -2.58516266e-005, 1, -3.21874859e-006, -0.999998748, -2.5851672e-005))
  359. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.364499956, 0.5))
  360. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.583199918, 0.200000003, 0.422819972))
  361. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.418209076, -1.23842776, -0.000156402588, -3.24854614e-006, -0.999999285, 3.55812446e-008, 0.999998808, -3.24854159e-006, 1.65825187e-010, -1.65257683e-010, 3.55922296e-008, 1))
  362. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  363. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.291599959, 0.291599959))
  364. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.26317215, -0.976104736, -0.22615242, 0.965924382, -0.258822083, -1.14146879e-008, 0.258822024, 0.965924621, 4.24500755e-008, 3.88524768e-011, -4.39547563e-008, 1))
  365. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.314927936, 0.065609917, 0.0393660143))
  366. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599959, 0.200000003, 0.437399983))
  367. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.89302266, -0.0535697937, -0.000152587891, 0.999998808, -4.5850793e-006, 1.49880378e-007, 4.58508566e-006, 0.999999285, 1.56089101e-007, -1.49880719e-007, -1.56078116e-007, 1))
  368. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  369. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.437399983))
  370. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.38961792e-005, 0.490356445, -0.364199638, -2.99582325e-007, -6.02180917e-005, 1, -2.32034063e-006, -0.999999285, -6.02181462e-005, 0.999998808, -2.32035381e-006, 2.994434e-007))
  371. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  372. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.291599959, 0.291599959))
  373. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.26317215, -0.976104736, 0.225384712, 0.965924382, -0.258822083, -1.14146879e-008, 0.258822024, 0.965924621, 4.24500755e-008, 3.88524768e-011, -4.39547563e-008, 1))
  374. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.314927936, 0.065609917, 0.0393660143))
  375. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.728999913, 1.16639984, 0.437399983))
  376. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.9457587, -0.709777832, -0.000155448914, 0.999998808, -3.21873949e-006, 1.65954389e-010, 3.21874381e-006, 0.999999285, -5.04691613e-008, -1.6533766e-010, 5.04801463e-008, 1))
  377. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.437399983))
  378. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.67437994, -0.0535125732, -0.000153541565, 0.999997854, -1.01730784e-005, 8.16774445e-007, 1.01730793e-005, 0.999998808, 9.45945544e-007, -8.16781551e-007, -9.459186e-007, 1))
  379. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  380. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.437399924, 0.291599989, 0.583199918))
  381. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.364617348, -0.0029964447, -0.855743408, 0.999998569, -1.34116942e-006, -3.47053671e-011, 2.32054653e-012, -2.59204589e-005, 1, -1.34118386e-006, -0.999999046, -2.59205281e-005))
  382. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  383. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.583199859, 0.437399983, 0.291599989))
  384. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392871857, 0.665061951, 9.53674316e-006, 0.707104027, -0.707108796, -3.11104422e-008, 0.707108617, 0.707104206, 3.10545616e-008, 3.95121678e-011, -4.39540919e-008, 1))
  385. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  386. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599929, 0.291599989, 0.291599989))
  387. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000177145004, 0.564125061, 9.53674316e-007, 0.999997616, -1.34116613e-006, -3.4560306e-011, 1.34118523e-006, 0.999998569, 1.4362957e-008, 3.7203407e-011, -1.43125121e-008, 1))
  388. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  389. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.451979935, 0.200000003, 0.291599989))
  390. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000158309937, 0.491680145, -1.16609716, 3.83340928e-011, -3.2800807e-007, 1, -3.21874813e-006, -0.999998271, -3.28027653e-007, 0.999996603, -3.21873608e-006, -3.83994746e-011))
  391. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  392. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.437399983, 0.200000003, 0.291599959))
  393. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000143051147, -0.36475873, -0.709705353, -2.9810667e-007, -5.19605692e-008, -1, -0.999998808, 3.71047872e-006, 2.98106386e-007, 3.71048282e-006, 0.999999285, -5.19516234e-008))
  394. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  395. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  396. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.30999005, -0.0919189453, 0.145945549, 0.999997854, -4.86629979e-005, 5.66978451e-006, -4.86629287e-005, -0.999998808, -7.28117811e-006, 5.67012512e-006, 7.28087662e-006, -1))
  397. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  398. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.444689989))
  399. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800222874, -0.198246002, -0.00235366821, 0.999997854, -3.21873722e-006, 1.53904285e-011, 3.21874518e-006, 0.999998808, -5.05917228e-008, -1.44890983e-011, 5.06090956e-008, 1))
  400. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  401. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.45799983, 0.200000003, 0.200000003))
  402. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.31022596, -1.51136017, 0.145956039, -0.999997854, 3.53223049e-006, 2.70134734e-007, 3.53223777e-006, 0.999998808, -6.16106604e-007, -2.70137036e-007, -6.1612235e-007, -1))
  403. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 0.728999913))
  404. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.444689989))
  405. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09143639, -0.19814682, -0.00235748291, 0.999997854, -3.21873517e-006, 1.6594022e-010, 3.21874313e-006, 0.999998808, -5.03940498e-008, -1.65039454e-010, 5.04114226e-008, 1))
  406. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  407. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.437399983, 0.291599929, 0.291599959))
  408. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.67572021e-005, 0.417419434, -0.437114239, -2.9943584e-007, -6.01886131e-005, 1, -2.32033972e-006, -0.999998808, -6.01887041e-005, 0.999997854, -2.32034927e-006, 2.99297568e-007))
  409. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  410. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.437399924, 0.30618, 0.291599989))
  411. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.364741802, -0.00200366974, -0.852409363, 0.999996662, -1.34116283e-006, -3.44241267e-011, 2.60720612e-012, -2.59189437e-005, 1, -1.34118636e-006, -0.999998093, -2.5919051e-005))
  412. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  413. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.291599989))
  414. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000154495239, -0.861427307, 0.692502499, 3.78594031e-011, -3.55240161e-007, 1, -3.21874995e-006, -0.999999762, -3.55243458e-007, 0.999999523, -3.21874813e-006, -3.88613447e-011))
  415. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  416. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.291599989))
  417. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000155448914, -0.798744202, 0.892030716, 8.1022975e-008, -3.46195606e-007, 1, 0.258815795, -0.96592629, -3.5537272e-007, 0.965926051, 0.258815855, 1.13396368e-008))
  418. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  419. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.437399983))
  420. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0015001297, 0.292566538, 1.15365219, 3.12335345e-007, -4.39539427e-008, 1, 0.999995768, -3.33794401e-006, -3.12338699e-007, 3.33794924e-006, 0.999996483, 4.39614602e-008))
  421. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  422. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.291599989))
  423. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000155448914, -0.865684509, 0.446048737, -8.09472027e-008, -3.46194952e-007, 0.999999881, -0.258821905, -0.965924382, -3.55352569e-007, 0.965924144, -0.258821964, -1.14146737e-008))
  424. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  425. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.583199978, 0.200000003, 0.422819972))
  426. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.709770203, -1.23946881, -0.000160217285, -3.24852385e-006, -0.999992132, 3.55808609e-008, 0.999991179, -3.2485159e-006, 1.65914657e-010, -1.650627e-010, 3.55984895e-008, 1))
  427. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  428. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.583199918, 0.200000003, 0.422819972))
  429. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00143433, -1.23957133, -0.000152587891, -3.24854568e-006, -0.999998808, 3.55657761e-008, 0.999997854, -3.24853772e-006, 1.65882072e-010, -1.65044547e-010, 3.55831631e-008, 1))
  430. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  431. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599929, 0.437399983, 0.437399983))
  432. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.146161556, -0.782676697, -0.000150680542, 0.999998212, 5.22959454e-012, -1.09070107e-010, 2.95585778e-012, 0.999998689, -2.20695888e-008, 1.09791246e-010, 2.20860557e-008, 1))
  433. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.583199918, 0.437399983, 0.874799967))
  434. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00147629, 0.000156402588, -0.000279188156, -3.21875132e-006, -0.999998808, 7.32594145e-008, 4.02800493e-012, -7.32767944e-008, -1, 0.999997854, -3.21874359e-006, 5.03071543e-012))
  435. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  436. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.437399983, 0.451979935, 0.874799967))
  437. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00191640854, 0.000154495239, -1.01012421, 0.999997854, -3.12933344e-006, 2.96914529e-008, 2.96905522e-008, -3.59865062e-008, -1, 3.12934117e-006, 0.999998808, -3.59645895e-008))
  438. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  439. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.437399983))
  440. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00150108337, -0.438556671, 1.15356827, -2.85820761e-007, 4.39538574e-008, -1, -0.99999553, 3.21873426e-006, 2.85824285e-007, 3.21873949e-006, 0.999996245, 4.39614496e-008))
  441. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  442. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.291599959, 0.200000003, 0.437399983))
  443. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.89220023, -1.36561584, -0.000156402588, 0.999996901, -5.73970283e-006, -1.51122748e-007, 5.73971147e-006, 0.999998331, 1.31626024e-007, 1.51122478e-007, -1.31602775e-007, 1))
  444. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  445. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.583199859, 0.728999913, 0.437399983))
  446. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.291358232, -0.927932739, -0.000155448914, 0.999998689, -3.21874586e-006, 9.93332777e-011, 3.21875041e-006, 0.999999166, -4.29978506e-008, -9.8798629e-011, 4.30078941e-008, 1))
  447. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.728999913, 0.200000003))
  448. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.58035278e-005, 0.198898315, -0.509926558, -2.99727873e-007, -6.02475266e-005, 1, -2.32034154e-006, -0.999998808, -6.02476175e-005, 0.999997854, -2.32035086e-006, 2.99589459e-007))
  449. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  450. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02060008, 0.200000003, 0.437399983))
  451. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09126163, -1.36589813, -0.000156402588, 0.999997854, -4.4721055e-006, 1.4908322e-007, 4.47211232e-006, 0.999998808, 1.28626766e-007, -1.49082751e-007, -1.28608519e-007, 1))
  452. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  453. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.583199918))
  454. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000154495239, -1.36552811, -0.291260719, -2.99625952e-007, -8.25790323e-007, -1, 4.11713518e-006, 0.999998808, -8.25775203e-007, 0.999997854, -4.11712836e-006, -2.99622513e-007))
  455. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  456. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.291599959, 0.200000003))
  457. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000155448914, -1.43851089, -0.509871006, -2.99845482e-007, -8.26355517e-007, -1, 4.11713336e-006, 0.999998808, -8.26340283e-007, 0.999997854, -4.11712654e-006, -2.99841957e-007))
  458. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  459. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.444689989))
  460. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800293684, -1.22616959, -0.00235462189, 0.999997854, -3.21873699e-006, 1.52767417e-011, 3.21874472e-006, 0.999998808, -5.05912112e-008, -1.44038349e-011, 5.0608584e-008, 1))
  461. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  462. Barrel=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Barrel",Vector3.new(0.400000006, 0.200000003, 0.600000024))
  463. Barrelweld=weld(m,handle,Barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0258264542, -1.56056881, -0.719982147, 3.88524768e-011, -4.39547563e-008, 1, 0.999999523, -3.21874813e-006, -3.88524699e-011, 3.21874995e-006, 0.999999762, 4.39579679e-008))
  464.  
  465. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle2",Vector3.new(1.01999998, 0.200000003, 1.01999998))
  466. Handle2weld=weld(m,Character["Left Arm"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14440918e-005, 0.100007057, 3.33786011e-006, 3.57715635e-010, -2.95605749e-012, -1, -5.72838985e-008, 0.999996901, -3.06973262e-012, 1, 5.72847938e-008, 3.57715635e-010))
  467. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.600000024, 0.400000036))
  468. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0105714798, -0.00724029541, 0.72002697, -0.00227884948, -0.999994278, -3.14008695e-008, 0.999997258, -0.00227884273, -1.88338817e-007, 1.8826681e-007, -3.1829174e-008, 1))
  469. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.722000003, 0.525999904, 0.05400002))
  470. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.800000012, 0.800000072))
  471. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.600066662, -0.506579161, 1.49494934, 1.88182682e-007, -3.42372061e-007, 1, -0.00156627304, -0.999992847, -3.42080369e-007, 0.999998808, -0.00156626385, -1.88718715e-007))
  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,"Toothpaste","Part",Vector3.new(1.00000012, 0.240000024, 0.400000036))
  474. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.992839813, -0.600031376, -0.713233471, -0.999997497, 0.00225593429, 2.69224472e-007, -2.69153475e-007, 3.17754782e-008, -1, -0.00225594081, -0.999994516, -3.11690336e-008))
  475. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  476. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000012, 0.240000024, 1))
  477. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00487518311, -0.599974632, -0.0101013184, -1.00000715, 0.00170321832, 2.69357599e-007, -2.69303257e-007, 3.14816688e-008, -0.999999881, -0.00170322636, -1.00000143, -3.10243422e-008))
  478. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  479. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(1.00000012, 0.240000024, 0.400000036))
  480. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.992839813, -0.600029945, 0.686819553, -0.999997497, 0.00225593429, 2.69224472e-007, -2.69153475e-007, 3.17754782e-008, -1, -0.00225594081, -0.999994516, -3.11690336e-008))
  481. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  482. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.60000014, 1.4000001, 0.220000014))
  483. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.294834137, 0.00941085815, 0.600057125, 0.999999285, -0.0015829663, -1.88319888e-007, 0.0015829755, 0.999993324, -2.61565543e-008, 1.88360957e-007, 2.5859805e-008, 1))
  484. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.200000003, 0.600000024, 0.400000036))
  485. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00724411011, -0.0133445263, 0.72002697, -0.999997139, 0.00227879803, 1.88339342e-007, -0.00227880478, -0.999994159, -3.14003294e-008, 1.88267336e-007, -3.1828634e-008, 1))
  486. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.722000003, 0.525999904, 0.05400002))
  487. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.60000014, 1.80000007, 0.200000003))
  488. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.294578552, 0.00910449028, 0.600059032, 0.999998808, -0.00157502736, -1.88321337e-007, 0.00157503667, 0.999992847, -2.61099142e-008, 1.88362222e-007, 2.58145789e-008, 1))
  489. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.219999999, 0.600000024, 0.600000083))
  490. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600063324, -0.389781237, 1.39486694, -1.88033937e-007, 4.18434638e-007, -1, 0.00156614475, 0.999987364, 4.18147323e-007, 0.999999285, -0.00156612648, -1.88689157e-007))
  491. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  492. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.800000012, 0.800000072))
  493. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600064754, -0.490182877, 1.49465942, -1.88085835e-007, 4.1837248e-007, -1, 0.00147422298, 0.999987543, 4.18102474e-007, 0.999999464, -0.00147420575, -1.88702529e-007))
  494. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  495. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.219999999, 0.600000024, 0.600000083))
  496. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.600065231, -0.410286188, 1.39486694, 1.88056802e-007, -4.03845036e-007, 1, -0.00156614475, -0.999987364, -4.0355755e-007, 0.999999285, -0.00156612648, -1.88689171e-007))
  497. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  498. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  499. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.79465866, 0.00978517532, 0.600064754, 0.999999464, -0.00147420575, -1.88344828e-007, 0.00147422298, 0.999987543, -2.61361475e-008, 1.88383041e-007, 2.58611337e-008, 1))
  500. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000012, 0.200000003, 0.200000003))
  501. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00502396, -0.790920258, 0.600062847, 0.999999106, -0.00170235953, -1.88335619e-007, 0.00170237955, 0.999987185, -2.6221743e-008, 1.88379886e-007, 2.59036881e-008, 1))
  502. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000012, 0.800000072, 0.220000014))
  503. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00543976, -0.291083574, 0.600053787, 0.999999225, -0.00163256016, -1.88321309e-007, 0.00163257925, 0.999987304, -2.62404622e-008, 1.88363799e-007, 2.59356483e-008, 1))
  504. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 1, 0.600000083))
  505. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.600045681, -0.390607357, 1.80615997, 2.48640987e-007, 3.55274381e-007, 0.999999881, 0.00125003362, 0.999989927, -3.55585257e-007, -1.00000167, 0.00125001976, 2.48197068e-007))
  506. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  507. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.219999999, 0.400000036, 0.800000072))
  508. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600056171, -1.7054863, 0.290289164, 1.83715883e-007, 6.05534751e-008, -0.999999881, 1.00000477, -0.00163089298, 1.83613238e-007, -0.00163091009, -0.999993145, -6.08563582e-008))
  509. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  510. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Part",Vector3.new(0.800000072, 0.240000024, 0.600000024))
  511. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.69277954, -0.600026131, -0.0133347511, -0.999997377, 0.00227887253, 2.69257981e-007, -2.69186216e-007, 3.17775601e-008, -1, -0.00227887928, -0.999994397, -3.11648947e-008))
  512. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  513. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.4000001, 0.220000014, 1.20000005))
  514. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.401924133, -0.600030422, -0.110830545, -0.999998093, 0.00197390979, 2.69301665e-007, -2.69240189e-007, 3.14088879e-008, -1, -0.0019739212, -0.999992132, -3.08790185e-008))
  515. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  516. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000262, 0.200000048, 0.220000014))
  517. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.39399719, 0.0092022419, 0.600039959, 0.999999344, -0.00154708384, -1.88294081e-007, 0.001547102, 0.999987423, -2.61687525e-008, 1.88334241e-007, 2.58800839e-008, 1))
  518. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.60000014, 0.200000003, 1.4000001))
  519. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.502429962, -0.600062847, -0.211121082, -0.999997973, 0.00200980925, 2.69314768e-007, -2.69251899e-007, 3.15479625e-008, -1, -0.00200982112, -0.999992013, -3.10083941e-008))
  520. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  521. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000012, 0.200000003, 0.200000003))
  522. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.60664368, 0.207199812, 0.601732731, 1.00000703, -0.00156512251, -1.88274043e-007, 0.00156513706, 0.999994993, -2.61905004e-008, 1.88313066e-007, 2.58985651e-008, 1))
  523.  
  524. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  525. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  526. end
  527. function Laser(Part,Dmg)
  528. sp = Part.Position
  529. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  530. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  531. local las=Instance.new("Part",Character)
  532. las.Anchored=true
  533. las.Locked=true
  534. las.CanCollide=false
  535. las.TopSurface=0
  536. las.BottomSurface=0
  537. las.FormFactor = "Custom"
  538. las.BrickColor=BrickColor.new("Toothpaste")
  539. las.Size=Vector3.new(1,1,1)
  540. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  541. local msh=Instance.new("SpecialMesh",las)
  542. mag = (Part.Position-pos).magnitude
  543. msh.Scale=Vector3.new(0.1,mag,0.1)
  544. coroutine.resume(coroutine.create(function(Part,Mesh)
  545. for i = 0,1,0.1 do
  546. wait()
  547. Part.Transparency = Part.Transparency + 0.1
  548. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  549. end
  550. Part.Parent = nil
  551. end),las,msh)
  552. if pos ~= nil then
  553. local las2=Instance.new("Part",Character)
  554. las2.Anchored=true
  555. las2.Locked=true
  556. las2.CanCollide=false
  557. las2.TopSurface=0
  558. las2.BottomSurface=0
  559. las2.FormFactor = "Custom"
  560. las2.BrickColor=BrickColor.new("Toothpaste")
  561. las2.Size=Vector3.new(1,1,1)
  562. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  563. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  564. local msh=Instance.new("SpecialMesh",las2)
  565. msh.MeshType = "Sphere"
  566. mag = (Part.Position-pos).magnitude
  567. msh.Scale=Vector3.new(0.1,0.1,0.1)
  568. coroutine.resume(coroutine.create(function(Part,Mesh)
  569. --wait(10)
  570. for i = 0,1,0.1 do
  571. wait()
  572. Part.Transparency = Part.Transparency + 0.1
  573. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  574. end
  575. Part.Parent = nil
  576. end),las2,msh)
  577. end
  578. if hit ~= nil and pos ~= nil then
  579. if hit.Parent.className == "Hat" then
  580. hit:BreakJoints()
  581. hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5))
  582. end
  583. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  584. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  585. hit.Parent.Humanoid:TakeDamage(Dmg)
  586. end
  587. end
  588. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  589. end ]]
  590. end
  591. end
  592.  
  593. FireSounds = {131179973}
  594.  
  595. function PlaySound(id, pitch, parent, volume)
  596. if volume == nil then volume=tonumber(1) end
  597. epicsound = Instance.new("Sound")
  598. epicsound.Name = "Epicosound"
  599. epicsound.SoundId = "rbxassetid://"..id
  600. epicsound.Volume = volume
  601. epicsound.Pitch = pitch
  602. epicsound.Looped = false
  603. epicsound.Parent = parent
  604. wait()
  605. epicsound:Play()
  606. game:service'Debris':AddItem(epicsound, 8)
  607. end
  608.  
  609. FireSound = function(part)
  610. local shot=math.random(0.9, #FireSounds)
  611. PlaySound(FireSounds[shot], 1, part)
  612. end
  613.  
  614. function Blast()
  615. if attack==false then
  616. attack=true
  617. FireSound(Barrel)
  618. Laser(Barrel,20)
  619. for i=0,1,0.3 do
  620. swait()
  621. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(30),math.rad(30)),.3)
  622. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(-30)),.3)
  623. end
  624. attack=false
  625. end
  626. end
  627. function Blast2()
  628. if attack==false then
  629. attack=true
  630. for i=0,1,0.3 do
  631. swait()
  632. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(30),math.rad(30)),.3)
  633. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(-30)),.3)
  634. end
  635. for i=0,1,0.3 do
  636. swait()
  637. FireSound(Barrel)
  638. Laser(Barrel,20)
  639. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(-30)),.3)
  641. end
  642. attack=false
  643. end
  644. end
  645.  
  646. function SpinBlast()
  647. attack=true
  648. for i=0,1,0.1 do
  649. swait()
  650. FireSound(Barrel)
  651. Laser(Barrel,20)
  652. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  653. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(100),math.rad(30)),.3)
  654. end
  655. attack=false
  656. end
  657.  
  658. function Spray()
  659. attack=true
  660. for i=0,1,0.1 do
  661. swait()
  662. handleweld.C0=cf(0,-0.5,0)*euler(0-10*i,0,0)
  663. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(30),math.rad(30)),.3)
  664. end
  665. for i=0,1,0.1 do
  666. swait()
  667. FireSound(Barrel)
  668. Laser(Barrel,20)
  669. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  670. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(30)),.3)
  671. end
  672. for i=0,1,0.1 do
  673. swait()
  674. FireSound(Barrel)
  675. Laser(Barrel,20)
  676. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(30)),.3)
  678. end
  679. for i=0,1,0.1 do
  680. swait()
  681. FireSound(Barrel)
  682. Laser(Barrel,20)
  683. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  684. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(30)),.3)
  685. end
  686. for i=0,1,0.1 do
  687. swait()
  688. FireSound(Barrel)
  689. Laser(Barrel,20)
  690. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  692. end
  693. attack=false
  694. end
  695.  
  696.  
  697. mouse.Button1Down:connect(function()
  698. if attack==false then
  699. Blast()
  700. end
  701. end)
  702.  
  703. Defending=false
  704.  
  705. mouse.KeyDown:connect(function(k)
  706. k=k:lower()
  707. if k=='q' then
  708. if attack==false then
  709. Blast2()
  710. end
  711. elseif k=='r' then
  712. if attack==false then
  713. SpinBlast()
  714. end
  715. elseif k=='e' then
  716. if attack==false then
  717. Spray()
  718. end
  719. elseif k=='f' then
  720. if Defending==false then
  721. Defending=true
  722. attack=true
  723. elseif Defending==true then
  724. Defending=false
  725. attack=false
  726. end
  727. end
  728. end)
  729.  
  730.  
  731. local sine = 0
  732. local change = 1
  733. local val = 0
  734.  
  735. while true do
  736. swait()
  737. sine = sine + change
  738. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  739. local velderp=RootPart.Velocity.y
  740. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  741. if equipped==true or equipped==false then
  742. if attack==false then
  743. idle=idle+1
  744. else
  745. idle=0
  746. end
  747. if idle>=500 then
  748. if attack==false then
  749. --Sheath()
  750. end
  751. end
  752. if RootPart.Velocity.y > 1 and hitfloor==nil then
  753. Anim="Jump"
  754. if attack==false then
  755. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  756. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(-10),math.rad(0),math.rad(30)),.5)
  757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  758. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  759. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-40)),.3)
  760. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  761. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  762. end
  763. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  764. Anim="Fall"
  765. if attack==false then
  766. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  767. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  768. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-30)),.3)
  769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  770. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(10)),.3)
  771. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  772. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  773. end
  774. elseif torvel<1 and hitfloor~=nil then
  775. Anim="Idle"
  776. if attack==false then
  777. handleweld.C0=cf(0,0,0)*euler(0,0,0)
  778. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  780. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(30)),.3)
  781. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-20)),.3)
  782. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  783. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  784. end
  785. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  786. Anim="Walk"
  787. if attack==false then
  788. change=3
  789. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  790. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  791. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(100),math.rad(0),math.rad(30)),.3)
  792. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-30)),.3)
  793. end
  794. elseif torvel>=22 and hitfloor~=nil then
  795. Anim="Run"
  796. if attack==false then
  797. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  798. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  799. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  800. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  801. RH.C0=clerp(RH.C0,RHC0,.3)
  802. LH.C0=clerp(LH.C0,LHC0,.3)
  803. end
  804. end
  805. end
  806. if Defending==true then
  807. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  809. LW.C0=clerp(LW.C0,cf(-0,0.6,-1.2)*euler(math.rad(90),math.rad(0),math.rad(120)),.3)
  810. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  811. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  812. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  813. end
  814. end
Add Comment
Please, Sign In to add comment