View difference between Paste ID: i9D9Qf7p and pu9312aL
SHOW: | | - or go back to the newest paste.
1
--MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 3 and put your name where it says "YOUR NAME HERE"
2
3-
User = game.Players.YOUR NAME HERE 
3+
User = game.Players.paul0072
4
--lego
5
Ammo = 0
6
Pullback = false
7
Loaded = false
8
CageOpen = false
9
Char = User.Character
10
Char.Humanoid.MaxHealth = 100000000
11
Char.Humanoid.Health = 9001
12
cen = Instance.new("Part", User.Character)
13
cen.BottomSurface = "Smooth"
14
cen.TopSurface = "Smooth"
15
cen.CanCollide = false
16
cen.formFactor = "Symmetric"
17
cen.Size = Vector3.new(1,1,1)
18
cen.BrickColor = BrickColor.new("Really black")
19
cen.Transparency = 1
20
cen2 = Instance.new("Part", User.Character)
21
cen2.BottomSurface = "Smooth"
22
cen2.TopSurface = "Smooth"
23
cen2.CanCollide = false
24
cen2.formFactor = "Symmetric"
25
cen2.Size = Vector3.new(1,1,1)
26
cen2.BrickColor = BrickColor.new("Really black")
27
cen2.Transparency = 1
28
29
cenw = Instance.new("Weld", cen)
30
cenw.Part0 = Char["Torso"]
31
cenw.Part1 = cen
32
cenw.C1 = CFrame.new(-1.5,-0.5,0)
33
34
cenw2 = Instance.new("Weld", cen2)
35
cenw2.Part0 = Char["Torso"]
36
cenw2.Part1 = cen2
37
cenw2.C1 = CFrame.new(1.5,-0.5,0)
38
39
40
41
haw = Instance.new("Weld", cen)
42
haw.Part0 = cen
43
haw.Part1 = Char["Right Arm"]
44
haw.C1 = CFrame.new(0,0.5,0)
45
46
haw2 = Instance.new("Weld", cen2)
47
haw2.Part0 = cen2
48
haw2.Part1 = Char["Left Arm"]
49
haw2.C1 = CFrame.new(0,0.5,0)
50
51
haw.C0 = CFrame.Angles(math.rad(90),0,math.rad(-15))
52
haw.C1 = CFrame.new(0.5,1,0)
53
54
haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
55
haw2.C1 = CFrame.new(0,1.2,0)
56
57
haw2.Part1 = nil
58
haw.Part1 = nil
59
60
prt1 = Instance.new("Part", Char)
61
prt1.Size = Vector3.new(1,1,1)
62
prt1.CanCollide = false
63
prt1.BrickColor = BrickColor.new("Really black")
64
prt1.TopSurface = "Smooth"
65
prt1.Transparency = 0
66
prt1.BottomSurface = "Smooth"
67
prtM = Instance.new("BlockMesh", prt1)
68
prtM.Scale = Vector3.new(0.4,1,0.5)
69
prt1:BreakJoints()
70
prtW = Instance.new("Weld", prt1)
71
prtW.Part0 = Char["Right Arm"]
72
prtW.Part1 = prt1
73
prtW.C1 = CFrame.new(0,0,0.65)*CFrame.Angles(math.rad(0),0,math.rad(0))
74
75
prt2 = Instance.new("Part", Char)
76
prt2.Size = Vector3.new(1,1,1)
77
prt2.CanCollide = false
78
prt2.BrickColor = BrickColor.new("Black")
79
prt2.TopSurface = "Smooth"
80
prt2.Transparency = 0
81
prt2.BottomSurface = "Smooth"
82
prtM2 = Instance.new("CylinderMesh", prt2)
83
prtM2.Scale = Vector3.new(0.4,1,0.4)
84
prt2:BreakJoints()
85
prtW2 = Instance.new("Weld", prt2)
86
prtW2.Part0 = prt1
87
prtW2.Part1 = prt2
88
prtW2.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
89
90
prt7 = Instance.new("Part", Char)
91
prt7.Size = Vector3.new(1,1,1)
92
prt7.CanCollide = false
93
prt7.BrickColor = BrickColor.new("Really black")
94
prt7.TopSurface = "Smooth"
95
prt7.Transparency = 0
96
prt7.BottomSurface = "Smooth"
97
prtM7 = Instance.new("BlockMesh", prt7)
98
prtM7.Scale = Vector3.new(0.4,1,0.5)
99
prt7:BreakJoints()
100
prtW7 = Instance.new("Weld", prt7)
101
prtW7.Part0 = prt1
102
prtW7.Part1 = prt7
103
prtW7.C1 = CFrame.new(0,-1.09,0.14)*CFrame.Angles(math.rad(-15),0,math.rad(0))
104
105
prt3 = Instance.new("Part", Char)
106
prt3.Size = Vector3.new(1,1,1)
107
prt3.CanCollide = false
108
prt3.BrickColor = BrickColor.new("Really black")
109
prt3.TopSurface = "Smooth"
110
prt3.Transparency = 0
111
prt3.BottomSurface = "Smooth"
112
prtM3 = Instance.new("BlockMesh", prt3)
113
prtM3.Scale = Vector3.new(0.4,1.5,0.5)
114
prt3:BreakJoints()
115
prtW3 = Instance.new("Weld", prt3)
116
prtW3.Part0 = prt2
117
prtW3.Part1 = prt3
118
prtW3.C1 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
119
120
prt4 = Instance.new("Part", Char)
121
prt4.Size = Vector3.new(1,1,1)
122
prt4.CanCollide = false
123
prt4.BrickColor = BrickColor.new("Black")
124
prt4.TopSurface = "Smooth"
125
prt4.Transparency = 1
126
prt4.BottomSurface = "Smooth"
127
prtM4 = Instance.new("BlockMesh", prt4)
128
prtM4.Scale = Vector3.new(1,1,1)
129
prt4:BreakJoints()
130
prtW4 = Instance.new("Weld", prt4)
131
prtW4.Part0 = prt3
132
prtW4.Part1 = prt4
133
prtW4.C1 = CFrame.new(0,1.5/2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
134
135
ma = Instance.new("Part", Char)
136
ma.Size = Vector3.new(1,1,1)
137
ma.CanCollide = false
138
ma.BrickColor = BrickColor.new("Black")
139
ma.TopSurface = "Smooth"
140
ma.Transparency = 0
141
ma.BottomSurface = "Smooth"
142
maM = Instance.new("BlockMesh", ma)
143
maM.Scale = Vector3.new(0.5,0.1,0.2)
144
ma:BreakJoints()
145
maW = Instance.new("Weld", ma)
146
maW.Part0 = prt4
147
maW.Part1 = ma
148
maW.C1 = CFrame.new(0.4,0,0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
149
150
ma2 = Instance.new("Part", Char)
151
ma2.Size = Vector3.new(1,1,1)
152
ma2.CanCollide = false
153
ma2.BrickColor = BrickColor.new("Black")
154
ma2.TopSurface = "Smooth"
155
ma2.Transparency = 0
156
ma2.BottomSurface = "Smooth"
157
maM2 = Instance.new("BlockMesh", ma2)
158
maM2.Scale = Vector3.new(0.5,0.1,0.2)
159
ma2:BreakJoints()
160
maW2 = Instance.new("Weld", ma2)
161
maW2.Part0 = ma
162
maW2.Part1 = ma2
163
maW2.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
164
--benningtonguy created this.
165
ma3 = Instance.new("Part", Char)
166
ma3.Size = Vector3.new(1,1,1)
167
ma3.CanCollide = false
168
ma3.BrickColor = BrickColor.new("Black")
169
ma3.TopSurface = "Smooth"
170
ma3.Transparency = 0
171
ma3.BottomSurface = "Smooth"
172
maM3 = Instance.new("BlockMesh", ma3)
173
maM3.Scale = Vector3.new(0.5,0.1,0.2)
174
ma3:BreakJoints()
175
maW3 = Instance.new("Weld", ma3)
176
maW3.Part0 = ma2
177
maW3.Part1 = ma3
178
maW3.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
179
180
ma4 = Instance.new("Part", Char)
181
ma4.Size = Vector3.new(1,1,1)
182
ma4.CanCollide = false
183
ma4.BrickColor = BrickColor.new("Black")
184
ma4.TopSurface = "Smooth"
185
ma4.Transparency = 0
186
ma4.BottomSurface = "Smooth"
187
maM4 = Instance.new("BlockMesh", ma4)
188
maM4.Scale = Vector3.new(0.5,0.1,0.2)
189
ma4:BreakJoints()
190
maW4 = Instance.new("Weld", ma4)
191
maW4.Part0 = ma3
192
maW4.Part1 = ma4
193
maW4.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
194
--benningtonguy created this.
195
ma5 = Instance.new("Part", Char)
196
ma5.Size = Vector3.new(1,1,1)
197
ma5.CanCollide = false
198
ma5.BrickColor = BrickColor.new("Black")
199
ma5.TopSurface = "Smooth"
200
ma5.Transparency = 0
201
ma5.BottomSurface = "Smooth"
202
maM5 = Instance.new("BlockMesh", ma5)
203
maM5.Scale = Vector3.new(0.5,0.1,0.2)
204
ma5:BreakJoints()
205
maW5 = Instance.new("Weld", ma5)
206
maW5.Part0 = ma4
207
maW5.Part1 = ma5
208
maW5.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
209
210
ma12 = Instance.new("Part", Char)
211
ma12.Size = Vector3.new(1,1,1)
212
ma12.CanCollide = false
213
ma12.BrickColor = BrickColor.new("Black")
214
ma12.TopSurface = "Smooth"
215
ma12.Transparency = 0
216
ma12.BottomSurface = "Smooth"
217
maM12 = Instance.new("BlockMesh", ma12)
218
maM12.Scale = Vector3.new(0.5,0.1,0.2)
219
ma12:BreakJoints()
220
maW12 = Instance.new("Weld", ma12)
221
maW12.Part0 = prt4
222
maW12.Part1 = ma12
223
maW12.C1 = CFrame.new(0.4,0,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
224
225
ma22 = Instance.new("Part", Char)
226
ma22.Size = Vector3.new(1,1,1)
227
ma22.CanCollide = false
228
ma22.BrickColor = BrickColor.new("Black")
229
ma22.TopSurface = "Smooth"
230
ma22.Transparency = 0
231
ma22.BottomSurface = "Smooth"
232
maM22 = Instance.new("BlockMesh", ma22)
233
maM22.Scale = Vector3.new(0.5,0.1,0.2)
234
ma22:BreakJoints()
235
maW22 = Instance.new("Weld", ma22)
236
maW22.Part0 = ma12
237
maW22.Part1 = ma22
238
maW22.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
239
240
ma32 = Instance.new("Part", Char)
241
ma32.Size = Vector3.new(1,1,1)
242
ma32.CanCollide = false
243
ma32.BrickColor = BrickColor.new("Black")
244
ma32.TopSurface = "Smooth"
245
ma32.Transparency = 0
246
ma32.BottomSurface = "Smooth"
247
maM32 = Instance.new("BlockMesh", ma32)
248
maM32.Scale = Vector3.new(0.5,0.1,0.2)
249
ma32:BreakJoints()
250
maW32 = Instance.new("Weld", ma32)
251
maW32.Part0 = ma22
252
maW32.Part1 = ma32
253
maW32.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
254
255
ma42 = Instance.new("Part", Char)
256
ma42.Size = Vector3.new(1,1,1)
257
ma42.CanCollide = false
258
ma42.BrickColor = BrickColor.new("Black")
259
ma42.TopSurface = "Smooth"
260
ma42.Transparency = 0
261
ma42.BottomSurface = "Smooth"
262
maM42 = Instance.new("BlockMesh", ma42)
263
maM42.Scale = Vector3.new(0.5,0.1,0.2)
264
ma42:BreakJoints()
265
maW42 = Instance.new("Weld", ma42)
266
maW42.Part0 = ma32
267
maW42.Part1 = ma42
268
maW42.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
269
270
ma52 = Instance.new("Part", Char)
271
ma52.Size = Vector3.new(1,1,1)
272
ma52.CanCollide = false
273
ma52.BrickColor = BrickColor.new("Black")
274
ma52.TopSurface = "Smooth"
275
ma52.Transparency = 0
276
ma52.BottomSurface = "Smooth"
277
maM52 = Instance.new("BlockMesh", ma52)
278
maM52.Scale = Vector3.new(0.5,0.1,0.2)
279
ma52:BreakJoints()
280
maW52 = Instance.new("Weld", ma52)
281
maW52.Part0 = ma42
282
maW52.Part1 = ma52
283
maW52.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
284
285
ma122 = Instance.new("Part", Char)
286
ma122.Size = Vector3.new(1,1,1)
287
ma122.CanCollide = false
288
ma122.BrickColor = BrickColor.new("Black")
289
ma122.TopSurface = "Smooth"
290
ma122.Transparency = 0
291
ma122.BottomSurface = "Smooth"
292
maM122 = Instance.new("BlockMesh", ma122)
293
maM122.Scale = Vector3.new(0.5,0.1,0.2)
294
ma122:BreakJoints()
295
maW122 = Instance.new("Weld", ma122)
296
maW122.Part0 = prt4
297
maW122.Part1 = ma122
298
maW122.C1 = CFrame.new(-0.4,0,0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
299
300
ma222 = Instance.new("Part", Char)
301
ma222.Size = Vector3.new(1,1,1)
302
ma222.CanCollide = false
303
ma222.BrickColor = BrickColor.new("Black")
304
ma222.TopSurface = "Smooth"
305
ma222.Transparency = 0
306
ma222.BottomSurface = "Smooth"
307
maM222 = Instance.new("BlockMesh", ma222)
308
maM222.Scale = Vector3.new(0.5,0.1,0.2)
309
ma222:BreakJoints()
310
maW222 = Instance.new("Weld", ma222)
311
maW222.Part0 = ma122
312
maW222.Part1 = ma222
313
maW222.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
314
315
ma322 = Instance.new("Part", Char)
316
ma322.Size = Vector3.new(1,1,1)
317
ma322.CanCollide = false
318
ma322.BrickColor = BrickColor.new("Black")
319
ma322.TopSurface = "Smooth"
320
ma322.Transparency = 0
321
ma322.BottomSurface = "Smooth"
322
maM322 = Instance.new("BlockMesh", ma322)
323
maM322.Scale = Vector3.new(0.5,0.1,0.2)
324
ma322:BreakJoints()
325
maW322 = Instance.new("Weld", ma322)
326
maW322.Part0 = ma222
327
maW322.Part1 = ma322
328
maW322.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
329
330
ma422 = Instance.new("Part", Char)
331
ma422.Size = Vector3.new(1,1,1)
332
ma422.CanCollide = false
333
ma422.BrickColor = BrickColor.new("Black")
334
ma422.TopSurface = "Smooth"
335
ma422.Transparency = 0
336
ma422.BottomSurface = "Smooth"
337
maM422 = Instance.new("BlockMesh", ma422)
338
maM422.Scale = Vector3.new(0.5,0.1,0.2)
339
ma422:BreakJoints()
340
maW422 = Instance.new("Weld", ma422)
341
maW422.Part0 = ma322
342
maW422.Part1 = ma422
343
maW422.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
344
345
ma522 = Instance.new("Part", Char)
346
ma522.Size = Vector3.new(1,1,1)
347
ma522.CanCollide = false
348
ma522.BrickColor = BrickColor.new("Black")
349
ma522.TopSurface = "Smooth"
350
ma522.Transparency = 0
351
ma522.BottomSurface = "Smooth"
352
maM522 = Instance.new("BlockMesh", ma522)
353
maM522.Scale = Vector3.new(0.5,0.1,0.2)
354
ma522:BreakJoints()
355
maW522 = Instance.new("Weld", ma522)
356
maW522.Part0 = ma422
357
maW522.Part1 = ma522
358
maW522.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
359
360
ma123 = Instance.new("Part", Char)
361
ma123.Size = Vector3.new(1,1,1)
362
ma123.CanCollide = false
363
ma123.BrickColor = BrickColor.new("Black")
364
ma123.TopSurface = "Smooth"
365
ma123.Transparency = 0
366
ma123.BottomSurface = "Smooth"
367
maM123 = Instance.new("BlockMesh", ma123)
368
maM123.Scale = Vector3.new(0.5,0.1,0.2)
369
ma123:BreakJoints()
370
maW123 = Instance.new("Weld", ma123)
371
maW123.Part0 = prt4
372
maW123.Part1 = ma123
373
maW123.C1 = CFrame.new(-0.4,0,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
374
375
ma223 = Instance.new("Part", Char)
376
ma223.Size = Vector3.new(1,1,1)
377
ma223.CanCollide = false
378
ma223.BrickColor = BrickColor.new("Black")
379
ma223.TopSurface = "Smooth"
380
ma223.Transparency = 0
381
ma223.BottomSurface = "Smooth"
382
maM223 = Instance.new("BlockMesh", ma223)
383
maM223.Scale = Vector3.new(0.5,0.1,0.2)
384
ma223:BreakJoints()
385
maW223 = Instance.new("Weld", ma223)
386
maW223.Part0 = ma123
387
maW223.Part1 = ma223
388
maW223.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
389
390
ma323 = Instance.new("Part", Char)
391
ma323.Size = Vector3.new(1,1,1)
392
ma323.CanCollide = false
393
ma323.BrickColor = BrickColor.new("Black")
394
ma323.TopSurface = "Smooth"
395
ma323.Transparency = 0
396
ma323.BottomSurface = "Smooth"
397
maM323 = Instance.new("BlockMesh", ma323)
398
maM323.Scale = Vector3.new(0.5,0.1,0.2)
399
ma323:BreakJoints()
400
maW323 = Instance.new("Weld", ma323)
401
maW323.Part0 = ma223
402
maW323.Part1 = ma323
403
maW323.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
404
405
ma423 = Instance.new("Part", Char)
406
ma423.Size = Vector3.new(1,1,1)
407
ma423.CanCollide = false
408
ma423.BrickColor = BrickColor.new("Black")
409
ma423.TopSurface = "Smooth"
410
ma423.Transparency = 0
411
ma423.BottomSurface = "Smooth"
412
maM423 = Instance.new("BlockMesh", ma423)
413
maM423.Scale = Vector3.new(0.5,0.1,0.2)
414
ma423:BreakJoints()
415
maW423 = Instance.new("Weld", ma423)
416
maW423.Part0 = ma323
417
maW423.Part1 = ma423
418
maW423.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
419
420
ma523 = Instance.new("Part", Char)
421
ma523.Size = Vector3.new(1,1,1)
422
ma523.CanCollide = false
423
ma523.BrickColor = BrickColor.new("Black")
424
ma523.TopSurface = "Smooth"
425
ma523.Transparency = 0
426
ma523.BottomSurface = "Smooth"
427
maM523 = Instance.new("BlockMesh", ma523)
428
maM523.Scale = Vector3.new(0.5,0.1,0.2)
429
ma523:BreakJoints()
430
maW523 = Instance.new("Weld", ma523)
431
maW523.Part0 = ma423
432
maW523.Part1 = ma523
433
maW523.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
434
435
scope = Instance.new("Part", Char)
436
scope.Size = Vector3.new(1,1,1)
437
scope.CanCollide = false
438
scope.BrickColor = BrickColor.new("Dark stone grey")
439
scope.TopSurface = "Smooth"
440
scope.Transparency = 0
441
scope.BottomSurface = "Smooth"
442
scopeM = Instance.new("BlockMesh", scope)
443
scopeM.Scale = Vector3.new(0.1,0.1,0.1)
444
scope:BreakJoints()
445
scopeW = Instance.new("Weld", scope)
446
scopeW.Part0 = prt3
447
scopeW.Part1 = scope
448
scopeW.C1 = CFrame.new(0,-2,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
449
450
scope2 = Instance.new("Part", Char)
451
scope2.Size = Vector3.new(1,1,1)
452
scope2.CanCollide = false
453
scope2.BrickColor = BrickColor.new("Black")
454
scope2.TopSurface = "Smooth"
455
scope2.Transparency = 0
456
scope2.BottomSurface = "Smooth"
457
scopeM2 = Instance.new("CylinderMesh", scope2)
458
scopeM2.Scale = Vector3.new(0.3,1,0.3)
459
scope2:BreakJoints()
460
scopeW2 = Instance.new("Weld", scope2)
461
scopeW2.Part0 = scope
462
scopeW2.Part1 = scope2
463
scopeW2.C1 = CFrame.new(0,0,0.16)*CFrame.Angles(math.rad(0),0,math.rad(0))
464
465
scope3 = Instance.new("Part", Char)
466
scope3.Size = Vector3.new(1,1,1)
467
scope3.CanCollide = false
468
scope3.BrickColor = BrickColor.new("Really black")
469
scope3.TopSurface = "Smooth"
470
scope3.Transparency = 0
471
scope3.BottomSurface = "Smooth"
472
scopeM3 = Instance.new("CylinderMesh", scope3)
473
scopeM3.Scale = Vector3.new(0.35,0.1,0.35)
474
scope3:BreakJoints()
475
scopeW3 = Instance.new("Weld", scope3)
476
scopeW3.Part0 = scope2
477
scopeW3.Part1 = scope3
478
scopeW3.C1 = CFrame.new(0,0.6,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
479
480
scope4 = Instance.new("Part", Char)
481
scope4.Size = Vector3.new(1,1,1)
482
scope4.CanCollide = false
483
scope4.BrickColor = BrickColor.new("Black")
484
scope4.TopSurface = "Smooth"
485
scope4.Transparency = 0
486
scope4.BottomSurface = "Smooth"
487
scopeM4 = Instance.new("CylinderMesh", scope4)
488
scopeM4.Scale = Vector3.new(0.35,0.05,0.35)
489
scope4:BreakJoints()
490
scopeW4 = Instance.new("Weld", scope4)
491
scopeW4.Part0 = scope3
492
scopeW4.Part1 = scope4
493
scopeW4.C1 = CFrame.new(0,0.04,0.34)*CFrame.Angles(math.rad(0),0,math.rad(0))
494
495
scope5 = Instance.new("Part", Char)
496
scope5.Size = Vector3.new(1,1,1)
497
scope5.CanCollide = false
498
scope5.BrickColor = BrickColor.new("Really black")
499
scope5.TopSurface = "Smooth"
500
scope5.Transparency = 0
501
scope5.BottomSurface = "Smooth"
502
scopeM5 = Instance.new("CylinderMesh", scope5)
503
scopeM5.Scale = Vector3.new(0.35,0.1,0.35)
504
scope5:BreakJoints()
505
scopeW5 = Instance.new("Weld", scope5)
506
scopeW5.Part0 = scope2
507
scopeW5.Part1 = scope5
508
scopeW5.C1 = CFrame.new(0,-0.6,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
509
510
prt5 = Instance.new("Part", Char)
511
prt5.Size = Vector3.new(1,1,1)
512
prt5.CanCollide = false
513
prt5.BrickColor = BrickColor.new("Really black")
514
prt5.TopSurface = "Smooth"
515
prt5.Transparency = 0
516
prt5.BottomSurface = "Smooth"
517
prtM5 = Instance.new("BlockMesh", prt5)
518
prtM5.Scale = Vector3.new(4.1,0.1,0.1)
519
prt5:BreakJoints()
520
prtW5 = Instance.new("Weld", prt5)
521
prtW5.Part0 = prt3
522
prtW5.Part1 = prt5
523
prtW5.C1 = CFrame.new(0,-0.3,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
524
525
prt6 = Instance.new("Part", Char)
526
prt6.Size = Vector3.new(1,1,1)
527
prt6.CanCollide = false
528
prt6.BrickColor = BrickColor.new("Institutional white")
529
prt6.TopSurface = "Smooth"
530
prt6.Transparency = 0
531
prt6.BottomSurface = "Smooth"
532
prtM6 = Instance.new("BlockMesh", prt6)
533
prtM6.Scale = Vector3.new(2.12,0.0125,0.0125)
534
prt6:BreakJoints()
535
prtW6 = Instance.new("Weld", prt6)
536
prtW6.Part0 = ma5
537
prtW6.Part1 = prt6
538
prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45))
539
540
prt8 = Instance.new("Part", Char)
541
prt8.Size = Vector3.new(1,1,1)
542
prt8.CanCollide = false
543
prt8.BrickColor = BrickColor.new("Institutional white")
544
prt8.TopSurface = "Smooth"
545
prt8.Transparency = 0
546
prt8.BottomSurface = "Smooth"
547
prtM8 = Instance.new("BlockMesh", prt8)
548
prtM8.Scale = Vector3.new(2.12,0.0125,0.0125)
549
prt8:BreakJoints()
550
prtW8 = Instance.new("Weld", prt8)
551
prtW8.Part0 = ma522
552
prtW8.Part1 = prt8
553
prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45))
554
555
trig = Instance.new("Part", Char)
556
trig.Size = Vector3.new(1,1,1)
557
trig.CanCollide = false
558
trig.BrickColor = BrickColor.new("Dark stone grey")
559
trig.Transparency = 0
560
trig.BottomSurface = "Smooth"
561
trigM = Instance.new("SpecialMesh", trig)
562
trigM.MeshType = "FileMesh"
563
trigM.MeshId = "http://www.roblox.com/asset/?id=3270017"
564
trigM.Scale = Vector3.new(0.5,0.5,0.1)
565
trig:BreakJoints()
566
trigW = Instance.new("Weld", trig)
567
trigW.Part0 = prt2
568
trigW.Part1 = trig
569
trigW.C1 = CFrame.new(-0.2,0.2,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
570
571
trig2 = Instance.new("Part", Char)
572
trig2.Size = Vector3.new(1,1,1)
573
trig2.CanCollide = false
574
trig2.BrickColor = BrickColor.new("Dark stone grey")
575
trig2.Transparency = 0
576
trig2.BottomSurface = "Smooth"
577
trigM2 = Instance.new("BlockMesh", trig2)
578
trigM2.Scale = Vector3.new(0.3,0.05,0.05)
579
trig2:BreakJoints()
580
trigW2 = Instance.new("Weld", trig2)
581
trigW2.Part0 = trig
582
trigW2.Part1 = trig2
583
trigW2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
584
585
arrowh = Instance.new("Part", User.Character)
586
arrowh.formFactor = "Symmetric"
587
arrowh.Size = Vector3.new(1,1,1)
588
arrowh.BrickColor = BrickColor.new("Really black")
589
arrowh.TopSurface = "Smooth"
590
arrowh.Transparency = 1
591
arrowh.BottomSurface = "Smooth"
592
arrowm = Instance.new("SpecialMesh", arrowh)
593
arrowm.MeshType = "FileMesh"
594
arrowm.Scale = Vector3.new(0.4,1,0.7)
595
arrowm.MeshId = "http://www.roblox.com/asset/?id=15887356"
596
arrowm.TextureId = "http://www.roblox.com/asset/?id=15886781"
597
arrowh:BreakJoints()
598
knifeprt12wld = Instance.new("Weld") 
599
knifeprt12wld.Parent = arrowh 
600
knifeprt12wld.Part0 = Char["Left Arm"] 
601
knifeprt12wld.Part1 = arrowh
602
knifeprt12wld.C1 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(180),0,0)
603
604
605
606
pack = Instance.new("Part", Char)
607
pack.Size = Vector3.new(1,1,1)
608
pack.TopSurface = "Smooth"
609
pack.BottomSurface = "Smooth"
610
pack.BrickColor = BrickColor.new("Brown")
611
packm = Instance.new("SpecialMesh", pack)
612
packm.MeshType = "FileMesh"
613
packm.MeshId = "http://www.roblox.com/asset/?id=19380188"
614
packm.Scale = Vector3.new(0.8,4,0.3)
615
pack:BreakJoints()
616
packw = Instance.new("Weld", pack)
617
packw.Part0 = Char["Torso"]
618
packw.Part1 = pack
619
packw.C1 = CFrame.new(0,0,0.7)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(20))
620
621
arrowh3 = Instance.new("Part", User.Character)
622
arrowh3.formFactor = "Symmetric"
623
arrowh3.Size = Vector3.new(1,1,1)
624
arrowh3.BrickColor = BrickColor.new("Really black")
625
arrowh3.TopSurface = "Smooth"
626
arrowh3.Transparency = 0
627
arrowh3.BottomSurface = "Smooth"
628
arrowm3 = Instance.new("SpecialMesh", arrowh3)
629
arrowm3.MeshType = "FileMesh"
630
arrowm3.Scale = Vector3.new(0.4,1,0.7)
631
arrowm3.MeshId = "http://www.roblox.com/asset/?id=15887356"
632
arrowm3.TextureId = "http://www.roblox.com/asset/?id=15886781"
633
arrowh3:BreakJoints()
634
knifeprt12wld2 = Instance.new("Weld") 
635
knifeprt12wld2.Parent = arrowh3
636
knifeprt12wld2.Part0 = pack
637
knifeprt12wld2.Part1 = arrowh3
638
knifeprt12wld2.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
639
640
arrowh4 = Instance.new("Part", User.Character)
641
arrowh4.formFactor = "Symmetric"
642
arrowh4.Size = Vector3.new(1,1,1)
643
arrowh4.BrickColor = BrickColor.new("Really black")
644
arrowh4.TopSurface = "Smooth"
645
arrowh4.Transparency = 0
646
arrowh4.BottomSurface = "Smooth"
647
arrowm4 = Instance.new("SpecialMesh", arrowh4)
648
arrowm4.MeshType = "FileMesh"
649
arrowm4.Scale = Vector3.new(0.4,1,0.7)
650
arrowm4.MeshId = "http://www.roblox.com/asset/?id=15887356"
651
arrowm4.TextureId = "http://www.roblox.com/asset/?id=15886781"
652
arrowh4:BreakJoints()
653
knifeprt12wld2 = Instance.new("Weld") 
654
knifeprt12wld2.Parent = arrowh4
655
knifeprt12wld2.Part0 = pack
656
knifeprt12wld2.Part1 = arrowh4
657
knifeprt12wld2.C1 = CFrame.new(0.15,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
658
659
arrowh5 = Instance.new("Part", User.Character)
660
arrowh5.formFactor = "Symmetric"
661
arrowh5.Size = Vector3.new(1,1,1)
662
arrowh5.BrickColor = BrickColor.new("Really black")
663
arrowh5.TopSurface = "Smooth"
664
arrowh5.Transparency = 0
665
arrowh5.BottomSurface = "Smooth"
666
arrowm5 = Instance.new("SpecialMesh", arrowh5)
667
arrowm5.MeshType = "FileMesh"
668
arrowm5.Scale = Vector3.new(0.4,1,0.7)
669
arrowm5.MeshId = "http://www.roblox.com/asset/?id=15887356"
670
arrowm5.TextureId = "http://www.roblox.com/asset/?id=15886781"
671
arrowh5:BreakJoints()
672
knifeprt12wld2 = Instance.new("Weld") 
673
knifeprt12wld2.Parent = arrowh5
674
knifeprt12wld2.Part0 = pack
675
knifeprt12wld2.Part1 = arrowh5
676
knifeprt12wld2.C1 = CFrame.new(-0.15,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
677
678
arrowh6 = Instance.new("Part", User.Character)
679
arrowh6.formFactor = "Symmetric"
680
arrowh6.Size = Vector3.new(1,1,1)
681
arrowh6.BrickColor = BrickColor.new("Really black")
682
arrowh6.TopSurface = "Smooth"
683
arrowh6.Transparency = 0
684
arrowh6.BottomSurface = "Smooth"
685
arrowm6 = Instance.new("SpecialMesh", arrowh6)
686
arrowm6.MeshType = "FileMesh"
687
arrowm6.Scale = Vector3.new(0.4,1,0.7)
688
arrowm6.MeshId = "http://www.roblox.com/asset/?id=15887356"
689
arrowm6.TextureId = "http://www.roblox.com/asset/?id=15886781"
690
arrowh6:BreakJoints()
691
knifeprt12wld2 = Instance.new("Weld") 
692
knifeprt12wld2.Parent = arrowh6
693
knifeprt12wld2.Part0 = pack
694
knifeprt12wld2.Part1 = arrowh6
695
knifeprt12wld2.C1 = CFrame.new(-0.3,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
696
697
arrowh7 = Instance.new("Part", User.Character)
698
arrowh7.formFactor = "Symmetric"
699
arrowh7.Size = Vector3.new(1,1,1)
700
arrowh7.BrickColor = BrickColor.new("Really black")
701
arrowh7.TopSurface = "Smooth"
702
arrowh7.Transparency = 0
703
arrowh7.BottomSurface = "Smooth"
704
arrowm7 = Instance.new("SpecialMesh", arrowh7)
705
arrowm7.MeshType = "FileMesh"
706
arrowm7.Scale = Vector3.new(0.4,1,0.7)
707
arrowm7.MeshId = "http://www.roblox.com/asset/?id=15887356"
708
arrowm7.TextureId = "http://www.roblox.com/asset/?id=15886781"
709
arrowh7:BreakJoints()
710
knifeprt12wld2 = Instance.new("Weld") 
711
knifeprt12wld2.Parent = arrowh7
712
knifeprt12wld2.Part0 = pack
713
knifeprt12wld2.Part1 = arrowh7
714
knifeprt12wld2.C1 = CFrame.new(0.3,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
715
------------------------------------------------------------------------
716
717
p = Instance.new("Part", Char)
718
p.Size = Vector3.new(1,1,1)
719
p.CanCollide = false
720
p.BrickColor = BrickColor.new("Dark stone grey")
721
p.TopSurface = "Smooth"
722
p.Transparency = 0
723
p.BottomSurface = "Smooth"
724
pM = Instance.new("BlockMesh", p)
725
pM.Scale = Vector3.new(0.1,0.2,0.1)
726
p:BreakJoints()
727
pW = Instance.new("Weld", p)
728
pW.Part0 = prt3
729
pW.Part1 = p
730
pW.C1 = CFrame.new(0,0.5,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
731
732
arrowh2 = Instance.new("Part", User.Character)
733
arrowh2.formFactor = "Symmetric"
734
arrowh2.Size = Vector3.new(1,1,1)
735
arrowh2.BrickColor = BrickColor.new("Really black")
736
arrowh2.TopSurface = "Smooth"
737
arrowh2.Transparency = 1
738
arrowh2.BottomSurface = "Smooth"
739
arrowm2 = Instance.new("SpecialMesh", arrowh2)
740
arrowm2.MeshType = "FileMesh"
741
arrowm2.Scale = Vector3.new(0.4,1,0.7)
742
arrowm2.MeshId = "http://www.roblox.com/asset/?id=15887356"
743
arrowm2.TextureId = "http://www.roblox.com/asset/?id=15886781"
744
arrowh2:BreakJoints()
745
knifeprt12wld2 = Instance.new("Weld") 
746
knifeprt12wld2.Parent = arrowh2
747
knifeprt12wld2.Part0 = p 
748
knifeprt12wld2.Part1 = arrowh2
749
knifeprt12wld2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
750
751
752
------------------------------------------------------
753
754
Torso = Instance.new("Part", Char)
755
Torso.formFactor = "Symmetric"
756
Torso.Size = Char["Torso"].Size
757
Torso.Transparency = 1
758
Torso.BrickColor = Char["Torso"].BrickColor
759
Torso:BreakJoints()
760
Torsow = Instance.new("Weld", Torso)
761
Torsow.Part0 = Char["Torso"]
762
Torsow.Part1 = Torso
763
Torsow.C1 = CFrame.Angles(0,math.rad(45),0)
764
765
------------------------------------------------------
766
function PullBack()
767
for i = 1,10 do
768
pW.C1 = CFrame.new(0,0.5-i/10,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
769
770
prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45-i*2.1))
771
772
prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45+i*2.1))
773
wait(0.1)
774
end
775
haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
776
haw2.C1 = CFrame.new(0,1.2,0)
777
end
778
779
function Open()
780
for i = 1,10,0.5 do
781
haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35-i))
782
haw2.C1 = CFrame.new(0,1.2+i/10,0)
783
wait()
784
end
785
end
786
787
function Shoot()
788
arrowh2.Transparency = 1
789
790
791
for i = 1,10,2.5 do
792
pW.C1 = CFrame.new(0,-0.5+i/10,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
793
prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-65+i*2.1))
794
795
prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(65-i*2.1))
796
wait()
797
end
798
pW.C1 = CFrame.new(0,0.5,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
799
prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45))
800
prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45))
801
end
802
803
function Load()
804
for i = 1,180,10 do
805
haw2.C0 = CFrame.Angles(math.rad(90-i),0,math.rad(35))
806
wait()
807
end
808
arrowh.Transparency = 0
809
for i = 1,180,10 do
810
haw2.C0 = CFrame.Angles(math.rad(-90+i),0,math.rad(35))
811
wait()
812
end
813
arrowh.Transparency = 1
814
arrowh2.Transparency = 0
815
haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
816
end
817
818
819
-------------------------------------------------------
820
821
822
if not script.Parent:IsA("HopperBin") then
823
h = Instance.new("HopperBin", User.Backpack)
824
h.Name = "Crossbow"
825
script.Parent = h
826
end
827
828
script.Parent.Selected:connect(function(mouse)
829
haw.Part1 = Char["Right Arm"]
830
haw2.Part1 = Char["Left Arm"]
831
packw.Part0 = Torso
832
Char.Torso["Right Shoulder"].Part0 = Torso
833
Char.Torso["Left Shoulder"].Part0 = Torso
834
Char.Torso["Right Hip"].Part0 = Torso
835
Char.Torso["Left Hip"].Part0 = Torso
836
Torso.Transparency = 0
837
Char["Torso"].Transparency = 1
838
mouse.Button1Down:connect(function()
839
if Loaded == true and Pullback == true then
840
Loaded = false
841
Pullback = false
842
843
if mouse.Target.Parent:FindFirstChild("Humanoid") then
844
mouse.Target.Parent:BreakJoints()
845
end
846
847
sound = Instance.new("Sound", workspace[Char.Name].Torso)
848
sound.SoundId = "http://www.roblox.com/asset/?id=16211041"
849
sound.Pitch = 1.2
850
sound.PlayOnRemove = true
851
wait()
852
sound.Parent = nil
853
854
local P = Instance.new("Part") 
855
P.Name = "P"
856
local Place0 = p
857
P.formFactor = 0 
858
P.Size = Vector3.new(1,1,(Place0.Position - mouse.Hit.p).magnitude) 
859
P.CFrame = CFrame.new((Place0.Position + mouse.Hit.p)/2,Place0.Position) 
860
P.Parent = game.Workspace 
861
P.BrickColor = BrickColor.new("Institutional white")
862
P.Transparency = 0.3
863
P.Reflectance = 0 
864
P.Anchored = true 
865
P.CanCollide = false 
866
m6 = Instance.new("SpecialMesh") 
867
m6.Scale = Vector3.new(0.3,0.3,1) 
868
m6.MeshType = "Brick" 
869
m6.Parent = P
870
871
872
delay(0, function()
873
for i = 1,7 do
874
P.Transparency = P.Transparency + 0.1
875
wait(0.1)
876
end
877
P:Remove()
878
end)
879
880
Shoot()
881
end
882
end)
883
mouse.KeyDown:connect(function(key)
884
if key == "r" and Loaded == false and Pullback == true then
885
Loaded = true
886
Pullback = true
887
Load()
888
elseif key == "q" and Pullback == false then
889
Pullback = true
890
Open()
891
PullBack()
892
end
893
end)
894
895
end)
896
897
script.Parent.Deselected:connect(function()
898
haw.Part1 = nil
899
haw2.Part1 = nil
900
packw.Part0 = Char["Torso"]
901
Char.Torso["Right Shoulder"].Part0 = Char.Torso
902
Char.Torso["Left Shoulder"].Part0 = Char.Torso
903
Char.Torso["Right Hip"].Part0 = Char.Torso
904
Char.Torso["Left Hip"].Part0 = Char.Torso
905
Torso.Transparency = 1
906
Char["Torso"].Transparency = 0
907
end)