Advertisement
Dark_EccentricYT

Untitled

Jun 25th, 2017
22,282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.53 KB | None | 0 0
  1. --[[ C o n t r o l s : Made by Tollonis
  2. E - Draw arrow (press E again to put it back)
  3. Left Click - Fire
  4. Z - Equip/Unequip
  5.  
  6. As always, feel free to DM me with suggestions or bugs. ]]--
  7.  
  8. wait()
  9. player = game.Players.LocalPlayer
  10. char = player.Character
  11. mouse = player:GetMouse()
  12.  
  13. print("WHAT UP")
  14.  
  15. armed = false
  16. canfire = false
  17. enabled = true
  18. equipped = false
  19.  
  20. mouse.Icon = "rbxassetid://311756275"
  21.  
  22. rightshoulder = char.Torso["Right Shoulder"]:Clone()
  23. leftshoulder = char.Torso["Left Shoulder"]:Clone()
  24.  
  25. hed = Instance.new("Weld", char.Torso)
  26. hed.Part0 = char.Torso
  27. hed.Part1 = char.Head
  28. hed.C0 = CFrame.new(0, 1.55, 0) * CFrame.Angles(0, 0, 0)
  29.  
  30. tors = Instance.new("Weld", char.HumanoidRootPart)
  31. tors.Part0 = char.HumanoidRootPart
  32. tors.Part1 = char.Torso
  33. tors.C0 = CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0)
  34.  
  35. -- the bow stuff
  36.  
  37. bow = Instance.new("Model")
  38. bow.Parent = game.Workspace
  39. bow.Name = "bow"
  40.  
  41. handle = Instance.new("Part")
  42. handle.CFrame = CFrame.new(Vector3.new(-48.1999893, 2.79998732, -58.2000122)) * CFrame.Angles(-3.1415927410126, 0, -0)
  43. handle.Size = Vector3.new(0.200000003, 1.20000005, 0.200000003)
  44. handle.BrickColor = BrickColor.new("Pine Cone")
  45. handle.Friction = 0.30000001192093
  46. handle.Shape = Enum.PartType.Block
  47. handle.Name = "Handle"
  48. handle.Parent = bow
  49. handle.CanCollide = false
  50.  
  51. leg2 = Instance.new("Part")
  52. leg2.CFrame = CFrame.new(Vector3.new(-48.1999931, 1.25002313, -58.2000008)) * CFrame.Angles(-3.1415927410126, 0, -0)
  53. leg2.Size = Vector3.new(0.200000003, 1.90000021, 0.200000003)
  54. leg2.BrickColor = BrickColor.new("Pine Cone")
  55. leg2.Friction = 0.30000001192093
  56. leg2.Shape = Enum.PartType.Block
  57. leg2.Name = "Leg2"
  58. leg2.Parent = bow
  59. leg2.CanCollide = false
  60.  
  61. cap2 = Instance.new("Part")
  62. cap2.CFrame = CFrame.new(Vector3.new(-48.2000046, 0.300019979, -58.2000008)) * CFrame.Angles(1.5707963705063, 0, -0)
  63. cap2.TopSurface = Enum.SurfaceType.Smooth
  64. cap2.BottomSurface = Enum.SurfaceType.Smooth
  65. cap2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  66. cap2.BrickColor = BrickColor.new("Pine Cone")
  67. cap2.Friction = 0.30000001192093
  68. cap2.Shape = Enum.PartType.Cylinder
  69. cap2.Name = "Cap2"
  70. cap2.Parent = bow
  71. cap2.CanCollide = false
  72.  
  73. joint2 = Instance.new("Part")
  74. joint2.CFrame = CFrame.new(Vector3.new(-48.1999893, 2.19999003, -58.2000237)) * CFrame.Angles(1.5707963705063, 0, -0)
  75. joint2.TopSurface = Enum.SurfaceType.Smooth
  76. joint2.BottomSurface = Enum.SurfaceType.Smooth
  77. joint2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  78. joint2.BrickColor = BrickColor.new("Pine Cone")
  79. joint2.Friction = 0.30000001192093
  80. joint2.Shape = Enum.PartType.Cylinder
  81. joint2.Name = "Joint2"
  82. joint2.Parent = bow
  83. joint2.CanCollide = false
  84.  
  85. joint1 = Instance.new("Part")
  86. joint1.CFrame = CFrame.new(Vector3.new(-48.2000008, 3.39998126, -58.2000275)) * CFrame.Angles(1.5707963705063, 0, -0)
  87. joint1.TopSurface = Enum.SurfaceType.Smooth
  88. joint1.BottomSurface = Enum.SurfaceType.Smooth
  89. joint1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  90. joint1.BrickColor = BrickColor.new("Pine Cone")
  91. joint1.Friction = 0.30000001192093
  92. joint1.Shape = Enum.PartType.Cylinder
  93. joint1.Name = "Joint1"
  94. joint1.Parent = bow
  95. joint1.CanCollide = false
  96.  
  97. leg1 = Instance.new("Part")
  98. leg1.CFrame = CFrame.new(Vector3.new(-48.1999931, 4.35000753, -58.2000122)) * CFrame.Angles(-3.1415927410126, 0, -0)
  99. leg1.Size = Vector3.new(0.200000003, 1.90000021, 0.200000003)
  100. leg1.BrickColor = BrickColor.new("Pine Cone")
  101. leg1.Friction = 0.30000001192093
  102. leg1.Shape = Enum.PartType.Block
  103. leg1.Name = "Leg1"
  104. leg1.Parent = bow
  105. leg1.CanCollide = false
  106.  
  107. cap1 = Instance.new("Part")
  108. cap1.CFrame = CFrame.new(Vector3.new(-48.2000046, 5.29999113, -58.2000122)) * CFrame.Angles(1.5707963705063, 0, -0)
  109. cap1.TopSurface = Enum.SurfaceType.Smooth
  110. cap1.BottomSurface = Enum.SurfaceType.Smooth
  111. cap1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  112. cap1.BrickColor = BrickColor.new("Pine Cone")
  113. cap1.Friction = 0.30000001192093
  114. cap1.Shape = Enum.PartType.Cylinder
  115. cap1.Name = "Cap1"
  116. cap1.Parent = bow
  117. cap1.CanCollide = false
  118.  
  119. stringpart = Instance.new("Part")
  120. stringpart.CFrame = CFrame.new(Vector3.new(-48.2000046, 5.29999113, -58.2000122)) * CFrame.Angles(1.5707963705063, 0, -0)
  121. stringpart.TopSurface = Enum.SurfaceType.Smooth
  122. stringpart.BottomSurface = Enum.SurfaceType.Smooth
  123. stringpart.Size = Vector3.new(0.1, 0.1, 0.1)
  124. stringpart.Transparency = 1
  125. stringpart.BrickColor = BrickColor.new("Mid grey")
  126. stringpart.Friction = 0.30000001192093
  127. stringpart.Shape = Enum.PartType.Cylinder
  128. stringpart.Name = "StringAttachment"
  129. stringpart.Parent = bow
  130. stringpart.CanCollide = false
  131.  
  132. arrow = Instance.new("Model")
  133. arrow.Parent = game.Workspace
  134. arrow.Name = "arrow"
  135.  
  136. feather1 = Instance.new("WedgePart")
  137. feather1.CFrame = CFrame.new(Vector3.new(-48.3000031, 2.90000844, -56.1500168)) * CFrame.Angles(-0, 0, -0)
  138. feather1.TopSurface = Enum.SurfaceType.Smooth
  139. feather1.Size = Vector3.new(0.200000003, 0.200000003, 0.299999952)
  140. feather1.BrickColor = BrickColor.new("Crimson")
  141. feather1.Friction = 0.30000001192093
  142. feather1.Name = "Feather"
  143. feather1.Parent = arrow
  144. feather1.CanCollide = false
  145. feather1.Transparency = 1
  146.  
  147. feather2 = Instance.new("WedgePart")
  148. feather2.CFrame = CFrame.new(Vector3.new(-48.3000031, 2.50003171, -56.1500168)) * CFrame.Angles(-0, 0, -3.1415927410126)
  149. feather2.TopSurface = Enum.SurfaceType.Smooth
  150. feather2.Size = Vector3.new(0.200000003, 0.200000003, 0.299999952)
  151. feather2.BrickColor = BrickColor.new("Crimson")
  152. feather2.Friction = 0.30000001192093
  153. feather2.Name = "Feather"
  154. feather2.Parent = arrow
  155. feather2.CanCollide = false
  156. feather2.Transparency = 1
  157.  
  158. arrowhead = Instance.new("WedgePart")
  159. arrowhead.CFrame = CFrame.new(Vector3.new(-48.2999992, 2.80002427, -59.4500008)) * CFrame.Angles(-0, 0, -0)
  160. arrowhead.TopSurface = Enum.SurfaceType.Smooth
  161. arrowhead.Size = Vector3.new(0.200000003, 0.200000003, 0.299999952)
  162. arrowhead.Friction = 0.30000001192093
  163. arrowhead.Name = "Arrowhead"
  164. arrowhead.Parent = arrow
  165. arrowhead.CanCollide = false
  166. arrowhead.Transparency = 1
  167.  
  168. arrowcap = Instance.new("Part")
  169. arrowcap.CFrame = CFrame.new(Vector3.new(-48.2000046, 5.29999113, -58.2000122)) * CFrame.Angles(1.5707963705063, 0, -0)
  170. arrowcap.TopSurface = Enum.SurfaceType.Smooth
  171. arrowcap.BottomSurface = Enum.SurfaceType.Smooth
  172. arrowcap.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  173. arrowcap.BrickColor = BrickColor.new("Dirt brown")
  174. arrowcap.Friction = 0.30000001192093
  175. arrowcap.Shape = Enum.PartType.Cylinder
  176. arrowcap.Name = "ArrowCap"
  177. arrowcap.Parent = arrow
  178. arrowcap.CanCollide = false
  179. arrowcap.Transparency = 1
  180.  
  181. arrowbody = Instance.new("Part")
  182. arrowbody.CFrame = CFrame.new(Vector3.new(0, 3, 0)) * CFrame.Angles(-0, 0, -0)
  183. arrowbody.Size = Vector3.new(0.200000003, 0.200000003, 3.60000014)
  184. arrowbody.BrickColor = BrickColor.new("Dirt brown")
  185. arrowbody.Friction = 0.30000001192093
  186. arrowbody.Shape = Enum.PartType.Block
  187. arrowbody.Name = "ArrowBody"
  188. arrowbody.Parent = arrow
  189. arrowbody.CanCollide = false
  190. arrowbody.Transparency = 1
  191.  
  192. feather3 = Instance.new("WedgePart")
  193. feather3.CFrame = CFrame.new(Vector3.new(-48.3000031, 2.50004983, -55.9500198)) * CFrame.Angles(-0, 0, -3.1415927410126)
  194. feather3.TopSurface = Enum.SurfaceType.Smooth
  195. feather3.Size = Vector3.new(0.200000003, 0.200000003, 0.299999952)
  196. feather3.BrickColor = BrickColor.new("Crimson")
  197. feather3.Friction = 0.30000001192093
  198. feather3.Name = "Feather"
  199. feather3.Parent = arrow
  200. feather3.CanCollide = false
  201. feather3.Transparency = 1
  202.  
  203. feather4 = Instance.new("WedgePart")
  204. feather4.CFrame = CFrame.new(Vector3.new(-48.3000031, 2.90003037, -55.9500198)) * CFrame.Angles(-0, 0, -0)
  205. feather4.TopSurface = Enum.SurfaceType.Smooth
  206. feather4.Size = Vector3.new(0.200000003, 0.200000003, 0.299999952)
  207. feather4.BrickColor = BrickColor.new("Crimson")
  208. feather4.Friction = 0.30000001192093
  209. feather4.Name = "Feather"
  210. feather4.Parent = arrow
  211. feather4.CanCollide = false
  212. feather4.Transparency = 1
  213.  
  214. -- the welds
  215.  
  216. whandle = Instance.new("Weld", char["Left Arm"])
  217. whandle.Part0 = char.Torso
  218. whandle.Part1 = handle
  219. whandle.C0 = CFrame.new(0, 0, 0.6) * CFrame.Angles(0, 0, math.rad(45))
  220.  
  221. wstringpart = Instance.new("Weld", handle)
  222. wstringpart.Part0 = handle
  223. wstringpart.Part1 = stringpart
  224. wstringpart.C0 = CFrame.new(0, -0.3, -0.3) * CFrame.new(0, 0, 0)
  225.  
  226. wjoint1 = Instance.new("Weld", handle)
  227. wjoint1.Part0 = handle
  228. wjoint1.Part1 = joint1
  229. wjoint1.C0 = CFrame.new(0, 0.6, 0) * CFrame.Angles(-0.1, 0, 0)
  230.  
  231. wjoint2 = Instance.new("Weld", handle)
  232. wjoint2.Part0 = handle
  233. wjoint2.Part1 = joint2
  234. wjoint2.C0 = CFrame.new(0, -0.6, 0) * CFrame.Angles(0.1, 0, 0)
  235.  
  236. wleg1 = Instance.new("Weld", joint1)
  237. wleg1.Part0 = joint1
  238. wleg1.Part1 = leg1
  239. wleg1.C0 = CFrame.new(0, 0.95, 0) * CFrame.Angles(0, 0, 0)
  240.  
  241. wleg2 = Instance.new("Weld", joint2)
  242. wleg2.Part0 = joint2
  243. wleg2.Part1 = leg2
  244. wleg2.C0 = CFrame.new(0, -0.95, 0) * CFrame.Angles(0, 0, 0)
  245.  
  246. wcap1 = Instance.new("Weld", leg1)
  247. wcap1.Part0 = leg1
  248. wcap1.Part1 = cap1
  249. wcap1.C0 = CFrame.new(0, 0.95, 0) * CFrame.Angles(0, 0, 0)
  250.  
  251. wcap2 = Instance.new("Weld", leg2)
  252. wcap2.Part0 = leg2
  253. wcap2.Part1 = cap2
  254. wcap2.C0 = CFrame.new(0, -0.95, 0) * CFrame.Angles(0, 0, 0)
  255.  
  256. cap1att = Instance.new("Attachment", cap1)
  257. cap1att.Position = Vector3.new(0, 0, -0.05)
  258. cap2att = Instance.new("Attachment", cap2)
  259. cap2att.Position = Vector3.new(0, 0, -0.05)
  260. stringatt = Instance.new("Attachment", stringpart)
  261. stringp1 = Instance.new("RodConstraint", stringpart)
  262. stringp1.Color = BrickColor.new("Mid grey")
  263. stringp1.Visible = true
  264. stringp1.Attachment0 = stringatt
  265. stringp1.Attachment1 = cap1att
  266. stringp2 = Instance.new("RodConstraint", stringpart)
  267. stringp2.Color = BrickColor.new("Mid grey")
  268. stringp2.Visible = true
  269. stringp2.Attachment0 = stringatt
  270. stringp2.Attachment1 = cap2att
  271.  
  272. warrowhead1 = Instance.new("Weld", arrowbody)
  273. warrowhead1.Part0 = arrowbody
  274. warrowhead1.Part1 = arrowhead
  275. warrowhead1.C0 = CFrame.new(0, 0, -1.95)
  276.  
  277. wfeather1 = Instance.new("Weld", arrowbody)
  278. wfeather1.Part0 = arrowbody
  279. wfeather1.Part1 = feather1
  280. wfeather1.C0 = CFrame.new(0, 0.2, 1.45)
  281.  
  282. wfeather2 = Instance.new("Weld", arrowbody)
  283. wfeather2.Part0 = arrowbody
  284. wfeather2.Part1 = feather2
  285. wfeather2.C0 = CFrame.new(0, 0.2, 1.4)
  286.  
  287. wfeather3 = Instance.new("Weld", arrowbody)
  288. wfeather3.Part0 = arrowbody
  289. wfeather3.Part1 = feather3
  290. wfeather3.C0 = CFrame.new(0, -0.2, 1.45) * CFrame.Angles(0, 0, 3.15)
  291.  
  292. wfeather4 = Instance.new("Weld", arrowbody)
  293. wfeather4.Part0 = arrowbody
  294. wfeather4.Part1 = feather4
  295. wfeather4.C0 = CFrame.new(0, -0.2, 1.4) * CFrame.Angles(0, 0, 3.15)
  296.  
  297. warrow = Instance.new("Weld", char.Torso)
  298. warrow.Part0 = char.Torso
  299. warrow.Part1 = arrowbody
  300. warrow.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(-1.575, 0, 1.575)
  301.  
  302. warrowcap = Instance.new("Weld", arrowbody)
  303. warrowcap.Part0 = arrowbody
  304. warrowcap.Part1 = arrowcap
  305. warrowcap.C0 = CFrame.new(0, 0, 1.8)
  306.  
  307. -- sounds
  308.  
  309. pullbacksound = Instance.new("Sound", handle)
  310. pullbacksound.SoundId = "rbxassetid://609348868"
  311.  
  312. firesound = Instance.new("Sound", handle)
  313. firesound.SoundId = "rbxassetid://609348009"
  314. firesound.PlaybackSpeed = 1.05
  315.  
  316. function velocity(v)
  317. print("killvel")
  318. vel = coroutine.wrap(function()
  319. wait(0.05)
  320. v:Remove()
  321. end)
  322. vel()
  323. end
  324.  
  325. function killz(playa,hitz,kneef)
  326. local heyy = hitz
  327. if hitz == "Right Arm" then
  328. local Limb = playa:FindFirstChild("Right Arm")
  329. local ters = playa:FindFirstChild('Torso')
  330. if Limb and ters then
  331. if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
  332. for i,v in pairs(Limb:GetChildren()) do
  333. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  334. v:Destroy()
  335. end
  336. end
  337. Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
  338. local Joint = Instance.new("Glue")
  339. Joint.Name = "RightShoulder"
  340. Joint.Part0 = ters
  341. Joint.Part1 = Limb
  342. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  343. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  344. Joint.Parent = ters
  345.  
  346. local B = Instance.new("Part")
  347. B.TopSurface = 0
  348. B.BottomSurface = 0
  349. B.formFactor = "Symmetric"
  350. B.Size = Vector3.new(1, 1, 1)
  351. B.Transparency = 1
  352. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  353. B.Parent = playa
  354. local W = Instance.new("Weld")
  355. W.Part0 = Limb
  356. W.Part1 = B
  357. W.C0 = CFrame.new(0, -0.5, 0)
  358. W.Parent = Limb
  359. local coru = coroutine.wrap(function()
  360. local uno = Instance.new('Part',workspace)
  361. local dos = Instance.new('Part',workspace)
  362. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  363. dos.CFrame = kneef.CFrame
  364. local weld = Instance.new('Weld',kneef)
  365. weld.Part0 = playa:FindFirstChild(hitz)
  366. weld.Part1 = kneef
  367. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  368. uno:Destroy()
  369. dos:Destroy()
  370. end)
  371. coru()
  372. end
  373. elseif hitz == "Left Arm" then
  374. local Limb = playa:FindFirstChild("Left Arm")
  375. local ters = playa:FindFirstChild('Torso')
  376. if Limb and ters then
  377. if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
  378. for i,v in pairs(Limb:GetChildren()) do
  379. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  380. v:Destroy()
  381. end
  382. end
  383. Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
  384. local Joint = Instance.new("Glue")
  385. Joint.Name = "LeftShoulder"
  386. Joint.Part0 = ters
  387. Joint.Part1 = Limb
  388. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  389. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  390. Joint.Parent = ters
  391.  
  392. local B = Instance.new("Part")
  393. B.TopSurface = 0
  394. B.BottomSurface = 0
  395. B.formFactor = "Symmetric"
  396. B.Size = Vector3.new(1, 1, 1)
  397. B.Transparency = 1
  398. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  399. B.Parent = playa
  400. local W = Instance.new("Weld")
  401. W.Part0 = ters
  402. W.Part1 = B
  403. W.C0 = CFrame.new(0, -0.5, 0)
  404. W.Parent = Limb
  405. local coru = coroutine.wrap(function()
  406. local uno = Instance.new('Part',workspace)
  407. local dos = Instance.new('Part',workspace)
  408. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  409. dos.CFrame = kneef.CFrame
  410. local weld = Instance.new('Weld',kneef)
  411. weld.Part0 = playa:FindFirstChild(hitz)
  412. weld.Part1 = kneef
  413. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  414. uno:Destroy()
  415. dos:Destroy()
  416. end)
  417. coru()
  418. end
  419. elseif hitz == "Right Leg" then
  420. local Limb = playa:FindFirstChild("Right Leg")
  421. local ters = playa:FindFirstChild('Torso')
  422. if Limb and ters then
  423. if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
  424. for i,v in pairs(Limb:GetChildren()) do
  425. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  426. v:Destroy()
  427. end
  428. end
  429. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  430. local Joint = Instance.new("Glue")
  431. Joint.Name = "Right Hip"
  432. Joint.Part0 = ters
  433. Joint.Part1 = Limb
  434. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  435. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  436. Joint.Parent = ters
  437. local B = Instance.new("Part")
  438. B.TopSurface = 0
  439. B.BottomSurface = 0
  440. B.formFactor = "Symmetric"
  441. B.Size = Vector3.new(1, 1, 1)
  442. B.Transparency = 1
  443. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  444. B.Parent = playa
  445. local W = Instance.new("Weld")
  446. W.Part0 = Limb
  447. W.Part1 = B
  448. W.C0 = CFrame.new(0, -0.5, 0)
  449. W.Parent = Limb
  450. local coru = coroutine.wrap(function()
  451. local uno = Instance.new('Part',workspace)
  452. local dos = Instance.new('Part',workspace)
  453. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  454. dos.CFrame = kneef.CFrame
  455. local weld = Instance.new('Weld',kneef)
  456. weld.Part0 = playa:FindFirstChild(hitz)
  457. weld.Part1 = kneef
  458. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  459. uno:Destroy()
  460. dos:Destroy()
  461. if playa:FindFirstChild('HumanoidRootPart') then
  462. if playa.HumanoidRootPart:FindFirstChild('RootJoint') then
  463. playa.HumanoidRootPart:FindFirstChild('RootJoint'):Destroy()
  464. wait()
  465. end
  466. while playa.HumanoidRootPart:FindFirstChild('RootJoint') do
  467. wait()
  468. end
  469. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  470. end
  471. end)
  472. coru()
  473. end
  474. elseif hitz == "Left Leg" then
  475. local Limb = playa:FindFirstChild("Left Leg")
  476. local ters = playa:FindFirstChild('Torso')
  477. if Limb and ters then
  478. if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
  479. for i,v in pairs(Limb:GetChildren()) do
  480. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  481. v:Destroy()
  482. end
  483. end
  484. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  485. Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
  486. local Joint = Instance.new("Glue")
  487. Joint.Name = "LeftHip"
  488. Joint.Part0 = ters
  489. Joint.Part1 = Limb
  490. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  491. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  492. Joint.Parent = ters
  493.  
  494. local B = Instance.new("Part")
  495. B.TopSurface = 0
  496. B.BottomSurface = 0
  497. B.formFactor = "Symmetric"
  498. B.Size = Vector3.new(1, 1, 1)
  499. B.Transparency = 1
  500. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  501. B.Parent = playa
  502. local W = Instance.new("Weld")
  503. W.Part0 = Limb
  504. W.Part1 = B
  505. W.C0 = CFrame.new(0, -0.5, 0)
  506. W.Parent = Limb
  507. Limb.CanCollide = false
  508. local coru = coroutine.wrap(function()
  509. local uno = Instance.new('Part',workspace)
  510. local dos = Instance.new('Part',workspace)
  511. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  512. dos.CFrame = kneef.CFrame
  513. local weld = Instance.new('Weld',kneef)
  514. weld.Part0 = playa:FindFirstChild(hitz)
  515. weld.Part1 = kneef
  516. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  517. uno:Destroy()
  518. dos:Destroy()
  519. if playa:FindFirstChild('HumanoidRootPart') then
  520. if playa.HumanoidRootPart:FindFirstChild('RootJoint') then
  521. playa.HumanoidRootPart:FindFirstChild('RootJoint'):Destroy()
  522. end
  523. while playa.HumanoidRootPart:FindFirstChild('RootJoint') do
  524. wait()
  525. end
  526. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  527. end
  528. end)
  529. coru()
  530. end
  531. else
  532. local playa2 = playa
  533. playa.Archivable = true
  534. local playa = playa:Clone()
  535. playa.Archivable = false
  536. playa2:Destroy()
  537. playa.Parent = workspace
  538. local Gibs = game.Workspace
  539. local Torso = playa.Torso
  540. local Head = playa:FindFirstChild("Head")
  541. local function Scan(ch)
  542. local e
  543. for e = 1,#ch do
  544. Scan(ch[e]:GetChildren())
  545. if (ch[e].ClassName == "Weld" and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" then
  546. ch[e]:remove()
  547. end
  548. end
  549. end
  550. Scan(playa:GetChildren())
  551. if playa:FindFirstChild('HumanoidRootPart') then
  552. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  553. end
  554. local hum2 = playa:FindFirstChildOfClass("Humanoid")
  555.  
  556.  
  557. if hum2 ~= nil then
  558. hum2.Name = "Humanoid2"
  559. hum2.PlatformStand = true
  560. hum2.Health = 0
  561. end
  562. local ch = playa:GetChildren()
  563. local i
  564. for i = 1,#ch do
  565. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  566. ch[i]:remove()
  567. end
  568. end
  569.  
  570. if Head then
  571. local Neck = Instance.new("Weld")
  572. Neck.Name = "Neck"
  573. Neck.Part0 = Torso
  574. Neck.Part1 = Head
  575. Neck.C0 = CFrame.new(0, 1.5, 0)
  576. Neck.C1 = CFrame.new()
  577. Neck.Parent = Torso
  578. end
  579. local Limb = playa:FindFirstChild("Right Arm")
  580. if Limb then
  581.  
  582. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  583. local Joint = Instance.new("Glue")
  584. Joint.Name = "RightShoulder"
  585. Joint.Part0 = Torso
  586. Joint.Part1 = Limb
  587. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  588. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  589. Joint.Parent = Torso
  590.  
  591. local B = Instance.new("Part")
  592. B.TopSurface = 0
  593. B.BottomSurface = 0
  594. B.formFactor = "Symmetric"
  595. B.Size = Vector3.new(1, 1, 1)
  596. B.Transparency = 1
  597. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  598. B.Parent = playa
  599. local W = Instance.new("Weld")
  600. W.Part0 = Limb
  601. W.Part1 = B
  602. W.C0 = CFrame.new(0, -0.5, 0)
  603. W.Parent = Limb
  604. end
  605. local Limb = playa:FindFirstChild("Left Arm")
  606. if Limb then
  607.  
  608. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  609. local Joint = Instance.new("Glue")
  610. Joint.Name = "LeftShoulder"
  611. Joint.Part0 = Torso
  612. Joint.Part1 = Limb
  613. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  614. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  615. Joint.Parent = Torso
  616.  
  617. local B = Instance.new("Part")
  618. B.TopSurface = 0
  619. B.BottomSurface = 0
  620. B.formFactor = "Symmetric"
  621. B.Size = Vector3.new(1, 1, 1)
  622. B.Transparency = 1
  623. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  624. B.Parent = playa
  625. local W = Instance.new("Weld")
  626. W.Part0 = Limb
  627. W.Part1 = B
  628. W.C0 = CFrame.new(0, -0.5, 0)
  629. W.Parent = Limb
  630. end
  631. local Limb = playa:FindFirstChild("Right Leg")
  632. if Limb then
  633.  
  634. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  635. local Joint = Instance.new("Glue")
  636. Joint.Name = "RightHip"
  637. Joint.Part0 = Torso
  638. Joint.Part1 = Limb
  639. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  640. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  641. Joint.Parent = Torso
  642.  
  643. local B = Instance.new("Part")
  644. B.TopSurface = 0
  645. B.BottomSurface = 0
  646. B.formFactor = "Symmetric"
  647. B.Size = Vector3.new(1, 1, 1)
  648. B.Transparency = 1
  649. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  650. B.Parent = playa
  651. local W = Instance.new("Weld")
  652. W.Part0 = Limb
  653. W.Part1 = B
  654. W.C0 = CFrame.new(0, -0.5, 0)
  655. W.Parent = Limb
  656. end
  657. local Limb = playa:FindFirstChild("Left Leg")
  658. if Limb then
  659.  
  660. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  661. local Joint = Instance.new("Glue")
  662. Joint.Name = "LeftHip"
  663. Joint.Part0 = Torso
  664. Joint.Part1 = Limb
  665. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  666. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  667. Joint.Parent = Torso
  668.  
  669. local B = Instance.new("Part")
  670. B.TopSurface = 0
  671. B.BottomSurface = 0
  672. B.formFactor = "Symmetric"
  673. B.Size = Vector3.new(1, 1, 1)
  674. B.Transparency = 1
  675. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  676. B.Parent = playa
  677. local W = Instance.new("Weld")
  678. W.Part0 = Limb
  679. W.Part1 = B
  680. W.C0 = CFrame.new(0, -0.5, 0)
  681. W.Parent = Limb
  682. end
  683. --[
  684. local Bar = Instance.new("Part")
  685. Bar.TopSurface = 0
  686. Bar.BottomSurface = 0
  687. Bar.formFactor = "Symmetric"
  688. Bar.Size = Vector3.new(1, 1, 1)
  689. Bar.Transparency = 1
  690. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  691. Bar.Parent = playa
  692. local Weld = Instance.new("Weld")
  693. Weld.Part0 = Torso
  694. Weld.Part1 = Bar
  695. Weld.C0 = CFrame.new(0, 0.5, 0)
  696. Weld.Parent = Torso
  697. --]]
  698. playa.Parent = Gibs
  699. local coru = coroutine.wrap(function()
  700. print(hitz.Name)
  701. local uno = Instance.new('Part',workspace)
  702. local dos = Instance.new('Part',workspace)
  703. uno.CFrame = playa:FindFirstChild(heyy).CFrame
  704. dos.CFrame = kneef.CFrame
  705. local weld = Instance.new('Weld',kneef)
  706. weld.Part0 = playa:FindFirstChild(heyy)
  707. weld.Part1 = kneef
  708. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  709. uno:Destroy()
  710. dos:Destroy()
  711. end)
  712. coru()
  713. game.Debris:AddItem(playa, 15)
  714. end
  715. end
  716.  
  717. function checkarms()
  718. check = coroutine.wrap(function()
  719. rshould = char.Torso:FindFirstChild("Right Shoulder")
  720. lshould = char.Torso:FindFirstChild("Left Shoulder")
  721.  
  722. if rshould == nil then
  723. rightshoulder:Clone().Parent = char.Torso
  724. end
  725. if lshould == nil then
  726. rightshoulder:Clone().Parent = char.Torso
  727. end
  728. end)
  729. check()
  730. end
  731.  
  732. mouse.KeyDown:connect(function(k)
  733. key = k:lower()
  734.  
  735. if key == "e" and enabled == true and equipped == true then
  736. if armed == false then
  737. crarm = Instance.new("Weld", char.Torso)
  738. crarm.Part0 = char.Torso
  739. crarm.Part1 = char["Right Arm"]
  740. crarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  741.  
  742. clarm = Instance.new("Weld", char.Torso)
  743. clarm.Part0 = char.Torso
  744. clarm.Part1 = char["Left Arm"]
  745. clarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
  746.  
  747. enabled = false
  748. for i = 0, 1, 0.1 do
  749. crarm.C0 = crarm.C0:lerp(CFrame.new(1.5, 1.5, 0) * CFrame.Angles(3.14, 0, 0), i)
  750. wait()
  751. end
  752. for i, v in pairs(arrow:GetChildren()) do
  753. v.Transparency = 0
  754. end
  755. feather1.Transparency = 0.25
  756. feather2.Transparency = 0.25
  757. feather3.Transparency = 0.25
  758. feather4.Transparency = 0.25
  759.  
  760. warrow.Part0 = char["Right Arm"]
  761. warrow.C0 = CFrame.new(-0.5, -2.7, -0.2) * CFrame.Angles(-1.575, 0.075, -0.5)
  762.  
  763. for i = 0, 1, 0.05 do
  764. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.5, 0), i)
  765. whandle.C0 = whandle.C0:lerp(CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, -0.05, 0), i)
  766. clarm.C0 = clarm.C0:lerp(CFrame.new(-1.6, 0.45, -0.10) * CFrame.Angles(1.2, 0, -1.575), i)
  767. crarm.C0 = crarm.C0:lerp(CFrame.new(-1.35, 0.6, -1) * CFrame.Angles(1.575, 0, -1.575), i)
  768. wjoint1.C0 = wjoint1.C0:lerp(CFrame.new(0, 0.6, 0) * CFrame.Angles(-0.1, 0, 0), i)
  769. wjoint2.C0 = wjoint2.C0:lerp(CFrame.new(0, -0.6, 0) * CFrame.Angles(0.1, 0, 0), i)
  770. wstringpart.C0 = wstringpart.C0:lerp(CFrame.new(0, -0.5, -0.3) * CFrame.new(0, 0, 0), i)
  771. hed.C0 = hed.C0:lerp(CFrame.new(0, 1.55, 0) * CFrame.Angles(0, 1.5, 0), i)
  772. wait()
  773. end
  774. pullbacksound:Play()
  775. warrow.Part0 = stringpart
  776. warrow.C0 = CFrame.new(-0.1, 0, 1.9) * CFrame.Angles(3.15, 0.04, 0)
  777. for i = 0, 1, 0.025 do
  778. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.5, 0), i)
  779. whandle.C0 = whandle.C0:lerp(CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, -0.05, 0), i)
  780. clarm.C0 = clarm.C0:lerp(CFrame.new(-1.95, 0.45, -0.10) * CFrame.Angles(1.2, 0, -1.575), i)
  781. crarm.C0 = crarm.C0:lerp(CFrame.new(1, 0.6, -1) * CFrame.Angles(1.575, 0, -1.575), i)
  782. wjoint1.C0 = wjoint1.C0:lerp(CFrame.new(0, 0.6, 0) * CFrame.Angles(-0.4, 0, 0), i)
  783. wjoint2.C0 = wjoint2.C0:lerp(CFrame.new(0, -0.6, 0) * CFrame.Angles(0.4, 0, 0), i)
  784. wstringpart.C0 = wstringpart.C0:lerp(CFrame.new(0, -0.5, -3) * CFrame.new(0, 0, 0), i)
  785. hed.C0 = hed.C0:lerp(CFrame.new(0, 1.55, -0.1) * CFrame.Angles(0, 1.5, -0.25), i)
  786. wait()
  787. end
  788. armed = true
  789. enabled = true
  790. elseif armed == true and equipped == true then
  791. enabled = false
  792. for i = 0,1,0.05 do
  793. clarm.C0 = clarm.C0:lerp(CFrame.new(-1.6, 0.45, -0.10) * CFrame.Angles(1.2, 0, -1.575), i)
  794. crarm.C0 = crarm.C0:lerp(CFrame.new(-1.3, 0.4, -1) * CFrame.Angles(1.575, 0.1, -1.575), i)
  795. wjoint1.C0 = wjoint1.C0:lerp(CFrame.new(0, 0.6, 0) * CFrame.Angles(-0.1, 0, 0), i)
  796. wjoint2.C0 = wjoint2.C0:lerp(CFrame.new(0, -0.6, 0) * CFrame.Angles(0.1, 0, 0), i)
  797. wstringpart.C0 = wstringpart.C0:lerp(CFrame.new(0, -0.5, -0.3) * CFrame.new(0, 0, 0), i)
  798. wait()
  799. end
  800. warrow.Part0 = char["Right Arm"]
  801. warrow.C0 = CFrame.new(-0.5, -2.65, -0.2) * CFrame.Angles(-1.575, 0.075, -0.4)
  802. for i = 0,1,0.05 do
  803. crarm.C0 = crarm.C0:lerp(CFrame.new(1.5, 1.5, 0) * CFrame.Angles(3.14, 0, 0), i)
  804. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  805. whandle.C0 = whandle.C0:lerp(CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, 0, 0), i)
  806. clarm.C0 = clarm.C0:lerp(CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  807. crarm.C0 = crarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  808. hed.C0 = hed.C0:lerp(CFrame.new(0, 1.55, 0) * CFrame.Angles(0, 0, 0), i)
  809. wait()
  810. end
  811.  
  812. for i, v in pairs(arrow:GetChildren()) do
  813. v.Transparency = 1
  814. end
  815. warrow.Part0 = char.Torso
  816. warrow.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(-1.575, 0, 1.575)
  817.  
  818. for i = 0, 1, 0.1 do
  819. crarm.C0 = crarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  820. wait()
  821. end
  822. armed = false
  823. enabled = true
  824. clarm:Remove()
  825. crarm:Remove()
  826. rightshoulder:Clone().Parent = char.Torso
  827. leftshoulder:Clone().Parent = char.Torso
  828. checkarms()
  829. end
  830. elseif key == "z" then
  831. if armed == true or enabled == false then return end
  832. clarm = Instance.new("Weld", char.Torso)
  833. clarm.Part0 = char.Torso
  834. clarm.Part1 = char["Left Arm"]
  835. clarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
  836. if equipped == false then
  837. enabled = false
  838. for i = 0, 1, 0.05 do
  839. clarm.C0 = clarm.C0:lerp(CFrame.new(-0.5, 0, 0.25) * CFrame.Angles(math.rad(-90), 0, math.rad(75)), i)
  840. wait()
  841. end
  842. whandle.C0 = CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, 0, 0)
  843. whandle.Part0 = char["Left Arm"]
  844. for i = 0, 1, 0.05 do
  845. clarm.C0 = clarm.C0:lerp(CFrame.new(-2, 0.6, 0) * CFrame.Angles(0, 0, math.rad(-90)), i)
  846. wait()
  847. end
  848. for i = 0, 1, 0.05 do
  849. clarm.C0 = clarm.C0:lerp(CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0), i)
  850. wait()
  851. end
  852. enabled = true
  853. equipped = true
  854. elseif equipped == true then
  855. if armed == true or enabled == false then return end
  856. enabled = false
  857. for i = 0, 1, 0.05 do
  858. clarm.C0 = clarm.C0:lerp(CFrame.new(-2, 0.6, 0) * CFrame.Angles(0, 0, math.rad(-90)), i)
  859. wait()
  860. end
  861. for i = 0, 1, 0.05 do
  862. clarm.C0 = clarm.C0:lerp(CFrame.new(-0.5, 0, 0.25) * CFrame.Angles(math.rad(-90), 0, math.rad(75)), i)
  863. whandle.C0 = whandle.C0:lerp(CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, 0, 0), i)
  864. wait()
  865. end
  866. whandle.C0 = CFrame.new(0, 0, 0.6) * CFrame.Angles(0, 0, math.rad(45))
  867. whandle.Part0 = char.Torso
  868. for i = 0, 1, 0.05 do
  869. clarm.C0 = clarm.C0:lerp(CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0), i)
  870. wait()
  871. end
  872. equipped = false
  873. enabled = true
  874. end
  875. clarm:Remove()
  876. leftshoulder:Clone().Parent = char.Torso
  877. end
  878. end)
  879.  
  880. mouse.Button1Down:connect(function()
  881. if armed == false or enabled == false or equipped == false then return end
  882. firesound:Play()
  883. enabled = false
  884. armed = false
  885. wjoint1.C0 = CFrame.new(0, 0.6, 0) * CFrame.Angles(-0.1, 0, 0)
  886. wjoint2.C0 = CFrame.new(0, -0.6, 0) * CFrame.Angles(0.1, 0, 0)
  887. wstringpart.C0 = CFrame.new(0, -0.5, -0.3) * CFrame.new(0, 0, 0)
  888. crarm.C0 = CFrame.new(1.2, 0.6, -1) * CFrame.Angles(1.575, 0, -1.575)
  889. newarrow = arrow:Clone()
  890. newarrow.Parent = game.Workspace
  891. newarrow.Name = "flyingarrow"
  892. newarrow.ArrowBody.CFrame = CFrame.new(newarrow.ArrowBody.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,0,math.pi/1.15)
  893. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/100,0)
  894. char.Humanoid.JumpPower = 1
  895. char.Humanoid.Jump = true
  896. local fly = Instance.new('BodyVelocity',newarrow.ArrowBody)
  897. fly.Velocity = (newarrow.ArrowBody.CFrame*CFrame.Angles(0,0,math.pi/2)).lookVector*200
  898. newarrow.Arrowhead.Touched:connect(function(hit)
  899. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and newarrow.Arrowhead.CanCollide == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  900. velocity(fly)
  901. newarrow.Arrowhead.CanCollide = true
  902. game:GetService('Debris'):AddItem(newarrow.Arrowhead,15)
  903. tone = math.random(1, 3)
  904. local sound = Instance.new('Sound',newarrow.Arrowhead)
  905. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  906. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  907. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  908. sound.PlaybackSpeed = 1
  909. sound:Play()
  910. newarrow.Arrowhead.Anchored = true
  911. hit.Anchored = true
  912. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
  913. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  914. end
  915. wait()
  916. hit.Anchored = false
  917. newarrow.Arrowhead.Anchored = false
  918. killz(hit.Parent,hit.Name,newarrow.Arrowhead)
  919. elseif hit.Parent and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and newarrow.Arrowhead.CanCollide == false and hit.Parent.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent.Parent ~= char and hit.Parent.Parent:FindFirstChild('Head') then
  920. velocity(fly)
  921. game:GetService('Debris'):AddItem(newarrow.Arrowhead,15)
  922. newarrow.Arrowhead.CanCollide = true
  923. tone = math.random(1, 3)
  924. local sound = Instance.new('Sound',newarrow.Arrowhead)
  925. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  926. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  927. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  928. sound.PlaybackSpeed = 1
  929. sound:Play()
  930. newarrow.Arrowhead.Anchored = true
  931. hit.Anchored = true
  932. if hit.Parent.Parent:FindFirstChildOfClass('Humanoid') then
  933. hit.Parent.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  934. end
  935. wait()
  936. newarrow.Arrowhead.Anchored = false
  937. hit.Anchored = false
  938. killz(hit.Parent.Parent,hit.Name,newarrow.Arrowhead)
  939. elseif hit.Parent and hit.Parent ~= char and hit.Parent.Parent ~= char and hit.Transparency < 1 and newarrow.Arrowhead.CanCollide == false then
  940. velocity(fly)
  941. game:GetService('Debris'):AddItem(newarrow.Arrowhead,15)
  942. newarrow.Arrowhead.CanCollide = true
  943. local sound = Instance.new('Sound',newarrow.Arrowhead)
  944. sound.SoundId = 'rbxassetid://267585646'
  945. sound:Play()
  946. end
  947. end)
  948.  
  949. for i, v in pairs(arrow:GetChildren()) do
  950. v.Transparency = 1
  951. end
  952. warrow.Part0 = char.Torso
  953. warrow.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(-1.575, 0, 1.575)
  954. wait(0.5)
  955. for i = 0, 1, 0.05 do
  956. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  957. whandle.C0 = whandle.C0:lerp(CFrame.new(0.4, -1, 0) * CFrame.Angles(1.575, 0, 0), i)
  958. clarm.C0 = clarm.C0:lerp(CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  959. crarm.C0 = crarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  960. hed.C0 = hed.C0:lerp(CFrame.new(0, 1.55, 0) * CFrame.Angles(0, 0, 0), i)
  961. wait()
  962. end
  963. clarm:Remove()
  964. crarm:Remove()
  965. rightshoulder:Clone().Parent = char.Torso
  966. leftshoulder:Clone().Parent = char.Torso
  967. checkarms()
  968. char.Humanoid.JumpPower = 50
  969. enabled = true
  970. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement