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