Advertisement
samuelrichter66

HONO ARM CANNONS

May 29th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.91 KB | None | 0 0
  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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154.  
  155. Player=game:GetService("Players").LocalPlayer
  156. Character=Player.Character
  157. PlayerGui=Player.PlayerGui
  158. Backpack=Player.Backpack
  159. Torso=Character.Torso
  160. Head=Character.Head
  161. Humanoid=Character.Humanoid
  162. Mouse=Player:GetMouse()
  163. local m1=Instance.new('Model',Character)
  164. m1.Name="GunModel"
  165. local m2=Instance.new('Model',Character)
  166. m2.Name="BladeModel"
  167. LeftArm=Character["Left Arm"]
  168. LeftLeg=Character["Left Leg"]
  169. RightArm=Character["Right Arm"]
  170. RightLeg=Character["Right Leg"]
  171. LS=Torso["Left Shoulder"]
  172. LH=Torso["Left Hip"]
  173. RS=Torso["Right Shoulder"]
  174. RH=Torso["Right Hip"]
  175. Face = Head.face
  176. Neck=Torso.Neck
  177. it=Instance.new
  178. attacktype=1
  179. vt=Vector3.new
  180. cf=CFrame.new
  181. euler=CFrame.fromEulerAnglesXYZ
  182. angles=CFrame.Angles
  183. cloaked=false
  184. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  185. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  186. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  187. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  188. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  189. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  190. RootPart=Character.HumanoidRootPart
  191. RootJoint=RootPart.RootJoint
  192. RootCF=euler(-1.57,0,3.14)
  193. attack = false
  194. attackdebounce = false
  195. deb=false
  196. equipped=true
  197. hand=false
  198. MMouse=nil
  199. combo=0
  200. mana=0
  201. trispeed=.2
  202. local Mode = "GunMode"
  203. local idle=0
  204. local Anim="Idle"
  205. local Effects={}
  206. local gun=false
  207. local shoot=false
  208. player=nil
  209. mana=0
  210. --save shoulders
  211. RSH, LSH=nil, nil
  212. --welds
  213. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  214. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  215. LH=Torso["Left Hip"]
  216. RH=Torso["Right Hip"]
  217. TorsoColor=Torso.BrickColor
  218. function NoOutline(Part)
  219. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  220. end
  221. player=Player
  222. ch=Character
  223. RSH=ch.Torso["Right Shoulder"]
  224. LSH=ch.Torso["Left Shoulder"]
  225. --
  226. RSH.Parent=nil
  227. LSH.Parent=nil
  228. --
  229. RW.Name="Right Shoulder"
  230. RW.Part0=ch.Torso
  231. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  232. RW.C1=cf(0, 0.5, 0)
  233. RW.Part1=ch["Right Arm"]
  234. RW.Parent=ch.Torso
  235. --
  236. LW.Name="Left Shoulder"
  237. LW.Part0=ch.Torso
  238. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  239. LW.C1=cf(0, 0.5, 0)
  240. LW.Part1=ch["Left Arm"]
  241. LW.Parent=ch.Torso
  242.  
  243. local function weldBetween(a, b)
  244. local weldd = Instance.new("ManualWeld")
  245. weldd.Part0 = a
  246. weldd.Part1 = b
  247. weldd.C0 = CFrame.new()
  248. weldd.C1 = b.CFrame:inverse() * a.CFrame
  249. weldd.Parent = a
  250. return weldd
  251. end
  252.  
  253. function swait(num)
  254. if num==0 or num==nil then
  255. game:service'RunService'.Stepped:wait(0)
  256. else
  257. for i=0,num do
  258. game:service'RunService'.Stepped:wait(0)
  259. end
  260. end
  261. end
  262.  
  263. function nooutline(part)
  264. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  265. end
  266.  
  267. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  268. local fp=it("Part")
  269. fp.formFactor=formfactor
  270. fp.Parent=parent
  271. fp.Reflectance=reflectance
  272. fp.Transparency=transparency
  273. fp.CanCollide=false
  274. fp.Locked=true
  275. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  276. fp.Name=name
  277. fp.Size=size
  278. fp.Position=Character.Torso.Position
  279. nooutline(fp)
  280. fp.Material=material
  281. fp:BreakJoints()
  282. return fp
  283. end
  284.  
  285. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  286. local mesh=it(Mesh)
  287. mesh.Parent=part
  288. if Mesh=="SpecialMesh" then
  289. mesh.MeshType=meshtype
  290. mesh.MeshId=meshid
  291. end
  292. mesh.Offset=offset
  293. mesh.Scale=scale
  294. return mesh
  295. end
  296.  
  297. function weld(parent,part0,part1,c0,c1)
  298. local weld=it("Weld")
  299. weld.Parent=parent
  300. weld.Part0=part0
  301. weld.Part1=part1
  302. weld.C0=c0
  303. weld.C1=c1
  304. return weld
  305. end
  306.  
  307.  
  308. local function CFrameFromTopBack(at, top, back)
  309. local right = top:Cross(back)
  310. return CFrame.new(at.x, at.y, at.z,
  311. right.x, top.x, back.x,
  312. right.y, top.y, back.y,
  313. right.z, top.z, back.z)
  314. end
  315.  
  316. function Triangle(a, b, c)
  317. local edg1 = (c-a):Dot((b-a).unit)
  318. local edg2 = (a-b):Dot((c-b).unit)
  319. local edg3 = (b-c):Dot((a-c).unit)
  320. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  321. a, b, c = a, b, c
  322. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  323. a, b, c = b, c, a
  324. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  325. a, b, c = c, a, b
  326. else
  327. assert(false, "unreachable")
  328. end
  329.  
  330. local len1 = (c-a):Dot((b-a).unit)
  331. local len2 = (b-a).magnitude - len1
  332. local width = (a + (b-a).unit*len1 - c).magnitude
  333.  
  334. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  335.  
  336. local list = {}
  337.  
  338. local TrailColor = ("Really red")
  339.  
  340. if len1 > 0.01 then
  341. local w1 = Instance.new('WedgePart', m)
  342. game:GetService("Debris"):AddItem(w1,5)
  343. w1.Material = "SmoothPlastic"
  344. w1.FormFactor = 'Custom'
  345. w1.BrickColor = BrickColor.new(TrailColor)
  346. w1.Transparency = 0
  347. w1.Reflectance = 0
  348. w1.Material = "SmoothPlastic"
  349. w1.CanCollide = false
  350. NoOutline(w1)
  351. local sz = Vector3.new(0.2, width, len1)
  352. w1.Size = sz
  353. local sp = Instance.new("SpecialMesh",w1)
  354. sp.MeshType = "Wedge"
  355. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  356. w1:BreakJoints()
  357. w1.Anchored = true
  358. w1.Parent = workspace
  359. w1.Transparency = 0.7
  360. table.insert(Effects,{w1,"Disappear",.01})
  361. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  362. table.insert(list,w1)
  363. end
  364.  
  365. if len2 > 0.01 then
  366. local w2 = Instance.new('WedgePart', m)
  367. game:GetService("Debris"):AddItem(w2,5)
  368. w2.Material = "SmoothPlastic"
  369. w2.FormFactor = 'Custom'
  370. w2.BrickColor = BrickColor.new(TrailColor)
  371. w2.Transparency = 0
  372. w2.Reflectance = 0
  373. w2.Material = "SmoothPlastic"
  374. w2.CanCollide = false
  375. NoOutline(w2)
  376. local sz = Vector3.new(0.2, width, len2)
  377. w2.Size = sz
  378. local sp = Instance.new("SpecialMesh",w2)
  379. sp.MeshType = "Wedge"
  380. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  381. w2:BreakJoints()
  382. w2.Anchored = true
  383. w2.Parent = workspace
  384. w2.Transparency = 0.7
  385. table.insert(Effects,{w2,"Disappear",.01})
  386. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  387. table.insert(list,w2)
  388. end
  389. return unpack(list)
  390. end
  391.  
  392.  
  393. so = function(id,par,vol,pit)
  394. coroutine.resume(coroutine.create(function()
  395. local sou = Instance.new("Sound",par or workspace)
  396. sou.Volume=vol
  397. sou.Pitch=pit or 1
  398. sou.SoundId=id
  399. swait()
  400. sou:play()
  401. game:GetService("Debris"):AddItem(sou,6)
  402. end))
  403. end
  404.  
  405. function clerp(a,b,t)
  406. local qa = {QuaternionFromCFrame(a)}
  407. local qb = {QuaternionFromCFrame(b)}
  408. local ax, ay, az = a.x, a.y, a.z
  409. local bx, by, bz = b.x, b.y, b.z
  410. local _t = 1-t
  411. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  412. end
  413.  
  414. function QuaternionFromCFrame(cf)
  415. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  416. local trace = m00 + m11 + m22
  417. if trace > 0 then
  418. local s = math.sqrt(1 + trace)
  419. local recip = 0.5/s
  420. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  421. else
  422. local i = 0
  423. if m11 > m00 then
  424. i = 1
  425. end
  426. if m22 > (i == 0 and m00 or m11) then
  427. i = 2
  428. end
  429. if i == 0 then
  430. local s = math.sqrt(m00-m11-m22+1)
  431. local recip = 0.5/s
  432. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  433. elseif i == 1 then
  434. local s = math.sqrt(m11-m22-m00+1)
  435. local recip = 0.5/s
  436. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  437. elseif i == 2 then
  438. local s = math.sqrt(m22-m00-m11+1)
  439. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  440. end
  441. end
  442. end
  443.  
  444. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  445. local xs, ys, zs = x + x, y + y, z + z
  446. local wx, wy, wz = w*xs, w*ys, w*zs
  447. local xx = x*xs
  448. local xy = x*ys
  449. local xz = x*zs
  450. local yy = y*ys
  451. local yz = y*zs
  452. local zz = z*zs
  453. 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))
  454. end
  455.  
  456. function QuaternionSlerp(a, b, t)
  457. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  458. local startInterp, finishInterp;
  459. if cosTheta >= 0.0001 then
  460. if (1 - cosTheta) > 0.0001 then
  461. local theta = math.acos(cosTheta)
  462. local invSinTheta = 1/math.sin(theta)
  463. startInterp = math.sin((1-t)*theta)*invSinTheta
  464. finishInterp = math.sin(t*theta)*invSinTheta
  465. else
  466. startInterp = 1-t
  467. finishInterp = t
  468. end
  469. else
  470. if (1+cosTheta) > 0.0001 then
  471. local theta = math.acos(-cosTheta)
  472. local invSinTheta = 1/math.sin(theta)
  473. startInterp = math.sin((t-1)*theta)*invSinTheta
  474. finishInterp = math.sin(t*theta)*invSinTheta
  475. else
  476. startInterp = t-1
  477. finishInterp = t
  478. end
  479. end
  480. 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
  481. end
  482.  
  483. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  484.  
  485.  
  486. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  487. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  488. end
  489.  
  490. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  491. if hit.Parent==nil then
  492. return
  493. end
  494. h=hit.Parent:FindFirstChild("Humanoid")
  495. for _,v in pairs(hit.Parent:children()) do
  496. if v:IsA("Humanoid") then
  497. h=v
  498. end
  499. end
  500. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  501. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  502. end
  503. if hit.Parent.className=="Hat" then
  504. hit=hit.Parent.Parent:findFirstChild("Head")
  505. end
  506. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  507. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  508. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  509. return
  510. end]]
  511. -- hs(hit,1.2)
  512. c=Instance.new("ObjectValue")
  513. c.Name="creator"
  514. c.Value=game:service("Players").LocalPlayer
  515. c.Parent=h
  516. game:GetService("Debris"):AddItem(c,.5)
  517. Damage=math.random(minim,maxim)
  518. -- h:TakeDamage(Damage)
  519. blocked=false
  520. block=hit.Parent:findFirstChild("Block")
  521. if block~=nil then
  522. print(block.className)
  523. if block.className=="NumberValue" then
  524. if block.Value>0 then
  525. blocked=true
  526. if decreaseblock==nil then
  527. block.Value=block.Value-1
  528. end
  529. end
  530. end
  531. if block.className=="IntValue" then
  532. if block.Value>0 then
  533. blocked=true
  534. if decreaseblock~=nil then
  535. block.Value=block.Value-1
  536. end
  537. end
  538. end
  539. end
  540. if blocked==false then
  541. -- h:TakeDamage(Damage)
  542. h.Health=h.Health-Damage
  543. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  544. else
  545. h.Health=h.Health-(Damage/2)
  546. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  547. end
  548. if Type=="Knockdown" then
  549. hum=hit.Parent.Humanoid
  550. hum.PlatformStand=true
  551. coroutine.resume(coroutine.create(function(HHumanoid)
  552. swait(1)
  553. HHumanoid.PlatformStand=false
  554. end),hum)
  555. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  556. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  557. local bodvol=Instance.new("BodyVelocity")
  558. bodvol.velocity=angle*knockback
  559. bodvol.P=5000
  560. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  561. bodvol.Parent=hit
  562. rl=Instance.new("BodyAngularVelocity")
  563. rl.P=3000
  564. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  565. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  566. rl.Parent=hit
  567. game:GetService("Debris"):AddItem(bodvol,.5)
  568. game:GetService("Debris"):AddItem(rl,.5)
  569. elseif Type=="Normal" then
  570. vp=Instance.new("BodyVelocity")
  571. vp.P=500
  572. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  573. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  574. if KnockbackType==1 then
  575. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  576. elseif KnockbackType==2 then
  577. vp.velocity=Property.CFrame.lookVector*knockback
  578. end
  579. if knockback>0 then
  580. vp.Parent=hit.Parent.Torso
  581. end
  582. game:GetService("Debris"):AddItem(vp,.5)
  583. elseif Type=="Up" then
  584. local bodyVelocity=Instance.new("BodyVelocity")
  585. bodyVelocity.velocity=vt(0,60,0)
  586. bodyVelocity.P=5000
  587. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  588. bodyVelocity.Parent=hit
  589. game:GetService("Debris"):AddItem(bodyVelocity,1)
  590. rl=Instance.new("BodyAngularVelocity")
  591. rl.P=3000
  592. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  593. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  594. rl.Parent=hit
  595. game:GetService("Debris"):AddItem(rl,.5)
  596. elseif Type=="Snare" then
  597. bp=Instance.new("BodyPosition")
  598. bp.P=2000
  599. bp.D=100
  600. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  601. bp.position=hit.Parent.Torso.Position
  602. bp.Parent=hit.Parent.Torso
  603. game:GetService("Debris"):AddItem(bp,1)
  604. elseif Type=="Target" then
  605. if Targetting==false then
  606. ZTarget=hit.Parent.Torso
  607. coroutine.resume(coroutine.create(function(Part)
  608. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  609. swait(5)
  610. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  611. end),ZTarget)
  612. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  613. targetgui=Instance.new("BillboardGui")
  614. targetgui.Parent=ZTarget
  615. targetgui.Size=UDim2.new(10,100,10,100)
  616. targ=Instance.new("ImageLabel")
  617. targ.Parent=targetgui
  618. targ.BackgroundTransparency=1
  619. targ.Image="rbxassetid://4834067"
  620. targ.Size=UDim2.new(1,0,1,0)
  621. cam.CameraType="Scriptable"
  622. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  623. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  624. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  625. Targetting=true
  626. RocketTarget=ZTarget
  627. for i=1,Property do
  628. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  629. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  630. swait()
  631. end
  632. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  633. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  634. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  635. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  636. end
  637. Targetting=false
  638. RocketTarget=nil
  639. targetgui.Parent=nil
  640. cam.CameraType="Custom"
  641. end
  642. end
  643. debounce=Instance.new("BoolValue")
  644. debounce.Name="DebounceHit"
  645. debounce.Parent=hit.Parent
  646. debounce.Value=true
  647. game:GetService("Debris"):AddItem(debounce,Delay)
  648. c=Instance.new("ObjectValue")
  649. c.Name="creator"
  650. c.Value=Player
  651. c.Parent=h
  652. game:GetService("Debris"):AddItem(c,.5)
  653. CRIT=false
  654. hitDeb=true
  655. AttackPos=6
  656. end
  657. end
  658.  
  659. showDamage=function(Char,Dealt,du,Color)
  660. m=Instance.new("Model")
  661. m.Name=tostring(Dealt)
  662. h=Instance.new("Humanoid")
  663. h.Health=0
  664. h.MaxHealth=0
  665. h.Parent=m
  666. c=Instance.new("Part")
  667. c.Transparency=0
  668. c.BrickColor=Color
  669. c.Name="Head"
  670. c.TopSurface=0
  671. c.BottomSurface=0
  672. c.formFactor="Plate"
  673. c.Size=Vector3.new(1,.4,1)
  674. ms=Instance.new("CylinderMesh")
  675. ms.Scale=Vector3.new(.8,.8,.8)
  676. if CRIT==true then
  677. ms.Scale=Vector3.new(1,1.25,1)
  678. end
  679. ms.Parent=c
  680. c.Reflectance=0
  681. Instance.new("BodyGyro").Parent=c
  682. c.Parent=m
  683. if Char:findFirstChild("Head")~=nil then
  684. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  685. elseif Char.Parent:findFirstChild("Head")~=nil then
  686. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  687. end
  688. f=Instance.new("BodyPosition")
  689. f.P=2000
  690. f.D=100
  691. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  692. f.position=c.Position+Vector3.new(0,3,0)
  693. f.Parent=c
  694. game:GetService("Debris"):AddItem(m,.5+du)
  695. c.CanCollide=false
  696. m.Parent=workspace
  697. c.CanCollide=false
  698. end
  699.  
  700. HandleA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  701. HandleAweld=weld(m1,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00601291656, 0.902695894, -0.0106921196, 6.92903996e-006, -0.000916787016, 0.999999404, 0.000216525354, 0.999999523, 0.000916785619, -0.999999702, 0.000216518922, 7.15255737e-006))
  702. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  703. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200034142, 0.0993332863, -0.510296345, -0.999998927, -0.000709082757, 0.000795230328, -0.000709116226, 0.999999881, -4.12791123e-005, -0.000795172411, -4.18431882e-005, -0.999999404))
  704. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  705. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  706. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0243177414, -0.909710884, -0.50538063, 0.706621885, -0.707591116, -7.46296791e-007, 0.000227723445, 0.000228591467, -0.999999583, 0.707590938, 0.706622243, 0.00032277382))
  707. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  708. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000492095947, -1.60544538, -0.404047966, 0.999999642, 0.000637817895, 6.16828402e-006, -0.000637817895, 0.99999994, -1.12666585e-005, -6.21400113e-006, 1.12628795e-005, 0.999999762))
  709. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  710. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399835587, 0.0993037224, -0.51012373, -0.999999106, -0.000720874115, 0.00079501915, -0.000720907294, 0.999999881, -4.11022738e-005, -0.000795172586, -4.16757975e-005, -0.999999106))
  711. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  712. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  713. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000437736511, -1.02025604, -0.805628538, 0.999999583, -0.000131279055, -1.82135318e-006, -1.76037474e-006, 0.000462549535, -0.999999464, 0.000131278823, 0.99999994, 0.000462549244))
  714. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  715. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  716. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299925804, 0.0993540287, -0.410134315, -0.999999344, -0.000737508526, 0.000795000698, -0.000737541181, 0.999999881, -4.08653723e-005, -0.000794904539, -4.14518618e-005, -0.999999225))
  717. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  718. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  719. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.910725594, -1.605968, 0.999999702, 0.00027906883, 2.27590908e-006, 2.00013483e-006, 0.000456643, -0.999999642, -0.000279070169, 1, 0.000456642243))
  720. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  721. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.41019392, -0.000547409058, -1.70559025, -2.18768628e-006, -0.000355395663, -0.999999464, -0.999999404, -0.000783216441, 2.51741312e-006, -0.000783217489, 0.999999762, -0.000355393538))
  722. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  723. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  724. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910942078, -2.30604672, 0.699171066, -2.72884017e-006, -0.000458225637, 0.999999523, -0.000415054383, 0.99999994, 0.000458224356, -0.999999523, -0.000415052753, -2.82689234e-006))
  725. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  726. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  727. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300088882, 0.0992658138, -0.610044479, -0.999999166, -0.00074226805, 0.000794910244, -0.000742300821, 0.999999881, -4.07908701e-005, -0.000794904656, -4.13811977e-005, -0.999999225))
  728. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  729. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  730. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799346924, -0.910316944, -1.00568414, 0.999999642, 0.000153747736, 1.13118676e-006, 9.54705683e-007, 0.000459202245, -0.999999404, -0.000153748784, 1, 0.00045920207))
  731. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  732. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910498142, -1.30583644, 0.999139786, -3.20934237e-006, -0.000454228022, 0.999999523, -0.000495601096, 0.99999994, 0.000454226451, -0.999999762, -0.000495599408, -3.52978827e-006))
  733. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  734. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  735. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.806668758, -1.11970043, -0.00100421906, 0.00102211558, -0.999997914, 1.08030763e-005, 6.4668925e-006, -1.07969136e-005, -0.999999583, 0.999997377, 0.00102211558, 6.25147823e-006))
  736. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=218516461",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 1, 0.600000024))
  737. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  738. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.510239124, -1.00575256, 0.999999642, -7.32245971e-005, -9.14712473e-007, -9.99394615e-007, 0.000461434625, -0.999999344, 7.32244225e-005, 1, 0.000461434363))
  739. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  740. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, -0.205507278, 0.405237198, 0.999999642, -2.94688507e-005, -3.53896212e-007, 2.9468385e-005, 1.00000012, 1.56559838e-006, 4.28780822e-007, -1.56530632e-006, 0.999999344))
  741. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  742. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411117554, -0.100200176, -0.10565567, 0.999999583, -0.000119221688, -1.52071971e-006, -1.55111275e-006, 0.000461844902, -0.999999523, 0.000119221571, 0.99999994, 0.000461844553))
  743. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  744. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  745. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909956455, -0.22321701, 1.50557947, 4.16988269e-006, -0.000457662361, 0.999999523, -0.706443846, -0.707768977, -0.000320927968, 0.707768798, -0.706443965, -0.000326169626))
  746. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  747. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  748. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.408623695, -0.100821018, -1.70613909, 0.999999583, -0.000117158575, -1.52027224e-006, -1.64116545e-006, 0.000462548138, -0.999999404, 0.000117158575, 0.99999994, 0.000462547934))
  749. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  750. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  751. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909699917, -1.09884357, 0.293745279, -1.08326913e-006, -0.0004489985, 0.999999404, 0.999999702, 0.000200630981, 1.27544945e-006, -0.000200631912, 1, 0.000448998238))
  752. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  753. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  754. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410476685, -0.100874901, -1.70551181, 0.999999821, -0.000135789684, -1.92663629e-006, -1.7604907e-006, 0.000462676369, -0.999999464, 0.000135789916, 0.99999994, 0.000462675991))
  755. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  756. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  757. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910520554, -1.3059237, 0.998523712, 3.20733693e-006, 0.000456415466, -0.999999523, -0.000475926179, 0.999999881, 0.000456413894, 0.999999702, 0.000475924375, 3.54042868e-006))
  758. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  759. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000033, 0.400000006, 2))
  760. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000133514404, -0.910128593, -0.505455256, 0.999999642, 0.000311950862, 3.32610989e-006, 3.20828326e-006, 0.000455383357, -0.999999523, -0.000311952725, 1, 0.000455382135))
  761. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  762. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.90948534, -0.588850975, 0.695396423, -3.04509967e-006, 0.000449814048, -0.999999642, -0.999999702, -0.000160418916, 3.02479157e-006, -0.000160417985, 1, 0.000449814426))
  763. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  764. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  765. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909722328, -1.09856606, 0.295041084, 1.25959377e-006, 0.000451713684, -0.999999404, -0.999999821, -0.000212759187, -1.45689e-006, -0.000212760177, 1, 0.000451713364))
  766. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  767. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  768. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.7987957, -0.9103055, -1.00566292, 0.999999642, 0.000153897563, 1.13121905e-006, 9.5505402e-007, 0.000458822033, -0.999999404, -0.000153898611, 1, 0.000458821829))
  769. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  770. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404272079, -0.205385447, 0.100467205, 0.999999762, -3.15317884e-005, -4.43748831e-007, 3.15313227e-005, 1.00000012, 1.30433352e-006, 4.88144906e-007, -1.30410308e-006, 0.999999523))
  771. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  772. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404764175, -0.205312014, 0.100367546, 0.999999523, -5.50336554e-005, -5.82949724e-007, 5.50331897e-005, 1.00000012, 1.14786485e-006, 6.66815595e-007, -1.14769523e-006, 0.999999523))
  773. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  774. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299371719, 0.0993876457, -0.410626888, -0.999999106, -0.000744298974, 0.000794879976, -0.000744331744, 0.999999881, -4.07871885e-005, -0.000794845051, -4.13790913e-005, -0.999999046))
  775. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  776. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  777. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403924942, -1.60569715, 0.000243186951, 0.999999642, 0.000154435926, 1.8465912e-006, -0.00015443645, 1.00000012, -3.93629716e-006, -1.87104388e-006, 3.93616801e-006, 0.999999583))
  778. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  779. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000514984131, -1.60579109, 0.405591488, 0.999999702, 0.000616875419, 5.9253307e-006, -0.000616875419, 1, -1.15516968e-005, -5.78212894e-006, 1.15482753e-005, 0.999999762))
  780. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  781. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -0.909729958, 0.394920945, 0.999999642, 0.000218851783, 2.21816663e-006, 2.14913416e-006, 0.000456655747, -0.999999523, -0.000218853063, 1, 0.000456655165))
  782. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  783. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  784. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245990753, -0.909721375, -0.505870819, 0.706469238, 0.707743764, -6.31757757e-008, -0.000231502752, 0.000230873076, -0.999999523, -0.707743526, 0.706469417, 0.000326845853))
  785. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  786. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910820007, -2.00589633, 0.299592018, 3.17787021e-006, 0.00045605065, -0.999999642, -0.000460765994, 0.999999881, 0.000456048991, 0.999999583, 0.000460764189, 3.41793589e-006))
  787. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  788. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  789. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299167633, 0.0992984772, -0.610538006, -0.999999225, -0.000732926477, 0.000794942083, -0.000732959365, 0.999999881, -4.09263121e-005, -0.000794934342, -4.15092363e-005, -0.999999166))
  790. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  791. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  792. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909502506, -0.599749565, 0.694995403, -3.35579898e-007, -0.000451868313, 0.999999404, 0.999999762, 0.000160708791, 4.02537808e-007, -0.000160709431, 1, 0.000451868167))
  793. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  794. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  795. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909495831, -0.59880352, 0.695057034, 6.4822143e-007, 0.000452179025, -0.999999642, -0.999999762, -0.000158943934, -5.80969754e-007, -0.000158944691, 1, 0.000452178705))
  796. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  798. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.405106544, -1.60561466, 0.000225543976, 0.999999642, 0.000175392313, 2.208757e-006, -0.000175392546, 1.00000012, -4.08470214e-006, -2.16920262e-006, 4.08442611e-006, 0.999999523))
  799. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  800. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910933971, -2.30625892, 0.699104309, 2.73067462e-006, 0.000456224807, -0.999999523, -0.000438791845, 0.999999881, 0.000456223526, 0.999999464, 0.000438790128, 2.83203235e-006))
  801. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  802. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  803. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409638405, -0.00014591217, -0.104890108, -2.18768628e-006, -0.000355395663, -0.999999464, -0.999999404, -0.000783216441, 2.51741312e-006, -0.000783217489, 0.999999762, -0.000355393538))
  804. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  805. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  806. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.90993309, -1.50450993, 0.225377083, -9.54144525e-007, -0.00045981427, 0.999999404, 0.706453145, 0.707759619, 0.000326111593, -0.707759261, 0.706453383, 0.000324085588))
  807. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  808. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  809. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199476242, 0.0993714333, -0.510579109, -0.999999225, -0.000713866786, 0.000795169675, -0.000713899964, 0.999999881, -4.12086556e-005, -0.000795172469, -4.1776555e-005, -0.999999106))
  810. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  811. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  812. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910819054, -2.00598288, 0.299651146, -2.95224163e-006, -0.00045835285, 0.999999583, -0.000438263029, 0.999999881, 0.000458351482, -0.999999523, -0.000438261253, -3.14484259e-006))
  813. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  814. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  815. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000329971313, -0.205160379, -0.404402494, 0.999999702, -2.71389144e-005, -2.93786798e-007, 2.71383906e-005, 1.00000024, 1.66046027e-006, 3.84163286e-007, -1.6602404e-006, 0.999999523))
  816. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  817. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408882141, -0.100205898, -0.104806185, 0.999999583, -0.000119221688, -1.52071971e-006, -1.55111275e-006, 0.000461844902, -0.999999523, 0.000119221571, 0.99999994, 0.000461844553))
  818. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  819. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  820. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399191856, 0.0993947983, -0.510787964, -0.999999225, -0.000704300532, 0.000795231375, -0.000704333768, 0.999999881, -4.135364e-005, -0.000795231957, -4.19139687e-005, -0.999999166))
  821. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  822. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  823. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000380516052, -1.12010813, -0.805575848, 0.999999642, -3.12970951e-006, 2.43362592e-008, 4.48962965e-008, 0.000460115814, -0.999999344, 3.12930206e-006, 1.00000012, 0.000460115785))
  824. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  825. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  826. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909489155, -0.589746475, 0.694995165, -4.99348062e-007, -0.00045202655, 0.999999464, 0.999999642, 0.000149068306, 5.19225978e-007, -0.000149069005, 1, 0.000452026463))
  827. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  828. BarrelA2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  829. BarrelA2weld=weld(m1,HandleA,BarrelA2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299783707, 0.694409728, -0.510775089, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  830. mesh("CylinderMesh",BarrelA2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  831. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  832. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299256325, 0.0943014622, -0.510558128, -0.999999106, -0.000765180215, 0.000794726482, -0.000765212579, 0.999999821, -4.02083169e-005, -0.000794711406, -4.08166525e-005, -0.999999166))
  833. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  834. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  835. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.30008316, 0.0943102837, -0.510088444, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  836. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  837. BarrelA1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  838. BarrelA1weld=weld(m1,HandleA,BarrelA1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300215721, 0.694310427, -0.510293961, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  839. mesh("CylinderMesh",BarrelA1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  840. HitboxA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxA",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  841. HitboxAweld=weld(m1,HandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910625935, -2.29495311, 0.000671386719, 1.65541678e-006, -2.44985004e-005, -0.999999523, 0.00162831508, -0.999998689, 2.45010415e-005, -0.999997854, -0.00162837585, -1.85656972e-006))
  842.  
  843. HandleB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  844. HandleBweld=weld(m1,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00521659851, 0.902703285, 0.00110328197, -6.91729065e-006, -0.000916737656, -0.999999642, -0.000216509899, 0.999999523, -0.000916736317, 1, 0.000216503424, -7.11577059e-006))
  845. BarrelB2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  846. BarrelB2weld=weld(m1,HandleB,BarrelB2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301452637, 0.694670916, 0.499202967, 0.999999046, 0.0010826512, -0.000794843771, -0.00108227541, 0.999999404, 0.000473449356, 0.000795328175, -0.000472588668, 0.999999225))
  847. mesh("CylinderMesh",BarrelB2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  848. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  849. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411119461, -0.100201607, -0.105655193, 1.00000012, -0.00011922128, -1.69845316e-006, -1.64339235e-006, 0.000461844931, -0.99999994, 0.000119221921, 0.99999994, 0.000461844698))
  850. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  851. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  852. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408880234, -0.100208461, -0.104805708, 1.00000012, -0.00011922128, -1.69845316e-006, -1.64339235e-006, 0.000461844931, -0.99999994, 0.000119221921, 0.99999994, 0.000461844698))
  853. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  854. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  855. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.510238647, -1.00575376, 1.00000012, -7.32243061e-005, -1.06067819e-006, -1.02689046e-006, 0.000461434742, -0.99999994, 7.32247718e-005, 1, 0.000461434654))
  856. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  857. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000328063965, -0.205159426, -0.404401898, 1.00000012, -2.71386816e-005, -3.42850399e-007, 2.7138798e-005, 1.00000024, 1.66038149e-006, 3.42805833e-007, -1.66039138e-006, 1))
  858. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  859. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199474335, 0.0993717909, -0.510580003, -0.999999583, -0.000713867019, 0.000795202388, -0.000713899906, 0.999999881, -4.12087356e-005, -0.00079517276, -4.17764059e-005, -0.999999702))
  860. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  861. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  862. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.806668758, -1.11970067, -0.0010061264, 0.0010221157, -0.999997914, 1.08031745e-005, 6.35393553e-006, -1.07969336e-005, -1, 0.999997854, 0.00102211593, 6.34293337e-006))
  863. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=218516461",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 1, 0.600000024))
  864. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  865. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910819292, -2.00598335, 0.2996521, -3.00354463e-006, -0.000458352966, 0.99999994, -0.000438262883, 0.999999881, 0.000458351598, -0.99999994, -0.000438261486, -3.20442314e-006))
  866. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  867. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  868. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299929619, 0.0993545055, -0.410133362, -0.999999583, -0.000737508642, 0.000795009022, -0.000737541239, 0.999999881, -4.08654814e-005, -0.000794978638, -4.14518072e-005, -0.999999702))
  869. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  870. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  871. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000490188599, -1.60544825, -0.40404737, 0.999999881, 0.000637817953, 6.16506532e-006, -0.000637817837, 0.99999994, -1.12668004e-005, -6.17224987e-006, 1.12628632e-005, 1))
  872. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  873. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299369812, 0.0993840694, -0.410629034, -0.999999583, -0.000744299265, 0.000794907508, -0.000744331861, 0.999999881, -4.07872976e-005, -0.000794876833, -4.1378953e-005, -0.999999702))
  874. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  875. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  876. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909701705, -1.09884548, 0.29374373, -1.15321882e-006, -0.000448998646, 0.99999994, 1.00000012, 0.000200631155, 1.2433029e-006, -0.000200631737, 1, 0.000448998384))
  877. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  878. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  879. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404763222, -0.205310822, 0.100368083, 1, -5.50333643e-005, -6.90408342e-007, 5.50334225e-005, 1.00000012, 1.14775594e-006, 6.90346042e-007, -1.14778663e-006, 1))
  880. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  881. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909502804, -0.599750519, 0.694995999, -4.50516836e-007, -0.000451868516, 0.99999994, 1.00000012, 0.000160708907, 5.23136805e-007, -0.000160709082, 1, 0.000451868429))
  882. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  883. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  884. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000434875488, -1.02025652, -0.805627584, 1.00000012, -0.000131278648, -1.848176e-006, -1.78745313e-006, 0.000462549651, -0.99999994, 0.000131279288, 0.99999994, 0.000462549389))
  885. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  886. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  887. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404273033, -0.205385447, 0.100466967, 1.00000012, -3.15316138e-005, -4.12337613e-007, 3.1531672e-005, 1.00000012, 1.30428373e-006, 4.12296686e-007, -1.30428566e-006, 1))
  888. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  889. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909932375, -1.50451183, 0.22537899, -9.97381449e-007, -0.000459814415, 0.99999994, 0.706453502, 0.707759559, 0.000326142646, -0.707759559, 0.706453383, 0.000324131543))
  890. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  891. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  892. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.405105591, -1.60561681, 0.000225901604, 1.00000012, 0.000175392546, 2.13072462e-006, -0.000175392488, 1.00000012, -4.08471533e-006, -2.1314404e-006, 4.08434789e-006, 1))
  893. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  894. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.30009079, 0.0992664099, -0.610045373, -0.999999583, -0.000742268283, 0.00079497043, -0.000742300879, 0.999999881, -4.07910084e-005, -0.000794939871, -4.13811067e-005, -0.999999702))
  895. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  896. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  897. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00043964386, -0.910725951, -1.60597086, 1.00000012, 0.000279069063, 2.06355298e-006, 1.93611731e-006, 0.000456642971, -0.99999994, -0.000279069995, 1, 0.000456642418))
  898. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  899. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245990753, -0.909722567, -0.505868912, 0.706469595, 0.707743764, -1.34443781e-007, -0.000231479891, 0.000230873207, -1, -0.707743704, 0.706469476, 0.000326933281))
  900. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  901. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399188995, 0.0993949175, -0.510789394, -0.999999464, -0.000704300648, 0.00079527928, -0.000704333768, 0.999999881, -4.13537236e-005, -0.000795250002, -4.19138451e-005, -0.999999702))
  902. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  903. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  904. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399837494, 0.0993038416, -0.510124326, -0.999999583, -0.000720874465, 0.000795144413, -0.000720907294, 0.999999881, -4.1102383e-005, -0.000795114494, -4.16755938e-005, -0.999999702))
  905. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  906. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  907. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409636855, -0.000144004822, -0.104890108, -2.24786072e-006, -0.000355395576, -1, -0.999999762, -0.000783216674, 2.52621203e-006, -0.000783217489, 0.999999762, -0.000355393684))
  908. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  909. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  910. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403925896, -1.60569644, 0.00024330616, 1.00000012, 0.000154436217, 1.84760393e-006, -0.000154436158, 1.00000012, -3.93636947e-006, -1.84821192e-006, 3.93609025e-006, 1))
  911. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  912. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910499156, -1.30583549, 0.999141693, -3.29535669e-006, -0.000454228197, 0.99999994, -0.00049560098, 0.99999994, 0.000454226538, -1, -0.000495599466, -3.52047232e-006))
  913. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  914. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  915. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000337600708, -0.205507517, 0.405237138, 1.00000012, -2.94685597e-005, -3.74370757e-007, 2.94686179e-005, 1.00000012, 1.56549049e-006, 3.74324372e-007, -1.56549845e-006, 1))
  916. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  917. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410192251, -0.000547409058, -1.70559192, -2.24786072e-006, -0.000355395576, -1, -0.999999762, -0.000783216674, 2.52621203e-006, -0.000783217489, 0.999999762, -0.000355393684))
  918. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  919. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  920. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.798799515, -0.910306394, -1.00566459, 1.00000012, 0.000153897854, 1.11723057e-006, 1.04661831e-006, 0.000458822207, -0.99999994, -0.00015389832, 1, 0.000458822033))
  921. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000033, 0.400000006, 2))
  922. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000130653381, -0.910126984, -0.505456924, 1.00000012, 0.000311951037, 3.37332835e-006, 3.23127028e-006, 0.000455383473, -0.99999994, -0.00031195255, 1, 0.000455382426))
  923. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  924. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910933912, -2.30626202, 0.699104309, 2.71253521e-006, 0.000456224865, -0.99999994, -0.000438791641, 0.999999881, 0.000456223614, 0.99999994, 0.000438790419, 2.91272272e-006))
  925. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  926. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  927. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909485877, -0.588849068, 0.695395827, -3.07688242e-006, 0.000449814048, -0.99999994, -1.00000012, -0.000160419149, 3.00472266e-006, -0.000160417752, 1, 0.000449814514))
  928. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  929. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  930. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200036049, 0.0993337631, -0.510296583, -0.999999464, -0.000709083106, 0.000795240747, -0.000709116168, 0.999999881, -4.12792506e-005, -0.000795211352, -4.18431446e-005, -0.999999702))
  931. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  932. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  933. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.408623695, -0.100821435, -1.70614004, 1.00000012, -0.000117158168, -1.65958318e-006, -1.60539275e-006, 0.000462548312, -0.99999994, 0.000117158925, 0.99999994, 0.00046254808))
  934. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  935. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  936. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000291824341, -0.909731448, 0.394920468, 1, 0.000218852016, 2.11296856e-006, 2.01302828e-006, 0.000456655718, -0.99999994, -0.000218852947, 1, 0.000456655252))
  937. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  938. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  939. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909488797, -0.589749336, 0.694995999, -5.45072908e-007, -0.000452026696, 0.99999994, 1.00000012, 0.000149068597, 6.12456006e-007, -0.000149068772, 1, 0.000452026608))
  940. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  941. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  942. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0243177414, -0.909711123, -0.505382538, 0.706622243, -0.707591176, -7.77533842e-007, 0.000227804718, 0.000228591642, -1, 0.707591176, 0.706622243, 0.000322720531))
  943. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  944. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410474777, -0.100875676, -1.70551252, 1.00000012, -0.000135789509, -1.91163963e-006, -1.84881401e-006, 0.000462676428, -0.99999994, 0.000135790266, 0.99999994, 0.000462676137))
  945. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  946. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  947. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299166679, 0.0992978811, -0.610537946, -0.999999583, -0.00073292671, 0.000795047556, -0.000732959365, 0.999999881, -4.09264503e-005, -0.000795017288, -4.15091745e-005, -0.999999702))
  948. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  949. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  950. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000512123108, -1.60579109, 0.405592978, 0.99999994, 0.000616875477, 5.88053217e-006, -0.000616875361, 1, -1.15517523e-005, -5.8876567e-006, 1.15481243e-005, 1))
  951. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  952. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910819769, -2.00589943, 0.299591064, 3.17494141e-006, 0.000456050679, -0.99999994, -0.000460765878, 0.999999881, 0.000456049136, 1.00000012, 0.00046076451, 3.38507402e-006))
  953. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  954. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  955. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910942733, -2.30604911, 0.699176788, -2.68805752e-006, -0.000458225666, 0.99999994, -0.000415054266, 0.99999994, 0.000458224502, -1, -0.000415052986, -2.87824605e-006))
  956. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  957. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  958. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909497142, -0.598801613, 0.695056319, 6.35209744e-007, 0.000452179054, -0.99999994, -1.00000012, -0.000158944051, -7.07080744e-007, -0.000158944284, 1, 0.000452178909))
  959. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  960. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  961. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000376701355, -1.1201086, -0.805576801, 1.00000012, -3.12953489e-006, 1.24504822e-007, 1.25944098e-007, 0.000460115989, -0.99999994, 3.1295931e-006, 1.00000012, 0.000460116018))
  962. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  963. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  964. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909956217, -0.223212242, 1.50558186, 4.14528085e-006, -0.000457662478, 0.99999994, -0.706444144, -0.707768917, -0.000320990832, 0.707768917, -0.706443965, -0.00032624678))
  965. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  966. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  967. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909722984, -1.0985651, 0.295041203, 1.37364941e-006, 0.000451713888, -0.99999994, -1, -0.000212759187, -1.46975617e-006, -0.000212759827, 1, 0.000451713568))
  968. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  969. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  970. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910520196, -1.30592656, 0.998521805, 3.21776224e-006, 0.000456415524, -0.99999994, -0.000475926034, 0.999999881, 0.000456413953, 1, 0.000475924608, 3.43498232e-006))
  971. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  972. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  973. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799344063, -0.91031605, -1.00568509, 1.00000012, 0.000153748028, 1.11755071e-006, 1.04694891e-006, 0.00045920242, -0.99999994, -0.000153748551, 1, 0.000459202245))
  974. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  975. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299254417, 0.0943024158, -0.510557652, -0.999999523, -0.000765180506, 0.000794780906, -0.000765212579, 0.999999821, -4.0208397e-005, -0.000794749882, -4.08165506e-005, -0.999999702))
  976. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  977. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  978. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300086021, 0.0943112373, -0.510091066, -0.999999583, -0.000751217362, 0.000794898311, -0.000751249609, 0.999999881, -4.04269231e-005, -0.000794867636, -4.10240827e-005, -0.999999702))
  979. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  980. BarrelB1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  981. BarrelB1weld=weld(m1,HandleB,BarrelB1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298545837, 0.694571614, 0.499684155, 0.999999046, 0.0010826512, -0.000794843771, -0.00108227541, 0.999999404, 0.000473449356, 0.000795328175, -0.000472588668, 0.999999225))
  982. mesh("CylinderMesh",BarrelB1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  983. HitboxB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxB",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  984. HitboxBweld=weld(m1,HandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.8993541, -2.2953887, -0.000197410583, -1.20175173e-006, -0.000457523565, 0.999999702, 0.000205208897, -0.999999881, -0.000457523332, 0.999999404, 0.000205146847, 1.51164659e-006))
  985.  
  986. BHandleA=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  987. handleAweld=weld(m2,Character["Right Arm"],BHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00464439392, 0.890144825, 2.39763689, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  988. mesh("BlockMesh",BHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  989. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  990. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851154327, -0.243443489, 1.80064034, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  991. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  992. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  993. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000863552094, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  994. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  995. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  996. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.71661377e-005, -0.799008369, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  997. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  998. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  999. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00021314621, -0.599427223, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  1000. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1001. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1002. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226020813, -0.599549294, 0.400123954, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  1003. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1004. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  1005. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403881073, -0.69838047, 0.800340712, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  1006. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1007. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1008. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00023317337, -0.598741531, -0.4001562, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  1009. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1010. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1011. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000181674957, -0.59961319, 0.400129855, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  1012. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1013. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  1014. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.43186951e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  1015. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1016. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  1017. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00043296814, -0.699325562, 0.800350547, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  1018. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1019.  
  1020. BHandleB=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  1021. handleBweld=weld(m2,Character["Left Arm"],BHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463676453, -0.909854889, 2.39806938, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  1022. mesh("BlockMesh",BHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  1023. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  1024. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851407647, -0.243443489, 1.80064046, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  1025. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1026. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  1027. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00086325407, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  1028. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1029. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  1030. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.74045563e-005, -0.799009323, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  1031. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1032. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1033. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000212922692, -0.59942627, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  1034. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1035. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1036. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226154923, -0.59954834, 0.400123894, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  1037. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1038. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  1039. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403672457, -0.69838047, 0.800340652, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  1040. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1041. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1042. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000233188272, -0.598742485, -0.40015614, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  1043. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1044. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1045. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000182256103, -0.599612236, 0.400129795, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  1046. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1047. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  1048. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.47508287e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  1049. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1050. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  1051. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000433221459, -0.699325562, 0.800350487, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  1052. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  1053.  
  1054. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1055. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1056. prt.Anchored=true
  1057. prt.CFrame=cframe
  1058. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1059. game:GetService("Debris"):AddItem(prt,2)
  1060. coroutine.resume(coroutine.create(function(Part,Mesh)
  1061. for i=0,1,delay do
  1062. swait()
  1063. Part.CFrame=Part.CFrame
  1064. Part.Transparency=i
  1065. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1066. end
  1067. Part.Parent=nil
  1068. end),prt,msh)
  1069. end
  1070.  
  1071. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1072. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1073. prt.Anchored=true
  1074. prt.CFrame=cframe
  1075. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1076. game:GetService("Debris"):AddItem(prt,2)
  1077. coroutine.resume(coroutine.create(function(Part,Mesh)
  1078. for i=0,1,delay do
  1079. swait()
  1080. Part.CFrame=Part.CFrame
  1081. Part.Transparency=i
  1082. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1083. end
  1084. Part.Parent=nil
  1085. end),prt,msh)
  1086. end
  1087.  
  1088. function LaserBarrage(Prt,Parent)
  1089. attack=true
  1090. --so("BeamLockon",Prt,1,1)
  1091. local efprt=part(3,Parent,"SmoothPlastic",0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  1092. efprt.Anchored=true
  1093. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  1094. spread=vt((math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2)*(Prt.Position-Mouse.Hit.p).magnitude/100
  1095. --spread=vt(0,0,0)
  1096. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  1097. game:GetService("Debris"):AddItem(Part,6)
  1098. local TheHit=Mouse.Hit.p
  1099. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  1100. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  1101. so("Elec",Prt,0.2,1)
  1102. local tefprt=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  1103. tefprt.CFrame=cf(pos)
  1104. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  1105. so("Elec",tefprt,0.3,1)
  1106. game:GetService("Debris"):AddItem(tefprt,3)
  1107. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  1108. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1109. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1110. hit.Parent.Humanoid:TakeDamage(15)
  1111. end
  1112. end
  1113. local mag=(Prt.Position-pos).magnitude
  1114. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  1115. Part.Parent=nil
  1116. end),efprt,efmsh,spread)
  1117. end
  1118.  
  1119. function Shoot1()
  1120. attack = true
  1121. for i = 0,1,0.1 do
  1122. swait()
  1123. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-10)),.2)
  1124. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  1125. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1126. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1127. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1128. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10)),.2)
  1129. end
  1130. so("http://www.roblox.com/asset/?id=169445602",BarrelA1,1,.9)
  1131. so("http://www.roblox.com/asset/?id=169445602",BarrelA2,1,.9)
  1132. for i = 0,1,0.1 do
  1133. swait()
  1134. LaserBarrage(BarrelA1,m)
  1135. LaserBarrage(BarrelA2,m)
  1136. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-5)),.2)
  1137. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(5)),.2)
  1138. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(120), math.rad(20), math.rad(0)),.2)
  1139. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1140. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1141. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1142. end
  1143. attack = false
  1144. end
  1145.  
  1146. function Shoot2()
  1147. attack = true
  1148. for i = 0,1,0.1 do
  1149. swait()
  1150. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  1151. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  1152. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  1153. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(90), math.rad(-20), math.rad(10)),.2)
  1154. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1155. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1156. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1157. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1158. end
  1159. so("http://www.roblox.com/asset/?id=169445602",BarrelB1,1,.9)
  1160. so("http://www.roblox.com/asset/?id=169445602",BarrelB2,1,.9)
  1161. for i = 0,1,0.1 do
  1162. swait()
  1163. LaserBarrage(BarrelB1,m)
  1164. LaserBarrage(BarrelB2,m)
  1165. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(120), math.rad(-20), math.rad(10)),.2)
  1169. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1170. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1171. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1172. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1173. end
  1174. attack = false
  1175. end
  1176.  
  1177. function PlaySound(id, pitch, parent, volume)
  1178. if volume == nil then volume=tonumber(1) end
  1179. local epicsound = Instance.new("Sound")
  1180. epicsound.Name = "Epicosound"
  1181. epicsound.SoundId = "rbxassetid://"..id
  1182. epicsound.Volume = volume
  1183. epicsound.Pitch = pitch
  1184. epicsound.Looped = false
  1185. epicsound.Parent = parent
  1186. wait()
  1187. epicsound:Play()
  1188. game:service'Debris':AddItem(epicsound, 8)
  1189. end
  1190.  
  1191. Slashes = {200633108, 200633148, 200633196,200633281}
  1192.  
  1193. Slash = function(part)
  1194. local slashes = math.random(1, #Slashes)
  1195. PlaySound(Slashes[slashes], 1, part)
  1196. end
  1197.  
  1198. function attackone()
  1199. attack = true
  1200. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1201. for i = 0,1,0.1 do
  1202. swait()
  1203. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1204. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1205. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1206. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1207. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1208. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1209. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1210. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1211. end
  1212. Slash(HitboxA)
  1213. for i = 0,1,0.1 do
  1214. swait()
  1215. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1216. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1217. local h = 5
  1218. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1219. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1220. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1221. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1222. scfr = blcf
  1223. elseif not scfr then
  1224. scfr = blcf
  1225. end
  1226. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1227. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1228. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-30)),.2)
  1229. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1230. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1231. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1232. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1233. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1234. end
  1235. scfr = nil
  1236. attack = false
  1237. con:disconnect()
  1238. end
  1239.  
  1240. function attacktwo()
  1241. attack = true
  1242. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1243. for i = 0,1,0.1 do
  1244. swait()
  1245. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1246. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1247. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-90)),.2)
  1249. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1250. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1251. end
  1252. Slash(HitboxB)
  1253. for i = 0,1,0.1 do
  1254. swait()
  1255. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1256. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1257. local h = 5
  1258. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1259. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1260. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1261. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1262. scfr = blcf
  1263. elseif not scfr then
  1264. scfr = blcf
  1265. end
  1266. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1267. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1268. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1269. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-80)),.2)
  1270. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1271. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1272. end
  1273. scfr = nil
  1274. attack = false
  1275. con:disconnect()
  1276. end
  1277.  
  1278. function attackthree()
  1279. attack = true
  1280. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1281. for i = 0,1,0.1 do
  1282. swait()
  1283. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1284. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1285. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)),.2)
  1286. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1287. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1288. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1289. end
  1290. Slash(HitboxA)
  1291. for i = 0,1,0.1 do
  1292. swait()
  1293. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1294. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1295. local h = 5
  1296. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1297. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1298. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1299. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1300. scfr = blcf
  1301. elseif not scfr then
  1302. scfr = blcf
  1303. end
  1304. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1305. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1306. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(130), math.rad(80)),.2)
  1307. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1308. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1309. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1310. end
  1311. scfr = nil
  1312. attack = false
  1313. con:disconnect()
  1314. end
  1315.  
  1316. function attackfour()
  1317. attack = true
  1318. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1319. for i = 0,1,0.1 do
  1320. swait()
  1321. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1322. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1323. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)),.2)
  1324. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-10), math.rad(0)),.2)
  1325. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1326. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1327. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1328. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1329. end
  1330. Slash(HitboxB)
  1331. for i = 0,1,0.1 do
  1332. swait()
  1333. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1334. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1335. local h = 5
  1336. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1337. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1338. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1339. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1340. scfr = blcf
  1341. elseif not scfr then
  1342. scfr = blcf
  1343. end
  1344. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1345. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1346. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-10)),.2)
  1347. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(30)),.2)
  1348. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-30)),.2)
  1349. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(10)),.2)
  1350. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1351. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1352. end
  1353. scfr = nil
  1354. attack = false
  1355. con:disconnect()
  1356. end
  1357.  
  1358. attacktype1 = 1
  1359.  
  1360. Mouse.Button1Down:connect(function()
  1361. if Mode == "GunMode" then
  1362. if attack==false then
  1363. if attacktype1==1 then
  1364. attack=true
  1365. attacktype1=2
  1366. Shoot1()
  1367. elseif attacktype1==2 then
  1368. attack=true
  1369. attacktype1=1
  1370. Shoot2()
  1371. end
  1372. end
  1373. end
  1374. if Mode == "BladeMode" then
  1375. if attack==false then
  1376. if attacktype==1 then
  1377. attack=true
  1378. attacktype=2
  1379. attackone()
  1380. elseif attacktype==2 then
  1381. attack=true
  1382. attacktype=3
  1383. attacktwo()
  1384. elseif attacktype==3 then
  1385. attack=true
  1386. attacktype=4
  1387. attackthree()
  1388. elseif attacktype==4 then
  1389. attack=true
  1390. attacktype=1
  1391. attackfour()
  1392. end
  1393. end
  1394. end
  1395. end)
  1396.  
  1397. function Disappear()
  1398. for _,i in pairs(m2:children()) do
  1399. if i.className=="Part" then
  1400. Part.Transparency = .5
  1401. coroutine.resume(coroutine.create(function(Part)
  1402. for i=0,1,0.1 do
  1403. swait()
  1404. Part.Transparency=i
  1405. end
  1406. Part.Transparency=1
  1407. end),i)
  1408. end
  1409. end
  1410. end
  1411.  
  1412.  
  1413. function Reappear()
  1414. for _,i in pairs(m2:children()) do
  1415. if i.className=="Part" then
  1416. Part.Transparency = 1
  1417. coroutine.resume(coroutine.create(function(Part)
  1418. for i=0,1,0.1 do
  1419. swait()
  1420. Part.Transparency=i
  1421. end
  1422. Part.Transparency=0.5
  1423. end),i)
  1424. end
  1425. end
  1426. end
  1427.  
  1428. Mouse.KeyDown:connect(function(k)
  1429. k=k:lower()
  1430. if k=='f' then
  1431. if Mode == "GunMode" then
  1432. Mode = "BladeMode"
  1433. Reappear()
  1434. elseif Mode == "BladeMode" then
  1435. Mode = "GunMode"
  1436. Disappear()
  1437. end
  1438. end
  1439. end)
  1440.  
  1441.  
  1442. local sine = 0
  1443. local change = 1
  1444. local val = 0
  1445.  
  1446. while true do
  1447. swait()
  1448. sine = sine + change
  1449. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1450. local velderp=RootPart.Velocity.y
  1451. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1452. if equipped==true or equipped==false then
  1453. if attack==false then
  1454. idle=idle+1
  1455. else
  1456. idle=0
  1457. end
  1458. if idle>=500 then
  1459. if attack==false then
  1460. --Sheath()
  1461. end
  1462. end
  1463. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1464. Anim="Jump"
  1465. if attack==false and Mode == "GunMode" then
  1466. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1467. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1468. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1469. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1470. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1471. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.2)
  1472. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1473. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1474. end
  1475. if attack==false and Mode == "BladeMode" then
  1476. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1477. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1478. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1479. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1480. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1481. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-30)),.2)
  1482. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1483. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1484. end
  1485. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1486. Anim="Fall"
  1487. if attack==false and Mode == "GunMode" then
  1488. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1489. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1490. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1491. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1492. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1493. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1494. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1495. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1496. end
  1497. if attack==false and Mode == "BladeMode" then
  1498. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1499. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1500. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1501. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1502. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1503. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1504. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1505. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1506. end
  1507. elseif torvel<1 and hitfloor~=nil then
  1508. Anim="Idle"
  1509. if attack==false and Mode == "GunMode" then
  1510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-10)),.2)
  1511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.2)
  1512. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(100), math.rad(10), math.rad(-20)),.2)
  1513. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(100), math.rad(-10), math.rad(20)),.2)
  1514. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.2)
  1515. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.2)
  1516. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1517. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1518. end
  1519. if attack==false and Mode == "BladeMode" then
  1520. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1521. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1522. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.2)
  1523. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.2)
  1524. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1525. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1526. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1527. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1528. end
  1529. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1530. Anim="Walk"
  1531. if attack==false and Mode == "GunMode" then
  1532. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  1533. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1534. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(20)),.2)
  1535. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(-20)),.2)
  1536. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1537. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1538. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1539. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1540. end
  1541. if attack==false and Mode == "BladeMode" then
  1542. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1543. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  1544. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(45)),.2)
  1545. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-45)),.2)
  1546. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2)
  1547. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2)
  1548. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1549. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1550. end
  1551. end
  1552. end
  1553. if #Effects>0 then
  1554. --table.insert(Effects,{prt,"Block1",delay})
  1555. for e=1,#Effects do
  1556. if Effects[e]~=nil then
  1557. --for j=1,#Effects[e] do
  1558. local Thing=Effects[e]
  1559. if Thing~=nil then
  1560. local Part=Thing[1]
  1561. local Mode=Thing[2]
  1562. local Delay=Thing[3]
  1563. local IncX=Thing[4]
  1564. local IncY=Thing[5]
  1565. local IncZ=Thing[6]
  1566. if Thing[1].Transparency<=1 then
  1567. if Thing[2]=="Block1" then
  1568. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1569. Mesh=Thing[1].Mesh
  1570. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1571. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1572. elseif Thing[2]=="Cylinder" then
  1573. Mesh=Thing[1].Mesh
  1574. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1575. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1576. elseif Thing[2]=="Blood" then
  1577. Mesh=Thing[7]
  1578. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1579. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1580. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1581. elseif Thing[2]=="Elec" then
  1582. Mesh=Thing[1].Mesh
  1583. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1584. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1585. elseif Thing[2]=="Disappear" then
  1586. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1587. end
  1588. else
  1589. Part.Parent=nil
  1590. table.remove(Effects,e)
  1591. end
  1592. end
  1593. --end
  1594. end
  1595. end
  1596. end
  1597. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement