carlosname

Untitled

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