gilward

Tollonis Bow and Arrow

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