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