Advertisement
vibrantsinger423

Bow Test V2

Mar 30th, 2018
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 325.99 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  5. wait(1)
  6. Player = game:GetService("Players").LocalPlayer
  7. local unlocks = Instance.new("StringValue")
  8. unlocks.Name = "Unlocks"
  9. unlocks.Parent = Player
  10. unlocks.Value = "Yumigari Ammo+"
  11. Character = Player.Character
  12. PlayerGui = Player.PlayerGui
  13. Backpack = Player.Backpack
  14. Torso = Character.Torso
  15. Head = Character.Head
  16. LeftArm = Character["Left Arm"]
  17. LeftLeg = Character["Left Leg"]
  18. RightArm = Character["Right Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LS = Torso["Left Shoulder"]
  21. LH = Torso["Left Hip"]
  22. RS = Torso["Right Shoulder"]
  23. RH = Torso["Right Hip"]
  24. local p = game.Players.LocalPlayer
  25. ModelName = "Weapon"
  26. attack = false
  27. attacktype = 1
  28. Hitdeb = 0
  29. Neck = Torso.Neck
  30. local neckcf0 = Neck.C0
  31. ----------------------------
  32. --Customize
  33. Ammo = 100
  34. if (string.match(Player.Unlocks.Value,"Yumigari Ammo+") ~= nil) then
  35. MaxAmmo = 100
  36. else
  37. MaxAmmo = 100
  38. end
  39. mindamage = 1000
  40. maxdamage = 100000
  41. crtmaxdamage = 99999999
  42. omindamage = mindamage
  43. omaxdamage = maxdamage
  44. ocrtmaxdamage = crtmaxdamage
  45. crtrate = 100/40
  46. --100%/critpercentage
  47. oblkbrkr = 0
  48. blockbreaker = oblkbrkr
  49. spread = 1.3
  50. spread = spread*300
  51. Ammoregen = 100
  52. if (string.match(Player.Unlocks.Value,"Yumigari Range+") ~= nil) then
  53. range = 500
  54. else
  55. range = 500
  56. end
  57. rangepower = 100
  58. CurrentArrow = "Fire"
  59. handlecolor = BrickColor.new("Brown")
  60. bcolor = BrickColor.new("Really red")
  61. gemcolor = BrickColor.new("Black")
  62. arrowtrail = BrickColor.new("Really red")
  63. ToolName = "Bow test"
  64. BowMeterial = "Neon"
  65. ---------------------------------------------------------------------------------------------------------------------------------------
  66. if Character:findFirstChild("EquippedVal",true) ~= nil then
  67. Character:findFirstChild("EquippedVal",true).Parent = nil
  68. end
  69. ev = Instance.new("BoolValue",Character)
  70. ev.Name = "EquippedVal"
  71. ev.Value = false
  72. if Character:findFirstChild("Block",true) ~= nil then
  73. Character:findFirstChild("Block",true).Parent = nil
  74. end
  75. --player
  76. player = nil
  77. --welds
  78. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  79. --what anim
  80. anim = "none"
  81. --other var
  82. player = Player
  83. ch = Character
  84. --save shoulders
  85. AoETrue = {}
  86. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  87. function RWFunc()
  88. RW.Part1 = ch["Right Arm"]
  89. RSH.Part1 = nil
  90. end
  91. function LWFunc()
  92. LW.Part1 = ch["Left Arm"]
  93. LSH.Part1 = nil
  94. end
  95. function RWLFunc()
  96. RWL.Part1 = ch["Right Leg"]
  97. RHL.Part1 = nil
  98. ch["Right Leg"].Name = "RightLeg"
  99. RightLeg.CanCollide = false
  100. end
  101. function LWLFunc()
  102. LWL.Part1 = ch["Left Leg"]
  103. LHL.Part1 = nil
  104. ch["Left Leg"].Name = "LeftLeg"
  105. LeftLeg.CanCollide = true
  106. end
  107. function RWLRem()
  108. RightLeg.Name = "Right Leg"
  109. RWL.Part1 = nil
  110. RHL.Part1 = ch["Right Leg"]
  111. RightLeg.CanCollide = false
  112. end
  113. function LWLRem()
  114. LeftLeg.Name = "Left Leg"
  115. LWL.Part1 = nil
  116. LHL.Part1 = ch["Left Leg"]
  117. LeftLeg.CanCollide = false
  118. end
  119. function RWRem()
  120. RW.Part1 = nil
  121. RSH.Part1 = ch["Right Arm"]
  122. end
  123. function LWRem()
  124. LW.Part1 = nil
  125. LSH.Part1 = ch["Left Arm"]
  126. end
  127. if Character:findFirstChild(ModelName,true) ~= nil then
  128. Character:findFirstChild(ModelName,true).Parent = nil
  129. RHL.Part1 = ch["Right Leg"]
  130. LHL.Part1 = ch["Left Leg"]
  131. RSH.Part1 = ch["Right Arm"]
  132. LSH.Part1 = ch["Left Arm"]
  133. end
  134. local swordholder = Instance.new("Model")
  135. swordholder.Name = ModelName
  136. swordholder.Parent = Character
  137. --derp
  138. RW.Part0 = ch.Torso
  139. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  140. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  141. RW.Parent = swordholder
  142. --
  143. LW.Part0 = ch.Torso
  144. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  145. LW.C1 = CFrame.new(0, 0.5, 0)
  146. LW.Parent = swordholder
  147. --
  148. RWL.Part0 = ch.Torso
  149. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  150. RWL.C1 = CFrame.new(0.5, 1, 0)
  151. RWL.Parent = swordholder
  152. --
  153. LWL.Part0 = ch.Torso
  154. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  155. LWL.C1 = CFrame.new(-0.5, 1, 0)
  156. LWL.Parent = swordholder
  157. local msh1 = Instance.new("CylinderMesh")
  158. msh1.Scale = Vector3.new(1,1,1)
  159. local msh2 = Instance.new("CylinderMesh")
  160. msh2.Scale = Vector3.new(1,1,1)
  161. local msh3 = Instance.new("CylinderMesh")
  162. msh3.Scale = Vector3.new(1,1,1)
  163. local msh4 = Instance.new("BlockMesh")
  164. msh4.Scale = Vector3.new(2.5,1.2,1.2)
  165. local msh5 = Instance.new("BlockMesh")
  166. msh5.Scale = Vector3.new(2.5,1.2,1.2)
  167. local msh6 = Instance.new("BlockMesh")
  168. msh6.Scale = Vector3.new(1,1,1)
  169. local msh7 = Instance.new("BlockMesh")
  170. msh7.Scale = Vector3.new(1,1,1)
  171. local msh8 = Instance.new("SpecialMesh")
  172. msh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  173. msh8.Scale = Vector3.new(1,1,30)
  174. local msh9 = Instance.new("BlockMesh")
  175. local torsc = false
  176. for i,z in pairs(Character:GetChildren()) do
  177. if z.className == "CharacterMesh" then
  178. if z.BodyPart == Enum.BodyPart.Torso then
  179. torsc = true
  180. end
  181. end
  182. end
  183. if torsc then
  184. msh9 = Instance.new("SpecialMesh")
  185. msh9.MeshId = "http://www.roblox.com/asset/?id=3270017"
  186. msh9.Scale = Vector3.new(2.01,1,1.01)
  187. else
  188. msh9 = Instance.new("BlockMesh")
  189. msh9.Scale = Vector3.new(2.01,0.1,1.01)
  190. end
  191. local msh10 = Instance.new("CylinderMesh")
  192. msh10.Scale = Vector3.new(1,1,1)
  193. local prt1 = Instance.new("Part")
  194. prt1.formFactor = 3
  195. prt1.CanCollide = false
  196. prt1.Name = "Handle"
  197. prt1.Locked = true
  198. prt1.Size = Vector3.new(0.3,3,0.3)
  199. prt1.Parent = swordholder
  200. msh1.Parent = prt1
  201. prt1.BrickColor = handlecolor
  202. prt1.Material = BowMeterial
  203. local prt2 = Instance.new("Part")
  204. prt2.formFactor = 3
  205. prt2.CanCollide = false
  206. prt2.Name = "Handle2"
  207. prt2.Locked = true
  208. prt2.Size = Vector3.new(0.3,1,0.3)
  209. prt2.Parent = swordholder
  210. msh2.Parent = prt2
  211. prt2.BrickColor = handlecolor
  212. prt2.Material = BowMeterial
  213. local prt3 = Instance.new("Part")
  214. prt3.formFactor = 3
  215. prt3.CanCollide = false
  216. prt3.Name = "Handle3"
  217. prt3.Locked = true
  218. prt3.Size = Vector3.new(0.3,1,0.3)
  219. prt3.Parent = swordholder
  220. msh3.Parent = prt3
  221. prt3.BrickColor = handlecolor
  222. prt3.Material = BowMeterial
  223. local prt4 = Instance.new("Part")
  224. prt4.formFactor = 3
  225. prt4.CanCollide = false
  226. prt4.Name = "Handle4"
  227. prt4.Locked = true
  228. prt4.Size = Vector3.new(0.3,2,0.3)
  229. prt4.Parent = swordholder
  230. msh4.Parent = prt4
  231. prt4.BrickColor = bcolor
  232. prt4.Material = BowMeterial
  233. local prt5 = Instance.new("Part")
  234. prt5.formFactor = 3
  235. prt5.CanCollide = false
  236. prt5.Name = "Handle5"
  237. prt5.Locked = true
  238. prt5.Size = Vector3.new(0.3,2,0.3)
  239. prt5.Parent = swordholder
  240. msh5.Parent = prt5
  241. prt5.BrickColor = bcolor
  242. prt5.Material = BowMeterial
  243. local prt6 = Instance.new("Part")
  244. prt6.formFactor = 3
  245. prt6.CanCollide = false
  246. prt6.Name = "Handle6"
  247. prt6.Locked = true
  248. prt6.Size = Vector3.new(1,2,0.3)
  249. prt6.Parent = swordholder
  250. msh6.Parent = prt6
  251. prt6.BrickColor = bcolor
  252. prt6.Material = BowMeterial
  253. local prt7 = Instance.new("Part")
  254. prt7.formFactor = 3
  255. prt7.CanCollide = false
  256. prt7.Name = "Handle7"
  257. prt7.Locked = true
  258. prt7.Size = Vector3.new(1,2,0.3)
  259. prt7.Parent = swordholder
  260. msh7.Parent = prt7
  261. prt7.BrickColor = bcolor
  262. prt7.Material = BowMeterial
  263. local prt8 = Instance.new("Part")
  264. prt8.formFactor = 3
  265. prt8.CanCollide = false
  266. prt8.Name = "Quiver"
  267. prt8.Locked = true
  268. prt8.Size = Vector3.new(1.25,2.25,1.25)
  269. prt8.Parent = swordholder
  270. msh8.Parent = prt8
  271. prt8.BrickColor = handlecolor
  272. prt8.Material = BowMeterial
  273. local prt9 = Instance.new("Part")
  274. prt9.formFactor = 3
  275. prt9.CanCollide = false
  276. prt9.Name = "QuiverStrap"
  277. prt9.Locked = true
  278. prt9.Size = Vector3.new(1,1,1)
  279. prt9.Parent = swordholder
  280. msh9.Parent = prt9
  281. prt9.BrickColor = handlecolor
  282. prt9.Material = BowMeterial
  283. local prt10 = Instance.new("Part")
  284. prt10.formFactor = 3
  285. prt10.CanCollide = false
  286. prt10.Name = "QuiverCover"
  287. prt10.Locked = true
  288. prt10.Size = Vector3.new(1,0.2,1)
  289. prt10.Parent = swordholder
  290. msh10.Parent = prt10
  291. prt10.BrickColor = handlecolor
  292. prt10.Material = BowMeterial
  293. local msh11 = Instance.new("SpecialMesh")
  294. msh11.MeshId = "http://www.roblox.com/asset/?id=15887356"
  295. msh11.TextureId = "http://www.roblox.com/asset/?id=15886781"
  296. msh11.Scale = Vector3.new(1,1,2.5)
  297. local prt11 = Instance.new("Part")
  298. prt11.formFactor = 3
  299. prt11.CanCollide = false
  300. prt11.Name = "Arrow"
  301. prt11.Locked = true
  302. prt11.Size = Vector3.new(0.2,0.2,2.5)
  303. prt11.Parent = swordholder
  304. msh11.Parent = prt11
  305. prt11.Material = BowMeterial
  306. local w11 = Instance.new("Weld")
  307. w11.Parent = prt11
  308. w11.Part0 = prt11
  309. w11.Part1 = LeftArm
  310. w11.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  311. w11.C0 = CFrame.Angles(0,0,math.rad(90)) * CFrame.new(0,1,0)
  312. coroutine.resume(coroutine.create(function()
  313. repeat
  314. wait(0.25)
  315. if Ammo > 0 then
  316. prt11.Transparency = 0
  317. else
  318. prt11.Transparency = 1
  319. end
  320. until false
  321. end))
  322. for i = 1,10 do
  323. local msh0 = Instance.new("SpecialMesh")
  324. msh0.MeshId = "http://www.roblox.com/asset/?id=15887356"
  325. msh0.TextureId = "http://www.roblox.com/asset/?id=15886781"
  326. msh0.Scale = Vector3.new(1,1,2.5)
  327. local prt0 = Instance.new("Part")
  328. prt0.formFactor = 3
  329. prt0.CanCollide = false
  330. prt0.Name = "Arrow"..i
  331. prt0.Locked = true
  332. prt0.Size = Vector3.new(0.2,0.2,2.5)
  333. prt0.Parent = swordholder
  334. msh0.Parent = prt0
  335. local w0 = Instance.new("Weld")
  336. w0.Parent = prt0
  337. w0.Part0 = prt0
  338. w0.Part1 = prt8
  339. w0.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  340. w0.C0 = CFrame.Angles(math.rad(180), 0,math.rad(360*math.random())) * CFrame.new(math.random(-25,25)/100, math.random(-25,25)/100,-0.315)
  341. end
  342. ---
  343. local String1 = Instance.new("Part")
  344. String1.formFactor = 3
  345. String1.CanCollide = false
  346. String1.Name = "String1"
  347. String1.Locked = true
  348. String1.Anchored = true
  349. String1.Size = Vector3.new(0.2,4,0.2)
  350. String1.Parent = swordholder
  351. String1.BrickColor = BrickColor.new("White")
  352. local strmsh1 = Instance.new("BlockMesh",String1)
  353. strmsh1.Scale = Vector3.new(0.25,1,0.25)
  354. local String2 = Instance.new("Part")
  355. String2.formFactor = 3
  356. String2.CanCollide = false
  357. String2.Name = "String2"
  358. String2.Locked = true
  359. String2.Anchored = true
  360. String2.Size = Vector3.new(0.2,4,0.2)
  361. String2.Parent = swordholder
  362. String2.BrickColor = BrickColor.new("White")
  363. local strmsh2 = Instance.new("BlockMesh",String2)
  364. strmsh2.Scale = Vector3.new(0.25,1,0.25)
  365. local strmdl = "Bow"
  366. coroutine.resume(coroutine.create(function()
  367. repeat
  368. wait(0.1)
  369. local top = prt4.CFrame*CFrame.new(0,prt4.Size.y/-2,0)
  370. local bottom = prt5.CFrame*CFrame.new(0,prt5.Size.y/2,0)
  371. local oristrpos
  372. if strmdl == "Bow" then
  373. oristrpos = CFrame.new((top.p+bottom.p)/2)
  374. elseif strmdl == "TopArm" then
  375. oristrpos = RightArm.CFrame * CFrame.new(0,RightArm.Size.y/2,0)
  376. elseif strmdl == "LeftArm" then
  377. oristrpos = LeftArm.CFrame * CFrame.new(0,RightArm.Size.y/-2,0)
  378. end
  379. local mg1 = (top.p - oristrpos.p).magnitude
  380. local mg2 = (bottom.p - oristrpos.p).magnitude
  381. String1.Size = Vector3.new(0.2,mg1,0.2)
  382. String1.CFrame = CFrame.new((top.p+oristrpos.p)/2,oristrpos.p) * CFrame.Angles(math.rad(90),0,0)
  383. String2.Size = Vector3.new(0.2,mg2,0.2)
  384. String2.CFrame = CFrame.new((bottom.p+oristrpos.p)/2,oristrpos.p) * CFrame.Angles(math.rad(90),0,0)
  385. until false
  386. end))
  387. local w1 = Instance.new("Weld")
  388. w1.Parent = prt1
  389. w1.Part0 = prt1
  390. local w2 = Instance.new("Weld")
  391. w2.Parent = prt2
  392. w2.Part0 = prt2
  393. w2.Part1 = prt1
  394. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  395. w2.C0 = CFrame.Angles(math.rad(20), 0, 0) * CFrame.new(0, 1.9,-0.15)
  396. local w3 = Instance.new("Weld")
  397. w3.Parent = prt3
  398. w3.Part0 = prt3
  399. w3.Part1 = prt1
  400. w3.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  401. w3.C0 = CFrame.Angles(math.rad(-20), 0, 0) * CFrame.new(0, -1.9,-0.15)
  402. local w4 = Instance.new("Weld")
  403. w4.Parent = prt4
  404. w4.Part0 = prt4
  405. w4.Part1 = prt1
  406. w4.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  407. w4.C0 = CFrame.Angles(math.rad(-55), 0, 0) * CFrame.new(0, 2.85,0.4)
  408. local w5 = Instance.new("Weld")
  409. w5.Parent = prt5
  410. w5.Part0 = prt5
  411. w5.Part1 = prt1
  412. w5.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  413. w5.C0 = CFrame.Angles(math.rad(55), 0, 0) * CFrame.new(0, -2.85,0.4)
  414. local w6 = Instance.new("Weld")
  415. w6.Parent = prt6
  416. w6.Part0 = prt6
  417. w6.Part1 = prt1
  418. w6.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  419. w6.C0 = CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, 0.6,0)
  420. local w7 = Instance.new("Weld")
  421. w7.Parent = prt7
  422. w7.Part0 = prt7
  423. w7.Part1 = prt1
  424. w7.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  425. w7.C0 = CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -0.6,0)
  426. local w8 = Instance.new("Weld")
  427. w8.Parent = prt8
  428. w8.Part0 = prt8
  429. w8.Part1 = Torso
  430. w8.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  431. w8.C0 = CFrame.Angles(math.rad(90), 0, math.rad(-80)) * CFrame.new(0, 0.9,-1)
  432. local w9 = Instance.new("Weld")
  433. w9.Parent = prt9
  434. w9.Part0 = prt9
  435. w9.Part1 = Torso
  436. w9.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  437. if torsc then
  438. w9.C0 = CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, 1,0)
  439. else
  440. w9.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 1,0)
  441. end
  442. local w10 = Instance.new("Weld")
  443. w10.Parent = prt10
  444. w10.Part0 = prt10
  445. w10.Part1 = prt8
  446. w10.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  447. w10.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0,2.3)
  448.  
  449. local RAP = Instance.new("Part")
  450. RAP.formFactor = 0
  451. RAP.CanCollide = false
  452. RAP.Name = "RAPart"
  453. RAP.Locked = true
  454. RAP.Size = Vector3.new(1,1,1)
  455. RAP.Parent = swordholder
  456. RAP.Transparency = 1
  457. local w = Instance.new("Weld")
  458. w.Parent = RAP
  459. w.Part0 = RAP
  460. w.Part1 = RightArm
  461. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  462. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  463. function unequipweld()
  464. w1.Part1 = Torso
  465. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  466. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180), math.rad(0)) * CFrame.new(-1.15, -0.5, -0.6)
  467. end
  468. unequipweld()
  469. function equipweld()
  470. w1.Part0 = prt1
  471. w1.Part1 = RAP
  472. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  473. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0)
  474. end
  475. function ss(parent,p) --Slash
  476. local SlashSound = Instance.new("Sound")
  477. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  478. SlashSound.Parent = parent
  479. SlashSound.Volume = .7
  480. SlashSound.Pitch = p
  481. SlashSound.PlayOnRemove = true
  482. coroutine.resume(coroutine.create(function()
  483. wait()
  484. SlashSound.Parent = nil
  485. end))
  486. end
  487. function uss(parent,p) --unsheath
  488. local SlashSound = Instance.new("Sound")
  489. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  490. SlashSound.Parent = parent
  491. SlashSound.Volume = .7
  492. SlashSound.Pitch = p
  493. SlashSound.PlayOnRemove = true
  494. coroutine.resume(coroutine.create(function()
  495. wait()
  496. SlashSound.Parent = nil
  497. end))
  498. end
  499. function cs(parent,p) --Magic Charge
  500. local SlashSound = Instance.new("Sound")
  501. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  502. SlashSound.Parent = parent
  503. SlashSound.Volume = .7
  504. SlashSound.Pitch = p
  505. SlashSound.PlayOnRemove = true
  506. coroutine.resume(coroutine.create(function()
  507. wait()
  508. SlashSound.Parent = nil
  509. end))
  510. end
  511. function ls(parent,p) --Lazer Sound
  512. local SlashSound = Instance.new("Sound")
  513. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  514. SlashSound.Parent = parent
  515. SlashSound.Volume = .7
  516. SlashSound.Pitch = p
  517. SlashSound.PlayOnRemove = true
  518. coroutine.resume(coroutine.create(function()
  519. wait()
  520. SlashSound.Parent = nil
  521. end))
  522. end
  523. function ts(parent,p)
  524. local SlashSound = Instance.new("Sound")
  525. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222030"
  526. SlashSound.Parent = parent
  527. SlashSound.Volume = .7
  528. SlashSound.Pitch = p
  529. SlashSound.PlayOnRemove = true
  530. coroutine.resume(coroutine.create(function()
  531. wait()
  532. SlashSound.Parent = nil
  533. end))
  534. end
  535. function fs(parent,p) --Fire Sound
  536. local SlashSound = Instance.new("Sound")
  537. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  538. SlashSound.Parent = parent
  539. SlashSound.Volume = .7
  540. SlashSound.Pitch = p
  541. SlashSound.PlayOnRemove = true
  542. coroutine.resume(coroutine.create(function()
  543. wait()
  544. SlashSound.Parent = nil
  545. end))
  546. end
  547. function ms(parent,p) --Metal Cling Sound
  548. local SlashSound = Instance.new("Sound")
  549. SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
  550. SlashSound.Parent = parent
  551. SlashSound.Volume = 1
  552. SlashSound.Pitch = p
  553. SlashSound.PlayOnRemove = true
  554. coroutine.resume(coroutine.create(function()
  555. wait()
  556. SlashSound.Parent = nil
  557. end))
  558. end
  559. function bs(parent,p) --Berserk Sound
  560. local SlashSound = Instance.new("Sound")
  561. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2676305"
  562. SlashSound.Parent = parent
  563. SlashSound.Volume = 1
  564. SlashSound.Pitch = p
  565. SlashSound.PlayOnRemove = true
  566. coroutine.resume(coroutine.create(function()
  567. wait()
  568. SlashSound.Parent = nil
  569. end))
  570. end
  571. function hs(parent,p) --Arrow Hit Sound
  572. local SlashSound = Instance.new("Sound")
  573. SlashSound.SoundId = "http://www.roblox.com/asset/?id=16211030"
  574. SlashSound.Parent = parent
  575. SlashSound.Volume = 1
  576. SlashSound.Pitch = p
  577. SlashSound.PlayOnRemove = true
  578. coroutine.resume(coroutine.create(function()
  579. wait()
  580. SlashSound.Parent = nil
  581. end))
  582. end
  583. function as(parent,p) --Arrow Shoot Sound
  584. local SlashSound = Instance.new("Sound")
  585. SlashSound.SoundId = "http://www.roblox.com/asset/?id=16211041"
  586. SlashSound.Parent = parent
  587. SlashSound.Volume = 1
  588. SlashSound.Pitch = p
  589. SlashSound.PlayOnRemove = true
  590. coroutine.resume(coroutine.create(function()
  591. wait()
  592. SlashSound.Parent = nil
  593. end))
  594. end
  595. function ars(parent,p) --Arrow Reload Sound
  596. local SlashSound = Instance.new("Sound")
  597. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2697295"
  598. SlashSound.Parent = parent
  599. SlashSound.Volume = 1
  600. SlashSound.Pitch = p
  601. SlashSound.PlayOnRemove = true
  602. coroutine.resume(coroutine.create(function()
  603. wait()
  604. SlashSound.Parent = nil
  605. end))
  606. end
  607. --
  608. --
  609. function returndmg()
  610. mindamage = omindamage
  611. maxdamage = omaxdamage
  612. crtmaxdamage = ocrtmaxdamage
  613. end
  614. function subdmg(sub)
  615. mindamage = omindamage - sub
  616. maxdamage = omaxdamage - sub
  617. crtmaxdamage = ocrtmaxdamage - sub
  618. end
  619. function prcntdmg(sub)
  620. mindamage = math.floor(omindamage - (omindamage*(sub/100)))
  621. maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
  622. crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
  623. end
  624. function tagHumanoid(humanoid, player)
  625. local creator_tag = Instance.new("ObjectValue")
  626. creator_tag.Value = player
  627. creator_tag.Name = "creator"
  628. creator_tag.Parent = humanoid
  629. end
  630. function untagHumanoid(humanoid)
  631. if humanoid ~= nil then
  632. local tag = humanoid:findFirstChild("creator")
  633. if tag ~= nil then
  634. tag.Parent = nil
  635. end
  636. end
  637. end
  638. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  639. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  640. end
  641. function hideanim()
  642. attack = true
  643. w1.Part0 = prt3
  644. w1.Part1 = RAP
  645. w1.C0 = CFrame.new(0,-1.75, 0.6) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(0))
  646. for i = 0 , 1 , 0.075 do
  647. wait()
  648. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10+190*i),math.rad(0),math.rad(20-20*i))
  649. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  650. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20))
  651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  652. w1.C0 = CFrame.new(0,-1.75+1.75*i, 0.6-0.6*i) * CFrame.Angles(math.rad(-110-70*i), math.rad(0), math.rad(0))
  653. end
  654. strmdl = "Bow"
  655. w1.Part0 = prt1
  656. unequipweld()
  657. for i = 0 , 1 , 0.1 do
  658. wait()
  659. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(200-200*i),math.rad(0),math.rad(0))
  660. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  661. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10-10*i),math.rad(0),math.rad(-20+20*i))
  662. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  663. end
  664. RWRem()
  665. LWRem()
  666. attack = false
  667. end
  668. function equipanim()
  669. attack = true
  670. RWFunc()
  671. LWFunc()
  672. for i = 0 , 1 , 0.1 do
  673. wait()
  674. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(200*i),math.rad(0),math.rad(0))
  675. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  676. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10*i))
  677. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  678. end
  679. w1.Part0 = prt3
  680. w1.Part1 = RAP
  681. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  682. w1.C0 = CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0)
  683. for i = 0 , 1 , 0.05 do
  684. wait()
  685. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(200-190*i),math.rad(0),math.rad(20*i))
  686. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  687. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10*i),math.rad(0),math.rad(-10-10*i))
  688. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  689. w1.C0 = CFrame.new(0,-1.75*i, 0.6*i) * CFrame.Angles(math.rad(-180+70*i), math.rad(0), math.rad(0))
  690. if i > 0.5 then
  691. strmdl = "TopArm"
  692. end
  693. end
  694. equipweld()
  695. returnwelds()
  696. attack = false
  697. end
  698. function faketors()
  699. local T = Instance.new("Part")
  700. T.formFactor = 0
  701. T.CanCollide = false
  702. T.Name = "FakeTorso"
  703. T.Locked = true
  704. T.Size = Torso.Size
  705. T.Parent = swordholder
  706. T.Transparency = 1
  707. T.BrickColor = Torso.BrickColor
  708. for i,z in pairs(Character:GetChildren()) do
  709. if z.className == "CharacterMesh" then
  710. if z.BodyPart == Enum.BodyPart.Torso then
  711. local SM = Instance.new("SpecialMesh",T)
  712. SM.MeshId = "http://www.roblox.com/asset/?id=" .. z.MeshId
  713. if z.BaseTextureId ~= 0 then
  714. SM.TextureId = z.BaseTextureId
  715. elseif z.OverlayTextureId ~= 0 then
  716. SM.TextureId = z.OverlayTextureId
  717. else
  718. SM.TextureId = ""
  719. end
  720. end
  721. end
  722. end
  723. local wt = Instance.new("Weld")
  724. wt.Parent = T
  725. wt.Part0 = T
  726. wt.Part1 = Torso
  727. RW.Part0 = T
  728. LW.Part0 = T
  729. T.Transparency = 0
  730. Torso.Transparency = 1
  731. RHL.Part0 = T
  732. LHL.Part0 = T
  733. return wt,T
  734. end
  735. if (script.Parent.className ~= "HopperBin") then
  736. Tool = Instance.new("HopperBin")
  737. Tool.Parent = Backpack
  738. Tool.Name = ToolName
  739. script.Parent = Tool
  740. end
  741. Bin = script.Parent
  742. function damagesplat(dmg,hit,crit,blocked)
  743. local mo = Instance.new("Model")
  744. mo.Name = dmg
  745. local pa = Instance.new("Part",mo)
  746. pa.formFactor = 3
  747. pa.Size = Vector3.new(0.8,0.3,0.8)
  748. if crit then
  749. pa.BrickColor = BrickColor.new("Bright yellow")
  750. elseif not crit then
  751. pa.BrickColor = BrickColor.new("Bright red")
  752. end
  753. if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
  754. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  755. pa.Name = "Head"
  756. local hah = Instance.new("Humanoid")
  757. hah.Parent = mo
  758. hah.MaxHealth = 0
  759. hah.Health = 0
  760. local bp = Instance.new("BodyPosition")
  761. bp.P = 14000
  762. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  763. bp.position = hit.Position + Vector3.new(0, 5, 0)
  764. coroutine.resume(coroutine.create(function()
  765. wait()
  766. mo.Parent = workspace
  767. bp.Parent = pa
  768. wait(1.4)
  769. mo:remove()
  770. end))
  771. return pa
  772. end
  773. function damage(hum,dmg,critornot)
  774. local pa = damagesplat(dmg,hum.Torso,critornot)
  775. hum:TakeDamage(dmg)
  776. coroutine.resume(coroutine.create(function()
  777. tagHumanoid(hum,Player)
  778. wait(1)
  779. untagHumanoid(hum)
  780. end))
  781. return pa
  782. end
  783. function AddAmmo(add)
  784. Ammo = Ammo + add
  785. if Ammo > MaxAmmo then
  786. Ammo = MaxAmmo
  787. end
  788. end
  789. function ADmg(humm,hit)
  790. if CurrentArrow == "Normal" then
  791. if humm.Parent:findFirstChild("Block") ~= nil then
  792. if humm.Parent.Block.Value then
  793. damagesplat(0,humm.Torso,false,true)
  794. return
  795. end
  796. end
  797. prcntdmg(50)
  798. if critrandomizer ~= 1 then
  799. local rndmdamage = math.random(mindamage,maxdamage)
  800. damage(humm,rndmdamage,false)
  801. elseif critrandomizer == 1 then
  802. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  803. damage(humm,rndmdamage,true)
  804. end
  805. elseif CurrentArrow == "Poison" then
  806. if humm.Parent:findFirstChild("Block") ~= nil then
  807. if humm.Parent.Block.Value then
  808. damagesplat(0,humm.Torso,false,true)
  809. return
  810. end
  811. end
  812. prcntdmg(75)
  813. if critrandomizer ~= 1 then
  814. local rndmdamage = math.random(mindamage,maxdamage)
  815. damage(humm,rndmdamage,false)
  816. elseif critrandomizer == 1 then
  817. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  818. damage(humm,rndmdamage,true)
  819. end
  820. if math.random(1,5) == 1 then
  821. local poisoncount = math.random(2,10)
  822. coroutine.resume(coroutine.create(function()
  823. repeat
  824. wait(1.5)
  825. poisoncount = poisoncount - 1
  826. local rndmdamage = math.floor(math.random(mindamage,maxdamage)/2)
  827. local pa = damage(humm,rndmdamage,false)
  828. pa.BrickColor = BrickColor.new("Alder")
  829. until poisoncount <= 0
  830. end))
  831. end
  832. elseif CurrentArrow == "Fire" then
  833. if humm.Parent:findFirstChild("Block") ~= nil then
  834. if humm.Parent.Block.Value then
  835. damagesplat(0,humm.Torso,false,true)
  836. return
  837. end
  838. end
  839. prcntdmg(65)
  840. if critrandomizer ~= 1 then
  841. local rndmdamage = math.random(mindamage,maxdamage)
  842. damage(humm,rndmdamage,false)
  843. elseif critrandomizer == 1 then
  844. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  845. damage(humm,rndmdamage,true)
  846. end
  847. local firecount = math.random(5,15)
  848. if humm.Parent:findFirstChild("Fire") ~= nil then
  849. humm.Parent.Fire.Parent = nil
  850. end
  851. coroutine.resume(coroutine.create(function()
  852. local firemod = Instance.new("Model",humm.Parent)
  853. firemod.Name = "Fire"
  854. repeat
  855. wait(0.5+0.5*math.random())
  856. firecount = firecount - 1
  857. local rndmdamage = math.floor(math.random(0,maxdamage/5))
  858. local pa = damage(humm,rndmdamage,false)
  859. for i = 1 , 3 do
  860. wait()
  861. coroutine.resume(coroutine.create(function()
  862. local meshb1 = Instance.new("BlockMesh")
  863. meshb1.Scale = Vector3.new(1,1,1)
  864. local shellb1 = Instance.new("Part")
  865. meshb1.Parent = shellb1
  866. shellb1.Anchored = true
  867. shellb1.formFactor = 3
  868. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(10,50)/10)
  869. shellb1.CFrame = CFrame.new(humm.Torso.CFrame.p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  870. shellb1.Parent = firemod
  871. shellb1.Transparency = 0
  872. if math.random(1,2) == 1 then
  873. shellb1.BrickColor = BrickColor.new("Bright red")
  874. else
  875. shellb1.BrickColor = BrickColor.new("Bright orange")
  876. end
  877. shellb1.CanCollide = false
  878. local incre = math.random(100,500)/1000
  879. for i = 0 , 1 , 0.1 do
  880. wait()
  881. shellb1.CFrame = shellb1.CFrame + Vector3.new(0,0.15+incre,0)
  882. shellb1.Transparency = 1*i
  883. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  884. end
  885. shellb1.Parent=nil
  886. end))
  887. end
  888. until firecount <= 0 or firemod.Parent == nil
  889. firemod.Parent = nil
  890. end))
  891. returndmg()
  892. end
  893. end
  894. function OT(hit) --Normal Damage
  895. if Hitdeb == 1 then return end
  896. if hit.Parent == nil then return end
  897. local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then
  898. if hum.Health <= 0 then return end
  899. if hit.Parent:findFirstChild("Block") ~= nil then
  900. if hit.Parent.Block.Value then
  901. damagesplat(0,hum.Torso,false,true)
  902. Hitdeb = 1
  903. if hit.Parent.Block:findFirstChild("BlockPower") ~= nil then
  904. if hit.Parent.Block.BlockPower.Value <= 1 then
  905. hit.Parent.Block.Value = false
  906. elseif hit.Parent.Block.BlockPower.Value > 1 then
  907. local critrandomizer = math.random(crtrate)
  908. if critrandomizer ~= 1 then
  909. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker
  910. elseif critrandomizer == 1 then
  911. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker + 2
  912. end
  913. end
  914. end
  915. return end end
  916. local critrandomizer = math.random(crtrate)
  917. if critrandomizer ~= 1 then
  918. local rndmdamage = math.random(mindamage,maxdamage)
  919. damage(hum,rndmdamage,false)
  920. elseif critrandomizer == 1 then
  921. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  922. damage(hum,rndmdamage,true)
  923. end
  924. --
  925. if CurrentArrow == "Poison" then
  926. if math.random(1,5) == 1 then
  927. local poisoncount = math.random(1,5)
  928. coroutine.resume(coroutine.create(function()
  929. repeat
  930. wait(1.5)
  931. poisoncount = poisoncount - 1
  932. local rndmdamage = math.floor(math.random(mindamage,maxdamage)/2)
  933. local pa = damage(hum,rndmdamage,false)
  934. pa.BrickColor = BrickColor.new("Alder")
  935. until poisoncount <= 0
  936. end))
  937. end
  938. elseif CurrentArrow == "Fire" then
  939. local firecount = math.random(3,7)
  940. if hum.Parent:findFirstChild("Fire") ~= nil then
  941. hum.Parent.Fire.Parent = nil
  942. end
  943. coroutine.resume(coroutine.create(function()
  944. local firemod = Instance.new("Model",hum.Parent)
  945. firemod.Name = "Fire"
  946. repeat
  947. wait(0.5+0.5*math.random())
  948. firecount = firecount - 1
  949. local rndmdamage = math.floor(math.random(0,maxdamage/5))
  950. local pa = damage(hum,rndmdamage,false)
  951. for i = 1 , 3 do
  952. wait()
  953. coroutine.resume(coroutine.create(function()
  954. local meshb1 = Instance.new("BlockMesh")
  955. meshb1.Scale = Vector3.new(1,1,1)
  956. local shellb1 = Instance.new("Part")
  957. meshb1.Parent = shellb1
  958. shellb1.Anchored = true
  959. shellb1.formFactor = 3
  960. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(10,50)/10)
  961. shellb1.CFrame = CFrame.new(hum.Torso.CFrame.p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  962. shellb1.Parent = firemod
  963. shellb1.Transparency = 0
  964. if math.random(1,2) == 1 then
  965. shellb1.BrickColor = BrickColor.new("Bright red")
  966. else
  967. shellb1.BrickColor = BrickColor.new("Bright orange")
  968. end
  969. shellb1.CanCollide = false
  970. local incre = math.random(100,500)/1000
  971. for i = 0 , 1 , 0.1 do
  972. wait()
  973. shellb1.CFrame = shellb1.CFrame + Vector3.new(0,0.15+incre,0)
  974. shellb1.Transparency = 1*i
  975. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  976. end
  977. shellb1.Parent=nil
  978. end))
  979. end
  980. until firecount <= 0 or firemod.Parent == nil
  981. firemod.Parent = nil
  982. end))
  983. end
  984. --
  985. Hitdeb = 1
  986. end
  987. end
  988.  
  989. mouse=Player:GetMouse()
  990.  
  991. mouse.KeyDown:connect(function(k)
  992. k=k:lower()
  993. if k=='z' then
  994. if attack==false then
  995. Clawraeg()
  996. end
  997. elseif k=='c' then
  998. if attack==false then
  999. Ragoon()
  1000. end
  1001. end
  1002. end)
  1003.  
  1004.  
  1005.  
  1006.  
  1007. function Ragoon()
  1008. Player=game:GetService("Players").LocalPlayer
  1009. Character=Player.Character
  1010. PlayerGui=Player.PlayerGui
  1011. Backpack=Player.Backpack
  1012. Torso=Character.Torso
  1013. Head=Character.Head
  1014. Humanoid=Character.Humanoid
  1015. m=Instance.new('Model',Character)
  1016. LeftArm=Character["Left Arm"]
  1017. LeftLeg=Character["Left Leg"]
  1018. RightArm=Character["Right Arm"]
  1019. RightLeg=Character["Right Leg"]
  1020. LS=Torso["Left Shoulder"]
  1021. LH=Torso["Left Hip"]
  1022. RS=Torso["Right Shoulder"]
  1023. RH=Torso["Right Hip"]
  1024. Face = Head.face
  1025. Neck=Torso.Neck
  1026. it=Instance.new
  1027. attacktype=1
  1028. vt=Vector3.new
  1029. cf=CFrame.new
  1030. euler=CFrame.fromEulerAnglesXYZ
  1031. angles=CFrame.Angles
  1032. cloaked=false
  1033. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1034. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1035. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1036. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1037. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1038. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1039. RootPart=Character.HumanoidRootPart
  1040. RootJoint=RootPart.RootJoint
  1041. RootCF=euler(-1.57,0,3.14)
  1042. attack = false
  1043. attackdebounce = false
  1044. deb=false
  1045. equipped=true
  1046. hand=false
  1047. MMouse=nil
  1048. combo=0
  1049. mana=0
  1050. trispeed=.2
  1051. attackmode='none'
  1052. local idle=0
  1053. local Anim="Idle"
  1054. local Effects={}
  1055. local gun=false
  1056. local shoot=false
  1057. player=nil
  1058. mana=0
  1059. cam = workspace.CurrentCamera
  1060. ZTarget = nil
  1061. RocketTarget = nil
  1062. local Targetting = false
  1063.  
  1064. mouse=Player:GetMouse()
  1065. --save shoulders
  1066. RSH, LSH=nil, nil
  1067. --welds
  1068. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1069. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1070. LH=Torso["Left Hip"]
  1071. RH=Torso["Right Hip"]
  1072. TorsoColor=Torso.BrickColor
  1073. function NoOutline(Part)
  1074. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1075. end
  1076. player=Player
  1077. ch=Character
  1078. RSH=ch.Torso["Right Shoulder"]
  1079. LSH=ch.Torso["Left Shoulder"]
  1080. --
  1081. RSH.Parent=nil
  1082. LSH.Parent=nil
  1083. --
  1084. RW.Name="Right Shoulder"
  1085. RW.Part0=ch.Torso
  1086. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1087. RW.C1=cf(0, 0.5, 0)
  1088. RW.Part1=ch["Right Arm"]
  1089. RW.Parent=ch.Torso
  1090. --
  1091. LW.Name="Left Shoulder"
  1092. LW.Part0=ch.Torso
  1093. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1094. LW.C1=cf(0, 0.5, 0)
  1095. LW.Part1=ch["Left Arm"]
  1096. LW.Parent=ch.Torso
  1097.  
  1098. function swait(num)
  1099. if num==0 or num==nil then
  1100. game:service'RunService'.Heartbeat:wait(0)
  1101. else
  1102. for i=0,num do
  1103. game:service'RunService'.Heartbeat:wait(0)
  1104. end
  1105. end
  1106. end
  1107.  
  1108. function nooutline(part)
  1109. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1110. end
  1111.  
  1112. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1113. local fp=it("Part")
  1114. fp.formFactor=formfactor
  1115. fp.Parent=parent
  1116. fp.Reflectance=reflectance
  1117. fp.Transparency=transparency
  1118. fp.CanCollide=false
  1119. fp.Locked=true
  1120. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1121. fp.Name=name
  1122. fp.Size=size
  1123. fp.Position=Character.Torso.Position
  1124. nooutline(fp)
  1125. fp.Material=material
  1126. fp:BreakJoints()
  1127. return fp
  1128. end
  1129.  
  1130. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1131. local mesh=it(Mesh)
  1132. mesh.Parent=part
  1133. if Mesh=="SpecialMesh" then
  1134. mesh.MeshType=meshtype
  1135. mesh.MeshId=meshid
  1136. end
  1137. mesh.Offset=offset
  1138. mesh.Scale=scale
  1139. return mesh
  1140. end
  1141.  
  1142. function weld(parent,part0,part1,c0,c1)
  1143. local weld=it("Weld")
  1144. weld.Parent=parent
  1145. weld.Part0=part0
  1146. weld.Part1=part1
  1147. weld.C0=c0
  1148. weld.C1=c1
  1149. return weld
  1150. end
  1151.  
  1152.  
  1153. local function CFrameFromTopBack(at, top, back)
  1154. local right = top:Cross(back)
  1155. return CFrame.new(at.x, at.y, at.z,
  1156. right.x, top.x, back.x,
  1157. right.y, top.y, back.y,
  1158. right.z, top.z, back.z)
  1159. end
  1160.  
  1161. function Triangle(a, b, c)
  1162. local edg1 = (c-a):Dot((b-a).unit)
  1163. local edg2 = (a-b):Dot((c-b).unit)
  1164. local edg3 = (b-c):Dot((a-c).unit)
  1165. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1166. a, b, c = a, b, c
  1167. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1168. a, b, c = b, c, a
  1169. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1170. a, b, c = c, a, b
  1171. else
  1172. assert(false, "unreachable")
  1173. end
  1174.  
  1175. local len1 = (c-a):Dot((b-a).unit)
  1176. local len2 = (b-a).magnitude - len1
  1177. local width = (a + (b-a).unit*len1 - c).magnitude
  1178.  
  1179. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1180.  
  1181. local list = {}
  1182.  
  1183. local TrailColor = ("Dark grey")
  1184.  
  1185. if len1 > 0.01 then
  1186. local w1 = Instance.new('WedgePart', m)
  1187. game:GetService("Debris"):AddItem(w1,5)
  1188. w1.Material = "SmoothPlastic"
  1189. w1.FormFactor = 'Custom'
  1190. w1.BrickColor = BrickColor.new(TrailColor)
  1191. w1.Transparency = 0
  1192. w1.Reflectance = 0
  1193. w1.Material = "SmoothPlastic"
  1194. w1.CanCollide = false
  1195. NoOutline(w1)
  1196. local sz = Vector3.new(0.2, width, len1)
  1197. w1.Size = sz
  1198. local sp = Instance.new("SpecialMesh",w1)
  1199. sp.MeshType = "Wedge"
  1200. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1201. w1:BreakJoints()
  1202. w1.Anchored = true
  1203. w1.Parent = workspace
  1204. w1.Transparency = 0.7
  1205. table.insert(Effects,{w1,"Disappear",.01})
  1206. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1207. table.insert(list,w1)
  1208. end
  1209.  
  1210. if len2 > 0.01 then
  1211. local w2 = Instance.new('WedgePart', m)
  1212. game:GetService("Debris"):AddItem(w2,5)
  1213. w2.Material = "SmoothPlastic"
  1214. w2.FormFactor = 'Custom'
  1215. w2.BrickColor = BrickColor.new(TrailColor)
  1216. w2.Transparency = 0
  1217. w2.Reflectance = 0
  1218. w2.Material = "SmoothPlastic"
  1219. w2.CanCollide = false
  1220. NoOutline(w2)
  1221. local sz = Vector3.new(0.2, width, len2)
  1222. w2.Size = sz
  1223. local sp = Instance.new("SpecialMesh",w2)
  1224. sp.MeshType = "Wedge"
  1225. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1226. w2:BreakJoints()
  1227. w2.Anchored = true
  1228. w2.Parent = workspace
  1229. w2.Transparency = 0.7
  1230. table.insert(Effects,{w2,"Disappear",.01})
  1231. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1232. table.insert(list,w2)
  1233. end
  1234. return unpack(list)
  1235. end
  1236.  
  1237.  
  1238. so = function(id,par,vol,pit)
  1239. coroutine.resume(coroutine.create(function()
  1240. local sou = Instance.new("Sound",par or workspace)
  1241. sou.Volume=vol
  1242. sou.Pitch=pit or 1
  1243. sou.SoundId=id
  1244. swait()
  1245. sou:play()
  1246. game:GetService("Debris"):AddItem(sou,6)
  1247. end))
  1248. end
  1249.  
  1250. function clerp(a,b,t)
  1251. local qa = {QuaternionFromCFrame(a)}
  1252. local qb = {QuaternionFromCFrame(b)}
  1253. local ax, ay, az = a.x, a.y, a.z
  1254. local bx, by, bz = b.x, b.y, b.z
  1255. local _t = 1-t
  1256. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1257. end
  1258.  
  1259. function QuaternionFromCFrame(cf)
  1260. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1261. local trace = m00 + m11 + m22
  1262. if trace > 0 then
  1263. local s = math.sqrt(1 + trace)
  1264. local recip = 0.5/s
  1265. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1266. else
  1267. local i = 0
  1268. if m11 > m00 then
  1269. i = 1
  1270. end
  1271. if m22 > (i == 0 and m00 or m11) then
  1272. i = 2
  1273. end
  1274. if i == 0 then
  1275. local s = math.sqrt(m00-m11-m22+1)
  1276. local recip = 0.5/s
  1277. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1278. elseif i == 1 then
  1279. local s = math.sqrt(m11-m22-m00+1)
  1280. local recip = 0.5/s
  1281. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1282. elseif i == 2 then
  1283. local s = math.sqrt(m22-m00-m11+1)
  1284. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1285. end
  1286. end
  1287. end
  1288.  
  1289. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1290. local xs, ys, zs = x + x, y + y, z + z
  1291. local wx, wy, wz = w*xs, w*ys, w*zs
  1292. local xx = x*xs
  1293. local xy = x*ys
  1294. local xz = x*zs
  1295. local yy = y*ys
  1296. local yz = y*zs
  1297. local zz = z*zs
  1298. 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))
  1299. end
  1300.  
  1301. function QuaternionSlerp(a, b, t)
  1302. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1303. local startInterp, finishInterp;
  1304. if cosTheta >= 0.0001 then
  1305. if (1 - cosTheta) > 0.0001 then
  1306. local theta = math.acos(cosTheta)
  1307. local invSinTheta = 1/math.sin(theta)
  1308. startInterp = math.sin((1-t)*theta)*invSinTheta
  1309. finishInterp = math.sin(t*theta)*invSinTheta
  1310. else
  1311. startInterp = 1-t
  1312. finishInterp = t
  1313. end
  1314. else
  1315. if (1+cosTheta) > 0.0001 then
  1316. local theta = math.acos(-cosTheta)
  1317. local invSinTheta = 1/math.sin(theta)
  1318. startInterp = math.sin((t-1)*theta)*invSinTheta
  1319. finishInterp = math.sin(t*theta)*invSinTheta
  1320. else
  1321. startInterp = t-1
  1322. finishInterp = t
  1323. end
  1324. end
  1325. 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
  1326. end
  1327.  
  1328. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1329. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1330. end
  1331.  
  1332. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1333. if hit.Parent==nil then
  1334. return
  1335. end
  1336. local h=hit.Parent:FindFirstChild("Humanoid")
  1337. for _,v in pairs(hit.Parent:children()) do
  1338. if v:IsA("Humanoid") then
  1339. h=v
  1340. end
  1341. end
  1342. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1343. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1344. end
  1345. if hit.Parent.className=="Hat" then
  1346. hit=hit.Parent.Parent:findFirstChild("Head")
  1347. end
  1348. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1349. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1350. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1351. return
  1352. end]]
  1353. -- hs(hit,1.2)
  1354. local c=Instance.new("ObjectValue")
  1355. c.Name="creator"
  1356. c.Value=game:service("Players").LocalPlayer
  1357. c.Parent=h
  1358. game:GetService("Debris"):AddItem(c,.5)
  1359. local Damage=math.random(minim,maxim)
  1360. -- h:TakeDamage(Damage)
  1361. local blocked=false
  1362. local block=hit.Parent:findFirstChild("Block")
  1363. if block~=nil then
  1364. print(block.className)
  1365. if block.className=="NumberValue" then
  1366. if block.Value>0 then
  1367. blocked=true
  1368. if decreaseblock==nil then
  1369. block.Value=block.Value-1
  1370. end
  1371. end
  1372. end
  1373. if block.className=="IntValue" then
  1374. if block.Value>0 then
  1375. blocked=true
  1376. if decreaseblock~=nil then
  1377. block.Value=block.Value-1
  1378. end
  1379. end
  1380. end
  1381. end
  1382. if blocked==false then
  1383. -- h:TakeDamage(Damage)
  1384. h.Health=h.Health-Damage
  1385. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  1386. else
  1387. h.Health=h.Health-(Damage/2)
  1388. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright orange").Color)
  1389. end
  1390. if Type=="Knockdown" then
  1391. local hum=hit.Parent.Humanoid
  1392. hum.PlatformStand=true
  1393. coroutine.resume(coroutine.create(function(HHumanoid)
  1394. swait(1)
  1395. HHumanoid.PlatformStand=false
  1396. end),hum)
  1397. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1398. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1399. local bodvol=Instance.new("BodyVelocity")
  1400. bodvol.velocity=angle*knockback
  1401. bodvol.P=5000
  1402. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1403. bodvol.Parent=hit
  1404. local rl=Instance.new("BodyAngularVelocity")
  1405. rl.P=3000
  1406. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1407. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1408. rl.Parent=hit
  1409. game:GetService("Debris"):AddItem(bodvol,.5)
  1410. game:GetService("Debris"):AddItem(rl,.5)
  1411. elseif Type=="Normal" then
  1412. local vp=Instance.new("BodyVelocity")
  1413. vp.P=500
  1414. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1415. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1416. if KnockbackType==1 then
  1417. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1418. elseif KnockbackType==2 then
  1419. vp.velocity=Property.CFrame.lookVector*knockback
  1420. end
  1421. if knockback>0 then
  1422. vp.Parent=hit.Parent.Torso
  1423. end
  1424. game:GetService("Debris"):AddItem(vp,.5)
  1425. elseif Type=="Up" then
  1426. local bodyVelocity=Instance.new("BodyVelocity")
  1427. bodyVelocity.velocity=vt(0,60,0)
  1428. bodyVelocity.P=5000
  1429. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1430. bodyVelocity.Parent=hit
  1431. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1432. local rl=Instance.new("BodyAngularVelocity")
  1433. rl.P=3000
  1434. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1435. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1436. rl.Parent=hit
  1437. game:GetService("Debris"):AddItem(rl,.5)
  1438. elseif Type=="Snare" then
  1439. local bp=Instance.new("BodyPosition")
  1440. bp.P=2000
  1441. bp.D=100
  1442. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1443. bp.position=hit.Parent.Torso.Position
  1444. bp.Parent=hit.Parent.Torso
  1445. game:GetService("Debris"):AddItem(bp,1)
  1446. elseif Type=="Target" then
  1447. local Targetting = false
  1448. if Targetting==false then
  1449. ZTarget=hit.Parent.Torso
  1450. coroutine.resume(coroutine.create(function(Part)
  1451. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1452. swait(5)
  1453. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1454. end),ZTarget)
  1455. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1456. local targetgui=Instance.new("BillboardGui")
  1457. targetgui.Parent=ZTarget
  1458. targetgui.Size=UDim2.new(10,100,10,100)
  1459. local targ=Instance.new("ImageLabel")
  1460. targ.Parent=targetgui
  1461. targ.BackgroundTransparency=1
  1462. targ.Image="rbxassetid://4834067"
  1463. targ.Size=UDim2.new(1,0,1,0)
  1464. cam.CameraType="Scriptable"
  1465. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1466. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1467. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1468. Targetting=true
  1469. RocketTarget=ZTarget
  1470. for i=1,Property do
  1471. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1472. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1473. swait()
  1474. end
  1475. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1476. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1477. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1478. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1479. end
  1480. Targetting=false
  1481. RocketTarget=nil
  1482. targetgui.Parent=nil
  1483. cam.CameraType="Custom"
  1484. end
  1485. end
  1486. local debounce=Instance.new("BoolValue")
  1487. debounce.Name="DebounceHit"
  1488. debounce.Parent=hit.Parent
  1489. debounce.Value=true
  1490. game:GetService("Debris"):AddItem(debounce,Delay)
  1491. c=Instance.new("ObjectValue")
  1492. c.Name="creator"
  1493. c.Value=Player
  1494. c.Parent=h
  1495. game:GetService("Debris"):AddItem(c,.5)
  1496. end
  1497. end
  1498.  
  1499. Damagefunc2=function(Part,hit,Damage,Knockback)
  1500. if attackdebounce == false then
  1501. -- attackdebounce = true
  1502. coroutine.resume(coroutine.create(function()
  1503. wait(0.1)
  1504. attackdebounce = false
  1505. end))
  1506. if hit.Parent==nil then
  1507. return
  1508. end
  1509. local blocked=false
  1510. local h=hit.Parent:FindFirstChild("Humanoid")
  1511. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  1512. Damage=Damage
  1513. local c=it("ObjectValue")
  1514. c.Name="creator"
  1515. c.Value=game.Players.LocalPlayer
  1516. c.Parent=h
  1517. game:GetService("Debris"):AddItem(c,.5)
  1518. -- print(c.Value)
  1519. --[[ if math.random(0,99)+math.random()<=7.8 then
  1520. CRIT=true
  1521. Damage=Damage*2
  1522. s=it("Sound")
  1523. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1524. s.Volume=1
  1525. s.Pitch=2
  1526. s.Parent=hit
  1527. s.PlayOnRemove=true
  1528. s.Parent=nil
  1529.  
  1530. end]]
  1531. Damage=Damage+math.random(0,10)
  1532. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1533. blocked=false
  1534. local block=hit.Parent:findFirstChild("Block")
  1535. if block~=nil then
  1536. print("herp")
  1537. if block.Value>0 then
  1538. blocked=true
  1539. block.Value=block.Value-3
  1540. print(block.Value)
  1541. end
  1542. end
  1543. if blocked==false then
  1544. -- h:TakeDamage(Damage)
  1545. h.Health=h.Health-Damage
  1546. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color)
  1547. else
  1548. h:TakeDamage(1)
  1549. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color)
  1550. end
  1551. --if blocked==false then
  1552. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  1553. print(angle)
  1554. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1555. local rl=Instance.new("BodyAngularVelocity")
  1556. rl.P=300000 --here
  1557. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1558. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1559. rl.Parent=hit
  1560. coroutine.resume(coroutine.create(function(vel)
  1561. wait(0.5)
  1562. vel:Remove()
  1563. end),rl)
  1564. --end
  1565. local bodyVelocity=Instance.new("BodyVelocity")
  1566. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  1567. bodyVelocity.P=5000
  1568. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1569. bodyVelocity.Parent=hit
  1570. coroutine.resume(coroutine.create(function(Vel)
  1571. wait(0.2)
  1572. Vel:Remove()
  1573. end),bodyVelocity)
  1574. c=it("ObjectValue")
  1575. c.Name="creator"
  1576. c.Value=Player
  1577. c.Parent=h
  1578. game:GetService("Debris"):AddItem(c,.5)
  1579. end
  1580. end
  1581. end
  1582.  
  1583. function ShowDamage(Pos, Text, Time, Color)
  1584. local Rate = (1 / 30)
  1585. local Pos = (Pos or Vector3.new(0, 0, 0))
  1586. local Text = (Text or "")
  1587. local Time = (Time or 2)
  1588. local Color = (Color or Color3.new(1, 0, 0))
  1589. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  1590. EffectPart.Anchored = true
  1591. local BillboardGui = Instance.new("BillboardGui")
  1592. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1593. BillboardGui.Adornee = EffectPart
  1594. local TextLabel = Instance.new("TextLabel")
  1595. TextLabel.BackgroundTransparency = 1
  1596. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1597. TextLabel.Text = Text
  1598. TextLabel.TextColor3 = Color
  1599. TextLabel.TextScaled = true
  1600. TextLabel.Font = Enum.Font.ArialBold
  1601. TextLabel.Parent = BillboardGui
  1602. BillboardGui.Parent = EffectPart
  1603. game.Debris:AddItem(EffectPart, (Time + 0.1))
  1604. EffectPart.Parent = game:GetService("Workspace")
  1605. Delay(0, function()
  1606. local Frames = (Time / Rate)
  1607. for Frame = 1, Frames do
  1608. wait(Rate)
  1609. local Percent = (Frame / Frames)
  1610. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1611. TextLabel.TextTransparency = Percent
  1612. end
  1613. if EffectPart and EffectPart.Parent then
  1614. EffectPart:Destroy()
  1615. end
  1616. end)
  1617. end
  1618.  
  1619. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  1620.  
  1621. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(1, 1, 0.800000072))
  1622. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-005, 0, -9.05990601e-006, -5.05673892e-010, -9.23196908e-010, 0.999993324, 0.999993324, -1.47900669e-008, 5.04537023e-010, 1.46751713e-008, 0.999992251, 9.21580978e-010))
  1623. Barrel1A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1624. Barrel1Aweld=weld(m,HandleA,Barrel1A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699571609, -1.90000951, -0.2003479, 7.91768434e-006, 0.999986649, 1.00914167e-005, 5.66241306e-006, 1.00914676e-005, -1, -0.999986649, 7.91774346e-006, -5.66240578e-006))
  1625. Barrel2A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2A",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  1626. Barrel2Aweld=weld(m,HandleA,Barrel2A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.69956398, -1.90001082, 0.0996513367, 7.91767434e-006, 0.999986649, 1.00916686e-005, 5.66189283e-006, 1.00917196e-005, -1, -0.999986649, 7.91773255e-006, -5.6618851e-006))
  1627. Barrel3A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel3A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1628. Barrel3Aweld=weld(m,HandleA,Barrel3A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699560165, -1.90001285, 0.39963913, 7.91766342e-006, 0.999986649, 1.00919206e-005, 5.6613726e-006, 1.00919715e-005, -1, -0.999986649, 7.91772163e-006, -5.66136487e-006))
  1629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1630. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200450897, -2.29999614, 0.699605942, 0.999986649, 2.01113654e-010, 4.28733493e-010, -4.34172753e-010, -5.51018218e-008, 1, 2.03384726e-010, -0.999986649, -5.48661063e-008))
  1631. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012))
  1633. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.099697113, 1.70499849, 0.699567795, 0.999986649, 3.20816929e-010, 7.34710071e-011, -7.69249109e-011, -5.26488186e-008, 1, 3.22863347e-010, -0.999986649, -5.24188479e-008))
  1634. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1636. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 0.699999809, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1))
  1637. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964))
  1639. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699541092, -0.600000381, -0.199619293, 1.87184355e-006, -0.999986649, 1.07918208e-006, -3.12210403e-007, -1.078938e-006, -1, 0.999986649, 1.87184094e-006, -3.12219839e-007))
  1640. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072))
  1642. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100307465, -0.699611664, -0.599999905, 0.999986649, -5.68162184e-012, -1.03317355e-011, 3.40788509e-012, 0.999986649, -5.81779958e-010, 7.07311987e-012, 3.51557006e-010, 1))
  1643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  1644. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399723053, 1.70499837, 0.699588776, 0.999979973, 3.28089528e-010, -3.71732811e-010, 3.66905506e-010, -5.37965974e-008, 1, 3.32864347e-010, -0.999979973, -5.34519344e-008))
  1645. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036))
  1647. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995674133, 0.899999619, 0.699586868, 0.999986649, 1.66285097e-010, 3.84224985e-010, -3.87478327e-010, -5.54243442e-008, 1, 1.68558861e-010, -0.999986649, -5.51948673e-008))
  1648. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1650. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399646759, 1.6999985, 0.699571609, 0.999979973, 1.84390309e-010, 3.75398046e-011, -4.23643343e-011, -5.66705758e-008, 1, 1.88255633e-010, -0.999979973, -5.63259412e-008))
  1651. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  1653. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399570465, 0.899999619, 0.699586868, 0.999986649, 1.90463506e-010, 4.11560452e-010, -4.14813461e-010, -5.52680746e-008, 1, 1.92737243e-010, -0.999986649, -5.50385977e-008))
  1654. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066))
  1656. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996818542, -0.699586868, 4.76837158e-007, 0.999986649, 1.94817495e-011, 5.78722625e-011, -2.17554863e-011, 0.999986649, -1.31851685e-009, -6.112999e-011, 1.08828324e-009, 1))
  1657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1658. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410079956, -0.700000763, -0.000110626221, 0.999986649, 3.13225945e-010, 5.58399271e-010, -5.638357e-010, -5.12430809e-008, 1, 3.15497045e-010, -0.999986649, -5.1007305e-008))
  1659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036))
  1660. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399532318, -1.19999957, 0.699613571, 0.999986649, 1.96598182e-010, 4.09048739e-010, -4.12301748e-010, -5.60532456e-008, 1, 1.98871919e-010, -0.999986649, -5.58237794e-008))
  1661. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1663. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000102996826, -0.700000763, -0.405073166, 0.999986649, 2.9397576e-010, 4.77100359e-010, -4.82539675e-010, -5.1360427e-008, 1, 2.9624686e-010, -0.999986649, -5.11246618e-008))
  1664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1665. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, -1.69999957, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1))
  1666. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1667. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1668. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699573517, -0.900001526, 0.400360107, 2.85113401e-006, -0.999986649, 1.24874362e-006, -2.03818695e-006, -1.24850249e-006, -1, 0.999986649, 2.85112901e-006, -2.03822106e-006))
  1669. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1671. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200325012, 1.69999766, 0.699609756, 0.999986649, 6.62784883e-010, -1.45084575e-008, 1.45049066e-008, -5.6450606e-008, 1, 6.65740574e-010, -0.999986649, -5.62205251e-008))
  1672. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1673. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  1674. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200233459, 1.70499849, 0.69960022, 0.999986649, 3.14450521e-010, 3.71330522e-010, -3.74782427e-010, -5.33727729e-008, 1, 3.1649694e-010, -0.999986649, -5.31428022e-008))
  1675. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1677. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996131897, 1.69999862, 0.699584961, 0.999986649, 1.77117737e-010, 1.78062898e-010, -1.8151608e-010, -5.61730893e-008, 1, 1.79164156e-010, -0.999986649, -5.59431363e-008))
  1678. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1680. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.700000763, 0.404912949, 0.999986649, 2.92983943e-010, 4.96789276e-010, -5.02226261e-010, -5.34053335e-008, 1, 2.95255043e-010, -0.999986649, -5.31695932e-008))
  1681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1682. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000316619873, 0.699999809, 0.404588699, 0.999986649, 1.1153159e-010, 2.77556311e-010, -2.80811041e-010, -4.94035142e-008, 1, 1.13805299e-010, -0.999986649, -4.91739556e-008))
  1683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1684. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 1.49999833, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1))
  1685. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019))
  1687. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400295258, -0.699577332, -0.0999999046, 0.999986649, 2.07385775e-011, 6.28357366e-011, -2.30123143e-011, 0.999986649, -7.07412795e-010, -6.60934085e-011, 4.77189843e-010, 1))
  1688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  1689. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200366974, 0.900000572, 0.699565887, 0.999986649, 1.9678098e-010, 4.23990953e-010, -4.27243796e-010, -5.48795889e-008, 1, 1.99054717e-010, -0.999986649, -5.46501049e-008))
  1690. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1692. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 1.09999835, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1))
  1693. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999))
  1694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1695. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39957428, -2.29999614, 0.699617386, 0.999986649, 2.06792028e-010, 4.21613855e-010, -4.27053171e-010, -5.59482594e-008, 1, 2.09063072e-010, -0.999986649, -5.5712551e-008))
  1696. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1698. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409893036, -0.700000763, -9.53674316e-005, 0.999986649, 3.06400627e-010, 5.35766098e-010, -5.41204637e-010, -5.17249639e-008, 1, 3.08671699e-010, -0.999986649, -5.14891987e-008))
  1699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1700. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, 0.69989109, -0.405414581, 0.999986649, 9.22598942e-011, 2.078413e-010, -2.13284224e-010, -5.09687972e-008, 1, 9.45309664e-011, -0.999986649, -5.07330284e-008))
  1701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1702. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409645081, 0.699999809, -0.000415802002, 0.999986649, 1.09286219e-010, 2.74369194e-010, -2.77624035e-010, -4.96409172e-008, 1, 1.11559956e-010, -0.999986649, -4.94113586e-008))
  1703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1704. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409934998, 0.70000124, -2.0980835e-005, 0.999986649, 3.69289765e-010, 6.34756692e-010, -6.37979558e-010, -4.70661625e-008, 1, 3.71549347e-010, -0.999986649, -4.68323584e-008))
  1705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036))
  1706. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994720459, -1.00000167, 0.699565887, 0.999986649, 1.63843272e-010, 3.70188213e-010, -3.73441722e-010, -5.61400029e-008, 1, 1.66117037e-010, -0.999986649, -5.59105366e-008))
  1707. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  1709. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699556351, -2.19999361, 0.400417328, -1.13278213e-006, 0.999986649, -1.23997575e-006, 3.2160392e-007, 1.23972927e-006, 1, 0.999986649, 1.13277952e-006, -3.21612873e-007))
  1710. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025))
  1712. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400325775, -0.699573517, -1.40000105, 0.999986649, 3.54179464e-011, 8.36694047e-011, -3.76917386e-011, 0.999986649, 3.27542438e-010, -8.69266326e-011, -5.57753843e-010, 1))
  1713. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  1714. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.69952774, -0.600001335, 0.299598694, 1.08607458e-006, -0.999986649, 1.22987899e-006, 2.51857699e-007, 1.22963252e-006, 1, -0.999986649, -1.08607196e-006, 2.51865629e-007))
  1715. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1717. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, -1.10000062, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1))
  1718. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006))
  1720. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200454712, -1.59999967, 0.699554443, 0.999986649, 1.63983938e-010, 3.76599196e-010, -3.82038789e-010, -5.52081758e-008, 1, 1.6625501e-010, -0.999986649, -5.49724604e-008))
  1721. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1723. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.09948349, -1.89999557, 0.699590683, 0.999986649, 1.69683823e-010, 3.82608611e-010, -3.88048149e-010, -5.55553079e-008, 1, 1.71975129e-010, -0.999986649, -5.53195072e-008))
  1724. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1725.  
  1726. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(1, 1, 0.800000072))
  1727. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, 0.000112533569, -8.82148743e-006, -5.13637077e-010, -9.34523126e-010, 0.999993324, 0.999993324, -1.55961271e-008, 5.12500209e-010, 1.54810991e-008, 0.999992251, 9.32938282e-010))
  1728. Barrel4A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1729. Barrel4Aweld=weld(m,HandleB,Barrel4A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700273514, -1.89999568, -0.200382233, 7.9176798e-006, 0.999986649, 1.00922007e-005, 5.66249946e-006, 1.00922507e-005, -1, -0.999986649, 7.91774073e-006, -5.66249219e-006))
  1730. Barrel5A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel5A",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  1731. Barrel5Aweld=weld(m,HandleB,Barrel5A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700338364, -1.89999771, 0.0996551514, 7.91767525e-006, 0.999986649, 1.00922598e-005, 5.662278e-006, 1.00923098e-005, -1, -0.999986649, 7.91773527e-006, -5.66227072e-006))
  1732. Barrel6A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel6A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1733. Barrel6Aweld=weld(m,HandleB,Barrel6A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700332642, -1.89999914, 0.399604797, 7.91767798e-006, 0.999986649, 1.00922207e-005, 5.66242488e-006, 1.00922707e-005, -1, -0.999986649, 7.917738e-006, -5.66241761e-006))
  1734. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1735. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39950943, -2.3000021, -0.700250626, 0.999986649, 2.24909646e-010, 4.70967154e-010, -4.74188411e-010, -5.56574378e-008, 1, 2.27183439e-010, -0.999986649, -5.54278046e-008))
  1736. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1737. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  1738. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200298309, 1.70499992, -0.70026207, 0.999986649, 3.25459687e-010, 6.09574891e-010, -6.1279426e-010, -5.37770717e-008, 1, 3.27733451e-010, -0.999986649, -5.35474207e-008))
  1739. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1740. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012))
  1741. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996704102, 1.70499897, -0.700256348, 0.999986649, 3.25459326e-010, 6.09557238e-010, -6.12776663e-010, -5.28618074e-008, 1, 3.27733063e-010, -0.999986649, -5.26321386e-008))
  1742. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1743. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1744. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.70000124, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  1745. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1747. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 0.699999332, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  1748. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1750. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000354766846, 0.699999332, 0.404693604, 0.999986649, 1.1949472e-010, 2.8891356e-010, -2.92137314e-010, -5.02095787e-008, 1, 1.21768429e-010, -0.999986649, -4.9979878e-008))
  1751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1752. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.89999723, -0.700302124, 0.999986649, 1.81069548e-010, 4.05318112e-010, -4.08540202e-010, -5.60037847e-008, 1, 1.83343313e-010, -0.999986649, -5.57741586e-008))
  1753. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1755. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.700058937, 0.404985428, 0.999986649, 5.06481115e-007, -8.88550039e-006, 8.88538398e-006, -1.53480414e-005, 1, 5.06347078e-007, -0.999986649, -1.53480123e-005))
  1756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1757. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410140991, -0.700058937, -2.86102295e-005, 0.999986649, 5.06480035e-007, -8.88562045e-006, 8.88550676e-006, -1.53479523e-005, 1, 5.06345941e-007, -0.999986649, -1.53479305e-005))
  1758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1759. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409835815, -0.700058699, -2.47955322e-005, 0.999986649, 5.06473384e-007, -8.88574777e-006, 8.88563409e-006, -1.53484561e-005, 1, 5.0633929e-007, -0.999986649, -1.53484343e-005))
  1760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1761. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200374603, 1.69999969, -0.700273514, 0.999986649, 1.95510885e-010, 4.26103208e-010, -4.29325075e-010, -5.68092915e-008, 1, 1.9778465e-010, -0.999986649, -5.65796761e-008))
  1762. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036))
  1764. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995597839, 0.899998665, -0.700296402, 0.999986649, 1.82185933e-010, 4.06940814e-010, -4.10131984e-010, -5.61190348e-008, 1, 1.84459698e-010, -0.999986649, -5.58892772e-008))
  1765. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025))
  1767. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400348663, 0.700309753, -1.39999938, 0.999986649, 4.33706404e-011, 9.50293177e-011, -4.56443772e-011, 0.999986649, 2.17802665e-010, -9.82245951e-011, -4.48304505e-010, 1))
  1768. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964))
  1769. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700330734, -0.600002289, -0.199569702, 1.87184696e-006, -0.999986649, 1.0768357e-006, -3.12246243e-007, -1.0765915e-006, -1, 0.999986649, 1.87184435e-006, -3.12255651e-007))
  1770. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1771. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  1772. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399551392, 0.900000334, -0.700281143, 0.999986649, 2.12532297e-010, 4.46642945e-010, -4.4986459e-010, -5.53439889e-008, 1, 2.14806062e-010, -0.999986649, -5.51143557e-008))
  1773. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1774. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1775. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.49999881, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  1776. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1777. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1778. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.10000229, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  1779. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  1780. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006))
  1781. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200496674, -1.60000134, -0.700332642, 0.999986649, 1.74215392e-010, 3.95577848e-010, -3.98800049e-010, -5.57730289e-008, 1, 1.76489184e-010, -0.999986649, -5.55433957e-008))
  1782. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1783. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  1784. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200405121, 0.900000334, -0.700304031, 0.999986649, 2.04794931e-010, 4.35489422e-010, -4.38711178e-010, -5.59133824e-008, 1, 2.07068696e-010, -0.999986649, -5.56837598e-008))
  1785. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1786. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  1787. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700307846, -0.600000143, 0.299545288, 1.0860814e-006, -0.999986649, 1.22885763e-006, 2.51865401e-007, 1.22861104e-006, 1, -0.999986649, -1.08607878e-006, 2.51873274e-007))
  1788. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1789. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066))
  1790. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996398926, 0.70029068, -2.14576721e-006, 0.999986649, 3.7787995e-011, 9.27144472e-011, -4.00617317e-011, 0.999986649, 1.00676356e-009, -9.59097246e-011, -1.23725208e-009, 1))
  1791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1792. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200492859, -2.30000019, -0.700273514, 0.999986649, 2.13633666e-010, 4.54880855e-010, -4.58102278e-010, -5.5424934e-008, 1, 2.15907459e-010, -0.999986649, -5.51953008e-008))
  1793. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036))
  1795. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399505615, -1.20000219, -0.700250626, 0.999986649, 2.20402863e-010, 4.64567773e-010, -4.67789085e-010, -5.56560096e-008, 1, 2.22676655e-010, -0.999986649, -5.54263728e-008))
  1796. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  1798. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399719238, 1.70499969, -0.700256348, 0.999986649, 3.29966443e-010, 6.15962115e-010, -6.19181484e-010, -5.33209956e-008, 1, 3.3224018e-010, -0.999986649, -5.3091334e-008))
  1799. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  1800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1801. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.09999871, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  1802. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999))
  1803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019))
  1804. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400318146, 0.700298309, -0.100000381, 0.999986649, 2.87218582e-011, 7.42863548e-011, -3.0995595e-011, 0.999986649, 3.27936789e-010, -7.74819098e-011, -5.58436852e-010, 1))
  1805. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072))
  1806. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100364685, 0.700286865, -0.600000858, 0.999986649, 2.75119372e-011, 7.16121606e-011, -2.97856739e-011, 0.999986649, 4.25513846e-010, -7.48077711e-011, -6.56010357e-010, 1))
  1807. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1808. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700284958, -0.900002718, 0.400382996, 2.85113333e-006, -0.999986649, 1.24790631e-006, -2.03824266e-006, -1.24766507e-006, -1, 0.999986649, 2.85112856e-006, -2.03827699e-006))
  1809. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1811. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409973145, 0.700000763, 8.39233398e-005, 0.999986649, 3.77252896e-010, 6.4611394e-010, -6.49305831e-010, -4.78722271e-008, 1, 3.79512477e-010, -0.999986649, -4.76382809e-008))
  1812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1813. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, 0.699999332, -0.405292511, 0.999986649, 1.17249405e-010, 2.85726331e-010, -2.88950197e-010, -5.04469853e-008, 1, 1.19523141e-010, -0.999986649, -5.0217281e-008))
  1814. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1815. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409610748, 0.699999332, -0.000310897827, 0.999986649, 1.17249349e-010, 2.85726443e-010, -2.88950308e-010, -5.04469853e-008, 1, 1.19523086e-010, -0.999986649, -5.0217281e-008))
  1816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1817. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000164031982, -0.700058937, -0.405000687, 0.999986649, 5.06467813e-007, -8.88587419e-006, 8.88576051e-006, -1.53488418e-005, 1, 5.0633372e-007, -0.999986649, -1.53488199e-005))
  1818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036))
  1819. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.00000286, -0.700296402, 0.999986649, 1.7766863e-010, 4.00603883e-010, -4.03795108e-010, -5.63463871e-008, 1, 1.79942367e-010, -0.999986649, -5.61166367e-008))
  1820. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  1822. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.70032692, -2.19999671, 0.400455475, -1.13279009e-006, 0.999986649, -1.23916982e-006, 3.2159258e-007, 1.23892323e-006, 1, 0.999986649, 1.13278747e-006, -3.21601505e-007))
  1823. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1825. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995979309, 1.69999874, -0.700267792, 0.999986649, 1.93360383e-010, 4.22906765e-010, -4.26128688e-010, -5.61221967e-008, 1, 1.9563412e-010, -0.999986649, -5.58925741e-008))
  1826. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1828. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399623871, 1.69999945, -0.70026207, 0.999986649, 1.97764305e-010, 4.29296765e-010, -4.32518632e-010, -5.65812428e-008, 1, 2.00038042e-010, -0.999986649, -5.63516203e-008))
  1829. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1830.  
  1831. BackHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BackHandle",Vector3.new(0.800000012, 0.600000024, 1.20000005))
  1832. BackHandleweld=weld(m,Character["Torso"],BackHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000143051147, 0.799930573, 0.20047307, 0.999993324, -1.62740506e-008, 2.05381559e-010, 2.06515763e-010, 6.19668095e-010, -0.999993324, 1.61529243e-008, 0.999992371, 6.15865525e-010))
  1833. JointConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1834. JointConnectorAweld=weld(m,BackHandle,JointConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.797990799, -0.199465752, -1.34834088e-011, -0.999986649, -8.9196428e-012, 0.999986649, -1.12150289e-011, -9.5399777e-010, 7.12287118e-010, -1.33471012e-012, 0.999969482))
  1835. mesh("CylinderMesh",JointConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1836. JointConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1837. JointConnectorBweld=weld(m,BackHandle,JointConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 0.80194664, -0.199468851, -1.46291035e-011, -0.999986649, -5.74146286e-012, 0.999986649, -1.23607374e-011, -5.9252514e-010, 3.50306451e-010, 1.86239912e-012, 0.999984741))
  1838. mesh("CylinderMesh",JointConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.600000024, 0.200000003))
  1840. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.47955322e-005, -8.01086426e-005, 0.699928761, 0.999986649, 1.23872718e-011, -5.78133594e-008, 1.01188918e-011, -0.999986649, 1.65803482e-011, -5.75726382e-008, -2.4165725e-011, -0.999969482))
  1841. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  1843. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.05718994e-005, 0.199935913, 0.899125814, 0.999986649, 6.78561374e-012, -5.93669185e-008, 4.51723381e-012, -0.999986649, 2.27040609e-014, -5.91262115e-008, -7.60785879e-012, -0.999969482))
  1844. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1845. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1846. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.500015259, -0.199979782, -3.37949113e-012, -0.999979973, 5.4230509e-012, 0.999979973, 1.14908083e-014, -1.20904176e-010, -2.39820608e-010, 1.46018753e-011, 0.999969482))
  1847. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1848. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.01999998, 0.600000024, 0.210000008))
  1849. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.300014019, 0.394981384, 0.999986649, 1.15046861e-014, -1.90425431e-012, -2.39820608e-010, 1.46018753e-011, 0.999969482, -2.25686136e-012, -0.999986649, 7.01660952e-012))
  1850. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086))
  1851. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.90501976, 0.100106955, 0.904968262, 0.999982357, 1.14569465e-012, -1.22765798e-010, -1.18957288e-010, 1.83945081e-011, 0.999965191, -1.12268528e-012, -0.999986649, 1.08093534e-011))
  1852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1853. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.905035019, 0.500083685, 1.30494308, 0.999986649, 2.27988461e-012, -2.43625564e-010, 1.90603111e-012, 2.21874186e-011, 0.999969482, 1.15185639e-014, -0.999986649, 1.46020418e-011))
  1854. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1855. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086))
  1856. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904981613, 0.100171328, 0.904911041, 0.999986589, 3.41407458e-012, -3.64481778e-010, 1.22762245e-010, 2.5980329e-011, 0.999969423, 1.14569465e-012, -0.999986649, 1.83948967e-011))
  1857. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003))
  1858. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904953003, 0.300099134, 1.20991135, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011))
  1859. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1860. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904973984, 0.300121784, 1.30490875, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011))
  1861. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1862. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1863. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904973984, 0.100127697, 1.30490875, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011))
  1864. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1866. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904958725, 0.300130844, 1.30488205, 0.999986649, 4.54826454e-012, -4.85337992e-010, 2.43620235e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011))
  1867. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003))
  1869. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904930115, 0.300135851, 1.2098465, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011))
  1870. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086))
  1871. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904924393, 0.300127745, 0.904846191, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011))
  1872. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003))
  1873. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904916763, 0.300007582, 0.599971771, 0.999979496, 1.14568077e-012, -1.22764021e-010, -1.18957288e-010, 1.83944526e-011, 0.99996233, -1.12268528e-012, -0.999986649, 1.08093534e-011))
  1874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1875. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904888153, 0.50006032, 1.3048172, 0.999986649, 6.81664447e-012, -7.27041538e-010, 4.8532911e-010, 3.73593934e-011, 0.999969482, 4.54827842e-012, -0.999986649, 2.97737945e-011))
  1876. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1877. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086))
  1878. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904928207, 0.500139236, 0.904846191, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011))
  1879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086))
  1880. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904945374, 0.50014782, 0.904872894, 0.999986649, 4.54826454e-012, -4.85339768e-010, 2.43622011e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011))
  1881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086))
  1882. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904937744, 0.300155163, 0.904872894, 0.999986649, 4.54826454e-012, -4.85339768e-010, 2.43622011e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011))
  1883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1884. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.299953461, 0.199994802, -1.12268528e-012, -0.999986649, 1.08093534e-011, 0.999978065, 1.14568077e-012, -1.22764021e-010, -1.18957288e-010, 1.83944526e-011, 0.999960899))
  1885. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003))
  1887. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.905002594, 0.299999952, 0.599971771, 0.999982357, 1.14569465e-012, -1.22765798e-010, -1.18957288e-010, 1.83945081e-011, 0.999965191, -1.12268528e-012, -0.999986649, 1.08093534e-011))
  1888. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062))
  1889. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904874802, 0.100106001, 1.30477905, 0.999986649, 7.95083444e-012, -8.47890647e-010, 6.06181771e-010, 4.11525813e-011, 0.999969482, 5.68245451e-012, -0.999986649, 3.35668715e-011))
  1890. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.600000024, 0.200000003))
  1892. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, -3.81469727e-005, 0.700012445, -0.999986649, -2.26865748e-012, -2.95600895e-008, 2.77555756e-016, -0.999986649, 9.21701604e-012, -2.98023206e-008, 1.68021708e-011, 0.999969482))
  1893. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1894. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1895. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.701107025, -1.20487595, 0.300156593, 0.999986649, 4.54826454e-012, -4.85339768e-010, -2.27989849e-012, 0.999986649, -2.21878071e-011, 2.43622011e-010, 2.97732949e-011, 0.999969482))
  1896. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1897. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-005, -0.499929428, -0.199991226, -2.24531505e-012, -0.999979973, 9.21596133e-012, 0.999979973, 1.14568077e-012, -2.41730191e-010, -1.18957288e-010, 1.83946192e-011, 0.999969482))
  1898. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1899. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1900. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699016571, -1.20474625, 0.29998374, 0.999986649, 9.0850244e-012, -9.68737979e-010, -6.81665835e-012, 0.999986649, -3.73600595e-011, 7.27029104e-010, 4.49458248e-011, 0.999969482))
  1901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.210000008, 0.200000003))
  1902. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499229431, -1.20484924, 0.299696445, 0.999986589, 5.68245451e-012, -6.0619243e-010, -3.41407458e-012, 0.999986649, -1.83948967e-011, 3.64476449e-010, 2.5980329e-011, 0.999969423))
  1903. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.210000008, 0.200000003))
  1904. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000780105591, -1.20481873, 0.299640179, 0.999986649, 6.81664447e-012, -7.27043314e-010, -4.54827842e-012, 0.999986649, -1.46020418e-011, 4.85330887e-010, 2.21874186e-011, 0.999969482))
  1905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.210000008, 0.200000003))
  1906. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.500785828, -1.20478821, 0.299716949, 0.999986589, 7.95083444e-012, -8.47890647e-010, -5.68245451e-012, 0.999986649, -1.08092979e-011, 6.06181771e-010, 1.83945637e-011, 0.999969423))
  1907.  
  1908. JointHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1909. JointHandleAweld=weld(m,JointConnectorA,JointHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, -5.91278076e-005, -9.53674316e-007, 0.999986649, 1.01844921e-011, 6.03297412e-011, -1.24528582e-011, 0.999986649, 2.30521913e-009, -6.79519219e-011, -2.54792187e-009, 1))
  1910. mesh("CylinderMesh",JointHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1911. GunConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1912. GunConnectorAweld=weld(m,JointHandleA,GunConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-005, -1.10033035, -0.600126028, 0.999986649, -5.74137266e-011, -4.820222e-011, 5.51453327e-011, 0.999986649, -2.96968938e-009, 4.05803169e-011, 2.72697953e-009, 1))
  1913. mesh("CylinderMesh",GunConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1915. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000270843506, 0.701763153, 0.601624489, 0.999986649, 2.62356498e-010, 1.72325603e-008, 2.64626931e-010, -0.999986649, -1.20365556e-007, 1.72399481e-008, 1.20606614e-007, -1))
  1916. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1918. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, 0.501737595, 0.601624966, 0.999986649, 2.5675484e-010, 1.72236128e-008, 2.5902322e-010, -0.999986649, -3.20770077e-010, 1.72309988e-008, 5.63439961e-010, -1))
  1919. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1920. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1921. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000305175781, -0.901706696, -0.601625204, 0.999986649, -3.76128156e-011, 1.66311658e-008, 3.53444635e-011, 0.999986649, -4.45636417e-010, -1.66385625e-008, 2.02958539e-010, 1))
  1922. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1923. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1924. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301893234, 1.90734863e-005, -0.200528145, -3.0438152e-011, 0.999986649, 1.30145672e-010, -0.999986649, -2.81697998e-011, -3.97587518e-012, -1.15972232e-011, -3.72825326e-010, 1))
  1925. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1926. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, 0.49947238, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1927. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1928. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, -0.900527954, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1929.  
  1930. JointHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1931. JointHandleBweld=weld(m,JointConnectorB,JointHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -2.86102295e-005, -9.53674316e-007, 0.999986649, 7.93920485e-012, 4.95208874e-011, -1.02075709e-011, 0.999986649, 2.06251638e-009, -5.71430681e-011, -2.3052209e-009, 1))
  1932. mesh("CylinderMesh",JointHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1933. GunConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1934. GunConnectorBweld=weld(m,JointHandleB,GunConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.2479248e-005, 1.09965706, -0.600126028, 0.999986649, -6.42187553e-011, -7.10619341e-011, 6.19503615e-011, 0.999986649, -3.69769282e-009, 6.34394759e-011, 3.4549652e-009, 1))
  1935. mesh("CylinderMesh",GunConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1936. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1937. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-005, 0.699949265, -0.600000381, 0.999986649, -5.30060024e-011, -6.93863855e-011, 5.07376224e-011, 0.999986649, -3.23638005e-009, 6.17638718e-011, 2.99365954e-009, 1))
  1938. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1939. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000063, 0.800000012))
  1940. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.899938583, -0.600000381, 0.999986649, -5.2982993e-011, -6.49554854e-011, 5.07146408e-011, 0.999986649, -3.23178284e-009, 5.73329162e-011, 2.98905789e-009, 1))
  1941. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1942. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1943. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 0.49993515, -0.600000381, 0.999986649, -3.48823748e-011, -1.28634325e-011, 3.26140087e-011, 0.999986649, -1.29975941e-009, 5.24147392e-012, 1.05705666e-009, 1))
  1944. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1945. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1946. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298002243, 2.28881836e-005, -0.200527906, -2.9303962e-011, 0.999986649, 8.83737528e-012, -0.999986649, -2.7035596e-011, -1.70308212e-013, -7.79232234e-012, -2.51525911e-010, 1))
  1947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1948. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298007965, 2.28881836e-005, 0.499472857, -3.15723281e-011, 0.999986649, 8.81961171e-012, -0.999986649, -2.9303962e-011, 5.19134735e-012, -2.4307778e-012, -2.51514365e-010, 1))
  1949. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1950. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298036575, 1.90734863e-005, -0.900527716, -2.47674659e-011, 0.999986649, 2.51393573e-010, -0.999986649, -2.24990998e-011, -2.43050025e-012, -1.00525144e-011, -4.94083885e-010, 1))
  1951.  
  1952. GunHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1953. GunHandleAweld=weld(m,GunConnectorA,GunHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000495910645, -0.00170707703, -0.00163197517, 0.999986649, 4.22736013e-011, 1.67127983e-008, -4.45420784e-011, 0.999986649, 6.05984596e-009, -1.67201968e-008, -6.30252028e-009, 1))
  1954. mesh("CylinderMesh",GunHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1955. Barrel1B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1B",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1956. Barrel1Bweld=weld(m,GunHandleA,Barrel1B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299650192, -6.30939817, -0.0999298096, 7.04892182e-006, 0.999986649, 8.64386311e-006, -5.5855362e-006, -8.64395406e-006, 1, 0.999986649, -7.04897229e-006, 5.58554302e-006))
  1957. Barrel2B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2B",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1958. Barrel2Bweld=weld(m,GunHandleA,Barrel2B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299751282, -6.30939913, 0.110038757, 7.04892091e-006, 0.999986649, 8.64386493e-006, -5.58553575e-006, -8.64395315e-006, 1, 0.999986649, -7.04897093e-006, 5.58554211e-006))
  1959. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 4, 0.400000036))
  1960. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999755859, -3.99940777, 0.299608231, 0.999986649, 1.87717064e-011, 6.78319623e-011, -7.50084439e-011, -3.61608059e-008, 1, 2.10400725e-011, -0.999986649, -3.59122794e-008))
  1961. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1962. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  1963. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.09940839, 0.299634933, 0.999986649, 2.82321666e-011, 7.93853872e-011, -8.65618688e-011, -3.57268064e-008, 1, 3.05005743e-011, -0.999986649, -3.5439804e-008))
  1964. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1965. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  1966. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.103290558, -5.0994072, 0.299604416, 0.999986649, 2.4718419e-010, 1.99356975e-009, -2.00068051e-009, -5.15729184e-008, 1, 2.49452597e-010, -0.999986649, -5.13267508e-008))
  1967. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  1969. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.69940782, 0.299634933, 0.999986649, 2.82321805e-011, 7.93853872e-011, -8.65618688e-011, -3.57193741e-008, 1, 3.05005604e-011, -0.999986649, -3.54472363e-008))
  1970. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1971. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1972. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29961586, -0.200057983, 3.79895067, 2.13912638e-011, -0.999986649, -6.56187495e-008, -0.999986649, -1.91228977e-011, -5.76907411e-011, 6.48689991e-011, 6.58733015e-008, -1))
  1973. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1974. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  1975. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10005188, -2.29933381, 0.299648285, 0.999986649, 2.75553191e-011, 7.10276282e-011, -7.82041099e-011, -3.55043284e-008, 1, 2.98236852e-011, -0.999986649, -3.52535992e-008))
  1976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.400000006, 0.420000017))
  1977. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105106354, -5.79940701, 0.299518585, 0.999986649, 3.70316972e-011, 1.00063957e-010, -1.07240439e-010, -3.55386618e-008, 1, 3.93000354e-011, -0.999986649, -3.52837048e-008))
  1978. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.599999964))
  1980. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.2996521, -0.299938202, 2.49895358, 5.95576388e-008, 0.999986649, -3.29861848e-007, 0.999986649, -5.95598699e-008, 1.04771942e-007, 1.04777698e-007, -3.29583315e-007, -1))
  1981. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033))
  1983. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10004425, -6.09940624, 0.299728394, 0.999986649, 4.31236297e-011, 1.27535316e-010, -1.34711797e-010, -3.54994683e-008, 1, 4.53919818e-011, -0.999986649, -3.52445113e-008))
  1984. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 4, 0.200000033))
  1986. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100036621, -3.99940777, 0.299730301, 0.999986649, 4.15442264e-011, 1.24748212e-010, -1.31924693e-010, -3.54412393e-008, 1, 4.38125786e-011, -0.999986649, -3.51862823e-008))
  1987. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1988. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.599999964))
  1989. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299654007, -6.10351563e-005, 1.30104566, -1.30056219e-006, 0.999986649, -1.09659254e-006, -0.999986351, -1.30056003e-006, -2.5342942e-007, -2.53433171e-007, 1.09625705e-006, 0.999999702))
  1990. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1991. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.599999964))
  1992. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299655914, -0.399936676, 1.30104542, 1.31132742e-006, -0.999986529, 1.10181782e-006, 0.999986172, 1.35602795e-006, 2.03000127e-007, -2.03004603e-007, 1.10145118e-006, 0.999999702))
  1993. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1994. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000072, 0.400000095, 0.800000012))
  1995. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.39940763, 0.299631119, 0.999986649, 2.93663704e-011, 8.29771807e-011, -9.01501096e-011, -3.58695225e-008, 1, 3.16347365e-011, -0.999986649, -3.55525174e-008))
  1996. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1997. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1998. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299638748, 4.57763672e-005, 3.79895139, 5.95718248e-008, 0.999977767, -3.29568849e-007, 0.999977767, -5.9575239e-008, 1.0476812e-007, 1.04775012e-007, -3.29288326e-007, -1))
  1999. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2000. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000095))
  2001. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299846649, -0.299566269, -1.99945617, 0.999986649, 1.37982542e-011, 5.55164803e-011, -1.60665647e-011, 0.999986649, 5.41747536e-009, -6.26894092e-011, -5.6728342e-009, 1))
  2002. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.800000012))
  2003. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.09998703, -6.09940815, 0.299606323, 0.999986649, 2.55307581e-011, 8.1385565e-011, -8.85584939e-011, -3.59121159e-008, 1, 2.77990686e-011, -0.999986649, -3.56571626e-008))
  2004. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2005. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  2006. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105091095, -4.0994091, 0.299537659, 0.999977767, 3.94622668e-011, 1.05954356e-010, -1.15194965e-010, -3.5688295e-008, 1, 4.29140057e-011, -0.999977767, -3.54158836e-008))
  2007. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2008. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 2))
  2009. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999565125, -0.299642563, 0.000543832779, 0.999986649, 2.77870227e-011, 7.3027806e-011, -3.00553471e-011, 0.999986649, 5.58665203e-009, -8.02007349e-011, -5.83997073e-009, 1))
  2010. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  2011. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299556732, -2.59933615, -0.69916153, 1.6257079e-010, -0.999993324, -1.67127823e-009, 4.52045246e-009, -1.79694659e-009, 1, -0.999993324, -1.61436628e-010, 4.52407178e-009))
  2012. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9944765",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 0.440000027, 1))
  2013. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.399999857, 0.240000039))
  2014. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0899353027, -5.79940748, 0.299671173, 0.999986649, 4.13125367e-011, 1.22746258e-010, -1.29922739e-010, -3.55472736e-008, 1, 4.35809028e-011, -0.999986649, -3.5296388e-008))
  2015. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2016. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  2017. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0899467468, -4.09941006, 0.299654007, 0.999986649, 3.59194202e-011, 1.14781074e-010, -1.21957555e-010, -3.60487249e-008, 1, 3.81877863e-011, -0.999986649, -3.579785e-008))
  2018. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2019. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  2020. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0910987854, -5.0994072, 0.299730301, 0.999986649, 2.46745208e-010, 2.0127402e-009, -2.01985095e-009, -5.18812868e-008, 1, 2.49013615e-010, -0.999986649, -5.1637155e-008))
  2021. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2022. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  2023. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499950409, -1.29932857, 0.299531937, 0.999986649, 1.50425006e-010, 1.78168413e-009, -1.78883752e-009, -5.6819303e-008, 1, 1.52693469e-010, -0.999986649, -5.65730751e-008))
  2024. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  2025. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299625397, -0.400112152, 2.69894886, 1.28948019e-010, -0.999986649, -4.97068584e-007, -0.999986649, -1.26930494e-010, 5.04395871e-007, -5.04382001e-007, 4.97311134e-007, -1))
  2026. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2027. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000036, 0.599999964))
  2028. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299612045, -0.50005722, 0.301045656, -1.25586371e-006, 0.999986649, -1.09769735e-006, -0.999986649, -1.25586166e-006, -2.53439595e-007, -2.53444767e-007, 1.09743087e-006, 1))
  2029. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2030. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.5999999, 0.400000036))
  2031. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699977875, -1.29938722, 0.299581528, 0.999986649, 3.30914324e-011, 9.33244593e-011, -1.00529363e-010, -3.58384717e-008, 1, 3.53800877e-011, -0.999986649, -3.55875578e-008))
  2032. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2033. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000036, 0.399999857, 0.400000036))
  2034. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699893951, -2.59933877, 0.2995224, 0.999986649, 3.47104429e-011, 1.21461952e-010, -1.28638433e-010, -3.68895847e-008, 1, 3.69788089e-011, -0.999986649, -3.66408948e-008))
  2035. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2036. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  2037. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999526978, -6.10440731, 0.299612045, 0.999986649, 4.19847213e-011, 1.15514709e-010, -1.22691191e-010, -3.73906026e-008, 1, 4.42530734e-011, -0.999986649, -3.71397419e-008))
  2038. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2039. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.210000008, 0.200000033))
  2040. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100048065, -6.10440731, 0.29970932, 0.999986649, 3.88416105e-011, 1.19168675e-010, -1.26345157e-010, -3.58849448e-008, 1, 4.11099904e-011, -0.999986649, -3.56340664e-008))
  2041. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.620000005))
  2042.  
  2043. GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  2044. GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.19616699e-005, -7.62939453e-006, -1.66893005e-006, 0.999986649, 1.24759092e-011, 7.23904825e-011, -1.47443169e-011, 0.999986649, 2.54799559e-009, -8.00138289e-011, -2.79077916e-009, 1))
  2045. mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2046. Barrel3B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel3B",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2047. Barrel3Bweld=weld(m,GunHandleB,Barrel3B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298568726, -6.3110342, 0.109573364, 7.04887543e-006, 0.999986649, 8.64993217e-006, -5.60172384e-006, -8.65001311e-006, 1, 0.999986649, -7.04892591e-006, 5.60173248e-006))
  2048. Barrel4B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4B",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  2049. Barrel4Bweld=weld(m,GunHandleB,Barrel4B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298635483, -6.31103134, -0.10042572, 7.04887498e-006, 0.999986649, 8.64966933e-006, -5.60180706e-006, -8.64975755e-006, 1, 0.999986649, -7.04892545e-006, 5.60181343e-006))
  2050. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  2051. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300489426, -2.59933567, -0.699710846, 2.66085681e-010, -0.999993324, -1.69247603e-008, -3.04048804e-008, -1.70460215e-008, 1, -0.999993324, -2.64950978e-010, -3.04012708e-008))
  2052. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9944765",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 0.440000027, 1))
  2053. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  2054. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100124359, -6.10440683, -0.300443649, 0.999986649, 1.39920048e-010, 3.49109297e-010, -3.54513918e-010, -5.19872998e-008, 1, 1.42181072e-010, -0.999986649, -5.17518686e-008))
  2055. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2056. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000072, 0.400000095, 0.800000012))
  2057. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300243378, -1.39940548, -0.300363541, 0.999986649, 1.51865548e-010, 3.62255059e-010, -3.67659569e-010, -4.92494365e-008, 1, 1.54126545e-010, -0.999986649, -4.90139769e-008))
  2058. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2059. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.5999999, 0.400000036))
  2060. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699794769, -1.299366, -0.300420761, 0.999986649, 1.22327856e-010, 3.10851983e-010, -3.16283805e-010, -4.91525753e-008, 1, 1.24598942e-010, -0.999986649, -4.89167107e-008))
  2061. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2062. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033))
  2063. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998840332, -6.09941149, -0.300338745, 0.999986649, 1.75362419e-010, -3.21161819e-010, 3.15980297e-010, -5.09166682e-008, 1, 1.77860865e-010, -0.999986649, -5.06810736e-008))
  2064. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2065. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  2066. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300373077, -0.000152587891, 3.79894924, 5.94459806e-008, 0.999993324, -3.15209547e-007, 0.999993324, -5.94470819e-008, 1.05053815e-007, 1.05056905e-007, -3.15086055e-007, -1))
  2067. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2068. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 4, 0.200000033))
  2069. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998573303, -3.99940681, -0.300294876, 0.999986649, 1.62245842e-010, 4.01816996e-010, -4.09433931e-010, -5.10763698e-008, 1, 1.64514263e-010, -0.999986649, -5.08343021e-008))
  2070. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2071. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.400000036, 0.399999857, 0.400000036))
  2072. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699703217, -2.5993371, -0.300477982, 0.999986649, 1.59587107e-010, 3.70679432e-010, -3.7608372e-010, -5.124447e-008, 1, 1.61855473e-010, -0.999986649, -5.10089535e-008))
  2073. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2074. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.599999964))
  2075. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300346375, 7.62939453e-005, 1.30104756, -1.25599331e-006, 0.999986649, -1.08324866e-006, -0.999986649, -1.25599138e-006, -2.53723101e-007, -2.53726483e-007, 1.08299741e-006, 1))
  2076. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2077. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  2078. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897331238, -4.09940767, -0.300321579, 0.999986649, 1.75541956e-010, 4.23136887e-010, -4.28540536e-010, -4.99766983e-008, 1, 1.77802967e-010, -0.999986649, -4.97412458e-008))
  2079. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2080. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  2081. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300380707, -0.399925232, 2.69894695, 2.54958943e-010, -0.999986649, -5.11322526e-007, -0.999986649, -2.52948495e-010, 5.04145078e-007, -5.0413297e-007, 5.11551889e-007, -1))
  2082. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2083. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  2084. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0896949768, -5.09941053, -0.300304413, 0.999986649, 2.16437007e-010, 5.04708164e-010, -5.10111731e-010, -4.76247095e-008, 1, 2.18473767e-010, -0.999986649, -4.74842494e-008))
  2085. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2086. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  2087. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499893188, -1.29933453, -0.30043602, 0.999986649, 1.24942667e-010, 3.0064895e-010, -3.06080966e-010, -4.97747621e-008, 1, 1.2721374e-010, -0.999986649, -4.95389116e-008))
  2088. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  2089. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105361938, -5.09940863, -0.300439835, 0.999986649, 2.19144619e-010, 4.92763108e-010, -4.98166786e-010, -4.75694506e-008, 1, 2.21181351e-010, -0.999986649, -4.74289905e-008))
  2090. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2091. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000036, 0.599999964))
  2092. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300424576, -0.499774933, 0.301050901, -1.16660328e-006, 0.999986649, -1.08499785e-006, -0.999986649, -1.16660124e-006, -2.5373717e-007, -2.53740467e-007, 1.08474649e-006, 1))
  2093. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2094. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  2095. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.30022049, -1.09940672, -0.300344467, 0.999986649, 1.32488548e-010, 3.23731736e-010, -3.29136274e-010, -4.74834252e-008, 1, 1.34745423e-010, -0.999986649, -4.72433328e-008))
  2096. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2097. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  2098. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105297089, -4.09940767, -0.30047226, 0.999993324, 1.69849676e-010, 3.96380623e-010, -4.0018916e-010, -4.98077881e-008, 1, 1.70983894e-010, -0.999993324, -4.96867543e-008))
  2099. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2100. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 2))
  2101. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100025177, 0.300323486, 0.000544548035, 0.999986649, 1.76003934e-011, 4.28246882e-011, -1.9868801e-011, 0.999986649, 1.89625915e-009, -5.04464248e-011, -2.13898055e-009, 1))
  2102. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.420000017, 0.399999857, 0.240000039))
  2103. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897445679, -5.79940653, -0.300327301, 0.999986649, 1.55701896e-010, 3.90041111e-010, -3.97658184e-010, -5.18663867e-008, 1, 1.5797029e-010, -0.999986649, -5.16243261e-008))
  2104. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2105. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  2106. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300367355, -0.199840546, 3.79894853, 1.59872254e-010, -0.999986649, -7.96914179e-008, -0.999986649, -1.57611257e-010, -3.62458841e-010, 3.67863295e-010, 7.99264726e-008, -1))
  2107. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2108. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  2109. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998916626, -2.29933071, -0.300395966, 0.999986649, 1.41108e-010, 3.18053445e-010, -3.23485155e-010, -5.00977677e-008, 1, 1.43379086e-010, -0.999986649, -4.98619173e-008))
  2110. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000095))
  2111. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300045013, 0.300441742, -1.99945283, 0.999986649, 1.41472348e-010, 3.41166845e-010, -1.43733345e-010, 0.999986649, 1.990154e-008, -3.46571577e-010, -2.0137394e-008, 1))
  2112. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.800000012))
  2113. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100158691, -6.09941149, -0.300437927, 0.999986649, 1.56263169e-010, -7.46887552e-011, 6.95088431e-011, -5.0951229e-008, 1, 1.58761615e-010, -0.999986649, -5.07156344e-008))
  2114. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2115. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.410000026, 0.400000006, 0.420000017))
  2116. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105251312, -5.79940557, -0.300508499, 0.999986649, 1.52321961e-010, 3.68549413e-010, -3.76166764e-010, -5.18612779e-008, 1, 1.54590341e-010, -0.999986649, -5.16192173e-008))
  2117. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2118. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.599999964))
  2119. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300346375, -0.400138855, 1.30104756, 1.31146123e-006, -0.999986529, 1.0877593e-006, 0.999986172, 1.35616187e-006, 2.03296949e-007, -2.03299621e-007, 1.08741017e-006, 0.999999702))
  2120. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2121. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 4, 0.400000036))
  2122. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.10011673, -3.99940634, -0.300430298, 0.999986649, 1.33827005e-010, 3.36718153e-010, -3.44335921e-010, -5.2595162e-008, 1, 1.36095413e-010, -0.999986649, -5.23531156e-008))
  2123. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2124. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  2125. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300197601, -1.69940472, -0.300382614, 0.999986649, 1.56137825e-010, 3.67033265e-010, -3.72437692e-010, -5.02825515e-008, 1, 1.58399002e-010, -0.999986649, -4.98551174e-008))
  2126. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2127. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.599999964))
  2128. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300363541, -0.300140381, 2.49895048, 5.94261316e-008, 0.999986649, -3.15601568e-007, 0.999986649, -5.9428352e-008, 1.05065951e-007, 1.05069944e-007, -3.15336081e-007, -1))
  2129. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2130. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.210000008, 0.200000033))
  2131. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998954773, -6.10440683, -0.300350189, 0.999986649, 1.26621949e-010, 3.31786959e-010, -3.39404865e-010, -5.15411713e-008, 1, 1.28890357e-010, -0.999986649, -5.12991107e-008))
  2132. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.620000005))
  2133.  
  2134. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  2135. for _,c in pairs(workspace:children()) do
  2136. local hum=c:findFirstChild("Humanoid")
  2137. if hum~=nil then
  2138. local head=c:findFirstChild("Torso")
  2139. if head~=nil then
  2140. local targ=head.Position-Part.Position
  2141. local mag=targ.magnitude
  2142. if mag<=magni and c.Name~=Player.Name then
  2143. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  2144. end
  2145. end
  2146. end
  2147. end
  2148. end
  2149.  
  2150. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2151. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  2152. prt.Anchored=true
  2153. prt.CFrame=cframe
  2154. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  2155. game:GetService("Debris"):AddItem(prt,2)
  2156. coroutine.resume(coroutine.create(function(Part,Mesh)
  2157. for i=0,1,delay do
  2158. swait()
  2159. Part.CFrame=Part.CFrame
  2160. Part.Transparency=i
  2161. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2162. end
  2163. Part.Parent=nil
  2164. end),prt,msh)
  2165. end
  2166.  
  2167. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2168. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2169. prt.Anchored=true
  2170. prt.CFrame=cframe
  2171. prt.CanCollide = false
  2172. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2173. game:GetService("Debris"):AddItem(prt,2)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. for i=0,1,delay do
  2176. swait()
  2177. Part.CFrame=Part.CFrame
  2178. Part.Transparency=i
  2179. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2180. end
  2181. Part.Parent=nil
  2182. end),prt,msh)
  2183. end
  2184.  
  2185. function LaserBarrage(Prt,Parent)
  2186. attack=true
  2187. --so("BeamLockon",Prt,1,1)
  2188. local efprt=part(3,Parent,"Neon",0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  2189. efprt.Anchored=true
  2190. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  2191. local spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-mouse.Hit.p).magnitude/100
  2192. --spread=vt(0,0,0)
  2193. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  2194. game:GetService("Debris"):AddItem(Part,6)
  2195. local TheHit=mouse.Hit.p
  2196. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  2197. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  2198. so("Elec",Prt,0.2,1)
  2199. local tefprt=part(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  2200. tefprt.CFrame=cf(pos)
  2201. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  2202. so("Elec",tefprt,0.3,1)
  2203. game:GetService("Debris"):AddItem(tefprt,3)
  2204. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  2205. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  2206. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  2207. hit.Parent.Humanoid:TakeDamage(15)
  2208. MagniDamage(efprt,hit,20,10,20,30,"Normal")
  2209. end
  2210. end
  2211. local mag=(Prt.Position-pos).magnitude
  2212. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  2213. Part.Parent=nil
  2214. end),efprt,efmsh,spread)
  2215. end
  2216.  
  2217. function attackone()
  2218. attack = true
  2219. for i = 0,1,0.1 do
  2220. swait()
  2221. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2222. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2223. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  2224. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  2225. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2226. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2227. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2228. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2229. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2230. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2231. end
  2232. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  2233. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  2234. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  2235. ShootCannon(Barrel2A)
  2236. ShootCannon(Barrel1A)
  2237. ShootCannon(Barrel3A)
  2238. for i = 0,1,0.1 do
  2239. swait()
  2240. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2241. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-3),math.rad(3),math.rad(-50)),.3)
  2242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(130)), 0.3)
  2243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-50)), 0.3)
  2244. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2245. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2246. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2247. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2248. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2249. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2250. end
  2251. attack = false
  2252. end
  2253.  
  2254. function attacktwo()
  2255. attack = true
  2256. for i = 0,1,0.1 do
  2257. swait()
  2258. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2259. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2260. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  2261. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  2262. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  2263. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2264. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2265. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2266. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2267. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2268. end
  2269. so("http://roblox.com/asset/?id=268192025",Barrel5A,1,1)
  2270. so("http://roblox.com/asset/?id=268191996",Barrel5A,1,1)
  2271. so("http://roblox.com/asset/?id=268191976",Barrel5A,1,1)
  2272. ShootCannon(Barrel5A)
  2273. ShootCannon(Barrel4A)
  2274. ShootCannon(Barrel6A)
  2275. for i = 0,1,0.1 do
  2276. swait()
  2277. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2278. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2279. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  2280. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  2281. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  2282. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2283. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2284. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2285. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2286. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2287. end
  2288. attack = false
  2289. end
  2290.  
  2291. local Effects={}
  2292. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2293. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  2294. prt.Anchored=true
  2295. prt.CFrame=cframe
  2296. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2297. game:GetService("Debris"):AddItem(prt,5)
  2298. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  2299. end
  2300.  
  2301. function MagicCylinder2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2302. local prt=part(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  2303. prt.Anchored=true
  2304. prt.CFrame=cframe
  2305. msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2306. game:GetService("Debris"):AddItem(prt,5)
  2307. --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  2308. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  2309. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  2310. for i=0,1,delay do
  2311. wait()
  2312. Part.CFrame=Part.CFrame
  2313. Part.Transparency=i
  2314. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2315. end
  2316. Part.Parent=nil
  2317. end),prt,msh)]]
  2318. end
  2319.  
  2320. RocketTarget = RootPart
  2321. function ShootCannon(asd)
  2322. so("rbxassetid://834546352",asd,.5,1)
  2323. so("rbxassetid://263610152",asd,.5,1)
  2324. so("rbxassetid://263623139",asd,.5,1)
  2325. local MainPos=asd.Position
  2326. local MainPos2=mouse.Hit.p
  2327. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  2328. --[[local mag=(MainPos-pos).magnitude
  2329. MagicCylinder(BrickColor.new("Neon"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  2330. num=30
  2331. coroutine.resume(coroutine.create(function()
  2332. repeat
  2333. wait()
  2334. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  2335. local mag=(MainPos-pos).magnitude
  2336. MagicCylinder2(BrickColor.new("Really red"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  2337. MainPos=MainPos+(MouseLook.lookVector*10)
  2338. num=num-1
  2339. if hit~=nil then
  2340. num=0
  2341. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Really red"),"Reference",vt())
  2342. ref.Anchored=true
  2343. ref.CFrame=cf(pos)
  2344. MagniDamage(ref,hit,1,30,50,1,"Normal")
  2345. so("rbxassetid://263610039",ref,1,1)
  2346. so("rbxassetid://263610111",ref,1,1)
  2347. MagicBlock(BrickColor.new("Really red"),cf(pos),20,20,20,5,5,5,0.05)
  2348. game:GetService("Debris"):AddItem(ref,1)
  2349. MagniDamage(ref,ref,15,10,20,10,"Normal")
  2350. end
  2351. until num<=0
  2352. end))
  2353. end
  2354.  
  2355. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2356. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2357. prt.Anchored=true
  2358. prt.CFrame=cframe
  2359. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  2360. game:GetService("Debris"):AddItem(prt,2)
  2361. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  2362. for i=0,1,delay do
  2363. swait()
  2364. Part.Transparency=i
  2365. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2366. end
  2367. Part.Parent=nil
  2368. end),prt,msh,(math.random(0,1)+math.random())/5)
  2369. end
  2370.  
  2371. deeznuts = true
  2372.  
  2373. function BeamBlast()
  2374. if deeznuts==true then
  2375. deeznuts=false
  2376. attack = true
  2377. local n=2
  2378. for i = 0,1,0.05 do
  2379. swait()
  2380. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.5)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2381. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2382. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(100)), 0.3)
  2383. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-100)), 0.3)
  2384. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2385. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2386. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3)
  2387. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3)
  2388. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2389. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2390. end
  2391. local orb=part(3,Character,"Neon",0,1,BrickColor.new("Really red"),"Orb",vt())
  2392. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  2393. local owld=weld(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0))
  2394. so("http://roblox.com/asset/?id=169445572",orb,1,0.9)
  2395. so("http://roblox.com/asset/?id=169380495",orb,1,0.6)
  2396. so("http://roblox.com/asset/?id=203691346",orb,1,0.9)
  2397. for i=1,0.3,-0.01 do
  2398. wait()
  2399. orb.Transparency=i
  2400. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  2401. MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  2402. local ef=part(3,workspace,"Neon",0,0,BrickColor.new("Really red"),"Effect",vt())
  2403. ef.Anchored=true
  2404. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  2405. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  2406. ef.CFrame=orb.CFrame*ceef
  2407. game:GetService("Debris"):AddItem(ef,2)
  2408. coroutine.resume(coroutine.create(function(Part,Mesh)
  2409. for i=0,1,0.1 do
  2410. wait()
  2411. Part.Transparency=i
  2412. Part.CFrame=Part.CFrame*cf(0,-1,0)
  2413. end
  2414. Part.Parent=nil
  2415. end),ef,emsh)
  2416. end
  2417. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  2418. wait(.5)
  2419. orb.Parent=nil
  2420. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  2421. local mag=(orb.Position-pos).magnitude
  2422. MagicCircle(BrickColor.new("Really red"),cf(pos),15,15,15,8,8,8,0.02)
  2423. MagicBlock(BrickColor.new("Really red"),cf(pos),15,15,15,8,8,8,0.02)
  2424. MagicCylinder(BrickColor.new("Really red"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  2425. for i=1,2 do
  2426. MagicRing(BrickColor.new("Really red"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04)
  2427. end
  2428. for i=1,5 do
  2429. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  2430. MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  2431. end
  2432. for i=0,5 do
  2433. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  2434. MagicRing(BrickColor.new("Really red"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  2435. end
  2436. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Really black"),"Effect",vt())
  2437. ref.CFrame=cf(pos)
  2438. so("http://roblox.com/asset/?id=203691378",Torso,1,0.7)
  2439. so("http://roblox.com/asset/?id=169445602",Torso,1,0.7)
  2440. so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8)
  2441. coroutine.resume(coroutine.create(function(Part)
  2442. Part.Parent=nil
  2443. end),ref)
  2444. if hit~=nil then
  2445. MagniDamage(Part,hit,1000,900,1000,0,"Normal")
  2446. end
  2447. local n=2
  2448. for i = 0,1,0.03 do
  2449. swait()
  2450. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.5)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2451. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2452. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(150)), 0.3)
  2453. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(-150)), 0.3)
  2454. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(-30))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2455. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2456. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-50),math.rad(0)),.3)
  2457. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-50),math.rad(0)),.3)
  2458. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2459. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2460. end
  2461. deeznuts=true
  2462. end
  2463. attack = false
  2464. end
  2465.  
  2466.  
  2467. function QuadHailShot()
  2468. attack = true
  2469. Torso.Velocity=vt(0,200,0)
  2470. so("http://roblox.com/asset/?id=199145327",Torso,1,1)
  2471. for i = 0,1,0.1 do
  2472. swait()
  2473. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(-6*i,math.rad(0),math.rad(0)),.3)
  2474. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2475. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  2476. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(150), math.rad(-0), math.rad(-0)), 0.3)
  2477. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2478. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2479. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3)
  2480. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3)
  2481. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2482. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2483. end
  2484. ShootCannon(Barrel2A)
  2485. ShootCannon(Barrel5A)
  2486. so("http://roblox.com/asset/?id=203691837",Torso,1,1)
  2487. so("http://roblox.com/asset/?id=203691653",Torso,1,1)
  2488. so("http://www.roblox.com/asset/?id=138083993",Torso,1,.8)
  2489. for i = 1,10 do
  2490. LaserBarrage(Barrel1B)
  2491. LaserBarrage(Barrel3B)
  2492. LaserBarrage(Barrel2B)
  2493. LaserBarrage(Barrel4B)
  2494. --LaserBarrage(Barrel3B)
  2495. --LaserBarrage(Barrel4B)
  2496. end
  2497. for i = 0,1,0.1 do
  2498. swait()
  2499. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2500. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2501. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2502. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.3)
  2503. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2504. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2505. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-10),math.rad(0)),.3)
  2506. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-10),math.rad(0)),.3)
  2507. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2508. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2509. end
  2510. attack = false
  2511. end
  2512.  
  2513. mouse.Button1Down:connect(function()
  2514. if attack == false and attacktype == 1 then
  2515. attacktype = 2
  2516. attackone()
  2517. elseif attack == false and attacktype == 2 then
  2518. attacktype = 1
  2519. attacktwo()
  2520. end
  2521. end)
  2522.  
  2523. mouse.KeyDown:connect(function(k)
  2524. k=k:lower()
  2525. if attack == false and k == 'q' then
  2526. BeamBlast()
  2527. elseif attack == false and k == 'e' then
  2528. QuadHailShot()
  2529. end
  2530. end)
  2531.  
  2532.  
  2533.  
  2534.  
  2535. local sine = 0
  2536. local change = 1
  2537. local val = 0
  2538.  
  2539. while true do
  2540. swait()
  2541. sine = sine + change
  2542. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2543. local velderp=RootPart.Velocity.y
  2544. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2545. if equipped==true or equipped==false then
  2546. if attack==false then
  2547. idle=idle+1
  2548. else
  2549. idle=0
  2550. end
  2551. if idle>=500 then
  2552. if attack==false then
  2553. end
  2554. end
  2555. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2556. Anim="Jump"
  2557. if attack==false then
  2558. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2559. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2560. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3)
  2561. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  2562. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2563. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2564. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2565. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2566. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2567. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2568. end
  2569. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2570. Anim="Fall"
  2571. if attack==false then
  2572. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2573. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  2574. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.3)
  2575. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  2576. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  2577. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20)),.3)
  2578. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2579. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2580. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2581. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2582. end
  2583. elseif torvel<1 and hitfloor~=nil then
  2584. Anim="Idle"
  2585. if attack==false then
  2586. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.3)* angles(math.rad(20),math.rad(0),math.rad(10)),.3)
  2587. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-10)),.3)
  2588. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2589. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(20)), 0.3)
  2590. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  2591. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-100),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2592. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2593. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2594. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2595. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2596. end
  2597. elseif torvel>2 and hitfloor~=nil then
  2598. Anim="Walk"
  2599. if attack==false then
  2600. change=3
  2601. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  2602. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2603. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  2604. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3)
  2605. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2606. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2607. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2608. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2609. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2610. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  2611. end
  2612. end
  2613. end
  2614. if #Effects>0 then
  2615. for e=1,#Effects do
  2616. if Effects[e]~=nil then
  2617. local Thing=Effects[e]
  2618. if Thing~=nil then
  2619. local Part=Thing[1]
  2620. local Mode=Thing[2]
  2621. local Delay=Thing[3]
  2622. local IncX=Thing[4]
  2623. local IncY=Thing[5]
  2624. local IncZ=Thing[6]
  2625. if Thing[1].Transparency<=1 then
  2626. if Thing[2]=="Block1" then
  2627. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2628. Mesh=Thing[1].Mesh
  2629. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2630. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2631. elseif Thing[2]=="Cylinder" then
  2632. Mesh=Thing[1].Mesh
  2633. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2634. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2635. elseif Thing[2]=="Blood" then
  2636. Mesh=Thing[7]
  2637. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2638. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2639. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2640. elseif Thing[2]=="Elec" then
  2641. Mesh=Thing[1].Mesh
  2642. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2643. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2644. elseif Thing[2]=="Disappear" then
  2645. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2646. end
  2647. else
  2648. Part.Parent=nil
  2649. table.remove(Effects,e)
  2650. end
  2651. end
  2652. end
  2653. end
  2654. end
  2655. end
  2656. end
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662. ----------------------------------------------------newblast
  2663. function weld5(part0, part1, c0, c1)
  2664. weeld=Instance.new("Weld", part0)
  2665. weeld.Part0=part0
  2666. weeld.Part1=part1
  2667. weeld.C0=c0
  2668. weeld.C1=c1
  2669. return weeld
  2670. end
  2671.  
  2672.  
  2673. Debounces = {
  2674. CanAttack = true;
  2675. CanJoke = true;
  2676. NoIdl = false;
  2677. Slashing = false;
  2678. Slashed = false;
  2679. Slapping = false;
  2680. Slapped = false;
  2681. ks = false;
  2682. }
  2683.  
  2684. local char = p.Character
  2685.  
  2686. local Touche = {char.Name, }
  2687.  
  2688.  
  2689. local larm = char["Left Arm"]
  2690. local rarm = char["Right Arm"]
  2691. local lleg = char["Left Leg"]
  2692. local rleg = char["Right Leg"]
  2693. local hed = char.Head
  2694. local torso = char.Torso
  2695. local hum = char.Humanoid
  2696.  
  2697.  
  2698. mouse.KeyDown:connect(function(key)
  2699. if key == "x" then
  2700. if Debounces.CanAttack == true then
  2701. Debounces.CanAttack = false
  2702. Debounces.on = true
  2703. Debounces.NoIdl = true
  2704. animpose = "Idle1"
  2705. for i = 1, 15 do
  2706. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2707. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2708. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2709. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2710. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2711. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2712. if Debounces.on == false then break end
  2713. rs:wait(2.7)
  2714. end
  2715. so("http://roblox.com/asset/?id=231917788",hed,1,0.7)
  2716. x = Instance.new("Sound",char.Head)
  2717. x.SoundId = "rbxassetid://183763515"
  2718. x.Pitch = 0.7
  2719. x.Volume = .8
  2720. x3 = Instance.new("Sound",char.Head)
  2721. x3.SoundId = "rbxassetid://183763487"
  2722. x3.Pitch = 1
  2723. x3.Volume = .8
  2724. wait(.1)
  2725. x:Play()
  2726. x3:Play()
  2727.  
  2728. if holy == true then
  2729. so("http://roblox.com/asset/?id=233091161",hed,1,0.6)
  2730. so("http://roblox.com/asset/?id=2233091183",hed,1,1)
  2731. else
  2732. end
  2733.  
  2734. Debounces.on = false
  2735. Debounces.Here = false
  2736. shot = shot + 1
  2737. local rng = Instance.new("Part", larm)
  2738. rng.Anchored = true
  2739.  
  2740. if holy ~= true then
  2741. rng.BrickColor = BrickColor.new("Really black")
  2742. else
  2743. rng.BrickColor = BrickColor.new("Crimson")
  2744. end
  2745.  
  2746. rng.Material = "Granite"
  2747. rng.CanCollide = false
  2748. rng.FormFactor = 3
  2749. rng.Name = "Ring"
  2750. rng.Size = Vector3.new(1, 1, 1)
  2751. rng.Transparency = 0.35
  2752. rng.TopSurface = 0
  2753. rng.BottomSurface = 0
  2754. rng2 = rng:clone()
  2755. rng3 = rng2:clone()
  2756. rng4 = rng2:clone()
  2757. local rngm = Instance.new("SpecialMesh", rng)
  2758. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2759. rngm.Scale = Vector3.new(10, 10, 1)
  2760. rngm2 = rngm:clone()
  2761. rngm2.Scale = Vector3.new(5, 5, 3)
  2762. rngm3=rngm2:clone()
  2763. rngm3.Parent = rng3
  2764. rngm3.Scale = Vector3.new(8, 8, 1)
  2765. rngm4 = rngm2:clone()
  2766. rngm4.Parent = rng4
  2767. rngm4.Scale = Vector3.new(6, 6, 1)
  2768. local bem = Instance.new("Part", larm)
  2769. bem.Anchored = true
  2770.  
  2771. if holy == false then
  2772. bem.BrickColor = BrickColor.new("Really black")
  2773. else
  2774. bem.BrickColor = BrickColor.new("Crimson")
  2775. end
  2776.  
  2777.  
  2778. bem.CanCollide = false
  2779. bem.Material = "Granite"
  2780. bem.FormFactor = 3
  2781. bem.Name = "Beam" .. shot
  2782. bem.Size = Vector3.new(1, 1, 1)
  2783. bem.Transparency = 0.35
  2784. bem.TopSurface = 0
  2785. bem.BottomSurface = 0
  2786. local bemm = Instance.new("SpecialMesh", bem)
  2787. bemm.MeshType = 4
  2788. bemm.Scale = Vector3.new(1, 4, 4)
  2789. local out = Instance.new("Part", larm)
  2790. out.Anchored = true
  2791. out.Material = "Granite"
  2792.  
  2793. if holy == false then
  2794. out.BrickColor = BrickColor.new("Really black")
  2795. else
  2796. out.BrickColor = BrickColor.new("Crimson")
  2797. end
  2798.  
  2799. out.CanCollide = false
  2800. out.FormFactor = 3
  2801. out.Name = "Out"
  2802. out.Size = Vector3.new(4, 4, 4)
  2803. out.Transparency = 0.35
  2804. out.TopSurface = 0
  2805. out.BottomSurface = 0
  2806. local outm = Instance.new("SpecialMesh", out)
  2807. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2808. outm.Scale = Vector3.new(6, 4, 6)
  2809. local bnd = Instance.new("Part", larm)
  2810. bnd.Anchored = true
  2811. bnd.BrickColor = BrickColor.new("Really red")
  2812. bnd.CanCollide = false
  2813. bnd.FormFactor = 3
  2814. bnd.Name = "Bend"
  2815. bnd.Size = Vector3.new(1, 1, 1)
  2816. bnd.Transparency = 1
  2817. bnd.TopSurface = 0
  2818. bnd.BottomSurface = 0
  2819. local bndm = Instance.new("SpecialMesh", bnd)
  2820. bndm.MeshType = 3
  2821. bndm.Scale = Vector3.new(8, 8, 8)
  2822. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2823. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2824. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2825. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2826. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2827. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2828. Debounces.Shewt = true
  2829. coroutine.wrap(function()
  2830. for i = 1, 20, 0.2 do
  2831. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2832. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2833. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2834. rng.Transparency = i/20
  2835. rng3.Transparency = 1/24
  2836. rng4.Transparency = i/26
  2837. wait()
  2838. end
  2839. wait()
  2840. rng:Destroy()
  2841. end)()
  2842. if Debounces.Shewt == true then
  2843. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2844. hit = ht.Parent
  2845. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2846. if HasntTouched(hit.Name) == true and deb == false then
  2847. deb = true
  2848. coroutine.wrap(function()
  2849. hit:FindFirstChild("Humanoid").PlatformStand = true
  2850. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2851. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(998,999))
  2852. end)()
  2853. table.insert(Touche, hit.Name)
  2854. deb = false
  2855. end
  2856. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2857. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2858. deb = true
  2859. coroutine.wrap(function()
  2860. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2861. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2862. wait(1)
  2863. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2864. end)()
  2865. table.insert(Touche, hit.Parent.Name)
  2866. deb = false
  2867. for i, v in pairs(Touche) do
  2868. print(v)
  2869. end
  2870. end
  2871. end
  2872. end)
  2873. end
  2874. for i = 0, 260, 8 do
  2875. bem.Size = Vector3.new(i, 3, 3)
  2876. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2877. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2878. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2879. bnd.Size = Vector3.new(1,1,1)
  2880. bndm.Scale = Vector3.new(8,8,8)
  2881. if i % 10 == 0 then
  2882. local newRng = rng2:Clone()
  2883. newRng.Parent = larm
  2884. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2885. local newRngm = rngm2:clone()
  2886. newRngm.Parent=newRng
  2887. coroutine.wrap(function()
  2888. for i = 1, 10, 0.2 do
  2889. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2890. newRng.Transparency = i/10
  2891. wait()
  2892. end
  2893. wait()
  2894. newRng:Destroy()
  2895. end)()
  2896. end
  2897. wait()
  2898. end
  2899. wait()
  2900. Debounces.Shewt = false
  2901. bem:Destroy()
  2902. out:Destroy()
  2903. bnd:Destroy()
  2904. Debounces.Ready = false
  2905. for i, v in pairs(Touche) do
  2906. table.remove(Touche, i)
  2907. end
  2908. wait()
  2909. table.insert(Touche, char.Name)
  2910. Debounces.NoIdl = false
  2911. if Debounces.CanAttack == false then
  2912. Debounces.CanAttack = true
  2913. animpose = "Idle1"
  2914. end
  2915. end
  2916. end
  2917. end)
  2918.  
  2919. ---------------------------------------------
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926. function Clawraeg()
  2927. attack = true
  2928. Player=game:GetService("Players").LocalPlayer
  2929. Character=Player.Character
  2930. PlayerGui=Player.PlayerGui
  2931. Backpack=Player.Backpack
  2932. Torso=Character.Torso
  2933. Head=Character.Head
  2934. Humanoid=Character.Humanoid
  2935. m=Instance.new('Model',Character)
  2936. LeftArm=Character["Left Arm"]
  2937. LeftLeg=Character["Left Leg"]
  2938. RightArm=Character["Right Arm"]
  2939. RightLeg=Character["Right Leg"]
  2940. LS=Torso["Left Shoulder"]
  2941. LH=Torso["Left Hip"]
  2942. RS=Torso["Right Shoulder"]
  2943. RH=Torso["Right Hip"]
  2944. Face = Head.face
  2945. Neck=Torso.Neck
  2946. it=Instance.new
  2947. attacktype=1
  2948. vt=Vector3.new
  2949. cf=CFrame.new
  2950. euler=CFrame.fromEulerAnglesXYZ
  2951. angles=CFrame.Angles
  2952. cloaked=false
  2953. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2954. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2955. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2956. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2957. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2958. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2959. RootPart=Character.HumanoidRootPart
  2960. RootJoint=RootPart.RootJoint
  2961. RootCF=euler(-1.57,0,3.14)
  2962. attack = false
  2963. attackdebounce = false
  2964. deb=false
  2965. equipped=true
  2966. hand=false
  2967. MMouse=nil
  2968. combo=0
  2969. mana=0
  2970. trispeed=1
  2971. pathtrans=.7
  2972. attackmode='none'
  2973. local idle=0
  2974. local Anim="Idle"
  2975. local Effects={}
  2976. local gun=false
  2977. local shoot=false
  2978. player=nil
  2979. cloak=false
  2980. if Humanoid.Health ~= Humanoid.MaxHealth then
  2981. Humanoid.MaxHealth = 21e+08
  2982. end
  2983.  
  2984. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  2985. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  2986. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  2987. HBill.Size = UDim2.new(15,0,2.2,0)
  2988. HBill.Name = "Health Display"
  2989. HBill.StudsOffset = Vector3.new(0,5,0)
  2990. HBill.AlwaysOnTop = true
  2991. HBill.Enabled = true
  2992. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  2993. HMain.BackgroundTransparency = 1
  2994. HMain.Size = UDim2.new(1,0,1,0)
  2995. HBarBack.Parent = HMain
  2996. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  2997. HBarBack.BorderColor3 = Color3.new(0,0,0)
  2998. HBarBack.BorderSizePixel = 2
  2999. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  3000. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  3001. HBar.Parent = HBarBack
  3002. HBar.BackgroundColor3 = Color3.new(255, 0, 0)
  3003. HBar.BorderColor3 = Color3.new(0,0,0)
  3004. HBar.Size = UDim2.new(.5,0,1,0)
  3005. HHealth.BackgroundTransparency = 1
  3006. HHealth.Size = UDim2.new(1,0,1,0)
  3007. HHealth.Font = "SourceSans"
  3008. HHealth.Text = " "
  3009. HHealth.TextScaled = true
  3010. HHealth.TextColor3 = Color3.new(1)
  3011. HHealth.TextStrokeColor3 = BrickColor.new("Really red").Color
  3012. HHealth.TextStrokeTransparency = 0
  3013. HName.Parent = HMain
  3014. HName.BackgroundTransparency = 1
  3015. HName.Size = UDim2.new(1,0,.5,0)
  3016. HName.Font = "Legacy"
  3017. HName.Text = " "
  3018. HName.TextScaled = true
  3019. HName.TextColor3 = BrickColor.new("Flame reddish orange").Color
  3020. HName.TextStrokeColor3 = Color3.new(0,0,0)
  3021. HName.TextStrokeTransparency = 0
  3022. HName.TextYAlignment = "Top"
  3023. wait(.5)
  3024.  
  3025. wait(0.1)
  3026.  
  3027. local runServ = game:GetService("RunService").RenderStepped
  3028.  
  3029. runServ:connect(function()
  3030. HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
  3031. HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
  3032. end)
  3033. spawn(function()
  3034. while wait() do
  3035. if Humanoid.MaxHealth ~= 5000 then
  3036. Humanoid.MaxHealth = 5000
  3037. Humanoid.Health = Humanoid.MaxHealth
  3038. end
  3039. end
  3040. end)
  3041.  
  3042.  
  3043. --moosic
  3044. local mooosick = it("Sound", Character.Torso)
  3045. mooosick.SoundId = "rbxassetid://158853971" --im dumb so if this dont work then ok
  3046. mooosick.Looped = true
  3047. mooosick.Pitch = 1.0
  3048. mooosick.Volume = 0.8
  3049. mooosick:Play()
  3050. --mooosic end
  3051. -- Part Color --
  3052. OutlineColor = ("Flame reddish orange")
  3053. Claw1OutlineColor = ("Flame reddish orange")
  3054. Claw2OutlineColor = ("Flame reddish orange")
  3055.  
  3056. EyeColor = Torso.BrickColor
  3057. Claw1Color = Torso.BrickColor
  3058. Claw2Color = Torso.BrickColor
  3059.  
  3060. -- Basic Particle Settings --
  3061.  
  3062. Claw1ParticleColor = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3063. Claw2ParticleColor = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3064. EyeParticleColor = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3065.  
  3066. FireDeathColor = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3067.  
  3068. Claw1ParticleTexture = "http://www.roblox.com/asset/?id=522606102"
  3069. Claw2ParticleTexture = "http://www.roblox.com/asset/?id=522606102"
  3070. EyeParticleTexture = "http://www.roblox.com/asset/?id=522606102"
  3071.  
  3072. -- Advanced Particle Settings --
  3073.  
  3074. Claw1ParticleSize = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  3075. Claw2ParticleSize = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  3076. EyeParticleSize = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  3077.  
  3078. Claw1ParticleRate = 20
  3079. Claw2ParticleRate = 20
  3080. EyeParticleRate = 20
  3081.  
  3082. Claw1ParticleSpeed = NumberRange.new(0.1)
  3083. Claw2ParticleSpeed = NumberRange.new(1)
  3084. EyeParticleSpeed = NumberRange.new(1)
  3085.  
  3086. Claw1ParticleVelocitySpread = 10
  3087. Claw2ParticleVelocitySpread = 10
  3088. EyeParticleVelocitySpread = 10
  3089.  
  3090. Claw1ParticleRotationSpeed = NumberRange.new(-45, 45)
  3091. Claw2ParticleRotationSpeed = NumberRange.new(-45, 45)
  3092. EyeParticleRotationSpeed = NumberRange.new(-45, 45)
  3093.  
  3094. Claw1ParticleRotation = NumberRange.new(-45, 45)
  3095. Claw2ParticleRotation = NumberRange.new(-45, 45)
  3096. EyeParticleRotation = NumberRange.new(-45, 45)
  3097.  
  3098. Claw1ParticleTransparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3099. Claw2ParticleTransparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3100. EyeParticleTransparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3101.  
  3102. Claw1ParticleLightEmission = 0
  3103. Claw2ParticleLightEmission = 0
  3104. EyeParticleLightEmission = 0
  3105.  
  3106. Claw1ParticleLifetime = NumberRange.new(0.5)
  3107. Claw2ParticleLifetime = NumberRange.new(0.5)
  3108. EyeParticleLifetime = NumberRange.new(0.5)
  3109.  
  3110. Claw1ParticleLockToPart = false
  3111. Claw2ParticleLockToPart = false
  3112. EyeParticleLockToPart = true
  3113.  
  3114. -- Character Light Settings --
  3115.  
  3116. LightColor = Color3.new(255,0,0)
  3117. LightBrightness = 5
  3118. LightRange = 15
  3119.  
  3120. --^-- Settings --^--
  3121.  
  3122. local fengui=it("GuiMain")
  3123. fengui.Parent=Player.PlayerGui
  3124. fengui.Name="WeaponGUI"
  3125. local fenframe=it("Frame")
  3126. fenframe.Parent=fengui
  3127. fenframe.BackgroundColor3=Color3.new(255,255,255)
  3128. fenframe.BackgroundTransparency=1
  3129. fenframe.BorderColor3=Color3.new(17,17,17)
  3130. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  3131. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  3132. local fenbarmana1=it("TextLabel")
  3133. fenbarmana1.Parent=fenframe
  3134. fenbarmana1.Text=" "
  3135. fenbarmana1.BackgroundTransparency=0
  3136. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  3137. fenbarmana1.SizeConstraint="RelativeXY"
  3138. fenbarmana1.TextXAlignment="Center"
  3139. fenbarmana1.TextYAlignment="Center"
  3140. fenbarmana1.Position=UDim2.new(0,0,0,0)
  3141. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  3142. local fenbarmana2=it("TextLabel")
  3143. fenbarmana2.Parent=fenframe
  3144. fenbarmana2.Text=" "
  3145. fenbarmana2.BackgroundTransparency=0
  3146. fenbarmana2.BackgroundColor3=EyeColor.Color
  3147. fenbarmana2.SizeConstraint="RelativeXY"
  3148. fenbarmana2.TextXAlignment="Center"
  3149. fenbarmana2.TextYAlignment="Center"
  3150. fenbarmana2.Position=UDim2.new(0,0,0,0)
  3151. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  3152. local fenbarmana3=it("TextLabel")
  3153. fenbarmana3.Parent=fenframe
  3154. fenbarmana3.Text=" "
  3155. fenbarmana3.BackgroundTransparency=0
  3156. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  3157. fenbarmana3.SizeConstraint="RelativeXY"
  3158. fenbarmana3.TextXAlignment="Center"
  3159. fenbarmana3.TextYAlignment="Center"
  3160. fenbarmana3.Position=UDim2.new(0,0,0,0)
  3161. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  3162. local fenbarmana4=it("TextLabel")
  3163. fenbarmana4.Parent=fenframe
  3164. fenbarmana4.Text="Energy("..mana..")"
  3165. fenbarmana4.BackgroundTransparency=1
  3166. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  3167. fenbarmana4.SizeConstraint="RelativeXY"
  3168. fenbarmana4.TextXAlignment="Center"
  3169. fenbarmana4.TextYAlignment="Center"
  3170. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  3171. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  3172. fenbarmana4.FontSize="Size9"
  3173. fenbarmana4.TextStrokeTransparency=0
  3174. fenbarmana4.TextColor=BrickColor.new("White")
  3175.  
  3176. mouse=Player:GetMouse()
  3177. --save shoulders
  3178. RSH, LSH=nil, nil
  3179. --welds
  3180. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3181. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3182. LH=Torso["Left Hip"]
  3183. RH=Torso["Right Hip"]
  3184. function NoOutline(Part)
  3185. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3186. end
  3187. player=Player
  3188. ch=Character
  3189. RSH=ch.Torso["Right Shoulder"]
  3190. LSH=ch.Torso["Left Shoulder"]
  3191. --
  3192. RSH.Parent=nil
  3193. LSH.Parent=nil
  3194. --
  3195. RW.Name="Right Shoulder"
  3196. RW.Part0=ch.Torso
  3197. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3198. RW.C1=cf(0, 0.5, 0)
  3199. RW.Part1=ch["Right Arm"]
  3200. RW.Parent=ch.Torso
  3201. --
  3202. LW.Name="Left Shoulder"
  3203. LW.Part0=ch.Torso
  3204. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3205. LW.C1=cf(0, 0.5, 0)
  3206. LW.Part1=ch["Left Arm"]
  3207. LW.Parent=ch.Torso
  3208.  
  3209. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3210. local fp=it("Part")
  3211. fp.formFactor=formfactor
  3212. fp.Parent=parent
  3213. fp.Reflectance=reflectance
  3214. fp.Transparency=transparency
  3215. fp.CanCollide=false
  3216. fp.Locked=true
  3217. fp.BrickColor=brickcolor
  3218. fp.Name=name
  3219. fp.Size=size
  3220. fp.Position=Torso.Position
  3221. NoOutline(fp)
  3222. fp.Material="Neon"
  3223. fp:BreakJoints()
  3224. return fp
  3225. end
  3226.  
  3227. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3228. local mesh=it(Mesh)
  3229. mesh.Parent=part
  3230. if Mesh=="SpecialMesh" then
  3231. mesh.MeshType=meshtype
  3232. if meshid~="nil" then
  3233. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3234. end
  3235. end
  3236. mesh.Offset=offset
  3237. mesh.Scale=scale
  3238. return mesh
  3239. end
  3240.  
  3241. function weld(parent,part0,part1,c0)
  3242. local weld=it("Weld")
  3243. weld.Parent=parent
  3244. weld.Part0=part0
  3245. weld.Part1=part1
  3246. weld.C0=c0
  3247. return weld
  3248. end
  3249.  
  3250. local bodvel=Instance.new("BodyVelocity")
  3251. local bg=Instance.new("BodyGyro")
  3252.  
  3253. function swait(num)
  3254. if num==0 or num==nil then
  3255. game:service'RunService'.Stepped:wait(0)
  3256. else
  3257. for i=0,num do
  3258. game:service'RunService'.Stepped:wait(0)
  3259. end
  3260. end
  3261. end
  3262.  
  3263.  
  3264. so = function(id,par,vol,pit)
  3265. coroutine.resume(coroutine.create(function()
  3266. local sou = Instance.new("Sound",par or workspace)
  3267. sou.Volume=vol
  3268. sou.Pitch=pit or 1
  3269. sou.SoundId=id
  3270. swait()
  3271. sou:play()
  3272. game:GetService("Debris"):AddItem(sou,6)
  3273. end))
  3274. end
  3275.  
  3276. function clerp(a,b,t)
  3277. local qa = {QuaternionFromCFrame(a)}
  3278. local qb = {QuaternionFromCFrame(b)}
  3279. local ax, ay, az = a.x, a.y, a.z
  3280. local bx, by, bz = b.x, b.y, b.z
  3281. local _t = 1-t
  3282. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3283. end
  3284.  
  3285. function QuaternionFromCFrame(cf)
  3286. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3287. local trace = m00 + m11 + m22
  3288. if trace > 0 then
  3289. local s = math.sqrt(1 + trace)
  3290. local recip = 0.5/s
  3291. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3292. else
  3293. local i = 0
  3294. if m11 > m00 then
  3295. i = 1
  3296. end
  3297. if m22 > (i == 0 and m00 or m11) then
  3298. i = 2
  3299. end
  3300. if i == 0 then
  3301. local s = math.sqrt(m00-m11-m22+1)
  3302. local recip = 0.5/s
  3303. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3304. elseif i == 1 then
  3305. local s = math.sqrt(m11-m22-m00+1)
  3306. local recip = 0.5/s
  3307. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3308. elseif i == 2 then
  3309. local s = math.sqrt(m22-m00-m11+1)
  3310. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3311. end
  3312. end
  3313. end
  3314.  
  3315. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3316. local xs, ys, zs = x + x, y + y, z + z
  3317. local wx, wy, wz = w*xs, w*ys, w*zs
  3318. local xx = x*xs
  3319. local xy = x*ys
  3320. local xz = x*zs
  3321. local yy = y*ys
  3322. local yz = y*zs
  3323. local zz = z*zs
  3324. 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))
  3325. end
  3326.  
  3327. function QuaternionSlerp(a, b, t)
  3328. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3329. local startInterp, finishInterp;
  3330. if cosTheta >= 0.0001 then
  3331. if (1 - cosTheta) > 0.0001 then
  3332. local theta = math.acos(cosTheta)
  3333. local invSinTheta = 1/math.sin(theta)
  3334. startInterp = math.sin((1-t)*theta)*invSinTheta
  3335. finishInterp = math.sin(t*theta)*invSinTheta
  3336. else
  3337. startInterp = 1-t
  3338. finishInterp = t
  3339. end
  3340. else
  3341. if (1+cosTheta) > 0.0001 then
  3342. local theta = math.acos(-cosTheta)
  3343. local invSinTheta = 1/math.sin(theta)
  3344. startInterp = math.sin((t-1)*theta)*invSinTheta
  3345. finishInterp = math.sin(t*theta)*invSinTheta
  3346. else
  3347. startInterp = t-1
  3348. finishInterp = t
  3349. end
  3350. end
  3351. 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
  3352. end
  3353.  
  3354. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3355. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3356. end
  3357.  
  3358. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  3359. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3360. prt.Anchored=true
  3361. prt.CFrame=cframe
  3362. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  3363. --http://www.roblox.com/asset/?id=4770560
  3364. game:GetService("Debris"):AddItem(prt,2)
  3365. CF=prt.CFrame
  3366. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  3367. for i=0,1,0.2 do
  3368. wait()
  3369. Part.CFrame=CF*cf(0,0,-0.4)
  3370. end
  3371. for i=0,1,delay do
  3372. wait()
  3373. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  3374. Mesh.Scale=Mesh.Scale
  3375. end
  3376. for i=0,1,0.1 do
  3377. wait()
  3378. Part.Transparency=i
  3379. end
  3380. Part.Parent=nil
  3381. end),prt,msh,CF)
  3382. end
  3383.  
  3384. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3385. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3386. prt.Anchored=true
  3387. prt.CFrame=cframe
  3388. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3389. game:GetService("Debris"):AddItem(prt,5)
  3390. coroutine.resume(coroutine.create(function(Part,Mesh)
  3391. for i=0,1,delay do
  3392. wait()
  3393. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3394. Part.Transparency=i
  3395. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3396. end
  3397. Part.Parent=nil
  3398. end),prt,msh)
  3399. end
  3400.  
  3401. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3402. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3403. prt.Anchored=false
  3404. prt.CFrame=cframe
  3405. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3406. local wld=weld(prt,prt,Parent,cframe)
  3407. game:GetService("Debris"):AddItem(prt,5)
  3408. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3409. for i=0,1,delay do
  3410. wait()
  3411. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3412. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3413. Part.Transparency=i
  3414. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3415. end
  3416. Part.Parent=nil
  3417. end),prt,msh,wld)
  3418. end
  3419.  
  3420. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3421. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3422. prt.Anchored=false
  3423. prt.CFrame=cframe
  3424. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3425. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3426. game:GetService("Debris"):AddItem(prt,5)
  3427. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3428. for i=0,1,delay do
  3429. wait()
  3430. Weld.C0=euler(i*20,0,0)
  3431. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3432. Part.Transparency=i
  3433. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3434. end
  3435. Part.Parent=nil
  3436. end),prt,msh,wld)
  3437. end
  3438.  
  3439. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3440. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3441. prt.Anchored=true
  3442. prt.CFrame=cframe
  3443. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3444. game:GetService("Debris"):AddItem(prt,2)
  3445. coroutine.resume(coroutine.create(function(Part,Mesh)
  3446. for i=0,1,delay do
  3447. wait()
  3448. Part.CFrame=Part.CFrame
  3449. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3450. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3451. prt2.Anchored=true
  3452. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3453. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3454. game:GetService("Debris"):AddItem(prt2,2)
  3455. coroutine.resume(coroutine.create(function(Part,Mesh)
  3456. for i=0,1,0.1 do
  3457. wait()
  3458. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3459. end
  3460. Part.Parent=nil
  3461. end),prt2,msh2)
  3462. end
  3463. for i=0,1,delay*2 do
  3464. wait()
  3465. Part.CFrame=Part.CFrame
  3466. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3467. end
  3468. Part.Parent=nil
  3469. end),prt,msh)
  3470. end
  3471.  
  3472. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3473. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3474. prt.Anchored=true
  3475. prt.CFrame=cframe
  3476. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3477. game:GetService("Debris"):AddItem(prt,2)
  3478. coroutine.resume(coroutine.create(function(Part,Mesh)
  3479. for i=0,1,delay do
  3480. wait()
  3481. Part.CFrame=Part.CFrame
  3482. Part.Transparency=i
  3483. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3484. end
  3485. Part.Parent=nil
  3486. end),prt,msh)
  3487. end
  3488.  
  3489. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  3490. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3491. prt.Anchored=true
  3492. prt.CFrame=cframe*euler(x2,y2,z2)
  3493. --"http://www.roblox.com/asset/?id=168892465"
  3494. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  3495. game:GetService("Debris"):AddItem(prt,2)
  3496. coroutine.resume(coroutine.create(function(Part,Mesh)
  3497. for i=0,1,0.03 do
  3498. wait()
  3499. Part.CFrame=Part.CFrame
  3500. Part.Transparency=i
  3501. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3502. end
  3503. Part.Parent=nil
  3504. end),prt,msh)
  3505. end
  3506.  
  3507. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3508. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3509. prt.Anchored=true
  3510. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3511. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3512. game:GetService("Debris"):AddItem(prt,2)
  3513. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3514. CF=Part.CFrame
  3515. Numbb=0
  3516. randnumb=math.random()/10
  3517. rand1=math.random()/10
  3518. for i=0,1,rand1 do
  3519. wait()
  3520. CF=CF*cf(0,math.random()/2,0)
  3521. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3522. Part.CFrame=CF*euler(Numbb,0,0)
  3523. Part.Transparency=i
  3524. Numbb=Numbb+randnumb
  3525. end
  3526. Part.Parent=nil
  3527. end),prt,CF,Numbb,randnumb)
  3528. end
  3529.  
  3530. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3531. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3532. prt.Anchored=true
  3533. prt.CFrame=cframe
  3534. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3535. game:GetService("Debris"):AddItem(prt,5)
  3536. coroutine.resume(coroutine.create(function(Part,Mesh)
  3537. for i=0,1,delay do
  3538. wait()
  3539. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3540. Part.Transparency=i
  3541. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3542. end
  3543. Part.Parent=nil
  3544. end),prt,msh)
  3545. end
  3546.  
  3547. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3548. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3549. prt.Anchored=true
  3550. prt.CFrame=cframe
  3551. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3552. game:GetService("Debris"):AddItem(prt,2)
  3553. coroutine.resume(coroutine.create(function(Part,Mesh)
  3554. for i=0,1,delay do
  3555. wait()
  3556. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3557. Part.Transparency=i
  3558. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3559. end
  3560. Part.Parent=nil
  3561. end),prt,msh)
  3562. end
  3563.  
  3564. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3565. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3566. prt.Anchored=true
  3567. prt.CFrame=cframe*cf(x,y,z)
  3568. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3569. game:GetService("Debris"):AddItem(prt,5)
  3570. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3571. local num=math.random()
  3572. local num2=math.random(-3,2)+math.random()
  3573. local numm=0
  3574. for i=0,1,delay*2 do
  3575. swait()
  3576. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3577. Part.Transparency=i
  3578. numm=numm+0.01
  3579. end
  3580. Part.Parent=nil
  3581. Mesh.Parent=nil
  3582. end),prt,msh,x,y,z)
  3583. end
  3584.  
  3585. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3586. if hit.Parent==nil then
  3587. return
  3588. end
  3589. h=hit.Parent:FindFirstChild("Humanoid")
  3590. for _,v in pairs(hit.Parent:children()) do
  3591. if v:IsA("Humanoid") then
  3592. h=v
  3593. end
  3594. end
  3595. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3596. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3597. end
  3598. if hit.Parent.className=="Hat" then
  3599. hit=hit.Parent.Parent:findFirstChild("Head")
  3600. end
  3601. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3602. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3603. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3604. return
  3605. end]]
  3606. -- hs(hit,1.2)
  3607. c=Instance.new("ObjectValue")
  3608. c.Name="creator"
  3609. c.Value=game:service("Players").LocalPlayer
  3610. c.Parent=h
  3611. game:GetService("Debris"):AddItem(c,.5)
  3612. Damage=math.random(minim,maxim)
  3613. -- h:TakeDamage(Damage)
  3614. blocked=false
  3615. block=hit.Parent:findFirstChild("Block")
  3616. if block~=nil then
  3617. print(block.className)
  3618. if block.className=="NumberValue" then
  3619. if block.Value>0 then
  3620. blocked=true
  3621. if decreaseblock==nil then
  3622. block.Value=block.Value-1
  3623. end
  3624. end
  3625. end
  3626. if block.className=="IntValue" then
  3627. if block.Value>0 then
  3628. blocked=true
  3629. if decreaseblock~=nil then
  3630. block.Value=block.Value-1
  3631. end
  3632. end
  3633. end
  3634. end
  3635. if blocked==false then
  3636. -- h:TakeDamage(Damage)
  3637. h.Health=h.Health-Damage
  3638. showDamage(hit.Parent,Damage,.5,Claw2Color)
  3639. else
  3640. h.Health=h.Health-(Damage/2)
  3641. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Claw1Color"))
  3642. end
  3643. if Type=="Knockdown" then
  3644. local hum=hit.Parent.Humanoid
  3645. hum.PlatformStand=true
  3646. coroutine.resume(coroutine.create(function(HHumanoid)
  3647. swait(1)
  3648. HHumanoid.PlatformStand=false
  3649. end),hum)
  3650. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3651. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3652. local bodvol=Instance.new("BodyVelocity")
  3653. bodvol.velocity=angle*knockback
  3654. bodvol.P=5000
  3655. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3656. bodvol.Parent=hit
  3657. rl=Instance.new("BodyAngularVelocity")
  3658. rl.P=3000
  3659. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3660. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3661. rl.Parent=hit
  3662. game:GetService("Debris"):AddItem(bodvol,.5)
  3663. game:GetService("Debris"):AddItem(rl,.5)
  3664. elseif Type=="Normal" then
  3665. vp=Instance.new("BodyVelocity")
  3666. vp.P=500
  3667. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3668. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3669. if KnockbackType==1 then
  3670. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  3671. elseif KnockbackType==2 then
  3672. vp.velocity=Property.CFrame.lookVector*knockback
  3673. end
  3674. if knockback>0 then
  3675. vp.Parent=hit.Parent.Torso
  3676. end
  3677. game:GetService("Debris"):AddItem(vp,.5)
  3678. elseif Type=="Up" then
  3679. local bodyVelocity=Instance.new("BodyVelocity")
  3680. bodyVelocity.velocity=vt(0,10,0)
  3681. bodyVelocity.P=1000
  3682. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  3683. bodyVelocity.Parent=hit
  3684. game:GetService("Debris"):AddItem(bodyVelocity,1)
  3685. rl=Instance.new("BodyAngularVelocity")
  3686. rl.P=3000
  3687. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3688. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3689. rl.Parent=hit
  3690. game:GetService("Debris"):AddItem(rl,.5)
  3691. elseif Type=="Snare" then
  3692. bp=Instance.new("BodyPosition")
  3693. bp.P=2000
  3694. bp.D=100
  3695. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3696. bp.position=hit.Parent.Torso.Position
  3697. bp.Parent=hit.Parent.Torso
  3698. game:GetService("Debris"):AddItem(bp,1)
  3699. elseif Type=="Target" then
  3700. if Targetting==false then
  3701. ZTarget=hit.Parent.Torso
  3702. coroutine.resume(coroutine.create(function(Part)
  3703. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3704. swait(5)
  3705. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3706. end),ZTarget)
  3707. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3708. targetgui=Instance.new("BillboardGui")
  3709. targetgui.Parent=ZTarget
  3710. targetgui.Size=UDim2.new(10,100,10,100)
  3711. targ=Instance.new("ImageLabel")
  3712. targ.Parent=targetgui
  3713. targ.BackgroundTransparency=1
  3714. targ.Image="rbxassetid://4834067"
  3715. targ.Size=UDim2.new(1,0,1,0)
  3716. cam.CameraType="Scriptable"
  3717. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3718. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3719. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3720. Targetting=true
  3721. RocketTarget=ZTarget
  3722. for i=1,Property do
  3723. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3724. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3725. swait()
  3726. end
  3727. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3728. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3729. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3730. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3731. end
  3732. Targetting=false
  3733. RocketTarget=nil
  3734. targetgui.Parent=nil
  3735. cam.CameraType="Custom"
  3736. end
  3737. end
  3738. debounce=Instance.new("BoolValue")
  3739. debounce.Name="DebounceHit"
  3740. debounce.Parent=hit.Parent
  3741. debounce.Value=true
  3742. game:GetService("Debris"):AddItem(debounce,Delay)
  3743. c=Instance.new("ObjectValue")
  3744. c.Name="creator"
  3745. c.Value=Player
  3746. c.Parent=h
  3747. game:GetService("Debris"):AddItem(c,.5)
  3748. CRIT=false
  3749. hitDeb=true
  3750. AttackPos=6
  3751. end
  3752. end
  3753.  
  3754. showDamage=function(Char,Dealt,du,Color)
  3755. m=Instance.new("Model")
  3756. m.Name=tostring(Dealt)
  3757. h=Instance.new("Humanoid")
  3758. h.Health=0
  3759. h.MaxHealth=0
  3760. h.Parent=m
  3761. c=Instance.new("Part")
  3762. c.Transparency=0
  3763. c.BrickColor=EyeColor
  3764. c.Name="Head"
  3765. c.TopSurface=0
  3766. c.BottomSurface=0
  3767. c.formFactor="Plate"
  3768. c.Size=Vector3.new(1,.4,1)
  3769. ms=Instance.new("CylinderMesh")
  3770. ms.Scale=Vector3.new(.8,.8,.8)
  3771. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  3772. if CRIT==true then
  3773. ms.Scale=Vector3.new(1,1.25,1)
  3774. end
  3775. ms.Parent=c
  3776. c.Reflectance=0
  3777. Instance.new("BodyGyro").Parent=c
  3778. c.Parent=m
  3779. if Char:findFirstChild("Head")~=nil then
  3780. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3781. elseif Char.Parent:findFirstChild("Head")~=nil then
  3782. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3783. end
  3784. f=Instance.new("BodyPosition")
  3785. f.P=2000
  3786. f.D=100
  3787. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3788. f.position=c.Position+Vector3.new(0,3,0)
  3789. f.Parent=c
  3790. game:GetService("Debris"):AddItem(m,.5+du)
  3791. c.CanCollide=false
  3792. m.Parent=workspace
  3793. c.CanCollide=false
  3794. end
  3795.  
  3796. local Player=game:GetService('Players').LocalPlayer
  3797. local Character=Player.Character
  3798. Mouse=Player:GetMouse()
  3799. m=Instance.new('Model',Character)
  3800.  
  3801.  
  3802. local function weldBetween(a, b)
  3803. local weldd = Instance.new("ManualWeld")
  3804. weldd.Part0 = a
  3805. weldd.Part1 = b
  3806. weldd.C0 = CFrame.new()
  3807. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3808. weldd.Parent = a
  3809. return weldd
  3810. end
  3811.  
  3812. it=Instance.new
  3813.  
  3814. function nooutline(part)
  3815. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3816. end
  3817.  
  3818. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3819. local fp=it("Part")
  3820. fp.formFactor=formfactor
  3821. fp.Parent=parent
  3822. fp.Reflectance=reflectance
  3823. fp.Transparency=transparency
  3824. fp.CanCollide=false
  3825. fp.Locked=true
  3826. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3827. fp.Name=name
  3828. fp.Size=size
  3829. fp.Position=Character.Torso.Position
  3830. nooutline(fp)
  3831. fp.Material=material
  3832. fp:BreakJoints()
  3833. return fp
  3834. end
  3835.  
  3836. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3837. local mesh=it(Mesh)
  3838. mesh.Parent=part
  3839. if Mesh=="SpecialMesh" then
  3840. mesh.MeshType=meshtype
  3841. mesh.MeshId=meshid
  3842. end
  3843. mesh.Offset=offset
  3844. mesh.Scale=scale
  3845. return mesh
  3846. end
  3847.  
  3848. function weld(parent,part0,part1,c0,c1)
  3849. local weld=it("Weld")
  3850. weld.Parent=parent
  3851. weld.Part0=part0
  3852. weld.Part1=part1
  3853. weld.C0=c0
  3854. weld.C1=c1
  3855. return weld
  3856. end
  3857.  
  3858. local modelzorz=Instance.new("Model")
  3859. modelzorz.Parent=Character
  3860. modelzorz.Name="Claw1"
  3861.  
  3862. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  3863. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  3864. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3866. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  3867. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Part",Vector3.new(1, 0.400000006, 1))
  3868. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  3869. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3870. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3871. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  3872. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3873. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  3874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3875. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  3876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3877. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  3878. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3879. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  3880. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3881. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  3882. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3883. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  3884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3885. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  3886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Part",Vector3.new(1, 0.400000006, 1))
  3887. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  3888. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3889. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3890. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  3891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Part",Vector3.new(1, 0.400000006, 1))
  3892. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  3893. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3894. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1OutlineColor,"Part",Vector3.new(4.29999971, 4.30000019, 1))
  3895. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  3896. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  3897. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Part",Vector3.new(1, 0.400000006, 1))
  3898. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  3899. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3900. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw1Color,"Part",Vector3.new(1, 0.400000006, 1))
  3901. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  3902. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3903.  
  3904. local modelzorz2=Instance.new("Model")
  3905. modelzorz2.Parent=Character
  3906. modelzorz2.Name="Claw2"
  3907.  
  3908. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  3909. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  3910. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3912. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  3913. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3914. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  3915. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3916. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  3917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Part",Vector3.new(1, 0.400000006, 1))
  3918. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  3919. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3920. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Part",Vector3.new(1, 0.400000006, 1))
  3921. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  3922. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3923. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3924. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  3925. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Part",Vector3.new(1, 0.400000006, 1))
  3926. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  3927. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3928. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3929. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  3930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Part",Vector3.new(1, 0.400000006, 1))
  3931. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  3932. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3933. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3934. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  3935. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2Color,"Part",Vector3.new(1, 0.400000006, 1))
  3936. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  3937. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .04, .015))
  3938. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3939. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  3940. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3941. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  3942. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3943. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  3944. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(4.29999971, 4.30000019, 1))
  3945. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  3946. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  3947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,Claw2OutlineColor,"Part",Vector3.new(2.20000005, 1, 1))
  3948. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  3949.  
  3950. local modelzorz3=Instance.new("Model")
  3951. modelzorz3.Parent=Character
  3952. modelzorz3.Name="Eye"
  3953.  
  3954. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3955. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  3956. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.015, .05, .01))
  3957.  
  3958. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,EyeColor,"Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3959. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  3960. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.01, 0.05, .02))
  3961.  
  3962. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3963. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  3964. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=569102850",Vector3.new(0, 0, 0),Vector3.new(.016, .007, .024))
  3965.  
  3966. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  3967. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  3968. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  3969. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,EyeColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  3970. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  3971. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  3972. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3973. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  3974. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3975. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  3976. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3977. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  3978. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,OutlineColor,"Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3979. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  3980. local moosick = it("Sound",Character.Torso)
  3981. moosick.SoundId = "rbxassetid://142653441"
  3982. --142653441, 175067863
  3983. moosick.Looped = true
  3984. moosick.Pitch = 1
  3985. moosick.Volume = 0.3
  3986. moosick:Play()
  3987.  
  3988. anim = Character:findFirstChild("Animate")
  3989. if anim then
  3990. anim:Destroy()
  3991. end
  3992.  
  3993. local particleemitter = Instance.new("ParticleEmitter", Handle)
  3994. particleemitter.Texture = Claw1ParticleTexture
  3995. particleemitter.VelocitySpread = Claw1ParticleVelocitySpread
  3996. particleemitter.Lifetime = Claw1ParticleLifetime
  3997. particleemitter.Speed = Claw1ParticleSpeed
  3998. particleemitter.Size = Claw1ParticleSize
  3999. particleemitter.RotSpeed = Claw1ParticleRotationSpeed
  4000. particleemitter.Rate = Claw1ParticleRate
  4001. particleemitter.Rotation = Claw1ParticleRotation
  4002. particleemitter.Transparency = Claw1ParticleTransparency
  4003. particleemitter.LightEmission = Claw1ParticleLightEmission
  4004. particleemitter.Color = Claw1ParticleColor
  4005. particleemitter.LockedToPart = Claw1ParticleLockToPart
  4006.  
  4007. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  4008. particleemitter.Texture = Claw2ParticleTexture
  4009. particleemitter.VelocitySpread = Claw2ParticleVelocitySpread
  4010. particleemitter.Lifetime = Claw2ParticleLifetime
  4011. particleemitter.Speed = Claw2ParticleSpeed
  4012. particleemitter.Size = Claw2ParticleSize
  4013. particleemitter.RotSpeed = Claw2ParticleRotationSpeed
  4014. particleemitter.Rate = Claw2ParticleRate
  4015. particleemitter.Rotation = Claw2ParticleRotation
  4016. particleemitter.Transparency = Claw2ParticleTransparency
  4017. particleemitter.LightEmission = Claw2ParticleLightEmission
  4018. particleemitter.Color = Claw2ParticleColor
  4019. particleemitter.LockedToPart = Claw2ParticleLockToPart
  4020.  
  4021. local particleemitter = Instance.new("ParticleEmitter", handle)
  4022. particleemitter.Texture = EyeParticleTexture
  4023. particleemitter.VelocitySpread = EyeParticleVelocitySpread
  4024. particleemitter.Lifetime = EyeParticleLifetime
  4025. particleemitter.Speed = EyeParticleSpeed
  4026. particleemitter.Size = EyeParticleSize
  4027. particleemitter.RotSpeed = EyeParticleRotationSpeed
  4028. particleemitter.Rate = EyeParticleRate
  4029. particleemitter.Rotation = EyeParticleRotation
  4030. particleemitter.Transparency = EyeParticleTransparency
  4031. particleemitter.LightEmission = EyeParticleLightEmission
  4032. particleemitter.Color = EyeParticleColor
  4033. particleemitter.LockedToPart = EyeParticleLockToPart
  4034.  
  4035. local light = Instance.new("PointLight", Character.Torso)
  4036. light.Color = LightColor
  4037. light.Brightness = LightBrightness
  4038. light.Range = LightRange
  4039.  
  4040. particleemitter.Enabled = true
  4041.  
  4042. local Footsteps = it("Sound",Character.Torso)
  4043. Footsteps.SoundId = "rbxassetid://142665235"
  4044. Footsteps.Looped = true
  4045. Footsteps.Pitch = 0.8
  4046. Footsteps.Volume = 0.3
  4047.  
  4048. local Footsteps2 = it("Sound",Character.Torso)
  4049. Footsteps2.SoundId = "rbxassetid://142665235"
  4050. Footsteps2.Looped = true
  4051. Footsteps2.Pitch = 1
  4052. Footsteps2.Volume = 0.4
  4053.  
  4054. local cam = game.Workspace.CurrentCamera
  4055.  
  4056. --cam.CameraSubject = Character
  4057.  
  4058. for i,v in pairs(Head:children()) do
  4059. if v:IsA("Sound") then
  4060. v:Destroy()
  4061. end
  4062. end
  4063.  
  4064. mouse.Button1Down:connect(function()
  4065. if attack==false and attacktype==1 then
  4066. attacktype=2
  4067. attackone()
  4068. elseif attack==false and attacktype==2 then
  4069. attacktype=3
  4070. attacktwo()
  4071. elseif attack==false and attacktype==3 then
  4072. attacktype=4
  4073. attackthree()
  4074. elseif attack==false and attacktype==4 then
  4075. attacktype=1
  4076. attackfour()
  4077. end
  4078. end)
  4079.  
  4080. mouse.KeyDown:connect(function(k)
  4081. k=k:lower()
  4082. if k=='e' then
  4083. if attack==false and mana>=20 then
  4084. Push()
  4085. end
  4086. elseif k=='g' then
  4087. if attack==false and mana>=50 then
  4088. Twirl()
  4089. end
  4090. elseif k=='v' then
  4091. if attack==false and mana>=25 then
  4092. MagicJump()
  4093. end
  4094. elseif k=='q' then
  4095. if attack==false then
  4096. idle=1000
  4097. end
  4098. elseif k=='h' and game.Players.LocalPlayer.UserId == game.CreatorId then
  4099. if attack==false then
  4100. mana=100
  4101. end
  4102. elseif k=='y' then
  4103. if attack==false and mana>=100 then
  4104. Shred()
  4105. end
  4106. elseif k=='f' then
  4107. if attack==false and mana>=40 then
  4108. Spin()
  4109. end
  4110. elseif k=='r' then
  4111. if attack==false and mana>=20 then
  4112. Clap()
  4113. end
  4114. elseif k=='t' then
  4115. if attack==false then
  4116. Hai()
  4117. end
  4118. elseif k=='0' then
  4119. if attack==false then
  4120. Humanoid.WalkSpeed=(64)
  4121. end
  4122. elseif k=='j' then
  4123. if attack==false then
  4124. Humanoid.Health = 1
  4125. print("Congrats, you commited suicide.")
  4126. end
  4127. end
  4128. end)
  4129.  
  4130. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4131. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4132. prt.Anchored=true
  4133. prt.CFrame=cframe
  4134. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4135. game:GetService("Debris"):AddItem(prt,2)
  4136. coroutine.resume(coroutine.create(function(Part,Mesh)
  4137. for i=0,1,delay do
  4138. wait()
  4139. Part.CFrame=Part.CFrame
  4140. Part.Transparency=i
  4141. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4142. end
  4143. Part.Parent=nil
  4144. end),prt,msh)
  4145. end
  4146.  
  4147. TrailDeb = false
  4148.  
  4149. function equipanim()
  4150. attack=true
  4151. Humanoid.WalkSpeed = 0
  4152. if TrailDeb == false then
  4153. TrailDeb = true
  4154. end
  4155.  
  4156.  
  4157. coroutine.wrap(function()
  4158. local Old = handle.CFrame.p
  4159. while wait()do
  4160. if not TrailDeb then break end
  4161. local New = handle.CFrame.p
  4162. local Mag =(Old -New).magnitude
  4163. local Dis =(Old +New)/2
  4164. local Trail = Instance.new("Part",Character)
  4165. Trail.Material = "Neon"
  4166. Trail.Anchored = true
  4167. Trail.CanCollide = false
  4168. Trail.BrickColor = EyeColor
  4169. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4170. Trail.TopSurface = 0
  4171. Trail.BottomSurface = 0
  4172. Trail.formFactor = "Custom"
  4173. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4174. local ms = Instance.new("BlockMesh",Trail)
  4175. ms.Scale = Vector3.new(1,1,1)
  4176. local TM = Instance.new("CylinderMesh",Trail)
  4177. TM.Scale = Vector3.new(1,1,1)
  4178. Old = New
  4179. coroutine.wrap(function()
  4180. for i = 1,0,-0.1 do
  4181. wait()
  4182. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4183. end
  4184. Trail:remove()
  4185. end)()
  4186. coroutine.wrap(function()
  4187. for i = 1,10 do
  4188. wait()
  4189. Trail.Transparency = Trail.Transparency +0.1
  4190. end end)()end end)()
  4191. coroutine.wrap(function()
  4192. local Old = Handle.CFrame.p
  4193. while wait()do
  4194. if not TrailDeb then break end
  4195. local New = Handle.CFrame.p
  4196. local Mag =(Old -New).magnitude
  4197. local Dis =(Old +New)/2
  4198. local Trail = Instance.new("Part",Character)
  4199. Trail.Material = "Neon"
  4200. Trail.Anchored = true
  4201. Trail.CanCollide = false
  4202. Trail.BrickColor = Claw1Color
  4203. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4204. Trail.TopSurface = 0
  4205. Trail.BottomSurface = 0
  4206. Trail.formFactor = "Custom"
  4207. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4208. local ms = Instance.new("BlockMesh",Trail)
  4209. ms.Scale = Vector3.new(1,1,1)
  4210. local TM = Instance.new("CylinderMesh",Trail)
  4211. TM.Scale = Vector3.new(1,1,1)
  4212. Old = New
  4213. coroutine.wrap(function()
  4214. for i = 1,0,-0.1 do
  4215. wait()
  4216. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4217. end
  4218. Trail:remove()
  4219. end)()
  4220. coroutine.wrap(function()
  4221. for i = 1,10 do
  4222. wait()
  4223. Trail.Transparency = Trail.Transparency +0.1
  4224. end end)()end end)()
  4225. coroutine.wrap(function()
  4226. local Old = Handle2.CFrame.p
  4227. while wait()do
  4228. if not TrailDeb then break end
  4229. local New = Handle2.CFrame.p
  4230. local Mag =(Old -New).magnitude
  4231. local Dis =(Old +New)/2
  4232. local Trail = Instance.new("Part",Character)
  4233. Trail.Material = "Neon"
  4234. Trail.Anchored = true
  4235. Trail.CanCollide = false
  4236. Trail.BrickColor = Claw2Color
  4237. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4238. Trail.TopSurface = 0
  4239. Trail.BottomSurface = 0
  4240. Trail.formFactor = "Custom"
  4241. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4242. local ms = Instance.new("BlockMesh",Trail)
  4243. ms.Scale = Vector3.new(1,1,1)
  4244. local TM = Instance.new("CylinderMesh",Trail)
  4245. TM.Scale = Vector3.new(1,1,1)
  4246. Old = New
  4247. coroutine.wrap(function()
  4248. for i = 1,0,-0.1 do
  4249. wait()
  4250. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4251. end
  4252. Trail:remove()
  4253. end)()
  4254. coroutine.wrap(function()
  4255. for i = 1,10 do
  4256. wait()
  4257. Trail.Transparency = Trail.Transparency +0.1
  4258. end end)()end end)()
  4259. -- so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  4260. -- for i=0,1,0.005 do
  4261. -- swait()
  4262. -- moosick.Volume = 0+1*i
  4263. -- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  4264. -- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  4265. -- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4266. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4267. -- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4268. -- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  4269. -- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  4270. -- end
  4271. -- for i=0,1,0.005 do
  4272. -- swait()
  4273. -- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  4274. -- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  4275. -- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4276. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4277. -- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4278. -- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  4279. -- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  4280. -- end
  4281. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4282. -- so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4283. for i=0,0.4,0.005 do
  4284. swait()
  4285. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  4286. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  4287. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  4288. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  4289. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  4290. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  4291. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  4292. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  4293. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  4294. end
  4295. for i=0,1,0.04 do
  4296. swait()
  4297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4298. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4299. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4300. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4301. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4302. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4303. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4304. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  4305. end
  4306. --dmgstop()
  4307. attack=false
  4308. Humanoid.WalkSpeed = 12
  4309. if TrailDeb == true then
  4310. TrailDeb = false
  4311. end
  4312. end
  4313.  
  4314. function attackone()
  4315. attack=true
  4316. if TrailDeb == false then
  4317. TrailDeb = true
  4318. end
  4319.  
  4320.  
  4321. coroutine.wrap(function()
  4322. local Old = Handle.CFrame.p
  4323. while wait()do
  4324. if not TrailDeb then break end
  4325. local New = Handle.CFrame.p
  4326. local Mag =(Old -New).magnitude
  4327. local Dis =(Old +New)/2
  4328. local Trail = Instance.new("Part",Character)
  4329. Trail.Material = "Neon"
  4330. Trail.Anchored = true
  4331. Trail.CanCollide = false
  4332. Trail.BrickColor = Claw1Color
  4333. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4334. Trail.TopSurface = 0
  4335. Trail.BottomSurface = 0
  4336. Trail.formFactor = "Custom"
  4337. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4338. local ms = Instance.new("BlockMesh",Trail)
  4339. ms.Scale = Vector3.new(1,1,1)
  4340. local TM = Instance.new("CylinderMesh",Trail)
  4341. TM.Scale = Vector3.new(1,1,1)
  4342. Old = New
  4343. coroutine.wrap(function()
  4344. for i = 1,0,-0.1 do
  4345. wait()
  4346. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4347. end
  4348. Trail:remove()
  4349. end)()
  4350. coroutine.wrap(function()
  4351. for i = 1,10 do
  4352. wait()
  4353. Trail.Transparency = Trail.Transparency +0.1
  4354. end end)()end end)()
  4355. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4356. for i=0,1,0.08 do
  4357. swait()
  4358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  4359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  4360. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4361. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4362. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4363. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  4364. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4365. end
  4366. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  4367. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  4368. for i=0,1,0.1 do
  4369. swait()
  4370. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  4371. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4372. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4373. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  4374. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4375. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  4376. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4377. end
  4378. --dmgstop()
  4379. attack=false
  4380. con1:disconnect()
  4381. if TrailDeb == true then
  4382. TrailDeb = false
  4383. end
  4384. end
  4385.  
  4386. function attacktwo()
  4387. attack=true
  4388. if TrailDeb == false then
  4389. TrailDeb = true
  4390. end
  4391.  
  4392.  
  4393. coroutine.wrap(function()
  4394. local Old = Handle2.CFrame.p
  4395. while wait()do
  4396. if not TrailDeb then break end
  4397. local New = Handle2.CFrame.p
  4398. local Mag =(Old -New).magnitude
  4399. local Dis =(Old +New)/2
  4400. local Trail = Instance.new("Part",Character)
  4401. Trail.Material = "Neon"
  4402. Trail.Anchored = true
  4403. Trail.CanCollide = false
  4404. Trail.BrickColor = Claw2Color
  4405. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4406. Trail.TopSurface = 0
  4407. Trail.BottomSurface = 0
  4408. Trail.formFactor = "Custom"
  4409. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4410. local ms = Instance.new("BlockMesh",Trail)
  4411. ms.Scale = Vector3.new(1,1,1)
  4412. local TM = Instance.new("CylinderMesh",Trail)
  4413. TM.Scale = Vector3.new(1,1,1)
  4414. Old = New
  4415. coroutine.wrap(function()
  4416. for i = 1,0,-0.1 do
  4417. wait()
  4418. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4419. end
  4420. Trail:remove()
  4421. end)()
  4422. coroutine.wrap(function()
  4423. for i = 1,10 do
  4424. wait()
  4425. Trail.Transparency = Trail.Transparency +0.1
  4426. end end)()end end)()
  4427. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4428. for i=0,1,0.08 do
  4429. swait()
  4430. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4432. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4433. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4434. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4435. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  4436. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4437. end
  4438. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  4439. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  4440. for i=0,1,0.1 do
  4441. swait()
  4442. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4443. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4444. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4445. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  4446. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4447. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  4448. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4449. end
  4450. --dmgstop()
  4451. attack=false
  4452. con1:disconnect()
  4453. if TrailDeb == true then
  4454. TrailDeb = false
  4455. end
  4456. end
  4457.  
  4458. function attackthree()
  4459. attack=true
  4460. if TrailDeb == false then
  4461. TrailDeb = true
  4462. end
  4463.  
  4464.  
  4465. coroutine.wrap(function()
  4466. local Old = Handle.CFrame.p
  4467. while wait()do
  4468. if not TrailDeb then break end
  4469. local New = Handle.CFrame.p
  4470. local Mag =(Old -New).magnitude
  4471. local Dis =(Old +New)/2
  4472. local Trail = Instance.new("Part",Character)
  4473. Trail.Material = "Neon"
  4474. Trail.Anchored = true
  4475. Trail.CanCollide = false
  4476. Trail.BrickColor = Claw1Color
  4477. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4478. Trail.TopSurface = 0
  4479. Trail.BottomSurface = 0
  4480. Trail.formFactor = "Custom"
  4481. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4482. local ms = Instance.new("BlockMesh",Trail)
  4483. ms.Scale = Vector3.new(1,1,1)
  4484. local TM = Instance.new("CylinderMesh",Trail)
  4485. TM.Scale = Vector3.new(1,1,1)
  4486. Old = New
  4487. coroutine.wrap(function()
  4488. for i = 1,0,-0.1 do
  4489. wait()
  4490. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4491. end
  4492. Trail:remove()
  4493. end)()
  4494. coroutine.wrap(function()
  4495. for i = 1,10 do
  4496. wait()
  4497. Trail.Transparency = Trail.Transparency +0.1
  4498. end end)()end end)()
  4499. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4500. for i=0,1,0.08 do
  4501. swait()
  4502. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4503. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  4504. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4505. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  4506. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4507. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  4508. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4509. end
  4510. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  4511. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  4512. for i=0,1,0.05 do
  4513. swait()
  4514. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4515. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4516. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4517. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  4518. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4519. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  4520. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4521. end
  4522. --dmgstop()
  4523. attack=false
  4524. con1:disconnect()
  4525. if TrailDeb == true then
  4526. TrailDeb = false
  4527. end
  4528. end
  4529.  
  4530. function attackfour()
  4531. attack=true
  4532. if TrailDeb == false then
  4533. TrailDeb = true
  4534. end
  4535.  
  4536.  
  4537. coroutine.wrap(function()
  4538. local Old = Handle2.CFrame.p
  4539. while wait()do
  4540. if not TrailDeb then break end
  4541. local New = Handle2.CFrame.p
  4542. local Mag =(Old -New).magnitude
  4543. local Dis =(Old +New)/2
  4544. local Trail = Instance.new("Part",Character)
  4545. Trail.Material = "Neon"
  4546. Trail.Anchored = true
  4547. Trail.CanCollide = false
  4548. Trail.BrickColor = Claw2Color
  4549. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4550. Trail.TopSurface = 0
  4551. Trail.BottomSurface = 0
  4552. Trail.formFactor = "Custom"
  4553. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4554. local ms = Instance.new("BlockMesh",Trail)
  4555. ms.Scale = Vector3.new(1,1,1)
  4556. local TM = Instance.new("CylinderMesh",Trail)
  4557. TM.Scale = Vector3.new(1,1,1)
  4558. Old = New
  4559. coroutine.wrap(function()
  4560. for i = 1,0,-0.1 do
  4561. wait()
  4562. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4563. end
  4564. Trail:remove()
  4565. end)()
  4566. coroutine.wrap(function()
  4567. for i = 1,10 do
  4568. wait()
  4569. Trail.Transparency = Trail.Transparency +0.1
  4570. end end)()end end)()
  4571. coroutine.wrap(function()
  4572. local Old = Handle.CFrame.p
  4573. while wait()do
  4574. if not TrailDeb then break end
  4575. local New = Handle.CFrame.p
  4576. local Mag =(Old -New).magnitude
  4577. local Dis =(Old +New)/2
  4578. local Trail = Instance.new("Part",Character)
  4579. Trail.Material = "Neon"
  4580. Trail.Anchored = true
  4581. Trail.CanCollide = false
  4582. Trail.BrickColor = Claw1Color
  4583. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4584. Trail.TopSurface = 0
  4585. Trail.BottomSurface = 0
  4586. Trail.formFactor = "Custom"
  4587. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4588. local ms = Instance.new("BlockMesh",Trail)
  4589. ms.Scale = Vector3.new(1,1,1)
  4590. local TM = Instance.new("CylinderMesh",Trail)
  4591. TM.Scale = Vector3.new(1,1,1)
  4592. Old = New
  4593. coroutine.wrap(function()
  4594. for i = 1,0,-0.1 do
  4595. wait()
  4596. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4597. end
  4598. Trail:remove()
  4599. end)()
  4600. coroutine.wrap(function()
  4601. for i = 1,10 do
  4602. wait()
  4603. Trail.Transparency = Trail.Transparency +0.1
  4604. end end)()end end)()
  4605. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4606. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4607. for i=0,1,0.08 do
  4608. swait()
  4609. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4610. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4611. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4612. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4614. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4615. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4616. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  4617. end
  4618. if anim then
  4619. anim.Disabled=true
  4620. end
  4621. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  4622. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  4623. for i=0,1,0.04 do
  4624. swait()
  4625. Torso.Velocity=RootPart.CFrame.lookVector*50
  4626. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  4627. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4628. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4629. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4630. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4631. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4632. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4633. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4634. end
  4635. --dmgstop()
  4636. attack=false
  4637. con1:disconnect()
  4638. con2:disconnect()
  4639. if anim then
  4640. anim.Disabled=false
  4641. end
  4642. if TrailDeb == true then
  4643. TrailDeb = false
  4644. end
  4645. end
  4646.  
  4647. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  4648. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4649. prt.Anchored = true
  4650. prt.CFrame = cframe
  4651. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  4652. coroutine.resume(coroutine.create(function()
  4653. for i = 0, 1, 0.05 do
  4654. wait()
  4655. prt.Transparency = i
  4656. msh.Scale = msh.Scale + vt(x2, y2, z2)
  4657. end
  4658. prt.Parent = nil
  4659. end))
  4660. end
  4661.  
  4662. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  4663. for _, c in pairs(workspace:children()) do
  4664. local hum = c:findFirstChild("Humanoid")
  4665. if hum ~= nil then
  4666. local head = c:findFirstChild("Torso")
  4667. if head ~= nil then
  4668. local targ = head.Position - Part.Position
  4669. local mag = targ.magnitude
  4670. if mag <= magni and c.Name ~= Player.Name then
  4671. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  4672. end
  4673. end
  4674. end
  4675. end
  4676. end
  4677.  
  4678. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4679. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4680. prt.Anchored = true
  4681. prt.CFrame = cframe
  4682. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  4683. game:GetService("Debris"):AddItem(prt, 2)
  4684. coroutine.resume(coroutine.create(function(Part, Mesh)
  4685. for i = 0, 1, delay do
  4686. swait()
  4687. Part.CFrame = Part.CFrame
  4688. Part.Transparency = i
  4689. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4690. end
  4691. Part.Parent = nil
  4692. end), prt, msh)
  4693. end
  4694.  
  4695. function MagicJump()
  4696. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  4697. attack=true
  4698. mana=mana-25
  4699. --[[ Humanoid.WalkSpeed = 0
  4700. for i=0,1,0.01 do
  4701. swait()
  4702. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  4703. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  4704. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  4705. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  4706. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  4707. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  4708. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  4709. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  4710. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  4711. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  4712. end]]--
  4713. Humanoid.Jump = true
  4714. Torso.Velocity = vt(0, 150, 0)
  4715. Humanoid.WalkSpeed = 100
  4716. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  4717. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  4718. for i=0,1,0.05 do
  4719. swait()
  4720. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  4721. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4722. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  4723. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  4724. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  4725. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  4726. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  4727. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  4728. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  4729. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  4730. end
  4731. for i=0,1,0.02 do
  4732. swait()
  4733. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  4734. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4735. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  4736. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  4737. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4738. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  4739. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4740. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  4741. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  4742. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4743. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  4744. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  4745. end
  4746. Humanoid.WalkSpeed = 0
  4747. swait(8)
  4748. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  4749. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  4750. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  4751. if hit~=nil then
  4752. swait(2)
  4753. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new(OutlineColor),"Effect",vt())
  4754. ref.Anchored=true
  4755. ref.CFrame=cf(pos)
  4756. game:GetService("Debris"):AddItem(ref,3)
  4757. for i=1,10 do
  4758. local Col=BrickColor.new(OutlineColor)
  4759. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  4760. groundpart.Anchored=true
  4761. groundpart.CanCollide=false
  4762. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4763. local Col2=EyeColor
  4764. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  4765. groundpart2.Anchored=true
  4766. groundpart2.CanCollide=false
  4767. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4768. game:GetService("Debris"):AddItem(groundpart,5)
  4769. game:GetService("Debris"):AddItem(groundpart2,5)
  4770. end
  4771. BlastEffect(Claw1Color,cf(pos),1,1,1,1.4,1.4,1.4)
  4772. BlastEffect(BrickColor.new(OutlineColor),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  4773. MagicCircle(BrickColor.new(OutlineColor),cf(pos),5,5,5,5,5,5,0.05)
  4774. MagicCircle(Claw2Color,cf(pos),6,6,6,6,6,6,0.05)
  4775. for i=0,1,0.06 do
  4776. swait()
  4777. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  4778. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  4780. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  4781. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  4782. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  4783. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  4784. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4785. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  4786. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  4787. end
  4788. end
  4789. swait(20)
  4790. Humanoid.WalkSpeed = 12
  4791. --dmgstop()
  4792. attack=false
  4793. end
  4794. end
  4795.  
  4796. function Spin()
  4797. attack=true
  4798. mana=mana-40
  4799. if TrailDeb == false then
  4800. TrailDeb = true
  4801. end
  4802.  
  4803. coroutine.wrap(function()
  4804. local Old = Handle2.CFrame.p
  4805. while wait()do
  4806. if not TrailDeb then break end
  4807. local New = Handle2.CFrame.p
  4808. local Mag =(Old -New).magnitude
  4809. local Dis =(Old +New)/2
  4810. local Trail = Instance.new("Part",Character)
  4811. Trail.Material = "Neon"
  4812. Trail.Anchored = true
  4813. Trail.CanCollide = false
  4814. Trail.BrickColor = Claw2Color
  4815. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4816. Trail.TopSurface = 0
  4817. Trail.BottomSurface = 0
  4818. Trail.formFactor = "Custom"
  4819. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4820. local ms = Instance.new("BlockMesh",Trail)
  4821. ms.Scale = Vector3.new(1,1,1)
  4822. local TM = Instance.new("CylinderMesh",Trail)
  4823. TM.Scale = Vector3.new(1,1,1)
  4824. Old = New
  4825. coroutine.wrap(function()
  4826. for i = 1,0,-0.1 do
  4827. wait()
  4828. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4829. end
  4830. Trail:remove()
  4831. end)()
  4832. coroutine.wrap(function()
  4833. for i = 1,10 do
  4834. wait()
  4835. Trail.Transparency = Trail.Transparency +0.1
  4836. end end)()end end)()
  4837. coroutine.wrap(function()
  4838. local Old = Handle.CFrame.p
  4839. while wait()do
  4840. if not TrailDeb then break end
  4841. local New = Handle.CFrame.p
  4842. local Mag =(Old -New).magnitude
  4843. local Dis =(Old +New)/2
  4844. local Trail = Instance.new("Part",Character)
  4845. Trail.Material = "Neon"
  4846. Trail.Anchored = true
  4847. Trail.CanCollide = false
  4848. Trail.BrickColor = Claw1Color
  4849. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4850. Trail.TopSurface = 0
  4851. Trail.BottomSurface = 0
  4852. Trail.formFactor = "Custom"
  4853. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4854. local ms = Instance.new("BlockMesh",Trail)
  4855. ms.Scale = Vector3.new(1,1,1)
  4856. local TM = Instance.new("CylinderMesh",Trail)
  4857. TM.Scale = Vector3.new(1,1,1)
  4858. Old = New
  4859. coroutine.wrap(function()
  4860. for i = 1,0,-0.1 do
  4861. wait()
  4862. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4863. end
  4864. Trail:remove()
  4865. end)()
  4866. coroutine.wrap(function()
  4867. for i = 1,10 do
  4868. wait()
  4869. Trail.Transparency = Trail.Transparency +0.1
  4870. end end)()end end)()
  4871. Footsteps:Stop()
  4872. Footsteps2:Stop()
  4873. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4874. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  4875. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  4876. for i=0,1,0.1 do
  4877. swait()
  4878. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4879. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4880. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4881. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4882. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4883. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4884. end
  4885. if anim then
  4886. anim.Disabled=true
  4887. end
  4888. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4889. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4890. for i=0,1,0.05 do
  4891. swait()
  4892. Torso.Velocity=RootPart.CFrame.lookVector*100
  4893. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4894. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4895. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4896. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4897. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4898. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4899. end
  4900. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4901. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4902. for i=0,1,0.05 do
  4903. swait()
  4904. Torso.Velocity=RootPart.CFrame.lookVector*100
  4905. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4906. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4907. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4908. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4909. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4910. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4911. end
  4912. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4913. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4914. for i=0,1,0.05 do
  4915. swait()
  4916. Torso.Velocity=RootPart.CFrame.lookVector*100
  4917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4918. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4919. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4920. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4921. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4922. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4923. end
  4924. --dmgstop()
  4925. Humanoid.WalkSpeed=12
  4926. attack=false
  4927. con1:disconnect()
  4928. con2:disconnect()
  4929. if anim then
  4930. anim.Disabled=false
  4931. end
  4932. if TrailDeb == true then
  4933. TrailDeb = false
  4934. end
  4935. end
  4936.  
  4937. function Twirl()
  4938. mana=mana-50
  4939. attack=true
  4940. if TrailDeb == false then
  4941. TrailDeb = true
  4942. end
  4943.  
  4944.  
  4945. coroutine.wrap(function()
  4946. local Old = Handle2.CFrame.p
  4947. while wait()do
  4948. if not TrailDeb then break end
  4949. local New = Handle2.CFrame.p
  4950. local Mag =(Old -New).magnitude
  4951. local Dis =(Old +New)/2
  4952. local Trail = Instance.new("Part",Character)
  4953. Trail.Material = "Neon"
  4954. Trail.Anchored = true
  4955. Trail.CanCollide = false
  4956. Trail.BrickColor = Claw2Color
  4957. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4958. Trail.TopSurface = 0
  4959. Trail.BottomSurface = 0
  4960. Trail.formFactor = "Custom"
  4961. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4962. local ms = Instance.new("BlockMesh",Trail)
  4963. ms.Scale = Vector3.new(1,1,1)
  4964. local TM = Instance.new("CylinderMesh",Trail)
  4965. TM.Scale = Vector3.new(1,1,1)
  4966. Old = New
  4967. coroutine.wrap(function()
  4968. for i = 1,0,-0.1 do
  4969. wait()
  4970. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4971. end
  4972. Trail:remove()
  4973. end)()
  4974. coroutine.wrap(function()
  4975. for i = 1,10 do
  4976. wait()
  4977. Trail.Transparency = Trail.Transparency +0.1
  4978. end end)()end end)()
  4979. coroutine.wrap(function()
  4980. local Old = Handle.CFrame.p
  4981. while wait()do
  4982. if not TrailDeb then break end
  4983. local New = Handle.CFrame.p
  4984. local Mag =(Old -New).magnitude
  4985. local Dis =(Old +New)/2
  4986. local Trail = Instance.new("Part",Character)
  4987. Trail.Material = "Neon"
  4988. Trail.Anchored = true
  4989. Trail.CanCollide = false
  4990. Trail.BrickColor = Claw1Color
  4991. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4992. Trail.TopSurface = 0
  4993. Trail.BottomSurface = 0
  4994. Trail.formFactor = "Custom"
  4995. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4996. local ms = Instance.new("BlockMesh",Trail)
  4997. ms.Scale = Vector3.new(1,1,1)
  4998. local TM = Instance.new("CylinderMesh",Trail)
  4999. TM.Scale = Vector3.new(1,1,1)
  5000. Old = New
  5001. coroutine.wrap(function()
  5002. for i = 1,0,-0.1 do
  5003. wait()
  5004. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5005. end
  5006. Trail:remove()
  5007. end)()
  5008. coroutine.wrap(function()
  5009. for i = 1,10 do
  5010. wait()
  5011. Trail.Transparency = Trail.Transparency +0.1
  5012. end end)()end end)()
  5013. Footsteps:Stop()
  5014. Footsteps2:Stop()
  5015. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5016. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5017. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  5018. for i=0,1,0.1 do
  5019. swait()
  5020. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5021. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5022. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5023. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5024. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5025. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5026. end
  5027. if anim then
  5028. anim.Disabled=true
  5029. end
  5030. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5031. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5032. for i=0,1,0.05 do
  5033. swait()
  5034. Torso.Velocity=RootPart.CFrame.lookVector*80
  5035. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5036. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5037. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5038. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5039. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5040. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5041. end
  5042. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5043. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5044. for i=0,1,0.05 do
  5045. swait()
  5046. Torso.Velocity=RootPart.CFrame.lookVector*80
  5047. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5048. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5049. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5050. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5051. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5052. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5053. end
  5054. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5055. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5056. for i=0,1,0.05 do
  5057. swait()
  5058. Torso.Velocity=RootPart.CFrame.lookVector*80
  5059. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5060. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5061. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5062. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5063. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5064. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5065. end
  5066. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5067. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5068. for i=0,1,0.05 do
  5069. swait()
  5070. Torso.Velocity=RootPart.CFrame.lookVector*80
  5071. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5072. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5073. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5074. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5075. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5076. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5077. end
  5078. --dmgstop()
  5079. Humanoid.WalkSpeed=12
  5080. attack=false
  5081. con1:disconnect()
  5082. con2:disconnect()
  5083. if anim then
  5084. anim.Disabled=false
  5085. end
  5086. if TrailDeb == true then
  5087. TrailDeb = false
  5088. end
  5089. end
  5090.  
  5091. function Shred()
  5092. attack=true
  5093. mana=mana-100
  5094. if TrailDeb == false then
  5095. TrailDeb = true
  5096. end
  5097.  
  5098.  
  5099. coroutine.wrap(function()
  5100. local Old = Handle2.CFrame.p
  5101. while wait()do
  5102. if not TrailDeb then break end
  5103. local New = Handle2.CFrame.p
  5104. local Mag =(Old -New).magnitude
  5105. local Dis =(Old +New)/2
  5106. local Trail = Instance.new("Part",Character)
  5107. Trail.Material = "Neon"
  5108. Trail.Anchored = true
  5109. Trail.CanCollide = false
  5110. Trail.BrickColor = Claw2Color
  5111. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5112. Trail.TopSurface = 0
  5113. Trail.BottomSurface = 0
  5114. Trail.formFactor = "Custom"
  5115. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5116. local ms = Instance.new("BlockMesh",Trail)
  5117. ms.Scale = Vector3.new(1,1,1)
  5118. local TM = Instance.new("CylinderMesh",Trail)
  5119. TM.Scale = Vector3.new(1,1,1)
  5120. Old = New
  5121. coroutine.wrap(function()
  5122. for i = 1,0,-0.1 do
  5123. wait()
  5124. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5125. end
  5126. Trail:remove()
  5127. end)()
  5128. coroutine.wrap(function()
  5129. for i = 1,10 do
  5130. wait()
  5131. Trail.Transparency = Trail.Transparency +0.1
  5132. end end)()end end)()
  5133. coroutine.wrap(function()
  5134. local Old = Handle.CFrame.p
  5135. while wait()do
  5136. if not TrailDeb then break end
  5137. local New = Handle.CFrame.p
  5138. local Mag =(Old -New).magnitude
  5139. local Dis =(Old +New)/2
  5140. local Trail = Instance.new("Part",Character)
  5141. Trail.Material = "Neon"
  5142. Trail.Anchored = true
  5143. Trail.CanCollide = false
  5144. Trail.BrickColor = Claw1Color
  5145. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5146. Trail.TopSurface = 0
  5147. Trail.BottomSurface = 0
  5148. Trail.formFactor = "Custom"
  5149. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5150. local ms = Instance.new("BlockMesh",Trail)
  5151. ms.Scale = Vector3.new(1,1,1)
  5152. local TM = Instance.new("CylinderMesh",Trail)
  5153. TM.Scale = Vector3.new(1,1,1)
  5154. Old = New
  5155. coroutine.wrap(function()
  5156. for i = 1,0,-0.1 do
  5157. wait()
  5158. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5159. end
  5160. Trail:remove()
  5161. end)()
  5162. coroutine.wrap(function()
  5163. for i = 1,10 do
  5164. wait()
  5165. Trail.Transparency = Trail.Transparency +0.1
  5166. end end)()end end)()
  5167. Footsteps:Stop()
  5168. Footsteps2:Stop()
  5169. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,3000,4000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5170. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,3000,4000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5171. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  5172. for i=0,1,0.1 do
  5173. swait()
  5174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5175. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5176. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5177. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5179. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5180. end
  5181. if anim then
  5182. anim.Disabled=true
  5183. end
  5184. for i=0,1,0.05 do
  5185. swait()
  5186. Torso.Velocity=RootPart.CFrame.lookVector*20
  5187. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5188. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5189. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  5190. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5191. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5192. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5193. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5194. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5195. end
  5196. for i=0,1,0.05 do
  5197. swait()
  5198. Torso.Velocity=RootPart.CFrame.lookVector*40
  5199. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5200. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5201. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  5202. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5203. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5204. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5205. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5206. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5207. end
  5208. for i=0,1,0.05 do
  5209. swait()
  5210. Torso.Velocity=RootPart.CFrame.lookVector*60
  5211. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5212. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5213. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  5214. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5215. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5216. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5217. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5218. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5219. end
  5220. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  5221. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5222. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5223. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5224. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5225. for i=0,1,0.05 do
  5226. swait()
  5227. Torso.Velocity=RootPart.CFrame.lookVector*80
  5228. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  5229. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5230. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5231. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5232. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5233. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5234. end
  5235. for i=0,1,0.005 do
  5236. swait()
  5237. Torso.Velocity=RootPart.CFrame.lookVector*100
  5238. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  5239. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5240. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5241. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5242. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5243. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5244. end
  5245. --dmgstop()
  5246. Humanoid.WalkSpeed=12
  5247. attack=false
  5248. con1:disconnect()
  5249. con2:disconnect()
  5250. if anim then
  5251. anim.Disabled=false
  5252. end
  5253. if TrailDeb == true then
  5254. TrailDeb = false
  5255. end
  5256. end
  5257.  
  5258. function Push()
  5259. attack=true
  5260. mana=mana-20
  5261. if TrailDeb == false then
  5262. TrailDeb = true
  5263. end
  5264.  
  5265.  
  5266. coroutine.wrap(function()
  5267. local Old = Handle2.CFrame.p
  5268. while wait()do
  5269. if not TrailDeb then break end
  5270. local New = Handle2.CFrame.p
  5271. local Mag =(Old -New).magnitude
  5272. local Dis =(Old +New)/2
  5273. local Trail = Instance.new("Part",Character)
  5274. Trail.Material = "Neon"
  5275. Trail.Anchored = true
  5276. Trail.CanCollide = false
  5277. Trail.BrickColor = Claw2Color
  5278. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5279. Trail.TopSurface = 0
  5280. Trail.BottomSurface = 0
  5281. Trail.formFactor = "Custom"
  5282. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5283. local ms = Instance.new("BlockMesh",Trail)
  5284. ms.Scale = Vector3.new(1,1,1)
  5285. local TM = Instance.new("CylinderMesh",Trail)
  5286. TM.Scale = Vector3.new(1,1,1)
  5287. Old = New
  5288. coroutine.wrap(function()
  5289. for i = 1,0,-0.1 do
  5290. wait()
  5291. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5292. end
  5293. Trail:remove()
  5294. end)()
  5295. coroutine.wrap(function()
  5296. for i = 1,10 do
  5297. wait()
  5298. Trail.Transparency = Trail.Transparency +0.1
  5299. end end)()end end)()
  5300. coroutine.wrap(function()
  5301. local Old = Handle.CFrame.p
  5302. while wait()do
  5303. if not TrailDeb then break end
  5304. local New = Handle.CFrame.p
  5305. local Mag =(Old -New).magnitude
  5306. local Dis =(Old +New)/2
  5307. local Trail = Instance.new("Part",Character)
  5308. Trail.Material = "Neon"
  5309. Trail.Anchored = true
  5310. Trail.CanCollide = false
  5311. Trail.BrickColor = Claw1Color
  5312. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5313. Trail.TopSurface = 0
  5314. Trail.BottomSurface = 0
  5315. Trail.formFactor = "Custom"
  5316. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5317. local ms = Instance.new("BlockMesh",Trail)
  5318. ms.Scale = Vector3.new(1,1,1)
  5319. local TM = Instance.new("CylinderMesh",Trail)
  5320. TM.Scale = Vector3.new(1,1,1)
  5321. Old = New
  5322. coroutine.wrap(function()
  5323. for i = 1,0,-0.1 do
  5324. wait()
  5325. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5326. end
  5327. Trail:remove()
  5328. end)()
  5329. coroutine.wrap(function()
  5330. for i = 1,10 do
  5331. wait()
  5332. Trail.Transparency = Trail.Transparency +0.1
  5333. end end)()end end)()
  5334. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5335. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,1000,2000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5336. for i=0,1,0.1 do
  5337. swait()
  5338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5340. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5341. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5342. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5343. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5344. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5345. end
  5346. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5347. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5348. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  5349. for i=0,1,0.1 do
  5350. swait()
  5351. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5352. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5353. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5354. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5355. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5356. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5357. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5358. end
  5359. --dmgstop()
  5360. attack=false
  5361. con1:disconnect()
  5362. con2:disconnect()
  5363. if TrailDeb == true then
  5364. TrailDeb = false
  5365. end
  5366. end
  5367.  
  5368. function Clap()
  5369. attack=true
  5370. mana=mana-20
  5371. if TrailDeb == false then
  5372. TrailDeb = true
  5373. end
  5374.  
  5375.  
  5376. coroutine.wrap(function()
  5377. local Old = Handle2.CFrame.p
  5378. while wait()do
  5379. if not TrailDeb then break end
  5380. local New = Handle2.CFrame.p
  5381. local Mag =(Old -New).magnitude
  5382. local Dis =(Old +New)/2
  5383. local Trail = Instance.new("Part",Character)
  5384. Trail.Material = "Neon"
  5385. Trail.Anchored = true
  5386. Trail.CanCollide = false
  5387. Trail.BrickColor = Claw2Color
  5388. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5389. Trail.TopSurface = 0
  5390. Trail.BottomSurface = 0
  5391. Trail.formFactor = "Custom"
  5392. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5393. local ms = Instance.new("BlockMesh",Trail)
  5394. ms.Scale = Vector3.new(1,1,1)
  5395. local TM = Instance.new("CylinderMesh",Trail)
  5396. TM.Scale = Vector3.new(1,1,1)
  5397. Old = New
  5398. coroutine.wrap(function()
  5399. for i = 1,0,-0.1 do
  5400. wait()
  5401. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5402. end
  5403. Trail:remove()
  5404. end)()
  5405. coroutine.wrap(function()
  5406. for i = 1,10 do
  5407. wait()
  5408. Trail.Transparency = Trail.Transparency +0.1
  5409. end end)()end end)()
  5410. coroutine.wrap(function()
  5411. local Old = Handle.CFrame.p
  5412. while wait()do
  5413. if not TrailDeb then break end
  5414. local New = Handle.CFrame.p
  5415. local Mag =(Old -New).magnitude
  5416. local Dis =(Old +New)/2
  5417. local Trail = Instance.new("Part",Character)
  5418. Trail.Material = "Neon"
  5419. Trail.Anchored = true
  5420. Trail.CanCollide = false
  5421. Trail.BrickColor = Claw1Color
  5422. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5423. Trail.TopSurface = 0
  5424. Trail.BottomSurface = 0
  5425. Trail.formFactor = "Custom"
  5426. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5427. local ms = Instance.new("BlockMesh",Trail)
  5428. ms.Scale = Vector3.new(1,1,1)
  5429. local TM = Instance.new("CylinderMesh",Trail)
  5430. TM.Scale = Vector3.new(1,1,1)
  5431. Old = New
  5432. coroutine.wrap(function()
  5433. for i = 1,0,-0.1 do
  5434. wait()
  5435. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5436. end
  5437. Trail:remove()
  5438. end)()
  5439. coroutine.wrap(function()
  5440. for i = 1,10 do
  5441. wait()
  5442. Trail.Transparency = Trail.Transparency +0.1
  5443. end end)()end end)()
  5444. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5445. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,2000,3000,math.random(2000,4000),"Normal",RootPart,.2,1) end)
  5446. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  5447. for i=0,1,0.08 do
  5448. swait()
  5449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5451. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5452. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  5453. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  5454. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  5455. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  5456. end
  5457. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5458. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5459. for i=0,1,0.08 do
  5460. swait()
  5461. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5462. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5463. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5464. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  5465. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  5466. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  5467. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  5468. end
  5469. --dmgstop()
  5470. attack=false
  5471. con1:disconnect()
  5472. con2:disconnect()
  5473. if TrailDeb == true then
  5474. TrailDeb = false
  5475. end
  5476. end
  5477.  
  5478. function Hai()
  5479. attack=true
  5480. Humanoid.WalkSpeed=0
  5481. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  5482. for i=0,1,0.1 do
  5483. swait()
  5484. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5485. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5486. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5487. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5488. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5489. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5491. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5492. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5493. end
  5494. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5495. for i=0,1,0.1 do
  5496. swait()
  5497. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5498. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5499. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5500. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5501. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5502. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5503. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5504. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  5505. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5506. end
  5507. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5508. for i=0,1,0.1 do
  5509. swait()
  5510. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5511. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5512. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5513. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5514. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5515. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5516. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5517. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5518. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5519.  
  5520. end
  5521. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5522. for i=0,1,0.1 do
  5523. swait()
  5524. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5525. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5526. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5527. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5528. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5529. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5530. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5531. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  5532. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5533. end
  5534. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5535. for i=0,1,0.1 do
  5536. swait()
  5537. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5538. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5539. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5540. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5541. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5542. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5543. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5544. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5545. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5546. end
  5547. --dmgstop()
  5548. Humanoid.WalkSpeed=12
  5549. attack=false
  5550. end
  5551.  
  5552. function Die()
  5553. attack=true
  5554. Footsteps:Stop()
  5555. Footsteps2:Stop()
  5556. local Fire = it("Sound",Character.Torso)
  5557. Fire.SoundId = "rbxassetid://192104941"
  5558. Fire.Looped = true
  5559. Fire.Pitch = 1
  5560. Fire.Volume = 1
  5561. local Fire2 = it("Sound",Handle2)
  5562. Fire2.SoundId = "rbxassetid://192104941"
  5563. Fire2.Looped = true
  5564. Fire2.Pitch = 1
  5565. Fire2.Volume = 1
  5566. local Fire3 = it("Sound",Handle)
  5567. Fire3.SoundId = "rbxassetid://192104941"
  5568. Fire3.Looped = true
  5569. Fire3.Pitch = 1
  5570. Fire3.Volume = 1
  5571. local Fire4 = it("Sound",handle)
  5572. Fire4.SoundId = "rbxassetid://192104941"
  5573. Fire4.Looped = true
  5574. Fire4.Pitch = 1
  5575. Fire4.Volume = 1
  5576. local fire = Instance.new("ParticleEmitter", Character.Torso)
  5577. fire.Lifetime = NumberRange.new(0.5)
  5578. fire.Speed = NumberRange.new(1, 3)
  5579. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5580. fire.Rate = 0
  5581. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5582. fire.LightEmission = 0.6
  5583. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  5584. fire.Color = FireDeathColor
  5585. local fire2 = Instance.new("ParticleEmitter", Handle)
  5586. fire2.Lifetime = NumberRange.new(0.5)
  5587. fire2.Speed = NumberRange.new(1, 3)
  5588. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5589. fire2.Rate = 0
  5590. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5591. fire2.LightEmission = 0.6
  5592. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  5593. fire2.Color = FireDeathColor
  5594. local fire3 = Instance.new("ParticleEmitter", Handle2)
  5595. fire3.Lifetime = NumberRange.new(0.5)
  5596. fire3.Speed = NumberRange.new(1, 3)
  5597. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5598. fire3.Rate = 0
  5599. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5600. fire3.LightEmission = 0.6
  5601. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  5602. fire3.Color = FireDeathColor
  5603. local fire4 = Instance.new("ParticleEmitter", handle)
  5604. fire4.Lifetime = NumberRange.new(0.5)
  5605. fire4.Speed = NumberRange.new(1, 3)
  5606. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5607. fire4.Rate = 0
  5608. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5609. fire4.LightEmission = 0.6
  5610. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  5611. fire4.Color = FireDeathColor
  5612. Humanoid.WalkSpeed = 0
  5613. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  5614. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  5615. for i=0,1,0.08 do
  5616. swait()
  5617. Torso.Velocity=RootPart.CFrame.lookVector*-30
  5618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  5619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  5620. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5621. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5622. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5623. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  5624. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  5625. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  5626. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  5627. end
  5628. for i=0,1,0.005 do
  5629. swait()
  5630. moosick.Volume=1-2*i
  5631. light.Range=15-10*i
  5632. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5633. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5634. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5635. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5636. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5637. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5638. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5639. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5640. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5641. end
  5642. light.Range=0
  5643. for i=0,1,0.01 do
  5644. swait()
  5645. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5646. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5647. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5648. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5649. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5650. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5651. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5652. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5653. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5654. end
  5655. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  5656. fire.Rate = 1000
  5657. fire2.Rate = 1000
  5658. fire3.Rate = 1000
  5659. fire4.Rate = 1000
  5660. Fire:Play()
  5661. Fire2:Play()
  5662. Fire3:Play()
  5663. Fire4:Play()
  5664. for i=0,1,0.005 do
  5665. swait()
  5666. Character.Head.face.Transparency = 0+1*i
  5667. LeftArm.Transparency=0+1*i
  5668. RightArm.Transparency=0+1*i
  5669. LeftLeg.Transparency=0+1*i
  5670. RightLeg.Transparency=0+1*i
  5671. Head.Transparency=0+1*i
  5672. Torso.Transparency=0+1*i
  5673. for _,v in pairs(Character:children()) do
  5674. if v:IsA("Hat") then
  5675. v.Handle.Transparency = 0+1*i
  5676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5678. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5679. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5680. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5681. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5682. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5683. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5684. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5685. end
  5686. end
  5687. --dmgstop()
  5688. end
  5689. Humanoid.Health = 0
  5690. end
  5691.  
  5692. equipanim()
  5693.  
  5694. local sine = 0
  5695. local change = 1
  5696. local val = 0
  5697.  
  5698. local mananum=0
  5699. while true do
  5700. swait()
  5701. sine = sine + change
  5702. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5703. local velderp=RootPart.Velocity.y
  5704. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5705. if equipped==true or equipped==false then
  5706. if Anim=="Idle" and attack==false then
  5707. idle=idle+1
  5708. else
  5709. idle=0
  5710. end
  5711. if Humanoid.Health <=20 then
  5712. if attack == false then
  5713. Humanoid.Health = math.huge
  5714. Die()
  5715. end
  5716. end
  5717. if idle>=1000 then
  5718. if attack==false then
  5719. --Sheath()
  5720. end
  5721. end
  5722. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5723. Anim="Jump"
  5724. if attack==false then
  5725. Footsteps:Stop()
  5726. Footsteps2:Stop()
  5727. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  5728. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5729. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  5730. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  5731. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5732. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  5733. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5734. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  5735. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  5736. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  5737. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5738. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5739. end
  5740. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5741. Anim="Fall"
  5742. if attack==false then
  5743. Footsteps:Stop()
  5744. Footsteps2:Stop()
  5745. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  5746. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  5748. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  5749. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5750. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  5751. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5752. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  5753. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  5754. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5755. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  5756. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  5757. end
  5758. elseif torvel<1 and hitfloor~=nil then
  5759. Anim="Idle"
  5760. change=0.5
  5761. if idle>=1000 then
  5762. if attack==false then
  5763. Footsteps:Stop()
  5764. Footsteps2:Stop()
  5765. Humanoid.WalkSpeed=12
  5766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  5767. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  5768. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  5769. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  5770. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  5771. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5772. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5773. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5774. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  5775. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  5776. --
  5777. Character.Humanoid.Health=Character.Humanoid.Health+.10
  5778. --
  5779. end
  5780. else
  5781. if attack==false then
  5782. Footsteps:Stop()
  5783. Footsteps2:Stop()
  5784. Humanoid.WalkSpeed=12
  5785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  5786. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  5787. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5788. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  5789. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  5790. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  5791. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  5792. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  5793. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  5794. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  5795. end
  5796. end
  5797. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5798. Anim="Walk"
  5799. if attack==false then
  5800. change=0.8
  5801. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  5802. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  5803. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  5804. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  5805. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  5806. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  5807. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5809. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  5810. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  5811. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  5812. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  5813. RH.C0=clerp(RH.C0,RHC0,.3)
  5814. LH.C0=clerp(LH.C0,LHC0,.3)
  5815. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5816. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5817. ]]--
  5818. Footsteps:Play()
  5819. Footsteps2:Stop()
  5820. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  5821. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  5822. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5823. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  5824. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  5825. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  5826. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  5827. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5828. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  5829. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  5830. end
  5831. elseif torvel>=22 and hitfloor~=nil then
  5832. Anim="Run"
  5833. change=1
  5834. if attack==false then
  5835. Footsteps:Stop()
  5836. Footsteps2:Play()
  5837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  5838. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  5839. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5840. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  5841. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  5842. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  5843. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  5844. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5845. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  5846. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  5847. end
  5848. end
  5849. end
  5850. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  5851. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  5852. if mana>=100 then
  5853. mana=100
  5854. else
  5855. if mananum<=8 then
  5856. mananum=mananum+1
  5857. else
  5858. mananum=0
  5859. mana=mana+1
  5860. end
  5861. end
  5862. end
  5863. end
  5864. -- ~CLarramore
  5865.  
  5866.  
  5867.  
  5868.  
  5869.  
  5870. function AoE(p,magnitude)
  5871. local c = game.Workspace:GetChildren();
  5872. for i = 1, #c do
  5873. local hum = c[i]:findFirstChild("Humanoid")
  5874. if hum ~= nil and hum.Health ~= 0 then
  5875. local head = c[i]:findFirstChild("Head");
  5876. if head ~= nil then
  5877. local mag = (head.Position - p).magnitude;
  5878. if mag <= magnitude and c[i].Name ~= Character.Name then
  5879. local foundd = false
  5880. for ii = 1 , #AoETrue do
  5881. if AoETrue[ii] == c[i].Name then
  5882. foundd = true
  5883. end
  5884. end
  5885. if foundd then
  5886. end
  5887. --
  5888. if not foundd then
  5889. local critrandomizer = math.random(crtrate)
  5890. if critrandomizer ~= 1 then
  5891. local rndmdamage = math.random(mindamage,maxdamage)
  5892. damage(hum,rndmdamage,false)
  5893. elseif critrandomizer == 1 then
  5894. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  5895. damage(hum,rndmdamage,true)
  5896. end
  5897. table.insert(AoETrue,c[i].Name)
  5898. end
  5899. end
  5900. end
  5901. end
  5902. end
  5903. for ii = 1 , #AoETrue do
  5904. table.remove(AoETrue,#AoETrue)
  5905. end
  5906. end
  5907. --
  5908. --
  5909. function effect(Color,Ref,LP,P1)
  5910. local effectsmsh = Instance.new("BlockMesh")
  5911. effectsmsh.Scale = Vector3.new(1,1,1)
  5912. effectsmsh.Name = "Mesh"
  5913. local effectsg = Instance.new("Part")
  5914. effectsg.formFactor = 3
  5915. effectsg.CanCollide = false
  5916. effectsg.Name = "Eff"
  5917. effectsg.Locked = true
  5918. effectsg.Anchored = true
  5919. effectsg.Size = Vector3.new(0.2,1,0.2)
  5920. effectsg.Parent = swordholder
  5921. effectsmsh.Parent = effectsg
  5922. effectsg.BrickColor = BrickColor.new(Color)
  5923. effectsg.Reflectance = Ref
  5924. local point1 = P1
  5925. local mg = (LP.p - point1.p).magnitude
  5926. effectsg.Size = Vector3.new(0.2,mg,0.2)
  5927. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  5928. coroutine.resume(coroutine.create(function()
  5929. for i = 0 , 1 , 0.1 do
  5930. wait()
  5931. effectsg.Transparency = 1*i
  5932. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  5933. end
  5934. wait()
  5935. effectsg.Parent = nil
  5936. end))
  5937. end
  5938. --
  5939. con = nil
  5940. function dmgcnnct()
  5941. if con ~= nil then
  5942. con:disconnect()
  5943. Hitdeb = 0
  5944. end
  5945. con = prt11.Touched:connect(OT)
  5946. end
  5947. function dmgdc()
  5948. if con ~= nil then
  5949. con:disconnect()
  5950. Hitdeb = 0
  5951. end
  5952. end
  5953. function rptddmg(value,des,inc)
  5954. coroutine.resume(coroutine.create(function()
  5955. repeat
  5956. wait(inc)
  5957. Hitdeb = 0
  5958. until value == des
  5959. end))
  5960. end
  5961. function atktype(s,e)
  5962. coroutine.resume(coroutine.create(function ()
  5963. attacktype = e
  5964. wait(0.25)
  5965. attacktype = s
  5966. end))
  5967. end
  5968. function shoottrail(mouse) -- here
  5969. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread)) / 100) * (prt1.Position-mouse.Hit.p).magnitude/100
  5970. local dir = CFrame.new((prt1.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector) -- to here
  5971. local hit,pos = rayCast(prt1.Position,dir.lookVector,10,Character) -- here
  5972. local rangepos = range
  5973. local function drawtrail(From,To)
  5974. local effectsmsh = Instance.new("CylinderMesh")
  5975. effectsmsh.Scale = Vector3.new(1,1,1)
  5976. effectsmsh.Name = "Mesh"
  5977. local effectsg = Instance.new("Part")
  5978. effectsg.formFactor = 3
  5979. effectsg.CanCollide = false
  5980. effectsg.Name = "Eff"
  5981. effectsg.Locked = true
  5982. effectsg.Anchored = true
  5983. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  5984. effectsg.Parent = swordholder
  5985. effectsmsh.Parent = effectsg
  5986. effectsg.BrickColor = arrowtrail
  5987. effectsg.Reflectance = 0.25
  5988. local LP = From
  5989. local point1 = To
  5990. local mg = (LP - point1).magnitude
  5991. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  5992. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  5993. coroutine.resume(coroutine.create(function()
  5994. for i = 0 , 1 , 0.1 do
  5995. wait()
  5996. effectsg.Transparency = 1*i
  5997. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  5998. end
  5999. effectsg.Parent = nil
  6000. end))
  6001. end
  6002. local newpos = prt1.Position
  6003. local inc = rangepower
  6004. repeat
  6005. wait() wait()
  6006. rangepos = rangepos - 10
  6007. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  6008. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  6009. drawtrail(newpos,pos)
  6010. newpos = newpos + (dir.lookVector * inc)
  6011. if inc >= 20 then
  6012. inc = inc - 10
  6013. end
  6014. if hit ~= nil then
  6015. rangepos = 0
  6016. end
  6017. until rangepos <= 0
  6018. if hit ~= nil then
  6019. hs(Head,1)
  6020. local effectsmsh = Instance.new("SpecialMesh")
  6021. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  6022. effectsmsh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  6023. effectsmsh.Scale = Vector3.new(1,1,2.5)
  6024. local effectsg = Instance.new("Part")
  6025. effectsg.formFactor = 3
  6026. effectsg.CanCollide = false
  6027. effectsg.Name = "Arrow"
  6028. effectsg.Locked = true
  6029. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  6030. effectsg.Parent = swordholder
  6031. effectsmsh.Parent = effectsg
  6032. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  6033. local weld = Instance.new("Weld")
  6034. weld.Part0 = effectsg
  6035. weld.Part1 = hit
  6036. local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  6037. local CJ = CFrame.new(HitPos)
  6038. local C0 = effectsg.CFrame:inverse() * CJ
  6039. local C1 = hit.CFrame:inverse() * CJ
  6040. weld.C0 = C0
  6041. weld.C1 = C1
  6042. weld.Parent = effectsg
  6043. coroutine.resume(coroutine.create(function()
  6044. wait(15)
  6045. effectsg.Parent = nil
  6046. end))
  6047. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  6048. hum = hit.Parent.Humanoid
  6049. ADmg(hum,hit)
  6050. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  6051. hum = hit.Parent.Parent.Humanoid
  6052. ADmg(hum,hit)
  6053. end
  6054. end
  6055. end
  6056. function Ready(z)
  6057. if Ammo <= 0 then Reload() return end
  6058. attack = true
  6059. local wt,t = faketors()
  6060. w9.Part1 = t
  6061. w8.Part1 = t
  6062. Character.Humanoid.WalkSpeed = 5
  6063. for i = 0 , 1 , 0.2 do
  6064. wait()
  6065. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(20+60*i))
  6066. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6067. LW.C0 = CFrame.new(-1.5+1.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(-20+110*i))
  6068. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6069. w1.C0 = CFrame.Angles(math.rad(-90), 0, math.rad(0)) * CFrame.new(0.25*i, 0, 0)
  6070. wt.C0 = CFrame.Angles(0, math.rad(-80*i), 0)
  6071. w11.C0 = CFrame.Angles(math.rad(-90*i),0,math.rad(90-95*i)) * CFrame.new(0,1+1.5*i,0)
  6072. end
  6073. strmdl = "LeftArm"
  6074. for i = 0 , 1 , 0.25 do
  6075. wait()
  6076. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(80))
  6077. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6078. LW.C0 = CFrame.new(-1.5*i, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  6079. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6080. w1.C0 = CFrame.Angles(math.rad(-90), 0, math.rad(0)) * CFrame.new(0.25, 0, 0)
  6081. wt.C0 = CFrame.Angles(0, math.rad(-80), 0)
  6082. end
  6083. repeat
  6084. wait()
  6085. until not keyhold
  6086. strmdl = "Bow"
  6087. as(Head,1)
  6088. --ss(Head,2)
  6089. for i = 1 , Ammo do
  6090. coroutine.resume(coroutine.create(function()
  6091. shoottrail(z)
  6092. end))
  6093. end
  6094. Ammo = 0
  6095. for i = 0 , 1 , 0.2 do
  6096. wait()
  6097. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90+10*i),math.rad(0),math.rad(80))
  6098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6099. LW.C0 = CFrame.new(-1.5, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90-45*i))
  6100. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45*i), 0, 0)
  6101. w1.C0 = CFrame.Angles(math.rad(-90), 0, math.rad(0)) * CFrame.new(0.25, 0, 0)
  6102. wt.C0 = CFrame.Angles(0, math.rad(-80+40*i), 0)
  6103. end
  6104. for i = 0 , 1 , 0.2 do
  6105. wait()
  6106. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(100+10*i),math.rad(0),math.rad(80))
  6107. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6108. LW.C0 = CFrame.new(-1.5, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(45))
  6109. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45-10*i), 0, 0)
  6110. w1.C0 = CFrame.Angles(math.rad(-90), 0, math.rad(0)) * CFrame.new(0.25, 0, 0)
  6111. wt.C0 = CFrame.Angles(0, math.rad(-40+40*i), 0)
  6112. end
  6113. strmdl = "TopArm"
  6114. w11.C0 = CFrame.Angles(0,0,math.rad(90)) * CFrame.new(0,1,0)
  6115. w9.Part1 = Torso
  6116. w8.Part1 = Torso
  6117. RW.Part0 = Torso
  6118. LW.Part0 = Torso
  6119. Torso.Transparency = 0
  6120. RHL.Part0 = Torso
  6121. LHL.Part0 = Torso
  6122. t.Parent = nil
  6123. Character.Humanoid.WalkSpeed = 14
  6124. for i = 0 , 1 , 0.2 do
  6125. wait()
  6126. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(110-100*i),math.rad(0),math.rad(80-60*i))
  6127. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6128. LW.C0 = CFrame.new(-1.5, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(45-65*i))
  6129. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-55+45*i), 0, 0)
  6130. w1.C0 = CFrame.Angles(math.rad(-90), 0, math.rad(0)) * CFrame.new(0.25-0.25*i, 0, 0)
  6131. end
  6132. attack = false
  6133. end
  6134. function Reload()
  6135. attack = true
  6136. for i = 0 , 1 , 0.2 do
  6137. wait()
  6138. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10-20*i),math.rad(0),math.rad(20))
  6139. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6140. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10-55*i),math.rad(0),math.rad(-20-10*i))
  6141. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6142. w11.C0 = CFrame.Angles(math.rad(90*i),0,math.rad(90-15*i)) * CFrame.new(0,1,0)
  6143. end
  6144. AddAmmo(Ammoregen)
  6145. for i = 0 , 1 , 0.2 do
  6146. wait()
  6147. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20))
  6148. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6149. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-30-10*i))
  6150. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), 0, 0)
  6151. w11.C0 = CFrame.Angles(math.rad(90-90*i),math.rad(-90*i),math.rad(75)) * CFrame.new(0,1,0)
  6152. end
  6153. for i = 0 , 1 , 0.2 do
  6154. wait()
  6155. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-10+20*i),math.rad(0),math.rad(20))
  6156. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6157. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-45+55*i),math.rad(0),math.rad(-40+20*i))
  6158. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), 0, 0)
  6159. w11.C0 = CFrame.Angles(math.rad(0),math.rad(-90+90*i),math.rad(75+15*i)) * CFrame.new(0,1,0)
  6160. end
  6161. attack = false
  6162. end
  6163. function NormalArrows()
  6164. attack = true
  6165. strmdl = "Bow"
  6166. for i = 0 , 1 , 0.1 do
  6167. wait()
  6168. RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(20-65*i))
  6169. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6170. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(-20+65*i))
  6171. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25*i), 0, 0)
  6172. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45*i)) * CFrame.new(0, 0, 0)
  6173. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10*i),0,0)
  6174. end
  6175. ars(Head,0.5)
  6176. for i = 0 , 1 , 0.2 do
  6177. wait()
  6178. RW.C0 = CFrame.new(1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45))
  6179. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5*i), 0, 0)
  6180. LW.C0 = CFrame.new(-1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(45))
  6181. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25+30*i), 0, 0)
  6182. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45)) * CFrame.new(0, 0, 0)
  6183. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10+15*i),0,0)
  6184. end
  6185. for i = 0 , 1 , 0.1 do
  6186. wait()
  6187. RW.C0 = CFrame.new(1+0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(-45+65*i))
  6188. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6189. LW.C0 = CFrame.new(-1-0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(45-65*i))
  6190. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6191. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45+45*i)) * CFrame.new(0, 0, 0)
  6192. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(5-5*i),0,0)
  6193. end
  6194. CurrentArrow = "Normal"
  6195. arrowtrail = BrickColor.new("White")
  6196. strmdl = "TopArm"
  6197. attack = false
  6198. end
  6199. function PoisonArrows()
  6200. attack = true
  6201. strmdl = "Bow"
  6202. for i = 0 , 1 , 0.1 do
  6203. wait()
  6204. RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(20-65*i))
  6205. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6206. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(-20+65*i))
  6207. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25*i), 0, 0)
  6208. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45*i)) * CFrame.new(0, 0, 0)
  6209. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10*i),0,0)
  6210. end
  6211. ars(Head,0.5)
  6212. for i = 0 , 1 , 0.2 do
  6213. wait()
  6214. RW.C0 = CFrame.new(1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45))
  6215. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5*i), 0, 0)
  6216. LW.C0 = CFrame.new(-1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(45))
  6217. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25+30*i), 0, 0)
  6218. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45)) * CFrame.new(0, 0, 0)
  6219. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10+15*i),0,0)
  6220. end
  6221. for i = 0 , 1 , 0.1 do
  6222. wait()
  6223. RW.C0 = CFrame.new(1+0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(-45+65*i))
  6224. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6225. LW.C0 = CFrame.new(-1-0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(45-65*i))
  6226. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6227. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45+45*i)) * CFrame.new(0, 0, 0)
  6228. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(5-5*i),0,0)
  6229. end
  6230. CurrentArrow = "Poison"
  6231. arrowtrail = BrickColor.new("Bright violet")
  6232. strmdl = "TopArm"
  6233. attack = false
  6234. coroutine.resume(coroutine.create(function()
  6235. repeat
  6236. wait(0.25+0.75*math.random())
  6237. if Ammo ~= 0 then
  6238. local meshb1 = Instance.new("SpecialMesh")
  6239. meshb1.Scale = Vector3.new(1,1,1)
  6240. meshb1.MeshType = "Sphere"
  6241. local shellb1 = Instance.new("Part")
  6242. meshb1.Parent = shellb1
  6243. shellb1.Anchored = true
  6244. shellb1.formFactor = 3
  6245. shellb1.Size = Vector3.new(0.3,0.3,0.3)
  6246. shellb1.CFrame = CFrame.new((prt11.CFrame * CFrame.new(0,0,2)).p)
  6247. shellb1.Parent = swordholder
  6248. shellb1.Transparency = 0
  6249. shellb1.BrickColor = BrickColor.new("Alder")
  6250. shellb1.CanCollide = false
  6251. for i = 0 , 1 , 0.1 do
  6252. wait()
  6253. shellb1.CFrame = shellb1.CFrame + Vector3.new(0,-0.15,0)
  6254. shellb1.Transparency = 1*i
  6255. meshb1.Scale = Vector3.new(1,1+3*i,1)
  6256. end
  6257. shellb1.Parent=nil
  6258. end
  6259. until CurrentArrow ~= "Poison"
  6260. end))
  6261. end
  6262. function FireArrows()
  6263. attack = true
  6264. strmdl = "Bow"
  6265. for i = 0 , 1 , 0.1 do
  6266. wait()
  6267. RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(20-65*i))
  6268. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6269. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(-20+65*i))
  6270. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25*i), 0, 0)
  6271. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45*i)) * CFrame.new(0, 0, 0)
  6272. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10*i),0,0)
  6273. end
  6274. ars(Head,0.5)
  6275. for i = 0 , 1 , 0.2 do
  6276. wait()
  6277. RW.C0 = CFrame.new(1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45))
  6278. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5*i), 0, 0)
  6279. LW.C0 = CFrame.new(-1, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(45))
  6280. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-25+30*i), 0, 0)
  6281. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45)) * CFrame.new(0, 0, 0)
  6282. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(-10+15*i),0,0)
  6283. end
  6284. for i = 0 , 1 , 0.1 do
  6285. wait()
  6286. RW.C0 = CFrame.new(1+0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(-45+65*i))
  6287. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6288. LW.C0 = CFrame.new(-1-0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(45-65*i))
  6289. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(5-5*i), 0, 0)
  6290. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-45+45*i)) * CFrame.new(0, 0, 0)
  6291. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(5-5*i),0,0)
  6292. end
  6293. CurrentArrow = "Fire"
  6294. arrowtrail = BrickColor.new("Bright red")
  6295. strmdl = "TopArm"
  6296. attack = false
  6297. coroutine.resume(coroutine.create(function()
  6298. repeat
  6299. wait(0.1+0.15*math.random())
  6300. if Ammo ~= 0 then
  6301. coroutine.resume(coroutine.create(function()
  6302. local meshb1 = Instance.new("BlockMesh")
  6303. meshb1.Scale = Vector3.new(1,1,1)
  6304. local shellb1 = Instance.new("Part")
  6305. meshb1.Parent = shellb1
  6306. shellb1.Anchored = true
  6307. shellb1.formFactor = 3
  6308. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(10,50)/10)
  6309. shellb1.CFrame = CFrame.new((prt11.CFrame * CFrame.new(0,0,2)).p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  6310. shellb1.Parent = swordholder
  6311. shellb1.Transparency = 0
  6312. if math.random(1,2) == 1 then
  6313. shellb1.BrickColor = BrickColor.new("Bright red")
  6314. else
  6315. shellb1.BrickColor = BrickColor.new("Bright orange")
  6316. end
  6317. shellb1.CanCollide = false
  6318. local incre = math.random(100,500)/1000
  6319. for i = 0 , 1 , 0.1 do
  6320. wait()
  6321. shellb1.CFrame = shellb1.CFrame + Vector3.new(0,0.15+incre,0)
  6322. shellb1.Transparency = 1*i
  6323. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  6324. end
  6325. shellb1.Parent=nil
  6326. end))
  6327. end
  6328. until CurrentArrow ~= "Fire"
  6329. end))
  6330. end
  6331. function MeleeArrow()
  6332. if Ammo == 0 then return end
  6333. attack = true
  6334. ss(Head,1)
  6335. for i = 0 , 1 , 0.2 do
  6336. wait()
  6337. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10+35*i),math.rad(0),math.rad(20+50*i))
  6338. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6339. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10+80*i),math.rad(0),math.rad(-20-90*i))
  6340. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(90*i), 0)
  6341. w11.C0 = CFrame.Angles(math.rad(0),0,math.rad(90)) * CFrame.new(0,1,-1*i)
  6342. w11.C1 = CFrame.Angles(math.rad(0),0,math.rad(0))
  6343. end
  6344. prcntdmg(25)
  6345. dmgcnnct()
  6346. local lp = prt11.CFrame * CFrame.new(0,0,2)
  6347. for i = 0 , 1 , 0.25 do
  6348. wait()
  6349. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(70+40*i))
  6350. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6351. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110+155*i))
  6352. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), 0)
  6353. w11.C0 = CFrame.Angles(math.rad(0),0,math.rad(90)) * CFrame.new(0,1,-1)
  6354. w11.C1 = CFrame.Angles(math.rad(0),0,math.rad(0))
  6355. local Point = prt11.CFrame * CFrame.new(0,0,2)
  6356. effect("White",0.5,lp,Point)
  6357. lp = Point
  6358. end
  6359. for i = 0 , 1 , 0.2 do
  6360. wait()
  6361. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(110+30*i))
  6362. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6363. LW.C0 = CFrame.new(-1+0.5*i, 0.5, -1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(45+45*i))
  6364. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), 0)
  6365. w11.C0 = CFrame.Angles(math.rad(0),0,math.rad(90)) * CFrame.new(0,1,-1+1*i)
  6366. w11.C1 = CFrame.Angles(math.rad(90*i),0,math.rad(0)) * CFrame.new(0,1*i,2*i)
  6367. local Point = prt11.CFrame * CFrame.new(0,0,2)
  6368. effect("White",0.5,lp,Point)
  6369. lp = Point
  6370. end
  6371. for i = 0 , 1 , 0.1 do
  6372. wait()
  6373. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45-35*i),math.rad(0),math.rad(140-120*i))
  6374. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6375. LW.C0 = CFrame.new(-0.5-1*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90-80*i),math.rad(0),math.rad(90-110*i))
  6376. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(90-90*i), 0)
  6377. w11.C0 = CFrame.Angles(math.rad(0),0,math.rad(90)) * CFrame.new(0,1,0)
  6378. w11.C1 = CFrame.Angles(math.rad(90-90*i),0,math.rad(0)) * CFrame.new(0,1-1*i,2-2*i)
  6379. end
  6380. dmgdc()
  6381. returndmg()
  6382. attack = false
  6383. end
  6384. function returnwelds()
  6385. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(20))
  6386. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6387. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20))
  6388. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6389. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0)
  6390. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  6391. RWL.C1 = CFrame.new(0.5, 1, 0)
  6392. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  6393. LWL.C1 = CFrame.new(-0.5, 1, 0)
  6394. Neck.C0 = neckcf0
  6395. end
  6396. if key == "z" then
  6397. MeleeArrow()
  6398. end
  6399. keyhold = false
  6400. function ob1d(mouse)
  6401. hold = true
  6402. if attack then return end
  6403. keyhold = true
  6404. Ready(mouse)
  6405. end
  6406. function ob1u(mouse)
  6407. keyhold = false
  6408. end
  6409. buttonhold = false
  6410. function key(key,z)
  6411. if attack then return end
  6412. if key == "x" then -- f original key
  6413. Reload()
  6414. end
  6415. if key == "q" then
  6416. MeleeArrow()
  6417. end
  6418. if key == "e" then
  6419. NormalArrows()
  6420. end
  6421. if key == "r" then
  6422. PoisonArrows()
  6423. end
  6424. if key == "t" then
  6425. FireArrows()
  6426. end
  6427. end
  6428. function key2(key)
  6429. if key == "x" then
  6430. buttonhold = false
  6431. end
  6432. end
  6433. function s(mouse)
  6434. repeat wait() until not attack
  6435. repeat wait() until not ev.Value -- here
  6436. mouse.Button1Down:connect(function() ob1d(mouse) end)
  6437. mouse.Button1Up:connect(function() ob1u(mouse) end)
  6438. mouse.KeyDown:connect(function(ke) key(ke,mouse) end)
  6439. mouse.KeyUp:connect(key2)
  6440. equipanim()
  6441. ev.Value = true
  6442. end
  6443. function ds(z)
  6444. keyhold = false
  6445. repeat wait() until not attack
  6446. repeat wait() until ev.Value
  6447. hideanim()
  6448. wait(0.1)
  6449. ev.Value = false
  6450. end
  6451. Bin.Selected:connect(s)
  6452. Bin.Deselected:connect(ds)
  6453. if PlayerGui:findFirstChild("AmmoMeter") ~= nil then
  6454. PlayerGui:findFirstChild("AmmoMeter").Parent = nil
  6455. end
  6456. coroutine.resume(coroutine.create(function()
  6457. local SG = Instance.new("ScreenGui",PlayerGui)
  6458. SG.Name = "AmmoMeter"
  6459. local frame = Instance.new("Frame",SG)
  6460. frame.Size = UDim2.new(0.2,0,0.1,0)
  6461. frame.Position = UDim2.new(0.5-0.1,0,0.05,0)
  6462. frame.BackgroundColor3 = BrickColor.new("Brown").Color
  6463. local Ammotext = Instance.new("TextLabel",frame)
  6464. Ammotext.Size = UDim2.new(1,0,0.35,0)
  6465. Ammotext.BackgroundTransparency = 1
  6466. Ammotext.Text = "Ammo"
  6467. Ammotext.FontSize = "Size18"
  6468. Ammotext.TextColor3 = BrickColor.new("White").Color
  6469. local backing = Instance.new("ImageLabel",frame)
  6470. backing.Size = UDim2.new(0.8,0,0.45,0)
  6471. backing.Image = "http://www.roblox.com/asset/?id=48965808"
  6472. backing.Position = UDim2.new(0.1,0,0.45,0)
  6473. backing.BackgroundColor3 = BrickColor.new("Black").Color
  6474. local img = Instance.new("ImageLabel",backing)
  6475. img.Size = UDim2.new(1,0,1,0)
  6476. img.Image = "http://www.roblox.com/asset/?id=48965808"
  6477. img.Position = UDim2.new(0,0,0,0)
  6478. img.BackgroundColor3 = BrickColor.new("Brown").Color
  6479. local percent = Instance.new("TextLabel",backing)
  6480. percent.Size = UDim2.new(1,0,1,0)
  6481. percent.BackgroundTransparency = 1
  6482. percent.TextColor3 = BrickColor.new("White").Color
  6483. percent.Text = Ammo.."/".. MaxAmmo
  6484. percent.FontSize = "Size18"
  6485. local currentam = Instance.new("TextLabel",frame)
  6486. currentam.Size = UDim2.new(0.5,0,0.25,0)
  6487. currentam.Position = UDim2.new(0,0,1,0)
  6488. currentam.BackgroundTransparency = 0
  6489. currentam.BackgroundColor3 = BrickColor.new("Brown").Color
  6490. currentam.TextColor3 = BrickColor.new("White").Color
  6491. currentam.Text = CurrentArrow
  6492. currentam.FontSize = "Size18"
  6493. repeat
  6494. wait()
  6495. pcall(function()
  6496. img.Size = UDim2.new(1*(Ammo/MaxAmmo),0,1,0)
  6497. percent.Text = Ammo.."/".. MaxAmmo
  6498. currentam.Text = CurrentArrow
  6499. end)
  6500. until SG.Parent == nil
  6501. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement