Advertisement
lafur

Untitled

Dec 28th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end Player=game:GetService("Players").LocalPlayer
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. m=Instance.new('Model',Character)
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. mana=0
  47. trispeed=.2
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. mana=0
  56.  
  57. mouse=Player:GetMouse()
  58. --save shoulders
  59. RSH, LSH=nil, nil
  60. --welds
  61. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  62. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  63. LH=Torso["Left Hip"]
  64. RH=Torso["Right Hip"]
  65. TorsoColor=Torso.BrickColor
  66. function NoOutline(Part)
  67. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  68. end
  69. player=Player
  70. ch=Character
  71. RSH=ch.Torso["Right Shoulder"]
  72. LSH=ch.Torso["Left Shoulder"]
  73. --
  74. RSH.Parent=nil
  75. LSH.Parent=nil
  76. --
  77. RW.Name="Right Shoulder"
  78. RW.Part0=ch.Torso
  79. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  80. RW.C1=cf(0, 0.5, 0)
  81. RW.Part1=ch["Right Arm"]
  82. RW.Parent=ch.Torso
  83. --
  84. LW.Name="Left Shoulder"
  85. LW.Part0=ch.Torso
  86. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  87. LW.C1=cf(0, 0.5, 0)
  88. LW.Part1=ch["Left Arm"]
  89. LW.Parent=ch.Torso
  90.  
  91. Player=game:GetService('Players').LocalPlayer
  92. Character=Player.Character
  93. Mouse=Player:GetMouse()
  94. m=Instance.new('Model',Character)
  95.  
  96.  
  97. local function weldBetween(a, b)
  98. local weldd = Instance.new("ManualWeld")
  99. weldd.Part0 = a
  100. weldd.Part1 = b
  101. weldd.C0 = CFrame.new()
  102. weldd.C1 = b.CFrame:inverse() * a.CFrame
  103. weldd.Parent = a
  104. return weldd
  105. end
  106.  
  107. it=Instance.new
  108.  
  109. function nooutline(part)
  110. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  111. end
  112.  
  113. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  114. local fp=it("Part")
  115. fp.formFactor=formfactor
  116. fp.Parent=parent
  117. fp.Reflectance=reflectance
  118. fp.Transparency=transparency
  119. fp.CanCollide=false
  120. fp.Locked=true
  121. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  122. fp.Name=name
  123. fp.Size=size
  124. fp.Position=Character.Torso.Position
  125. nooutline(fp)
  126. fp.Material=material
  127. fp:BreakJoints()
  128. return fp
  129. end
  130.  
  131. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  132. local mesh=it(Mesh)
  133. mesh.Parent=part
  134. if Mesh=="SpecialMesh" then
  135. mesh.MeshType=meshtype
  136. mesh.MeshId=meshid
  137. end
  138. mesh.Offset=offset
  139. mesh.Scale=scale
  140. return mesh
  141. end
  142.  
  143. function weld(parent,part0,part1,c0,c1)
  144. local weld=it("Weld")
  145. weld.Parent=parent
  146. weld.Part0=part0
  147. weld.Part1=part1
  148. weld.C0=c0
  149. weld.C1=c1
  150. return weld
  151. end
  152.  
  153.  
  154. Player=game:GetService('Players').LocalPlayer
  155. Character=Player.Character
  156. Mouse=Player:GetMouse()
  157. m=Instance.new('Model',Character)
  158.  
  159.  
  160. local function weldBetween(a, b)
  161. local weldd = Instance.new("ManualWeld")
  162. weldd.Part0 = a
  163. weldd.Part1 = b
  164. weldd.C0 = CFrame.new()
  165. weldd.C1 = b.CFrame:inverse() * a.CFrame
  166. weldd.Parent = a
  167. return weldd
  168. end
  169.  
  170. it=Instance.new
  171.  
  172. function nooutline(part)
  173. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  174. end
  175.  
  176. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  177. local fp=it("Part")
  178. fp.formFactor=formfactor
  179. fp.Parent=parent
  180. fp.Reflectance=reflectance
  181. fp.Transparency=transparency
  182. fp.CanCollide=false
  183. fp.Locked=true
  184. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  185. fp.Name=name
  186. fp.Size=size
  187. fp.Position=Character.Torso.Position
  188. nooutline(fp)
  189. fp.Material=material
  190. fp:BreakJoints()
  191. return fp
  192. end
  193.  
  194. function swait(num)
  195. if num==0 or num==nil then
  196. game:service'RunService'.Stepped:wait(0)
  197. else
  198. for i=0,num do
  199. game:service'RunService'.Stepped:wait(0)
  200. end
  201. end
  202. end
  203.  
  204. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  205. local mesh=it(Mesh)
  206. mesh.Parent=part
  207. if Mesh=="SpecialMesh" then
  208. mesh.MeshType=meshtype
  209. mesh.MeshId=meshid
  210. end
  211. mesh.Offset=offset
  212. mesh.Scale=scale
  213. return mesh
  214. end
  215.  
  216. function weld(parent,part0,part1,c0,c1)
  217. local weld=it("Weld")
  218. weld.Parent=parent
  219. weld.Part0=part0
  220. weld.Part1=part1
  221. weld.C0=c0
  222. weld.C1=c1
  223. return weld
  224. end
  225.  
  226.  
  227. local function CFrameFromTopBack(at, top, back)
  228. local right = top:Cross(back)
  229. return CFrame.new(at.x, at.y, at.z,
  230. right.x, top.x, back.x,
  231. right.y, top.y, back.y,
  232. right.z, top.z, back.z)
  233. end
  234.  
  235. function Triangle(a, b, c)
  236. local edg1 = (c-a):Dot((b-a).unit)
  237. local edg2 = (a-b):Dot((c-b).unit)
  238. local edg3 = (b-c):Dot((a-c).unit)
  239. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  240. a, b, c = a, b, c
  241. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  242. a, b, c = b, c, a
  243. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  244. a, b, c = c, a, b
  245. else
  246. assert(false, "unreachable")
  247. end
  248.  
  249. local len1 = (c-a):Dot((b-a).unit)
  250. local len2 = (b-a).magnitude - len1
  251. local width = (a + (b-a).unit*len1 - c).magnitude
  252.  
  253. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  254.  
  255. local list = {}
  256.  
  257. local Color = BrickColor.new("Dark grey")
  258.  
  259. if len1 > 0.01 then
  260. local w1 = Instance.new('WedgePart', m)
  261. game:GetService("Debris"):AddItem(w1,5)
  262. w1.Material = "SmoothPlastic"
  263. w1.FormFactor = 'Custom'
  264. w1.BrickColor = BrickColor.new(Color)
  265. w1.Transparency = 0
  266. w1.Reflectance = 0
  267. w1.Material = "SmoothPlastic"
  268. w1.CanCollide = false
  269. NoOutline(w1)
  270. local sz = Vector3.new(0.2, width, len1)
  271. w1.Size = sz
  272. local sp = Instance.new("SpecialMesh",w1)
  273. sp.MeshType = "Wedge"
  274. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  275. w1:BreakJoints()
  276. w1.Anchored = true
  277. w1.Parent = workspace
  278. w1.Transparency = 0.7
  279. table.insert(Effects,{w1,"Disappear",.01})
  280. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  281. table.insert(list,w1)
  282. end
  283.  
  284. if len2 > 0.01 then
  285. local w2 = Instance.new('WedgePart', m)
  286. game:GetService("Debris"):AddItem(w2,5)
  287. w2.Material = "SmoothPlastic"
  288. w2.FormFactor = 'Custom'
  289. w2.BrickColor = BrickColor.new(Color)
  290. w2.Transparency = 0
  291. w2.Reflectance = 0
  292. w2.Material = "SmoothPlastic"
  293. w2.CanCollide = false
  294. NoOutline(w2)
  295. local sz = Vector3.new(0.2, width, len2)
  296. w2.Size = sz
  297. local sp = Instance.new("SpecialMesh",w2)
  298. sp.MeshType = "Wedge"
  299. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  300. w2:BreakJoints()
  301. w2.Anchored = true
  302. w2.Parent = workspace
  303. w2.Transparency = 0.7
  304. table.insert(Effects,{w2,"Disappear",.01})
  305. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  306. table.insert(list,w2)
  307. end
  308. return unpack(list)
  309. end
  310.  
  311.  
  312. so = function(id,par,vol,pit)
  313. coroutine.resume(coroutine.create(function()
  314. local sou = Instance.new("Sound",par or workspace)
  315. sou.Volume=vol
  316. sou.Pitch=pit or 1
  317. sou.SoundId=id
  318. swait()
  319. sou:play()
  320. game:GetService("Debris"):AddItem(sou,6)
  321. end))
  322. end
  323.  
  324. function clerp(a,b,t)
  325. local qa = {QuaternionFromCFrame(a)}
  326. local qb = {QuaternionFromCFrame(b)}
  327. local ax, ay, az = a.x, a.y, a.z
  328. local bx, by, bz = b.x, b.y, b.z
  329. local _t = 1-t
  330. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  331. end
  332.  
  333. function QuaternionFromCFrame(cf)
  334. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  335. local trace = m00 + m11 + m22
  336. if trace > 0 then
  337. local s = math.sqrt(1 + trace)
  338. local recip = 0.5/s
  339. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  340. else
  341. local i = 0
  342. if m11 > m00 then
  343. i = 1
  344. end
  345. if m22 > (i == 0 and m00 or m11) then
  346. i = 2
  347. end
  348. if i == 0 then
  349. local s = math.sqrt(m00-m11-m22+1)
  350. local recip = 0.5/s
  351. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  352. elseif i == 1 then
  353. local s = math.sqrt(m11-m22-m00+1)
  354. local recip = 0.5/s
  355. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  356. elseif i == 2 then
  357. local s = math.sqrt(m22-m00-m11+1)
  358. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  359. end
  360. end
  361. end
  362.  
  363. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  364. local xs, ys, zs = x + x, y + y, z + z
  365. local wx, wy, wz = w*xs, w*ys, w*zs
  366. local xx = x*xs
  367. local xy = x*ys
  368. local xz = x*zs
  369. local yy = y*ys
  370. local yz = y*zs
  371. local zz = z*zs
  372. 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))
  373. end
  374.  
  375. function QuaternionSlerp(a, b, t)
  376. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  377. local startInterp, finishInterp;
  378. if cosTheta >= 0.0001 then
  379. if (1 - cosTheta) > 0.0001 then
  380. local theta = math.acos(cosTheta)
  381. local invSinTheta = 1/math.sin(theta)
  382. startInterp = math.sin((1-t)*theta)*invSinTheta
  383. finishInterp = math.sin(t*theta)*invSinTheta
  384. else
  385. startInterp = 1-t
  386. finishInterp = t
  387. end
  388. else
  389. if (1+cosTheta) > 0.0001 then
  390. local theta = math.acos(-cosTheta)
  391. local invSinTheta = 1/math.sin(theta)
  392. startInterp = math.sin((t-1)*theta)*invSinTheta
  393. finishInterp = math.sin(t*theta)*invSinTheta
  394. else
  395. startInterp = t-1
  396. finishInterp = t
  397. end
  398. end
  399. 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
  400. end
  401.  
  402. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  403. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  404. end
  405.  
  406. Player=game:GetService('Players').LocalPlayer
  407. Character=Player.Character
  408. Mouse=Player:GetMouse()
  409. m=Instance.new('Model',Character)
  410.  
  411.  
  412. local function weldBetween(a, b)
  413. local weldd = Instance.new("ManualWeld")
  414. weldd.Part0 = a
  415. weldd.Part1 = b
  416. weldd.C0 = CFrame.new()
  417. weldd.C1 = b.CFrame:inverse() * a.CFrame
  418. weldd.Parent = a
  419. return weldd
  420. end
  421.  
  422. it=Instance.new
  423.  
  424. function nooutline(part)
  425. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  426. end
  427.  
  428. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  429. local fp=it("Part")
  430. fp.formFactor=formfactor
  431. fp.Parent=parent
  432. fp.Reflectance=reflectance
  433. fp.Transparency=transparency
  434. fp.CanCollide=false
  435. fp.Locked=true
  436. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  437. fp.Name=name
  438. fp.Size=size
  439. fp.Position=Character.Torso.Position
  440. nooutline(fp)
  441. fp.Material=material
  442. fp:BreakJoints()
  443. return fp
  444. end
  445.  
  446. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  447. local mesh=it(Mesh)
  448. mesh.Parent=part
  449. if Mesh=="SpecialMesh" then
  450. mesh.MeshType=meshtype
  451. mesh.MeshId=meshid
  452. end
  453. mesh.Offset=offset
  454. mesh.Scale=scale
  455. return mesh
  456. end
  457.  
  458. function weld(parent,part0,part1,c0,c1)
  459. local weld=it("Weld")
  460. weld.Parent=parent
  461. weld.Part0=part0
  462. weld.Part1=part1
  463. weld.C0=c0
  464. weld.C1=c1
  465. return weld
  466. end
  467.  
  468. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Handle",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  469. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000205993652, -0.360076904, -0.95643425, -0.99999994, -0.000225757583, -0.000720398675, 0.00072045275, -0.000239534784, -0.999999762, 0.000225584954, -1, 0.000239697489))
  470. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.251215041))
  471. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, 0.0691184998, -0.314193964, 1.00000024, -5.92179131e-005, -1.29602695e-005, 5.92175056e-005, 1, -1.97537011e-005, 1.29613618e-005, 1.97527552e-005, 1))
  472. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
  473. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  474. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, -0.45242691, 0.288010597, -0.999997497, 0.000725772523, 0.000227257871, -0.000725722872, -1.00000441, 0.000240282548, 0.000227538287, 0.000240116162, 1.00000548))
  475. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  476. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  477. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.45243454, 0.0367903709, 0.999997497, -0.000720366137, -0.00022235082, 0.000720317767, 1.00000441, -0.000239741683, 0.000222629576, 0.000239580055, 1.00000548))
  478. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  479. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822561, 0.249872148))
  480. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.207035065, -0.17373085, 0.999997497, -0.00072160142, -0.00022359869, 0.00073676958, 0.866149008, 0.499794632, -0.000166879006, -0.499795169, 0.866149962))
  481. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  482. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  483. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, 0.45243454, 0.0888251066, -0.999997497, 0.000725971942, 0.00021874324, 0.000725924212, 1.00000441, -0.000240576948, -0.000219023961, -0.000240416673, -1.00000548))
  484. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  485. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.502430081, 0.249872148))
  486. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.131931305, -0.502456903, 1.00000024, -5.92213473e-005, -1.04527553e-005, 5.92209981e-005, 1, -1.97814952e-005, 1.04538531e-005, 1.97806949e-005, 1))
  487. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  488. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  489. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.559078217, 0.125410795, 1.00000036, -5.56436135e-006, 5.70751354e-006, 5.56418672e-006, 1.00000012, -6.32018782e-007, -5.70759948e-006, 6.31829607e-007, 1))
  490. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  491. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.251215011))
  492. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000114440918, -0.559070587, -0.0630459785, 1.00000036, -3.43425199e-009, 4.1882933e-007, 3.25962901e-009, 1.00000012, -5.07861841e-009, -4.18907319e-007, 4.86033969e-009, 1))
  493. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  494. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  495. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.326820374, 0.287996054, 0.999997497, -0.000720454438, -0.00022328952, 0.000720405835, 1.00000441, -0.000239729197, 0.000223568277, 0.000239566856, 1.00000548))
  496. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  497. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  498. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.389625549, 0.162387133, 0.999997497, -0.00072036538, -0.000222872448, 0.000720316893, 1.00000441, -0.000239734727, 0.000223151204, 0.000239572721, 1.00000548))
  499. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  500. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  501. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.0062828064, -0.125666976, 1.00000036, -5.82076609e-011, -1.0415279e-007, -5.82076609e-011, 1.00000012, 1.92085281e-009, 1.04069201e-007, -2.12457962e-009, 1))
  502. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  503. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.320299208, 0.249872148))
  504. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000480651855, 0.235279083, -0.0481357574, 0.999997497, -0.000721339951, -0.000224050062, 0.000736768707, 0.866149008, 0.499794632, -0.000166357378, -0.499795169, 0.866149962))
  505. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  506. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  507. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, 0.182186127, 0.12538743, -1.00000036, 9.11590178e-006, 1.74332206e-006, -9.11578536e-006, -1.00000012, 9.46136424e-007, 1.74326954e-006, 9.45903594e-007, 1))
  508. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  509. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  510. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433101654, -1.0681597, -0.000518798828, -0.000720398675, -0.999999762, 0.000239697489, 0.000225757554, 0.000239534755, 0.999999881, -0.99999994, 0.00072045275, 0.000225584954))
  511. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  512. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  513. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449054718, 1.06155396, -0.000518798828, 0.000349763839, 0.706936777, -0.707275927, -0.00066903315, -0.707275689, -0.706936777, -0.99999994, 0.00072045275, 0.000225584954))
  514. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327357, 0.195947766, 2.49582171))
  515. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.25121507, 0.249872148))
  516. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.370616913, 0.125349045, 1.00000036, 7.15954229e-009, -5.11285134e-006, -7.33416528e-009, 1.00000012, 6.86413841e-008, 5.11277858e-006, -6.88451109e-008, 1))
  517. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
  518. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.628037453))
  519. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -0.55904007, -0.628454924, 1.00000036, -3.20364488e-005, -2.10887192e-005, 3.20360414e-005, 1.00000012, -1.04982755e-005, 2.10889866e-005, 1.0497417e-005, 1))
  520. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  521. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822561, 0.249872148, 0.502430081))
  522. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433403015, -0.188618064, 1.00000036, 1.11758709e-008, -6.992203e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.9921266e-006, -9.38744051e-008, 1))
  523. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  524. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  525. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, -1.00516951, 0.320278168, -1.00000024, 6.65510888e-005, 1.68400602e-005, 1.68413608e-005, 2.0647436e-005, 1, 6.65506232e-005, 1, -2.06487457e-005))
  526. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  527. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822591, 0.249872148))
  528. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.0691642761, -1.00482428, 1.00000024, -5.9222104e-005, -9.93106914e-006, 5.92217548e-005, 1, -1.9788451e-005, 9.9321569e-006, 1.97876652e-005, 1))
  529. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  530. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
  531. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433422089, -0.753872871, 1.00000036, 8.68557254e-006, -5.82381335e-006, -8.68568895e-006, 1.00000012, 2.99772364e-006, 5.8237415e-006, -2.99786916e-006, 1))
  532. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  533. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.376822591))
  534. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, 0.32036972, -0.753610492, 1.00000024, -5.92212891e-005, -1.04526243e-005, 5.92209399e-005, 1, -1.97814952e-005, 1.04537221e-005, 1.97806949e-005, 1))
  535. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
  536. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.376822591, 0.376822591))
  537. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, 0.0691490173, -0.753605008, 1.00000024, -5.9221813e-005, -1.01400929e-005, 5.92214637e-005, 1, -1.97856716e-005, 1.01411933e-005, 1.97848713e-005, 1))
  538. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 1))
  539. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.25121507, 0.502430022))
  540. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.244979858, -0.188724279, 1.00000036, 1.11758709e-008, -6.99218845e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.99211205e-006, -9.38744051e-008, 1))
  541. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.376822591, 0.376822561))
  542. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.433349609, -1.38218713, 1.00000024, -5.91896242e-005, -2.39263682e-005, 5.92111028e-005, 1, -1.96207548e-005, 2.39328383e-005, 1.96265173e-005, 1))
  543. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  544. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, -0.559082031, 0.251346588, -1.00000024, -2.39079236e-005, -1.38423338e-005, -2.39082146e-005, 1, 9.51347465e-006, 1.38421719e-005, 9.51398397e-006, -1))
  545. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  546. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  547. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144958496, 0.559082031, -0.251361251, -1.00000024, -1.84752862e-005, -6.47418165e-006, 1.84755772e-005, -1, -9.59941826e-006, -6.47407114e-006, -9.59972385e-006, 1))
  548. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  549. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  550. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.43346405, 0.502572298, -1.00000036, 5.48030948e-006, -6.26139763e-006, 5.48013486e-006, 1.00000012, -2.82510882e-007, 6.26146448e-006, -2.82365363e-007, -1))
  551. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  552. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  553. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, 0.43346405, -0.502573967, -1.00000036, 1.09116663e-005, 1.524249e-006, -1.09114917e-005, -1.00000012, 1.91022991e-007, 1.52417022e-006, 1.90804712e-007, 1))
  554. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  555. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.25121507))
  556. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.0565261841, -1.06798422, 1.00000024, -5.9191836e-005, -2.70642977e-005, 5.91911376e-005, 1, -1.95882458e-005, 2.70653727e-005, 1.95864559e-005, 1))
  557. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  558. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
  559. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000495910645, -0.625137329, -0.67111969, 0.999997497, -0.00072721875, -0.000194401277, 0.000651851704, 0.707277596, 0.706942856, -0.000376532524, -0.70694226, 0.70727849))
  560. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687335))
  561. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.395663708))
  562. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 0.144451141, -0.62521112, 1.00000024, -5.9185375e-005, -3.07253576e-005, 5.91846183e-005, 1, -1.95451576e-005, 3.07264309e-005, 1.95431639e-005, 1))
  563. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
  565. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.433422089, -1.63327813, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
  566. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
  567. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.376822591, 0.251215041))
  568. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.433334351, -1.0680908, 1.00000036, -4.52231034e-005, -2.28274512e-005, 4.52225795e-005, 1.00000012, -1.49286498e-005, 2.28280478e-005, 1.49274274e-005, 1))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
  570. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.43334198, 1.75898731, 0.000129699707, -2.69297161e-005, -1.00000012, 1.91715808e-005, -6.51740556e-005, -1.91696308e-005, -1, 1.00000036, -2.69311131e-005, -6.51736191e-005))
  571. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  573. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000129699707, -0.684700012, -1.50741279, 1.00000024, -6.4982567e-005, -1.10206747e-005, 6.50263974e-005, 1, -1.95248285e-005, 1.10326419e-005, 1.95386674e-005, 1))
  574. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  576. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, -0.684638977, -1.63328862, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
  577. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.251215041, 0.249872148, 0.376822591))
  579. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.244930267, 1.75896168, 0.000129699707, -2.69391458e-005, -1.00000012, 1.92259758e-005, -5.96150421e-005, -1.9224186e-005, -1, 1.00000036, -2.69404845e-005, -5.96145801e-005))
  580. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  582. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125732422, -0.684707642, -0.125760436, 1.00000036, -5.79509651e-006, 7.80390383e-006, 5.79492189e-006, 1.00000012, 1.72105501e-007, -7.80397568e-006, -1.72265572e-007, 1))
  583. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.502430081))
  585. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.307754517, -0.6913836, 1.00000024, -1.13646965e-005, -1.22719966e-005, 1.13644637e-005, 1, -3.66875611e-006, 1.22719612e-005, 3.66842141e-006, 1))
  586. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  587. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  588. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125473022, -0.684703827, -0.125751019, 1.00000036, -5.79480547e-006, 7.69880899e-006, 5.79463085e-006, 1.00000012, 1.73502485e-007, -7.69889721e-006, -1.73648004e-007, 1))
  589. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 1.13046777))
  591. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.91821289e-005, -0.182117462, -1.13084769, 1.00000024, -5.91959688e-005, -2.53911767e-005, 5.91952703e-005, 1, -1.96104957e-005, 2.53922535e-005, 1.96088076e-005, 1))
  592. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  594. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, 0.502620816, 0.182220459, -1.00000036, 3.14078643e-005, 2.9162622e-005, -2.91631495e-005, -1.99905044e-005, -1, -3.14071076e-005, -1.00000012, 1.99916249e-005))
  595. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  597. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.502616286, -0.182235718, -1.00000036, 3.87764885e-005, 2.37294116e-005, 2.37300956e-005, 1.99014321e-005, 1, 3.87758482e-005, 1.00000012, -1.99025526e-005))
  598. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  599. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  600. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125656128, -0.684650421, -0.251537204, 1.00000036, 1.50175765e-008, -8.97663449e-006, -1.51921995e-008, 1.00000012, 1.48662366e-007, 8.97656173e-006, -1.48866093e-007, 1))
  601. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  603. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125549316, -0.684650421, -0.251536846, 1.00000036, 1.51921995e-008, -9.08120455e-006, -1.53668225e-008, 1.00000012, 1.5005935e-007, 9.08113088e-006, -1.50248525e-007, 1))
  604. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  606. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06815958, 0.433101654, -0.000518798828, -0.000225757482, -0.000239519795, -0.999999642, -0.000720398501, -0.999999523, 0.000239682529, -0.99999994, 0.00072045275, 0.000225584954))
  607. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  609. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06155396, -0.449050903, -0.000518798828, -0.000669033267, -0.707275808, -0.706936955, -0.000349763926, -0.706936955, 0.707276046, -0.99999994, 0.00072045275, 0.000225584954))
  610. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  611. BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Barrel",Vector3.new(0.251214981, 0.249872148, 0.376822591))
  612. BarrelAweld=weld(m,handle,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433361053, 1.76527333, 0.00016784668, -5.6413468e-005, -1, 1.91889267e-005, -7.36084621e-005, -1.91846048e-005, -1.00000024, 1.00000048, -5.64150396e-005, -7.36074362e-005))
  613. mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  614. mesh("BlockMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  615.  
  616. handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","handle2",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  617. handle2weld=weld(m,Character["Left Arm"],handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.36007309, -0.95643425, -0.99999994, -0.000225757583, -0.000720398675, 0.00072045275, -0.000239534784, -0.999999762, 0.000225584954, -1, 0.000239697489))
  618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.251215041))
  619. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, 0.0691146851, -0.314193964, 1.00000024, -5.92179131e-005, -1.29602695e-005, 5.92175056e-005, 1, -1.97537011e-005, 1.29613618e-005, 1.97527552e-005, 1))
  620. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
  621. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  622. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, -0.452423096, 0.288010597, -0.999997497, 0.000725772523, 0.000227257871, -0.000725722872, -1.00000441, 0.000240282548, 0.000227538287, 0.000240116162, 1.00000548))
  623. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  624. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  625. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.452430725, 0.0367903709, 0.999997497, -0.000720366137, -0.00022235082, 0.000720317767, 1.00000441, -0.000239741683, 0.000222629576, 0.000239580055, 1.00000548))
  626. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  627. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822561, 0.249872148))
  628. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.20703125, -0.173728943, 0.999997497, -0.00072160142, -0.00022359869, 0.00073676958, 0.866149008, 0.499794632, -0.000166879006, -0.499795169, 0.866149962))
  629. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  631. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, 0.452430725, 0.0888252258, -0.999997497, 0.000725971942, 0.00021874324, 0.000725924212, 1.00000441, -0.000240576948, -0.000219023961, -0.000240416673, -1.00000548))
  632. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.502430081, 0.249872148))
  634. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.13192749, -0.502457142, 1.00000024, -5.92213473e-005, -1.04527553e-005, 5.92209981e-005, 1, -1.97814952e-005, 1.04538531e-005, 1.97806949e-005, 1))
  635. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  636. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  637. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.559078217, 0.125410557, 1.00000036, -5.56436135e-006, 5.70751354e-006, 5.56418672e-006, 1.00000012, -6.32018782e-007, -5.70759948e-006, 6.31829607e-007, 1))
  638. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.251215011))
  640. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000114440918, -0.559074402, -0.0630459785, 1.00000036, -3.43425199e-009, 4.1882933e-007, 3.25962901e-009, 1.00000012, -5.07861841e-009, -4.18907319e-007, 4.86033969e-009, 1))
  641. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  642. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  643. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.326816559, 0.287996054, 0.999997497, -0.000720454438, -0.00022328952, 0.000720405835, 1.00000441, -0.000239729197, 0.000223568277, 0.000239566856, 1.00000548))
  644. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  646. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.389621735, 0.162387133, 0.999997497, -0.00072036538, -0.000222872448, 0.000720316893, 1.00000441, -0.000239734727, 0.000223151204, 0.000239572721, 1.00000548))
  647. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  648. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
  649. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.006275177, -0.125666976, 1.00000036, -5.82076609e-011, -1.0415279e-007, -5.82076609e-011, 1.00000012, 1.92085281e-009, 1.04069201e-007, -2.12457962e-009, 1))
  650. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.320299208, 0.249872148))
  652. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000480651855, 0.235275269, -0.0481338501, 0.999997497, -0.000721339951, -0.000224050062, 0.000736768707, 0.866149008, 0.499794632, -0.000166357378, -0.499795169, 0.866149962))
  653. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  655. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, 0.182186127, 0.12538743, -1.00000036, 9.11590178e-006, 1.74332206e-006, -9.11578536e-006, -1.00000012, 9.46136424e-007, 1.74326954e-006, 9.45903594e-007, 1))
  656. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  658. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433105469, -1.0681597, -0.000518798828, -0.000720398675, -0.999999762, 0.000239697489, 0.000225757554, 0.000239534755, 0.999999881, -0.99999994, 0.00072045275, 0.000225584954))
  659. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  661. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449050903, 1.06155396, -0.000518798828, 0.000349763839, 0.706936777, -0.707275927, -0.00066903315, -0.707275689, -0.706936777, -0.99999994, 0.00072045275, 0.000225584954))
  662. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327357, 0.195947766, 2.49582171))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.25121507, 0.249872148))
  664. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.370620728, 0.125349045, 1.00000036, 7.15954229e-009, -5.11285134e-006, -7.33416528e-009, 1.00000012, 6.86413841e-008, 5.11277858e-006, -6.88451109e-008, 1))
  665. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.628037453))
  667. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -0.559043884, -0.628455162, 1.00000036, -3.20364488e-005, -2.10887192e-005, 3.20360414e-005, 1.00000012, -1.04982755e-005, 2.10889866e-005, 1.0497417e-005, 1))
  668. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822561, 0.249872148, 0.502430081))
  670. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.43340683, -0.188618183, 1.00000036, 1.11758709e-008, -6.992203e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.9921266e-006, -9.38744051e-008, 1))
  671. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  673. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, -1.00516927, 0.320274353, -1.00000024, 6.65510888e-005, 1.68400602e-005, 1.68413608e-005, 2.0647436e-005, 1, 6.65506232e-005, 1, -2.06487457e-005))
  674. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822591, 0.249872148))
  676. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.0691604614, -1.0048244, 1.00000024, -5.9222104e-005, -9.93106914e-006, 5.92217548e-005, 1, -1.9788451e-005, 9.9321569e-006, 1.97876652e-005, 1))
  677. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
  679. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433425903, -0.753872871, 1.00000036, 8.68557254e-006, -5.82381335e-006, -8.68568895e-006, 1.00000012, 2.99772364e-006, 5.8237415e-006, -2.99786916e-006, 1))
  680. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.376822591))
  682. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, 0.320365906, -0.75361073, 1.00000024, -5.92212891e-005, -1.04526243e-005, 5.92209399e-005, 1, -1.97814952e-005, 1.04537221e-005, 1.97806949e-005, 1))
  683. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.376822591, 0.376822591))
  685. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, 0.0691452026, -0.753605008, 1.00000024, -5.9221813e-005, -1.01400929e-005, 5.92214637e-005, 1, -1.97856716e-005, 1.01411933e-005, 1.97848713e-005, 1))
  686. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 1))
  687. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.25121507, 0.502430022))
  688. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.244983673, -0.188724399, 1.00000036, 1.11758709e-008, -6.99218845e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.99211205e-006, -9.38744051e-008, 1))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.376822591, 0.376822561))
  690. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.433353424, -1.38218737, 1.00000024, -5.91896242e-005, -2.39263682e-005, 5.92111028e-005, 1, -1.96207548e-005, 2.39328383e-005, 1.96265173e-005, 1))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  692. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, -0.559089661, 0.251346469, -1.00000024, -2.39079236e-005, -1.38423338e-005, -2.39082146e-005, 1, 9.51347465e-006, 1.38421719e-005, 9.51398397e-006, -1))
  693. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  695. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144958496, 0.559089661, -0.251361251, -1.00000024, -1.84752862e-005, -6.47418165e-006, 1.84755772e-005, -1, -9.59941826e-006, -6.47407114e-006, -9.59972385e-006, 1))
  696. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  698. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.43347168, 0.502572179, -1.00000036, 5.48030948e-006, -6.26139763e-006, 5.48013486e-006, 1.00000012, -2.82510882e-007, 6.26146448e-006, -2.82365363e-007, -1))
  699. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  701. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, 0.433467865, -0.502573967, -1.00000036, 1.09116663e-005, 1.524249e-006, -1.09114917e-005, -1.00000012, 1.91022991e-007, 1.52417022e-006, 1.90804712e-007, 1))
  702. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.25121507))
  704. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.0565299988, -1.0679841, 1.00000024, -5.9191836e-005, -2.70642977e-005, 5.91911376e-005, 1, -1.95882458e-005, 2.70653727e-005, 1.95864559e-005, 1))
  705. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
  707. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000495910645, -0.625141144, -0.67111969, 0.999997497, -0.00072721875, -0.000194401277, 0.000651851704, 0.707277596, 0.706942856, -0.000376532524, -0.70694226, 0.70727849))
  708. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687335))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.395663708))
  710. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 0.144447327, -0.62521112, 1.00000024, -5.9185375e-005, -3.07253576e-005, 5.91846183e-005, 1, -1.95451576e-005, 3.07264309e-005, 1.95431639e-005, 1))
  711. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
  713. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.433425903, -1.63327825, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
  714. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.376822591, 0.251215041))
  716. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.433338165, -1.06809092, 1.00000036, -4.52231034e-005, -2.28274512e-005, 4.52225795e-005, 1.00000012, -1.49286498e-005, 2.28280478e-005, 1.49274274e-005, 1))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
  718. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433349609, 1.75898743, 0.000129699707, -2.69297161e-005, -1.00000012, 1.91715808e-005, -6.51740556e-005, -1.91696308e-005, -1, 1.00000036, -2.69311131e-005, -6.51736191e-005))
  719. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  721. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000129699707, -0.684707642, -1.50741291, 1.00000024, -6.4982567e-005, -1.10206747e-005, 6.50263974e-005, 1, -1.95248285e-005, 1.10326419e-005, 1.95386674e-005, 1))
  722. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  724. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, -0.684642792, -1.63328874, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
  725. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.251215041, 0.249872148, 0.376822591))
  727. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.244937897, 1.75896156, 0.000129699707, -2.69391458e-005, -1.00000012, 1.92259758e-005, -5.96150421e-005, -1.9224186e-005, -1, 1.00000036, -2.69404845e-005, -5.96145801e-005))
  728. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  730. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125732422, -0.684711456, -0.125760555, 1.00000036, -5.79509651e-006, 7.80390383e-006, 5.79492189e-006, 1.00000012, 1.72105501e-007, -7.80397568e-006, -1.72265572e-007, 1))
  731. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.502430081))
  733. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.307758331, -0.691383839, 1.00000024, -1.13646965e-005, -1.22719966e-005, 1.13644637e-005, 1, -3.66875611e-006, 1.22719612e-005, 3.66842141e-006, 1))
  734. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  736. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125473022, -0.684707642, -0.125751138, 1.00000036, -5.79480547e-006, 7.69880899e-006, 5.79463085e-006, 1.00000012, 1.73502485e-007, -7.69889721e-006, -1.73648004e-007, 1))
  737. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 1.13046777))
  739. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.91821289e-005, -0.182121277, -1.13084757, 1.00000024, -5.91959688e-005, -2.53911767e-005, 5.91952703e-005, 1, -1.96104957e-005, 2.53922535e-005, 1.96088076e-005, 1))
  740. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  742. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, 0.502620697, 0.182224274, -1.00000036, 3.14078643e-005, 2.9162622e-005, -2.91631495e-005, -1.99905044e-005, -1, -3.14071076e-005, -1.00000012, 1.99916249e-005))
  743. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
  745. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.502616286, -0.182239532, -1.00000036, 3.87764885e-005, 2.37294116e-005, 2.37300956e-005, 1.99014321e-005, 1, 3.87758482e-005, 1.00000012, -1.99025526e-005))
  746. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  748. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125656128, -0.684658051, -0.251536965, 1.00000036, 1.50175765e-008, -8.97663449e-006, -1.51921995e-008, 1.00000012, 1.48662366e-007, 8.97656173e-006, -1.48866093e-007, 1))
  749. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
  751. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125549316, -0.684654236, -0.251536846, 1.00000036, 1.51921995e-008, -9.08120455e-006, -1.53668225e-008, 1.00000012, 1.5005935e-007, 9.08113088e-006, -1.50248525e-007, 1))
  752. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
  753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  754. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06815958, 0.433105469, -0.000518798828, -0.000225757482, -0.000239519795, -0.999999642, -0.000720398501, -0.999999523, 0.000239682529, -0.99999994, 0.00072045275, 0.000225584954))
  755. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
  757. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06155396, -0.449050903, -0.000518798828, -0.000669033267, -0.707275808, -0.706936955, -0.000349763926, -0.706936955, 0.707276046, -0.99999994, 0.00072045275, 0.000225584954))
  758. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
  759. BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Barrel",Vector3.new(0.251214981, 0.249872148, 0.376822591))
  760. BarrelBweld=weld(m,handle2,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433368683, 1.76527357, 0.00016784668, -5.6413468e-005, -1, 1.91889267e-005, -7.36084621e-005, -1.91846048e-005, -1.00000024, 1.00000048, -5.64150396e-005, -7.36074362e-005))
  761. mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
  762. mesh("BlockMesh",handle2,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
  763.  
  764. function Laser(Part,Dmg)
  765. sp = Part.Position
  766. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0)
  767. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  768. local las=Instance.new("Part",Character)
  769. las.Anchored=true
  770. las.Locked=true
  771. las.CanCollide=false
  772. las.TopSurface=0
  773. las.BottomSurface=0
  774. las.FormFactor = "Custom"
  775. las.BrickColor=BrickColor.new("Light stone grey")
  776. las.Size=Vector3.new(1,1,1)
  777. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  778. local msh=Instance.new("SpecialMesh",las)
  779. mag = (Part.Position-pos).magnitude
  780. msh.Scale=Vector3.new(0.1,mag,0.1)
  781. coroutine.resume(coroutine.create(function(Part,Mesh)
  782. for i = 0,1,0.1 do
  783. wait()
  784. Part.Transparency = Part.Transparency + 0.1
  785. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  786. end
  787. Part.Parent = nil
  788. end),las,msh)
  789. if pos ~= nil then
  790. local las2=Instance.new("Part",Character)
  791. las2.Anchored=true
  792. las2.Locked=true
  793. las2.CanCollide=false
  794. las2.TopSurface=0
  795. las2.BottomSurface=0
  796. las2.FormFactor = "Custom"
  797. las2.BrickColor=BrickColor.new("Light stone grey")
  798. las2.Size=Vector3.new(1,1,1)
  799. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  800. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  801. local msh=Instance.new("SpecialMesh",las2)
  802. msh.MeshType = "Sphere"
  803. mag = (Part.Position-pos).magnitude
  804. msh.Scale=Vector3.new(0.1,0.1,0.1)
  805. coroutine.resume(coroutine.create(function(Part,Mesh)
  806. --wait(10)
  807. for i = 0,1,0.1 do
  808. wait()
  809. Part.Transparency = Part.Transparency + 0.1
  810. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  811. end
  812. Part.Parent = nil
  813. end),las2,msh)
  814. end
  815. if hit ~= nil and pos ~= nil then
  816. if hit.Parent.className == "Hat" then
  817. hit:BreakJoints()
  818. hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5))
  819. end
  820. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  821. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  822. hit.Parent.Humanoid:TakeDamage(Dmg)
  823. end
  824. end
  825. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  826. end ]]
  827. end
  828. end
  829.  
  830. function attackone()
  831. attack=true
  832. for i=0,1,0.1 do
  833. swait()
  834. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  835. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  836. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  838. end
  839. Laser(BarrelA,20)
  840. so("http://www.roblox.com/asset/?id=149155476",Torso,1,1)
  841. for i=0,1,0.2 do
  842. swait()
  843. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(50),math.rad(50)),.3)
  844. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(10),math.rad(-50)),.3)
  846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  847. end
  848. attack=false
  849. end
  850.  
  851. function attacktwo()
  852. attack=true
  853. for i=0,1,0.1 do
  854. swait()
  855. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(30),math.rad(50)),.3)
  856. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  857. --LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  858. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  861. end
  862. Laser(BarrelB,20)
  863. so("http://www.roblox.com/asset/?id=149155476",Torso,1,1)
  864. for i=0,1,0.2 do
  865. swait()
  866. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(30),math.rad(50)),.3)
  867. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(-50),math.rad(-50)),.3)
  868. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(50),math.rad(50)),.3)
  869. --LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-10),math.rad(50)),.3)
  871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  872. end
  873. attack=false
  874. end
  875.  
  876. function attackthree()
  877. attack=true
  878. for i=0,1,0.1 do
  879. swait()
  880. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  881. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  882. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  884. end
  885. for i=0,1,0.2 do
  886. swait()
  887. Laser(BarrelA,20)
  888. Laser(BarrelB,20)
  889. so("http://www.roblox.com/asset/?id=149155476",Torso,1,1)
  890. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(100),math.rad(-10),math.rad(-50)),.3)
  891. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(100),math.rad(-10),math.rad(-50)),.3)
  892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-10),math.rad(50)),.3)
  893. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  894. end
  895. attack=false
  896. end
  897.  
  898. mouse.Button1Down:connect(function()
  899. if attack==false then
  900. if attacktype==1 then
  901. attack=true
  902. attacktype=2
  903. attackone()
  904. elseif attacktype==2 then
  905. attack=true
  906. attacktype=3
  907. attacktwo()
  908. elseif attacktype==3 then
  909. attack=true
  910. attacktype=1
  911. attackthree()
  912. end
  913. end
  914. end)
  915.  
  916. mouse.KeyDown:connect(function(k)
  917. k=k:lower()
  918.  
  919. end)
  920.  
  921.  
  922. local sine = 0
  923. local change = 1
  924. local val = 0
  925.  
  926. while true do
  927. swait()
  928. sine = sine + change
  929. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  930. local velderp=RootPart.Velocity.y
  931. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  932. if equipped==true or equipped==false then
  933. if attack==false then
  934. idle=idle+1
  935. else
  936. idle=0
  937. end
  938. if idle>=500 then
  939. if attack==false then
  940. --Sheath()
  941. end
  942. end
  943. if RootPart.Velocity.y > 1 and hitfloor==nil then
  944. Anim="Jump"
  945. if attack==false then
  946. end
  947. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  948. Anim="Fall"
  949. if attack==false then
  950. end
  951. elseif torvel<1 and hitfloor~=nil then
  952. Anim="Idle"
  953. if attack==false then
  954. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  956. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  958. end
  959. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  960. Anim="Walk"
  961. if attack==false then
  962. change=3
  963. RW.C0=clerp(RW.C0,cf(.8,0.5,-1)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  964. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
  965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(-10),math.rad(50)),.3)
  966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  967. end
  968. elseif torvel>=22 and hitfloor~=nil then
  969. Anim="Run"
  970. if attack==false then
  971. end
  972. end
  973. end
  974. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement