Advertisement
AgentVK

TS Bow and Arrow

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